<?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>Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59177/unable-to-perform-a-dfu-over-usb-cdc-acm-the-bootloader-never-boots-the-new-app</link><description>Hi, 
 For my all DFU i follow the steps on the Getting started guide , just in the Performing DFU step i use the nrfutil tool for the over USB. 
 First i tried with the DFU examples provided, i started with the open_bootloader , uploaded that to the nrf52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Mar 2020 10:15:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59177/unable-to-perform-a-dfu-over-usb-cdc-acm-the-bootloader-never-boots-the-new-app" /><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/241551?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 10:15:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ff0e913-1af0-4a27-ad3a-09a01156c831</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help!&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/241502?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 07:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdb4c1a6-76c8-4b72-b071-6c98e63ed449</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;Hi Bjorn,&lt;/p&gt;
&lt;p&gt;Alright, thanks for the instructions and the link. wasn&amp;#39;t aware of that. the DFU process in the docs didn&amp;#39;t mention that.&lt;/p&gt;
&lt;p&gt;And Thanks again for your assistance.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Abdelali&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/241469?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 20:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:747e1ebd-64cf-4715-99b5-2f0ac3c9906e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No, the MBR should be flashed to your NRF52840 together with the bootloader. The MBR will not be modified in any DFU update after it is flashed to the SoC.&amp;nbsp; The MBR should not be merger with the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The MRB is necessary for the bootloader to perform SoftDevice and Bootloader updates, see&amp;nbsp;&lt;a title="Master boot record and bootloader" href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/mbr_bootloader/mbr_bootloader.html?cp=4_6_3_0_11"&gt;Master boot record and bootloader&lt;/a&gt;&amp;nbsp;for more information&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/241401?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 14:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637319d3-e122-404a-902b-ad6d87e9f26d</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;Just tested that, works well! didn&amp;#39;t know about that before.and&amp;nbsp;this might be the issue for the DFU.&lt;/p&gt;
&lt;p&gt;So, for the DFU process and for building the package. i should maybe merge the application (with the updated Flash settings) and the mbr hex files, and use that as it is the hex file of the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please elaborate a little bit on the MBR &amp;#39;job&amp;#39; compared to the bootloader ?&lt;/p&gt;
&lt;p&gt;Thanks again for your assistance, very appreciated!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/241391?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 13:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e2e3b7b-fd8d-464e-a5e6-112128d42042</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, but did you flash the MBR to the nRF52840 before flashing the application with the updated flash settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/241384?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 13:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78357870-32a1-4ad9-8d80-b929626cfe1a</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;Hi Bjorn,&lt;/p&gt;
&lt;p&gt;Thanks for that.&lt;/p&gt;
&lt;p&gt;Well, i just tested it without using the DFU. the application doesn&amp;#39;t start, unless i use the default configuration :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FLASH_PH_START=0x0
FLASH_PH_SIZE=0x100000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x40000
FLASH_START=0x000
FLASH_SIZE=0x200000
RAM_START=0x20000000
RAM_SIZE=0x40000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The project does not use the Softdevice, and built on top of the&amp;nbsp;&lt;strong&gt;usbd_hid_composite_pca10056 &lt;/strong&gt;SDK&amp;nbsp;example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/241372?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 12:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c2ee401-79ea-4bad-b9b3-0896ea221a99</guid><dc:creator>bjorn-spockeli</dc:creator><description>[quote user="Abdelali"]&lt;span&gt;Comparing between the two projects, i noticed that the FLASH/RAM START parameters values are&amp;nbsp;&lt;/span&gt;different. for the mbr version the &lt;strong&gt;FLASH&lt;/strong&gt; starts at &lt;strong&gt;0x1000&lt;/strong&gt;, and the &lt;strong&gt;RAM&lt;/strong&gt; at &lt;strong&gt;0x20000008&lt;/strong&gt;. i think this is what makes it compatible with the bootloader. can you please elaborate a little bit on this ?[/quote]
&lt;p&gt;&amp;nbsp;Yes, if you have an application that does not use the SoftDevice, then the flash start address should be 0x1000 and the RAM start address should be 0x20000008. The SDK examples are not compiled to be position independent so since the MBR occupies the first flash page, i.e. 0x0000 to 0x1000, then the application should be compiled with flash start address set to 0x1000.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The MBR uses the RAM from&amp;nbsp;&lt;/span&gt;&lt;span&gt;0x20000000 to&amp;nbsp;0x20000008, so the application RAM start address should be set to&amp;nbsp;0x20000008.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/240975?ContentTypeID=1</link><pubDate>Sat, 21 Mar 2020 06:34:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14f05456-2ac8-4527-a304-1142be7719f4</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;Hi &lt;span&gt;Bj&amp;oslash;rn&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;Thanks for the instructions.&lt;/p&gt;
&lt;p&gt;Well, I&amp;#39;m able to flash this package&amp;nbsp;&lt;span&gt;&lt;strong&gt;blinky_mbr.zip&lt;/strong&gt; and produce my own, after playing with the blinky main file, to test the firmware update.but, still have the same issue with my application firmware. beside that, i noticed that the blinky example has two versions &lt;strong&gt;blank&lt;/strong&gt; and &lt;strong&gt;mbr&lt;/strong&gt;, i can update the mbr version main file and build the package and successfully flash it .but, this doesn&amp;#39;t work for the blank version! even generating the settings file, fail.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Comparing between the two projects, i noticed that the FLASH/RAM START parameters values are&amp;nbsp;&lt;/span&gt;different. for the mbr version the &lt;strong&gt;FLASH&lt;/strong&gt; starts at &lt;strong&gt;0x1000&lt;/strong&gt;, and the &lt;strong&gt;RAM&lt;/strong&gt; at &lt;strong&gt;0x20000008&lt;/strong&gt;. i think this is what makes it compatible with the bootloader. can you please elaborate a little bit on this ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My application is a HID device, with the cdc acm class added for serial communication. do i need to update any project settings, or configs in order to build the DFU package ?&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Abdelali&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/240927?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 16:02:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70387e82-49a6-4d51-b880-ff20d9bf62c9</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;span&gt;HI Abdelali,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was not able to reproduce the issue with the open bootloader&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Flash&amp;nbsp;nRF5_SDK_16.0.0_98a08e2\examples\dfu\open_bootloader\pca10056_usb_debug\ example to nRF52840 DK&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Set Power switch to OFF&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Set SW9 to USB&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Connect USB cable to nRF USB connector(J3) and SW6 to nRF Only&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Set Power switch to ON&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Perform DFU using the following nrfutil command:&amp;nbsp;nrfutil -vvvv dfu serial -pkg blinky_mbr.zip -p COM28 -b 115200&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;nrfutil output&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;2020-03-20 16:54:20,898 Using board at serial port: COM28
2020-03-20 16:54:20,904 Sending Application image.
2020-03-20 16:54:24,413 SLIP: --&amp;gt; [9, 1]
2020-03-20 16:54:24,414 SLIP: &amp;lt;-- [96, 9, 1, 1]
2020-03-20 16:54:24,414 Serial: Set Packet Receipt Notification 0
2020-03-20 16:54:24,414 SLIP: --&amp;gt; [2, 0, 0]
2020-03-20 16:54:24,415 SLIP: &amp;lt;-- [96, 2, 1]
2020-03-20 16:54:24,417 SLIP: --&amp;gt; [7]
2020-03-20 16:54:24,417 SLIP: &amp;lt;-- [96, 7, 1, 3, 8]
2020-03-20 16:54:24,417 Sending init packet...
2020-03-20 16:54:24,417 Serial: Selecting Object: type:1
2020-03-20 16:54:24,418 SLIP: --&amp;gt; [6, 1]
2020-03-20 16:54:24,420 SLIP: &amp;lt;-- [96, 6, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2020-03-20 16:54:24,420 Serial: Object selected:  max_size:512 offset:0 crc:0
2020-03-20 16:54:24,420 SLIP: --&amp;gt; [1, 1, 139, 0, 0, 0]
2020-03-20 16:54:24,421 SLIP: &amp;lt;-- [96, 1, 1]
2020-03-20 16:54:24,421 Serial: Streaming Data: len:139 offset:0 crc:0x00000000
2020-03-20 16:54:24,423 SLIP: --&amp;gt; [8, 18, 136, 1, 10, 66, 8, 1, 18, 62, 8, 1, 16, 52, 26, 1, 0, 32, 0, 40, 0, 48, 0, 56, 228, 11, 66, 36, 8, 3, 18, 32, 233, 115, 9, 232, 172, 129, 192, 72, 117, 215, 73, 239, 14, 179, 63, 224, 51, 246, 206, 39, 167, 80, 225, 188, 208, 18, 166, 31, 72, 12, 205, 245, 72, 1, 82, 4, 8, 1, 18, 0, 16, 0, 26, 64, 252, 184, 99, 174, 151, 188, 100, 249, 59, 140, 233, 26, 169, 190, 46, 99, 234, 235, 220, 192, 94, 6, 124, 205, 253, 250, 84, 219, 250, 103, 244, 235, 66, 34, 28, 67, 35, 183, 143, 234, 56, 183, 10, 183, 226, 13, 176, 173, 90, 135, 232, 34, 153, 10, 51, 170, 245, 116, 190, 103, 180, 126, 85, 213]
2020-03-20 16:54:24,424 SLIP: --&amp;gt; [3]
2020-03-20 16:54:24,426 SLIP: &amp;lt;-- [96, 3, 1, 139, 0, 0, 0, 70, 140, 70, 79]
2020-03-20 16:54:24,426 SLIP: --&amp;gt; [4]
2020-03-20 16:54:24,615 SLIP: &amp;lt;-- [96, 4, 1]
2020-03-20 16:54:24,615 Sending firmware file...
2020-03-20 16:54:24,617 Serial: Selecting Object: type:2
2020-03-20 16:54:24,617 SLIP: --&amp;gt; [6, 2]
2020-03-20 16:54:24,619 SLIP: &amp;lt;-- [96, 6, 1, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2020-03-20 16:54:24,621 Serial: Object selected:  max_size:4096 offset:0 crc:0
2020-03-20 16:54:24,621 SLIP: --&amp;gt; [1, 2, 228, 5, 0, 0]
2020-03-20 16:54:24,707 SLIP: &amp;lt;-- [96, 1, 1]
2020-03-20 16:54:24,709 Serial: Streaming Data: len:1508 offset:0 crc:0x00000000
2020-03-20 16:54:24,710 SLIP: --&amp;gt; [8, 16, 32, 0, 32, 21, 18, 0, 0, 29, 18, 0, 0, 31, 18, 0, 0, 33, 18, 0, 0, 35, 18, 0, 0, 37, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39, 18, 0, 0, 41, 18, 0, 0, 0, 0, 0, 0, 43, 18, 0, 0, 45, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 47, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 18, 0, 0, 0, 0, 0, 0, 47, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 223, 248, 12, 208, 0, 240, 24, 248, 0, 72, 0, 71, 253, 20, 0, 0, 16, 32, 0, 32, 6, 72, 128, 71, 6, 72, 0, 71, 254, 231, 254, 231, 254, 231, 254, 231, 254, 231, 254, 231, 254, 231, 254, 231, 254, 231, 254, 231, 93, 18, 0, 0, 1, 18, 0, 0, 6, 76, 7, 77, 6, 224, 224, 104, 64, 240, 1, 3, 148, 232, 7, 0, 152, 71, 16, 52, 172, 66, 246, 211, 255, 247, 218, 255, 192, 21, 0, 0, 224, 21, 0, 0, 48, 181, 79, 240, 128, 80, 0, 34, 131, 0, 208, 248, 48, 17, 195, 248, 12, 33, 195, 248, 16, 33, 98, 75, 26, 96, 98, 75, 27, 104, 98, 76, 35, 96, 96, 75, 27, 29, 27, 104, 36, 29, 35, 96, 93, 75, 8, 51, 27, 104, 36, 29, 35, 96, 91, 75, 12, 51, 27, 104, 36, 29, 35, 96, 88, 75, 16, 51, 27, 104, 36, 29, 35, 96, 86, 75, 20, 51, 27, 104, 36, 29, 35, 96, 83, 75, 24, 51, 27, 104, 83, 76, 32, 52, 35, 96, 80, 75, 28, 51, 27, 104, 36, 29, 35, 96, 78, 75, 32, 51, 27, 104, 36, 29, 35, 96, 75, 75, 36, 51, 27, 104, 36, 29, 35, 96, 73, 75, 40, 51, 27, 104, 36, 29, 35, 96, 70, 75, 44, 51, 27, 104, 36, 29, 35, 96, 68, 75, 48, 51, 27, 104, 67, 76, 64, 52, 35, 96, 65, 75, 52, 51, 27, 104, 36, 29, 35, 96, 62, 75, 56, 51, 27, 104, 36, 29, 35, 96, 60, 75, 60, 51, 27, 104, 36, 29, 35, 96, 57, 75, 64, 51, 27, 104, 36, 29, 35, 96, 1, 35, 8, 41, 2, 209, 208, 248, 52, 65, 20, 177, 8, 41, 4, 208, 6, 224, 53, 76, 52, 73, 33, 96, 5, 224, 208, 248, 52, 65, 20, 177, 8, 41, 4, 208, 6, 224, 49, 76, 251, 33, 33, 96, 5, 224, 208, 248, 52, 65, 20, 177, 8, 41, 8, 208, 14, 224, 144, 248, 88, 66, 44, 72, 1, 104, 100, 243, 3, 1, 1, 96, 2, 224, 208, 248, 52, 65, 28, 185, 41, 73, 79, 244, 0, 112, 8, 96, 40, 72, 1, 104, 201, 7, 2, 208, 111, 240, 1, 1, 1, 96, 37, 72, 1, 104, 65, 244, 112, 1, 1, 96, 191, 243, 79, 143, 191, 243, 111, 143, 79, 240, 16, 33, 209, 248, 0, 2, 0, 40, 3, 219, 209, 248, 4, 2, 0, 40, 34, 218, 29, 76, 35, 96, 29, 72, 3, 104, 0, 43, 252, 208, 18, 35, 193, 248, 0, 50, 5, 104, 0, 45, 252, 208, 193, 248, 4, 50, 1, 104, 0, 41, 252, 208, 34, 96, 1, 104, 0, 41, 252, 208, 191, 243, 79, 143, 16, 72, 124, 56, 1, 104, 18, 74, 1, 244, 224, 97, 17, 67, 1, 96, 191, 243, 79, 143, 0, 191, 253, 231, 15, 73, 14, 72, 8, 96, 48, 189, 56, 5, 0, 64]
2020-03-20 16:54:24,719 SLIP: --&amp;gt; [8, 4, 4, 0, 16, 32, 197, 0, 64, 72, 129, 3, 0, 140, 86, 0, 64, 24, 245, 0, 64, 228, 14, 0, 64, 64, 150, 2, 64, 0, 4, 0, 64, 136, 237, 0, 224, 4, 229, 1, 64, 0, 228, 1, 64, 4, 0, 250, 5, 0, 144, 208, 3, 8, 0, 0, 32, 2, 224, 8, 200, 18, 31, 8, 193, 0, 42, 250, 209, 112, 71, 112, 71, 0, 32, 1, 224, 1, 193, 18, 31, 0, 42, 251, 209, 112, 71, 0, 0, 45, 233, 252, 65, 6, 70, 192, 7, 79, 240, 0, 5, 14, 208, 16, 79, 0, 36, 1, 34, 56, 93, 0, 149, 0, 35, 17, 70, 1, 149, 0, 240, 89, 248, 100, 28, 4, 44, 244, 211, 0, 240, 50, 248, 176, 7, 13, 213, 7, 78, 0, 36, 54, 29, 0, 34, 48, 93, 3, 35, 0, 149, 17, 70, 1, 149, 0, 240, 71, 248, 100, 28, 4, 44, 244, 211, 189, 232, 252, 129, 182, 21, 0, 0, 9, 73, 8, 181, 8, 92, 0, 144, 104, 70, 0, 240, 83, 248, 208, 248, 4, 37, 0, 155, 1, 33, 153, 64, 33, 234, 2, 3, 192, 248, 8, 53, 17, 64, 192, 248, 12, 21, 8, 189, 182, 21, 0, 0, 2, 73, 8, 92, 1, 33, 0, 240, 77, 184, 0, 0, 182, 21, 0, 0, 16, 181, 0, 36, 32, 70, 255, 247, 243, 255, 100, 28, 4, 44, 249, 211, 16, 189, 0, 0, 1, 32, 255, 247, 171, 255, 9, 76, 79, 244, 250, 120, 79, 244, 122, 71, 0, 38, 48, 70, 255, 247, 204, 255, 69, 70, 97, 28, 56, 70, 136, 71, 109, 30, 250, 209, 118, 28, 4, 46, 243, 219, 241, 231, 176, 21, 0, 0, 45, 233, 255, 65, 28, 70, 221, 233, 10, 120, 21, 70, 14, 70, 104, 70, 0, 240, 16, 248, 70, 234, 69, 1, 65, 234, 132, 1, 65, 234, 7, 34, 66, 234, 8, 65, 0, 154, 0, 235, 130, 0, 192, 248, 0, 23, 189, 232, 255, 129, 0, 0, 1, 104, 32, 41, 2, 210, 79, 240, 160, 64, 112, 71, 1, 240, 31, 1, 1, 96, 1, 72, 112, 71, 0, 0, 0, 3, 0, 80, 56, 181, 1, 36, 0, 144, 104, 70, 49, 177, 255, 247, 235, 255, 0, 153, 140, 64, 192, 248, 8, 69, 56, 189, 255, 247, 228, 255, 0, 153, 140, 64, 192, 248, 12, 69, 56, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 56, 253, 216, 112, 71, 13, 14, 15, 16, 11, 12, 24, 25, 0, 0, 224, 21, 0, 0, 8, 0, 0, 32, 4, 0, 0, 0, 56, 20, 0, 0, 228, 21, 0, 0, 12, 0, 0, 32, 4, 32, 0, 0, 72, 20, 0, 0, 0, 144, 208, 3]
2020-03-20 16:54:24,733 SLIP: --&amp;gt; [3]
2020-03-20 16:54:24,740 SLIP: &amp;lt;-- [96, 3, 1, 228, 5, 0, 0, 76, 225, 119, 52]
2020-03-20 16:54:24,742 SLIP: --&amp;gt; [4]
2020-03-20 16:54:24,749 SLIP: &amp;lt;-- [96, 4, 1]
2020-03-20 16:54:24,750 Image sent in 0.332000017166s
Device programmed.&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Powering the nRF52840 DK from J2 and setting&amp;nbsp;&lt;/span&gt;&lt;span&gt;SW9 to&amp;nbsp;VDD and SW6 to Default shows the LEDs blinking so the DFU update was successful.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/240337?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 06:45:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:635c7047-ea2e-473b-9f94-5dbab5c3001a</guid><dc:creator>abdelali</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Bj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m using nRF5_SDK V16.0.0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Yes i can reach the&amp;nbsp;&lt;span&gt;nrf_bootloader_app_start() call. and here&amp;#39;s the log i get after that :&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;debug&amp;gt; app: Running nrf_bootloader_app_start with address: 0x00001000&lt;br /&gt;&amp;lt;debug&amp;gt; app: Disabling interrupts. NVIC-&amp;gt;ICER[0]: 0x4&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;// i think a reset was done here&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&amp;lt;info&amp;gt; app: Inside main&lt;br /&gt;&amp;lt;info&amp;gt; app: In nrf_bootloader_init&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Calling nrf_dfu_settings_init()...&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Using settings page.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Copying forbidden parts from backup page.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.&lt;br /&gt;&amp;lt;info&amp;gt; nrf_dfu_settings: Backing up settings page to address 0xFE000.&lt;br /&gt;&amp;lt;debug&amp;gt; nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.&lt;br /&gt;&amp;lt;debug&amp;gt; app: Enter nrf_bootloader_fw_activate&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and a&amp;nbsp; NRF_LOG_INFO(&amp;quot;p_bank-&amp;gt;bank_code = 0x%x.&amp;quot;, p_bank-&amp;gt;bank_code); at this point returns&lt;br /&gt;&amp;lt;info&amp;gt; app: p_bank-&amp;gt;bank_code = 0x0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i think the issue here is the&amp;nbsp;&lt;strong&gt;p_bank-&amp;gt;bank_code&lt;/strong&gt;&amp;nbsp; value is &lt;strong&gt;0x0&lt;/strong&gt; means&amp;nbsp;&amp;nbsp;&lt;strong&gt;NRF_DFU_BANK_INVALID&lt;/strong&gt;&amp;nbsp;is returned.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and so the bootloader won&amp;#39;t ever start the actual application, it will just keep checking for&amp;nbsp;dfu_enter_check() and timeouts.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;the bootloader keeps logging&amp;nbsp; the same logs as above .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Not sure why the&amp;nbsp;&lt;strong&gt;p_bank-&amp;gt;bank_code = 0 ,&lt;/strong&gt; i&amp;#39;m using the&amp;nbsp;&amp;nbsp;secure_bootloader\pca10056_usb_debug, tested with the blinky_mbr package provided in&amp;nbsp;secure_dfu_test_images\uart\nrf52840. also with my own generated Zip package, and got the same issue/log.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/app-memory-section.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Abdelali&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Perform a DFU over USB CDC ACM (the Bootloader never boots the new app)</title><link>https://devzone.nordicsemi.com/thread/240274?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 13:40:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f57aa62c-7313-472f-9999-12babfce2308</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Abdelali,&amp;nbsp;&lt;br /&gt;which SDK version are you using?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you place a breakpoint at&amp;nbsp;nrf_bootloader_app_start() in&amp;nbsp;nrf_bootloader_init()? IF you reach the&amp;nbsp;nrf_bootloader_app_start() call, then its the application that is not functioning properly.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>