<?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>dfu service echo</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8906/dfu-service-echo</link><description>I&amp;#39;m trying to update my firmware using the dfu, I tested two examples of the SDK : 
 one of them is dfu_dual_bank_ble project, 
 
 I noticed that the memory allocation consists of bootloader part, application part &amp;amp; softdevice part so when I tried</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Aug 2015 16:03:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8906/dfu-service-echo" /><item><title>RE: dfu service echo</title><link>https://devzone.nordicsemi.com/thread/32772?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 16:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8d83559-0b1a-46d7-b9cb-e365536deae7</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;thanks stefan, it works&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu service echo</title><link>https://devzone.nordicsemi.com/thread/32771?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 14:07:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17633aa6-b9a4-4954-b7da-b49c435342bb</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi mohamed&lt;/p&gt;
&lt;p&gt;Have you followed &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v9.0.0%2Fbledfu_appexample.html"&gt;this guide&lt;/a&gt; on how to enable DFU mode from Master Control Panel when using the ble_app_hrs_with_dfu example? There is also a seperate guide &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v9.0.0%2Fbledfu_appextending.html"&gt;here&lt;/a&gt; that describes how to include the DFU service in any custom application.&lt;/p&gt;
&lt;p&gt;Generally, the application itself is not aware if there is bootloader on the device or not. The application is flashed at the top of the softdevice, regardless if a bootloader is present or not. All that the DFU service does is to write into GPREGRET register on the nRF51 which is retained when doing a soft-reset. When the DFU service has written to this register, it soft-resets the nRF51. At startup, the bootloader starts by reading the contents of the GPREGRET register to figure out if it should stay in DFU mode or start the application.&lt;/p&gt;
&lt;p&gt;More information is in the further reading section of &lt;a href="https://devzone.nordicsemi.com/tutorials/9/setting-up-device-firmware-updatedfu-on-the-nrf51-/"&gt;this DFU tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/blogs/683/a-quick-presentation-on-how-nrf51-dfu-works/"&gt;This video&lt;/a&gt; is very good for visualizing how the DFU works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu service echo</title><link>https://devzone.nordicsemi.com/thread/32770?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 09:04:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475990b2-0bbf-4ccf-b40b-93a851aeb057</guid><dc:creator>Mohamed O.Abouzeid</dc:creator><description>&lt;p&gt;any help please&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>