<?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 and Watchdog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18565/dfu-and-watchdog</link><description>Dear all, 
 As some of you have pointed out, if we want to perform DFU and having a watchdog running, the boot loader should embed a watchdog feed. I have successfully managed to do so. And DFU performs OK until the app reboots. Then, I loose my app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Sep 2017 14:49:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18565/dfu-and-watchdog" /><item><title>RE: DFU and Watchdog</title><link>https://devzone.nordicsemi.com/thread/71653?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 14:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26a58ebb-db58-43e4-a639-56a04e433fd9</guid><dc:creator>David K.</dc:creator><description>&lt;p&gt;Dear all,&lt;/p&gt;
&lt;p&gt;We have eventually sorted this out. We feed the watchdog in a timer every seconds. And the time runs until the app reboots and reboot is less then N seconds.
Regards,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU and Watchdog</title><link>https://devzone.nordicsemi.com/thread/71650?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2016 09:32:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23728ddd-80d4-4e90-b7b0-6ed0424c311d</guid><dc:creator>David K.</dc:creator><description>&lt;p&gt;Hi,
Despite my &amp;quot;work issues&amp;quot; Xmas break was fine! Not really back to work. So just to let you know that I&amp;#39;ll push the tests and try to get a more precise view on what is going on. Thanks, and hope to get back after winter break (January, 3rd or so).
Cheers and happy end of year!
D.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU and Watchdog</title><link>https://devzone.nordicsemi.com/thread/71652?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2016 09:07:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc979b8d-4b4a-4159-a6d5-c87727a0afa0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;Thanks for your wish. I hope you had a great Xmas holidays as well.&lt;/p&gt;
&lt;p&gt;Adding the trace to bootloader would really help. We need to track down if the DFU process is finished on the bootloader and the bootloader forwards the PC to the application or not.&lt;/p&gt;
&lt;p&gt;You can also try to read the flash out and check if the new image is copied in place in bank 0 or not.&lt;/p&gt;
&lt;p&gt;My suspicion is that the image is sent and received, but the bootloader hasn&amp;#39;t managed to copy the image to bank 0 and mark the application as valid application, maybe watch dog is not fed on time and triggers a reset before the DFU process finish.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU and Watchdog</title><link>https://devzone.nordicsemi.com/thread/71651?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 16:37:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed5e8c7f-5434-4706-8d6e-eda4d9fd8223</guid><dc:creator>David K.</dc:creator><description>&lt;p&gt;Hi Hung Bui, Thanks for taking time.&lt;/p&gt;
&lt;p&gt;Unfortunately, I may not be extremely precise. Let me do my best and if necessary, I&amp;#39;ll refine.&lt;/p&gt;
&lt;p&gt;The new firmware seems to be uploaded to the NRF. The progress shows 100% and Operation completed. Then, the module disconnects from the mobile app. And, after &amp;quot;a few seconds&amp;quot;, the nrf gets back to boot loader. It is as-if the watchdog resets the module in boot loader mode.&lt;/p&gt;
&lt;p&gt;I have the RTT trace activated in my app but not on the boot loader. The app does not show up after Operation completed. I&amp;#39;ll try to activate the trace in the boot loader and try to see what is going on in the boot loader.&lt;/p&gt;
&lt;p&gt;One more thing, I am doing a secured DFU.&lt;/p&gt;
&lt;p&gt;Hope it provides some more directions for getting &amp;#39;useful&amp;#39; help.&lt;/p&gt;
&lt;p&gt;Thanks again and happy holidays to all of you,&lt;/p&gt;
&lt;p&gt;D.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU and Watchdog</title><link>https://devzone.nordicsemi.com/thread/71649?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2016 12:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08eb3eb6-7ef4-4434-aa29-56d56b46c1d7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,
Could you explain a little bit more this part: &amp;quot;And DFU performs OK until the app reboots.&amp;quot; ? was the new image flashed ? When is exactly the rebooting ? And after that what happens ? The nRF chip only stay in bootloader mode or switch to application ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>