<?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 program not loading</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52124/dfu-program-not-loading</link><description>Hi, I am currently using Nordic nRF52 dev board (with nRF52832 SoC) and trying to test &amp;quot;dfu/secure_bootloader&amp;quot; example in that board. Because my target ship is nRF52810 I am using pca10040e_ble project example. 
 Setup: * nRF SDK 15.3.0 * SoftDevice S112</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Nov 2019 15:39:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52124/dfu-program-not-loading" /><item><title>RE: DFU program not loading</title><link>https://devzone.nordicsemi.com/thread/219119?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 15:39:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbd92ec3-fd96-4b5e-b6ed-03ff9ab7ed3f</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Thank you all for the help, I managed to do the DFU correctly. At first, I did not understand concept correctly so that is why it did not work out. I suggest that you change your&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt; DFU guide&lt;/a&gt; a bit, and be more clear about every step.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Voja.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU program not loading</title><link>https://devzone.nordicsemi.com/thread/210328?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2019 09:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe49ef5b-0492-41a7-90f4-b3b5776554eb</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="80703" url="~/f/nordic-q-a/52124/dfu-program-not-loading/210062"]When I am building the&amp;nbsp;&lt;strong&gt;&lt;em&gt;nRF5_SDK_15.3.0\examples\dfu\secure_bootloader&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;I get only the bootloader hex, this project does not include the application?[/quote]
&lt;p&gt;That is correct.&lt;/p&gt;
[quote userid="80703" url="~/f/nordic-q-a/52124/dfu-program-not-loading/210062"]If that is true then I understand your questions better, and obviously, I am just uploading the new bootloader, but I still do not understand why the adv name is not changing...[/quote]
&lt;p&gt;You upload a bootloader as the application. I.e. you used&amp;nbsp;&lt;em&gt;--application&lt;/em&gt; when&amp;nbsp;specifying the hex file. If you wanted to do a bootloader DFU, then you should use&amp;nbsp;&lt;span&gt;&lt;em&gt;--bootloader&lt;/em&gt;. See&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_bootloader_dfu_validation.html?cp=5_1_3_5_1_1_1#lib_dfu_image"&gt; this page.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU program not loading</title><link>https://devzone.nordicsemi.com/thread/210062?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 10:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7078f708-08b3-46ad-bc86-50941d660e19</guid><dc:creator>Vojislav</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;My main concern is that I do not understand how this works. This is what I understand so far, and please correct me if I am wrong:&lt;br /&gt;&lt;br /&gt;There is:&lt;br /&gt;1. Bootloader&lt;br /&gt;2. application&lt;br /&gt;3. Softdevice&lt;br /&gt;&lt;br /&gt;When I am building the&amp;nbsp;&lt;strong&gt;&lt;em&gt;nRF5_SDK_15.3.0\examples\dfu\secure_bootloader&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;I get only the bootloader hex, this project does not include the application?&lt;br /&gt;If that is true then I understand your questions better, and obviously, I am just uploading the new bootloader, but I still do not understand why the adv name is not changing...&lt;br /&gt;&lt;br /&gt;Best&amp;nbsp; regards,&lt;br /&gt;Voja.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU program not loading</title><link>https://devzone.nordicsemi.com/thread/209699?ContentTypeID=1</link><pubDate>Sat, 14 Sep 2019 03:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72777b05-e8c9-4672-becb-d1340ebc7efa</guid><dc:creator>Duy</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you checked if the name is redefined? You can&lt;/p&gt;
[quote userid="80703" url="~/f/nordic-q-a/52124/dfu-program-not-loading"]10. To see the change when the new appication code us updated after the dfu I changed the device name in the &lt;strong&gt;sdk_config.h&amp;nbsp;&lt;/strong&gt;file.&amp;nbsp; to&amp;nbsp;&lt;br /&gt;&lt;em&gt;#define NRF_DFU_BLE_ADV_NAME &amp;quot;DfuTargv1&amp;quot;&lt;/em&gt;&amp;nbsp;&lt;br /&gt;and build the application again.&amp;nbsp;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You changed this in the bootloader or the application?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote userid="80703" url="~/f/nordic-q-a/52124/dfu-program-not-loading"][/quote]&lt;/p&gt;
&lt;p&gt;13. After the firmware is uploaded I get this screen which seems ok:&lt;br /&gt;&lt;img style="cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-889158a9e0a64dff887b7d8da6a96a73/pastedimage1568385091943v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;and the nRF52 dev board is disconnected, so the LEDs 1 and 2 are again ON but the device does not change the name to&amp;nbsp;&lt;strong&gt;&lt;em&gt;DfuTargv1&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you sure that you are uploading the application? As I understand, you changed the name of the bootloader and then you upload the bootloader again though DFU...&lt;/p&gt;
&lt;p&gt;As you see, after your firmware is uploaded, you still see the LED1 and LED2, so it means you are still in the bootloader.&lt;/p&gt;
&lt;p&gt;Please correct me if I misunderstood you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Duy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>