<?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 DFU over UART issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35776/secure-dfu-over-uart-issue</link><description>Hi, 
 I have followed sequence in http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fsdk_app_serial_dfu_bootloader.html&amp;amp;cp=4_0_0_4_3_4 
 It says programmed 100% but example not running. Can you specify reason? 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Jun 2018 17:44:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35776/secure-dfu-over-uart-issue" /><item><title>RE: Secure DFU over UART issue</title><link>https://devzone.nordicsemi.com/thread/137970?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 17:44:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:512d4fe6-d5b6-4b9c-8232-1618ac5e9fef</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t think we have document on it. The MBR code is not open. But what exactly you want to do with the MBR parameter page ?&lt;/p&gt;
&lt;p&gt;Usually that page is used to store information about the location of the new softdevice/ bootloader and which command the MBR need to do on the next reset, just in case the DFU process got interrupted by a power failure for example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure DFU over UART issue</title><link>https://devzone.nordicsemi.com/thread/137966?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 17:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80fa2ed3-1a04-49c8-bf1d-a0f3bdde1c77</guid><dc:creator>Sridhar Jonnavittula</dc:creator><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt;Can you point me guide or document for this&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;You mean the one inside the MBR or the one inside the bootloader?&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure DFU over UART issue</title><link>https://devzone.nordicsemi.com/thread/137957?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 15:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c27c3a1-fbbf-4a26-8424-681c188f3a98</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s normal to have data copied twice. It&amp;#39;s dual bank bootloader. The image is copied to a swap area first, then the swap area is verified (with CRC) after that it will be copied to the correct location. This is to avoid bricking the device if there is a corruption when sending the image, so you can always fallback to the original application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure which MBR parameter page you are looking for ? You mean the one inside the MBR or the one inside the bootloader ? You shouldn&amp;#39;t have to worry about that page as it&amp;#39;s for internal use between the bootloader and the MBR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure DFU over UART issue</title><link>https://devzone.nordicsemi.com/thread/137756?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 17:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d75c8cd3-1a43-4e12-9edc-4645904129c9</guid><dc:creator>Sridhar Jonnavittula</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;first reply&lt;/strong&gt; &lt;strong&gt;is given by me&lt;/strong&gt; by changing &lt;strong&gt;sd_req to 0xA9&lt;/strong&gt; and it was &lt;strong&gt;working.&lt;/strong&gt; But from that screenshot you can see that same image is copied twice i.e 0x26000-0x345c4, 0x35000-0x435c4 and &lt;strong&gt;is this expected scenario&lt;/strong&gt;? I think image should be present only at one memory rage&amp;nbsp;&lt;span&gt;0x26000-0x345c4. And the same is observed when mbr without softdevice and any hardware peripheral example is tested over serial link.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also MBR parameter page is not created. Please let me know why it is not created?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure DFU over UART issue</title><link>https://devzone.nordicsemi.com/thread/137742?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 16:03:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dec12cb-57c4-4115-8dd8-920f045f7337</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you clarify that by setting the sd_req you can do UART DFU properly ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the screenshot you provided, it seems that the bootloader receives the image, however the image was not verified and it&amp;#39;s not copied into flash and the bootloader stay in bootloader mode without jumping to the application (because the application was invalid). This is dual bank DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the second case the image was copied properly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure DFU over UART issue</title><link>https://devzone.nordicsemi.com/thread/137648?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 11:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56281630-d4b2-4ca0-a9fb-bace2cb5ba92</guid><dc:creator>Sridhar Jonnavittula</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/uart_5F00_bl_5F00_working_5F00_one_5F00_with_5F00_sd_5F00_req_5F00_0xA9_5F00_but_5F00_application_5F00_updated_5F00_2times.png" /&gt;&lt;/p&gt;
&lt;p&gt;This screenshot is when bootloader settings page is generated with sd_req as 0xA9 and it is the only change as referred from&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_bootloader_dfu_validation.html&amp;amp;anchor=lib_dfu_image"&gt;http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Flib_bootloader_dfu_validation.html&amp;amp;anchor=lib_dfu_image&lt;/a&gt;&amp;nbsp;Updates without a softdevice section. So this way updated example runs but my question is why two times example is updated in two different successive memory locations. Is this expected?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>