<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wireless DFU with gcc - Redbearlab BLE Nano</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11823/wireless-dfu-with-gcc---redbearlab-ble-nano</link><description>Hi, I use nrf51822 with SDK9.0, gcc with makefile, and soft devices S110 or S130 on Windows. I would like to learn how to load firmware using the wireless DFU app from within the nRF Toolbox. I have been doing some searching but I am still somewhat confused</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Feb 2016 12:13:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11823/wireless-dfu-with-gcc---redbearlab-ble-nano" /><item><title>RE: Wireless DFU with gcc - Redbearlab BLE Nano</title><link>https://devzone.nordicsemi.com/thread/44711?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2016 12:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90f8981a-7a50-456c-8029-56214ec8cb6a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Belive mbed programmer only supports programming of one merged .hex. This can be confirmed by programming the softdevice and application separately and see whether it works or not. If it is, you can merge softdevice and bootloader, then drag&amp;amp;drop it into the mbed disk. After the upload is complete it should start advertising as &amp;quot;dfutarg&amp;quot;. This means that the device is running in bootloader DFU mode and you can connect and upload the application image using nRFtoolbox.&lt;/li&gt;
&lt;li&gt;Yes, the bootloader example  can be found in the following directory: \nRF51_SDK_9.0.0\examples\dfu\bootloader. Bootloader documentation can be found &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/examples_ble_dfu.html?cp=4_0_4_4_3"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Yes, the bootloader doesn&amp;#39;t have any dependencies towards the application. However, you can extend the application to allow buttonless entry into bootloader DFU mode -&amp;gt; &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/bledfu_application.html?cp=4_0_4_4_3_2"&gt;Adding DFU Service support to an application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Generally is not a problem, but I&amp;#39;m not sure if the mbed programmer does a complete chip erase or not. You would have to re-program everything if it does.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>