<?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>SDK 17.0.0 Bluetooth DFU example not work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65267/sdk-17-0-0-bluetooth-dfu-example-not-work</link><description>I am tring to DFU by Bluetooth with example, but it not work. 
 Please someone help me!! 
 
 My environment 
 PCA10056 nRF52840 
 SDK17.0.0 
 examples/dfu/secure_bootloader/pca10056_s140_ble_debug 
 
 First flash the program by onboard J-link. 
 The program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Aug 2020 00:23:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65267/sdk-17-0-0-bluetooth-dfu-example-not-work" /><item><title>RE: SDK 17.0.0 Bluetooth DFU example not work</title><link>https://devzone.nordicsemi.com/thread/267107?ContentTypeID=1</link><pubDate>Mon, 31 Aug 2020 00:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baa9bc08-efd8-4643-a281-626eb0141b14</guid><dc:creator>Hiroyuki Kanai</dc:creator><description>&lt;p&gt;OK, I will try it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 17.0.0 Bluetooth DFU example not work</title><link>https://devzone.nordicsemi.com/thread/266929?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 09:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e8ad80b-2a9c-48bf-afa2-dbe66458c38c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the log. I do not see any indication of a problem there, but there are several things I would expect to see which are not there. For instance, the last part of the log is like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;debug&amp;gt; nrf_dfu_req_handler: All flash operations have comp&amp;lt;error&amp;gt; app: main() address : 0xF3E2D
00&amp;gt; 
00&amp;gt; &amp;lt;error&amp;gt; app: before!!
00&amp;gt; 
00&amp;gt; &amp;lt;error&amp;gt; app: Inside main 09:04:03&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The line with &amp;quot;nrf_dfu_req_handler&amp;quot; is from the bootloader, and the next is from the application. But there is no trace of the bootloader resetting after the update and branching to the application, which would always be the case, and should always be in the log (for instance &amp;quot;Running nrf_bootloader_app_start with address&amp;quot;...).&lt;/p&gt;
&lt;p&gt;One typical reason for missing / corrupt RTT logs is when, as in your case, both the bootloader and application use RTT logging. Perhaps you could disable RTT and use UART in the app instead? You could also use different LEDS or similar to indicate which app version is running.&lt;/p&gt;
&lt;p&gt;If you still get a strange log after changing this, can you describe in &lt;em&gt;full&lt;/em&gt; detail how you test and any changes you have made to the bootloader example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 17.0.0 Bluetooth DFU example not work</title><link>https://devzone.nordicsemi.com/thread/266845?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 00:08:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9b8ce82-5f70-45c0-a970-e48e6b953950</guid><dc:creator>Hiroyuki Kanai</dc:creator><description>&lt;p&gt;Thanks for your advice!!&lt;br /&gt;I got the log now.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/DFU_5F00_log_5F00_0828_5F00_0904.log"&gt;devzone.nordicsemi.com/.../DFU_5F00_log_5F00_0828_5F00_0904.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 17.0.0 Bluetooth DFU example not work</title><link>https://devzone.nordicsemi.com/thread/266712?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 11:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4edbb64-0443-48d6-8df2-79097be80b41</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Your test seems sensible, updating from a firmware that writes &amp;quot;before&amp;quot; to &amp;quot;after&amp;quot;. There is nothing here indicating what went wrong, though. I see you are already using the debug bootloader (pca10056_s140_ble_debug), which include RTT logging. Can you do the process again and upload the RTT logs here? It is interesting to see the logs both from the update, and from when (failing to) starting the new application. That should give a good indication of what the problem could be.&lt;/p&gt;
&lt;p&gt;(You can obtain the logs using the J-Link RTT viewer.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>