<?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>Secure serial DFU example question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72325/secure-serial-dfu-example-question</link><description>I am running the example: 
 C:\Nordic\nRF5_SDK_17.0.2_d674dde\examples\dfu\secure_bootloader\pca10040_uart_debug\arm5_no_packs 
 Everything seems to be working well except for one step, please see step 8 below: 
 Using PCA10040 board: 
 Step 1 Compile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Mar 2021 19:17:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72325/secure-serial-dfu-example-question" /><item><title>RE: Secure serial DFU example question</title><link>https://devzone.nordicsemi.com/thread/297902?ContentTypeID=1</link><pubDate>Thu, 04 Mar 2021 19:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8a702ab-1074-4c98-9d1e-6b1ee5865b95</guid><dc:creator>Andres</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;I figured this out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The DFU of the Blinky example was in the middle of the Softdevice area. As you noted,&amp;nbsp;the Blinky example does not need the Softdevice. However, I recompiled the Blinky example to start at flash address 0x26000 and I added the Softdevice&amp;nbsp;ID (0x101) to the DFU package for the Blinky.&lt;/p&gt;
&lt;p&gt;And&amp;nbsp;now I can go back and forth between the DFU of the Blinky example and the DFU of the HRS example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In summary the bootloader is working fine. But I had to properly build and compile the examples keeping an eye on their flash locations and assuming there is a Softdevice installed.&lt;/p&gt;
&lt;p&gt;Perhaps a warning for future DFU users is to be cautious of using the examples provided in&amp;nbsp;\nRF5_SDK_17.0.2_d674dde\examples\dfu\secure_dfu_test_images\uart\nrf52832, e.g.,&amp;nbsp;blinky_mbr.zip and&amp;nbsp;hrs_application_s132.zip since they are incompatible. I guess you can tell right away from their names &amp;quot;_mbr&amp;quot; and &amp;quot;_s132&amp;quot; that they make different assumptions. I learned the hard way :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure serial DFU example question</title><link>https://devzone.nordicsemi.com/thread/297814?ContentTypeID=1</link><pubDate>Thu, 04 Mar 2021 13:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43e78845-8f37-41cb-9bd4-66df267c030a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see from step 4 that you have programmed the SoftDevice. However this is not used by the serial bootloader so that in itself does not show that it is correctly programmed (other than the MBR, which is the first page in the SoftDevice hex and is needed by the bootloader). Can you double check that the correct SoftDevice is programmed?&lt;/p&gt;
&lt;p&gt;On the same note, the Blinky example has no dependency on the SoftDevice. The HRS example on the other hand, has. Can you double check that you have build the HRS example for the exact same SoftDevice version? And can you check that it work with that SoftDevice if you program only the SoftDevice and HRS app, but not bootloader via nRF Connect Programmer?&lt;/p&gt;
&lt;p&gt;Lastly, can you explain in what way it fails (when you write&amp;quot; Not OK XXXXXXXX&amp;quot;)? Any logs or error messages?&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>