<?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>DFU successful but nRF boots with old Firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35894/dfu-successful-but-nrf-boots-with-old-firmware</link><description>Hi, 
 
 My target is to update the application firmware running on the nRF module using serial wire connection. 
 
 I currently do experience the issue, that DFU process completes successfully, but nRF boots with previous firmware. 
 After triggering</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Jul 2018 08:46:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35894/dfu-successful-but-nrf-boots-with-old-firmware" /><item><title>RE: DFU successful but nRF boots with old Firmware</title><link>https://devzone.nordicsemi.com/thread/138461?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 08:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:700ffc13-995b-4bcf-adf1-ee37940ccc5c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We need to check the flash to see why the DFU was successful but the original firmware didn&amp;#39;t get replaced by the new image.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest you to test with the unmodified bootloader and test with very simple application such as the blinky example and see if you can replace the firmware or not.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU successful but nRF boots with old Firmware</title><link>https://devzone.nordicsemi.com/thread/138303?ContentTypeID=1</link><pubDate>Fri, 29 Jun 2018 14:26:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d07ec725-f1b4-4587-b9d6-b9321c260662</guid><dc:creator>c.arndt</dc:creator><description>&lt;p&gt;Thanks for your feedback.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To answer your questions:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;Could you clarify you are updating the firmware using UART or SWD&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;--&amp;gt; I am using UART for firmware update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;How do you switch to DFU mode ?&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;--&amp;gt; An application is already running on nRF module which takes care that on a certain command, nRF switches into DFU mode&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;Which SDK, softdevice, hardware are you testing with ?&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;--&amp;gt; It&amp;#39;s the NINA module from uBlox, we are flashing &amp;quot;s132_nrf52_5.0.0_softdevice.hex&amp;quot; on the device&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&amp;quot;Also what you can do is to read hex file out after your first DFU update (that fails) to see what in the flash. &amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;--&amp;gt; The point is, its not about that it fails. The focus is more why is the DFU successul but nRF reboots after DFU with previous FW and not with the one I updated to?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU successful but nRF boots with old Firmware</title><link>https://devzone.nordicsemi.com/thread/138280?ContentTypeID=1</link><pubDate>Fri, 29 Jun 2018 12:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:671b4bfa-aa72-4220-af89-3b03e08f2186</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you clarify you are updating the firmware using UART or SWD (Serial Wire Debug) interface ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do you switch to DFU mode ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which SDK, softdevice, hardware are you testing with ? Could you try with stock SDK bootloader and try to update an example in the SDK ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also what you can do is to read hex file out after your first DFU update (that fails) to see what in the flash.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>