<?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>Sometimes,bootloader can&amp;#39;t jump to app after bootloader received the firmware compeletedly!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59621/sometimes-bootloader-can-t-jump-to-app-after-bootloader-received-the-firmware-compeletedly</link><description>Hi : 
 Our project(SDK15.2) use the uart DFU to transfer the firmware , usually when the firmware has been transfered ,it can jump to app successfull .But Sometimes,bootloader can&amp;#39;t jump to app after bootloader received the firmware compeletedly! We want</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Mar 2020 14:00:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59621/sometimes-bootloader-can-t-jump-to-app-after-bootloader-received-the-firmware-compeletedly" /><item><title>RE: Sometimes,bootloader can't jump to app after bootloader received the firmware compeletedly!</title><link>https://devzone.nordicsemi.com/thread/242461?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 14:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e149ad7-8c73-402c-88e5-41d3f32fe4c0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Qing,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;First please verify that it was just the log stopped after &amp;quot;&lt;span&gt;&amp;lt;00&amp;gt; info&amp;gt; app: Inside main&amp;quot; or also your application couldn&amp;#39;t start ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does your app require softdevice ?&amp;nbsp;&lt;br /&gt;If you test with a simple app for example blinky LED , would DFU work all the time ?&amp;nbsp;&lt;br /&gt;How often do you see the issue ?&amp;nbsp;&lt;br /&gt;If you want to debug the bootloader, you can change the optimization level to 0 and step into the bootloader, add breakpoints, etc. Because of the optimization level reduced, the size of the bootloader may be increased and wouldn&amp;#39;t fit in the original location. You need to move the bootloader down to make more space for it. Make sure you do an eraseall before you test the bootloader with the new location.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sometimes,bootloader can't jump to app after bootloader received the firmware compeletedly!</title><link>https://devzone.nordicsemi.com/thread/242412?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 12:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb91bed5-18e9-4f0f-8d99-d91cccc84948</guid><dc:creator>QingF</dc:creator><description>&lt;p&gt;Hi Turbo J:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Our APP use the&amp;nbsp; 13.0.0 SDK ,and the bootloader&amp;#39;s version is 15.2 SDK. Because I want to use the 15.2 tool of&amp;nbsp;&lt;a href="https://github.com/jimmywong2003/nrf-slim-serial-uart-dfu-host-c-code"&gt;https://github.com/jimmywong2003/nrf-slim-serial-uart-dfu-host-c-code&lt;/a&gt;&amp;nbsp;to implement the DFU function&lt;span&gt;. But it always maybe failed to jump to app&amp;nbsp; after received all firmware.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If you have the&amp;nbsp; c code tool that its version is 13.0.0 ?&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: Sometimes,bootloader can't jump to app after bootloader received the firmware compeletedly!</title><link>https://devzone.nordicsemi.com/thread/242202?ContentTypeID=1</link><pubDate>Sat, 28 Mar 2020 08:00:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baf1b711-4486-4633-a3f2-46edea724912</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;That might be just SERGGER RTT derping out.&lt;/p&gt;
&lt;p&gt;Cause: Application and bootloader use &lt;em&gt;different&lt;/em&gt; memory segment for the RTT data communication.&lt;/p&gt;
&lt;p&gt;Bootloader RTT segment might end on an address that is later in softdevice reserved RAM due to different configuration settings for the application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Workarounds:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&amp;nbsp;Reconnect the RTT client and manually set the address of the RTT data (e.g.&amp;nbsp; from map file).&lt;/li&gt;
&lt;li&gt;Overwrite (set to zero) all memory that is not (yet) reserverd by the softdevice, i.e. the softdevice reserved area minus the first 8 bytes BEFORE softdevice is turned on. This should erase the &amp;quot;old&amp;quot; RTT signature from its RAM location and for RTT to search for the new one.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>