{"id":94,"date":"2021-10-11T14:21:05","date_gmt":"2021-10-11T14:21:05","guid":{"rendered":"https:\/\/www.bleuio.com\/blog\/?p=94"},"modified":"2022-01-24T14:43:59","modified_gmt":"2022-01-24T14:43:59","slug":"build-your-own-firmware-for-bleuio","status":"publish","type":"post","link":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/","title":{"rendered":"Build your own firmware for BleuIO"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The BleuIO is Bluetooth low energy USB dongle that can be used to create new BLE 5.0 applications in the fastest and easiest way.&nbsp;The BleuIO comes with a bootloader that allows you to update the firmware or flash your own application to the dongle.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This guide will show you how to get started with making your own firmware for the BleuIO Dongle by importing our example project and running it on the BleuIO dongle.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The project itself is a modified version of Dialog Semiconductor\u2019s \u2018usb_cdc\u2019 example project made to work on the BleuIO Dongle.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The \u2018usb_cdc\u2019 example will echo anything typed in the terminal back.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/www.bleuio.com\/getting_started\/docs\/build_your_firmware\/#setup\"><\/a>Setup<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to&nbsp;<a href=\"https:\/\/www.dialog-semiconductor.com\/products\/bluetooth-low-energy\/da14682-and-da14683#tab-field_tab_content_resources\">https:\/\/www.dialog-semiconductor.com\/products\/bluetooth-low-energy\/da14682-and-da14683#tab-field_tab_content_resources<\/a>&nbsp;and download the latest SDK for DA14683 under&nbsp;<em>SDK<\/em>&nbsp;(You will need to register an account to access the SDK) and the IDE&nbsp;<strong>SmartSnippet Studio<\/strong>&nbsp;under&nbsp;<em>Development Tools<\/em>.<\/li><li>Install Smart Snippet Studio<\/li><li>Unzip the SDK into a folder where you want your Smart Snippet Workspace to be located&nbsp;<br><br><img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/unzip_sdk.png\" alt=\"Unzipping the SDK into your workspace folder!\"><\/li><li>Download the BleuIO&nbsp;<strong>own_application_example project&nbsp;<a href=\"https:\/\/www.bleuio.com\/getting_started\/bleuio_example_project.zip\">HERE (bleuio_example_project.zip<\/a><\/strong>.<\/li><li>Unzip the project and place it inside the SDK like this:&nbsp;<br><br><img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/project_location.png\" alt=\"Unzipping the project into your SDK folder!\"><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/www.bleuio.com\/getting_started\/docs\/build_your_firmware\/#importing-project\"><\/a>Importing project<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Open Smart Snippet Studio and when prompted, select the SDK you just downloaded:&nbsp;<br><br><img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/select_sdk.png\" alt=\"Selecting SDK in Smart Snippet Studio!\"><\/li><li>Now click the IDE:&nbsp;<br><br><img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/open_ide.png\" alt=\"Open IDE in Smart Snippet Studio!\"><\/li><li>Right-Click in the Project Explorer window and select import:&nbsp;<br><br><img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/import_project.png\" alt=\"Import project  in Smart Snippet Studio!\"><\/li><li>Select \u2018Projects from Folder or Archive\u2019 under the \u2018General\u2019 tab:&nbsp;<br><br><img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/project_from_folder.png\" alt=\"Import Projects from Folder!\"><\/li><li>Click the \u2018Directory\u2026\u2019 button and find the \u2018bleuio_own_application_example\u2019 project folder inside your SDK folder:&nbsp;<br><br><img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/select_project.png\" alt=\"Select bleuio_own_application_example!\"><\/li><li>Finally, click \u2018Finish\u2019. You have now imported the project!<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/www.bleuio.com\/getting_started\/docs\/build_your_firmware\/#building-project-and-creating-an-image-file\"><\/a>Building project and creating an image file<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>To create an image file that you can use to flash to the BleuIO Dongle via the bootloader, you must first build the project to create a bin file. To do that, click the \u2018Hammer\u2019 icon in the toolbar. Be sure to build the project for DA14683.&nbsp;<img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/build_project.png\" alt=\"Build Project!\"><\/li><li>Dialog Semiconductor has a file called mkimage.exe included in the SDK for generating image files. It can be run using the mkimage.bat file located at&nbsp;<strong>[SDK_Root]\\utilities\\scripts\\suota\\v11<\/strong>. It needs to point to the bin file you want to generate an image file from.<\/li><li>You can open up the command prompt in the same folder and run mkimage.bat like this:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mkimage.bat ..\\..\\..\\..\\bleuio_own_application_example\\DA14683-00-Release_QSPI\\bleuio_own_application_example.bin\n<\/code><strong>Copy<\/strong><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should now have an image file inside your build folder&nbsp;<strong>DA14683-00-Release_QSPI<\/strong>&nbsp;named bleuio<em>own_application_example.1.0.0.1.img that can be flashed to the BleuIO Dongle using the \u2018_host_usb_updater.exe<\/em>\u2018 (More info about updating the firmware: [<strong>Firmware Update<\/strong>](..\/firmware#How to update your firmware)).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/www.bleuio.com\/getting_started\/docs\/build_your_firmware\/#running-the-application\"><\/a>Running the Application<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>After you flashed the firmware to a BleuIO Dongle, open up a Serial Communication program (like TeraTerm, Putty or CoolTerm etc.), just like you would with the BleuIO Firmware. When first started you should be greeted by this:&nbsp;<br><br><img decoding=\"async\" src=\"https:\/\/www.bleuio.com\/getting_started\/img\/build_fw_img\/app_running.png\" alt=\"Running Example!\"><\/li><li>If you type any text, the application will now echo what you type in the terminal.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The BleuIO is Bluetooth low energy USB dongle that can be used to create new BLE 5.0 applications in the fastest and easiest way.&nbsp;The BleuIO comes with a bootloader that allows you to update the firmware or flash your own application to the dongle.&nbsp; This guide will show you how to get started with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":95,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bleuio","category-bleuio-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Build your own firmware for BleuIO - BleuIO - Create Bluetooth Low Energy application<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Build your own firmware for BleuIO - BleuIO - Create Bluetooth Low Energy application\" \/>\n<meta property=\"og:description\" content=\"Introduction The BleuIO is Bluetooth low energy USB dongle that can be used to create new BLE 5.0 applications in the fastest and easiest way.&nbsp;The BleuIO comes with a bootloader that allows you to update the firmware or flash your own application to the dongle.&nbsp; This guide will show you how to get started with [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/\" \/>\n<meta property=\"og:site_name\" content=\"BleuIO - Create Bluetooth Low Energy application\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-11T14:21:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-24T14:43:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/build-firmware-bleuio-1024x576-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"BleuIO\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/\"},\"author\":{\"name\":\"BleuIO\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\"},\"headline\":\"Build your own firmware for BleuIO\",\"datePublished\":\"2021-10-11T14:21:05+00:00\",\"dateModified\":\"2022-01-24T14:43:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/\"},\"wordCount\":513,\"image\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/build-firmware-bleuio-1024x576-1.jpg\",\"articleSection\":[\"BleuIO\",\"BleuIO tutorial\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/\",\"name\":\"Build your own firmware for BleuIO - BleuIO - Create Bluetooth Low Energy application\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/build-firmware-bleuio-1024x576-1.jpg\",\"datePublished\":\"2021-10-11T14:21:05+00:00\",\"dateModified\":\"2022-01-24T14:43:59+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/build-firmware-bleuio-1024x576-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/build-firmware-bleuio-1024x576-1.jpg\",\"width\":1024,\"height\":576,\"caption\":\"Build your own firmware for BleuIO\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/build-your-own-firmware-for-bleuio\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build your own firmware for BleuIO\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/\",\"name\":\"BleuIO - Create Bluetooth Low Energy application\",\"description\":\"Learn Bluetooth Low Energy programming and build Bluetooth Low Energy Application\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/#\\\/schema\\\/person\\\/89bc581382d5964043f96efc54b75b80\",\"name\":\"BleuIO\",\"sameAs\":[\"https:\\\/\\\/www.bleuio.com\\\/blog\"],\"url\":\"https:\\\/\\\/www.bleuio.com\\\/blog\\\/author\\\/biadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Build your own firmware for BleuIO - BleuIO - Create Bluetooth Low Energy application","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/","og_locale":"en_US","og_type":"article","og_title":"Build your own firmware for BleuIO - BleuIO - Create Bluetooth Low Energy application","og_description":"Introduction The BleuIO is Bluetooth low energy USB dongle that can be used to create new BLE 5.0 applications in the fastest and easiest way.&nbsp;The BleuIO comes with a bootloader that allows you to update the firmware or flash your own application to the dongle.&nbsp; This guide will show you how to get started with [&hellip;]","og_url":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/","og_site_name":"BleuIO - Create Bluetooth Low Energy application","article_published_time":"2021-10-11T14:21:05+00:00","article_modified_time":"2022-01-24T14:43:59+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/build-firmware-bleuio-1024x576-1.jpg","type":"image\/jpeg"}],"author":"BleuIO","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/#article","isPartOf":{"@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/"},"author":{"name":"BleuIO","@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80"},"headline":"Build your own firmware for BleuIO","datePublished":"2021-10-11T14:21:05+00:00","dateModified":"2022-01-24T14:43:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/"},"wordCount":513,"image":{"@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/build-firmware-bleuio-1024x576-1.jpg","articleSection":["BleuIO","BleuIO tutorial"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/","url":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/","name":"Build your own firmware for BleuIO - BleuIO - Create Bluetooth Low Energy application","isPartOf":{"@id":"https:\/\/www.bleuio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/#primaryimage"},"image":{"@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/build-firmware-bleuio-1024x576-1.jpg","datePublished":"2021-10-11T14:21:05+00:00","dateModified":"2022-01-24T14:43:59+00:00","author":{"@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80"},"breadcrumb":{"@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/#primaryimage","url":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/build-firmware-bleuio-1024x576-1.jpg","contentUrl":"https:\/\/www.bleuio.com\/blog\/wp-content\/uploads\/2022\/01\/build-firmware-bleuio-1024x576-1.jpg","width":1024,"height":576,"caption":"Build your own firmware for BleuIO"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bleuio.com\/blog\/build-your-own-firmware-for-bleuio\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bleuio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Build your own firmware for BleuIO"}]},{"@type":"WebSite","@id":"https:\/\/www.bleuio.com\/blog\/#website","url":"https:\/\/www.bleuio.com\/blog\/","name":"BleuIO - Create Bluetooth Low Energy application","description":"Learn Bluetooth Low Energy programming and build Bluetooth Low Energy Application","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bleuio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.bleuio.com\/blog\/#\/schema\/person\/89bc581382d5964043f96efc54b75b80","name":"BleuIO","sameAs":["https:\/\/www.bleuio.com\/blog"],"url":"https:\/\/www.bleuio.com\/blog\/author\/biadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":1,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/posts\/94\/revisions\/96"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/media\/95"}],"wp:attachment":[{"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bleuio.com\/blog\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}