<?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>Failure upgrading with DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73176/failure-upgrading-with-dfu</link><description>We are working on our development board contain the nRF52840. We also use Bluetooth Low Energy to load wirelessly the updated code with the DFU and it&amp;#39;s working properly. After several DFU updates, some of our boards cannot be loaded by DFU anymore..</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Mar 2021 13:18:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73176/failure-upgrading-with-dfu" /><item><title>RE: Failure upgrading with DFU</title><link>https://devzone.nordicsemi.com/thread/301916?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 13:18:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc48a435-a85f-418c-9454-e82fb2974dca</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try capture a&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE"&gt; sniffer trace&lt;/a&gt; when you do DFU update. You would need&amp;nbsp; an extra nRF52/dongle to be used as the sniffer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From what you described, it seems that the nRF Connect app couldn&amp;#39;t write the command to your application to switch to bootloader mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please check if you have any assert/crash on your device when testing. Please check if you have any log.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please let us know which SDK you based your application&amp;amp; bootloader, I know you use the DK, but the SDK is the software development kit that you based your application on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To flash a stock bootloader, just go to the SDK that you use and try compiling and flash the bootloader (\examples\dfu\secure_bootloader)&amp;nbsp; firmware to test.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When you flash your application did you also flash the bootloader ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure upgrading with DFU</title><link>https://devzone.nordicsemi.com/thread/301719?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 14:38:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6ecd69c-b1da-417d-8b7c-7b5f9632470c</guid><dc:creator>Ronen</dc:creator><description>&lt;p&gt;&lt;span style="color:#000000;"&gt;Dear Hung Bui,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;Follow your questions,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="color:#999999;"&gt;What exactly happened when you try to do DFU ?&amp;nbsp;&lt;/span&gt;&amp;nbsp;-&amp;nbsp;&lt;strong&gt;Please see below:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;When I open the BLE nRF connect it&amp;#39;s looking OK.&lt;/p&gt;
&lt;p&gt;Choosing my board&lt;/p&gt;
&lt;p&gt;&lt;img height="137" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616596678640v6.png" width="128" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616594630966v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have already selected the SDK &lt;strong&gt;nRF52840-DK&lt;/strong&gt; and still looking OK&lt;/p&gt;
&lt;p&gt;&lt;img height="75" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616594746850v2.png" width="195" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Choosing&amp;nbsp; the DFU file and click &amp;quot;Start DFU&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616595111436v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And after a few seconds got a white screen:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616594988522v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Or sometimes got the next note:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1616594853478v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;Which SDK your bootloader based on ?&lt;/span&gt;&amp;nbsp; -&amp;nbsp;&lt;strong&gt;nRF52840-DK&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffffff;color:#999999;"&gt;If you flash and test the stock bootloader from the SDK would it work ?&lt;/span&gt;&amp;nbsp;&lt;strong&gt; - Sorry, please explain it...&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#999999;"&gt;Have you tested if a normal BLE application still works on those board ?&lt;/span&gt; &lt;strong&gt;Yes! the BLE is working properly with our application.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failure upgrading with DFU</title><link>https://devzone.nordicsemi.com/thread/301687?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 13:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b918f408-e805-4991-991e-96a7f83b2aaf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ronen,&lt;/p&gt;
&lt;p&gt;We would need to get more debug information to analyse what could be wrong here.&amp;nbsp;&lt;br /&gt;Could you get some log from the bootloader when it fails&amp;nbsp; ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;What exactly happened when you try to do DFU ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which SDK your bootloader based on ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you flash and test the stock bootloader from the SDK would it work ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tested if a normal BLE application still works on those board ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>