<?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 not sucess when app init and enable wdt,although I feeddog and disable the wdt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56723/dfu-not-sucess-when-app-init-and-enable-wdt-although-i-feeddog-and-disable-the-wdt</link><description>Dear Nordic 
 my SOFT DFU fail when I init the WDT, but I have feeddog and disable the WDT, like below: 
 static bool app_shutdown_handler(nrf_pwr_mgmt_evt_t event) { switch (event) { case NRF_PWR_MGMT_EVT_PREPARE_DFU: NRF_LOG_INFO(&amp;quot;Power management wants</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jan 2020 09:47:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56723/dfu-not-sucess-when-app-init-and-enable-wdt-although-i-feeddog-and-disable-the-wdt" /><item><title>RE: Dfu not sucess when app init and enable wdt,although I feeddog and disable the wdt</title><link>https://devzone.nordicsemi.com/thread/230022?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 09:47:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef0453e7-3135-4292-ae89-10eea3fa60d1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The WD will continue to run in DFU mode, so you will get a reset if you don&amp;#39;t feed it in your bootloader code as well. In SDK 14 there is also the &amp;quot;while (nrf_clock_lf_is_running())&amp;quot; statement that will prevent the bootloader from booting the app as long as the WD is running, please take a look at this thread here for more details:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30677/bootloader-doesn-t-load-application-with-watchdog/"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/30677/bootloader-doesn-t-load-application-with-watchdog/&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dfu not sucess when app init and enable wdt,although I feeddog and disable the wdt</title><link>https://devzone.nordicsemi.com/thread/230019?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 09:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a6cb889-2a75-4298-ae89-bcf9b9ee25b9</guid><dc:creator>Roger huang</dc:creator><description>&lt;p&gt;Dear Vidar&lt;/p&gt;
&lt;p&gt;when I set WD reload value to 120000,about 2 minutes, I find app connecting all the time, till wdt time come, nrf52 reset.&lt;/p&gt;
&lt;p&gt;so I guess when start the ota, my apptimer stop, and PC do not work in main while, so WDT not feed.&lt;/p&gt;
&lt;p&gt;and ble connecting fail all the time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;so it just like 1, when open wdt, ble dfu service connect fail, but nus sucess&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2, when open wdt, and start ota, app timer stoped&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks for your suggestion very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dfu not sucess when app init and enable wdt,although I feeddog and disable the wdt</title><link>https://devzone.nordicsemi.com/thread/229986?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 07:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feed4b2f-d63e-482b-84e4-fd4470cc6a2c</guid><dc:creator>Roger huang</dc:creator><description>&lt;p&gt;I test as below:&lt;/p&gt;
&lt;p&gt;when I init and start wdt in app, though I feed wdt, DFU entry fail, but if I do not use wdt in APP, DFU is normal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SDK is SDK14.2,&lt;/p&gt;
&lt;p&gt;thanks for support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dfu not sucess when app init and enable wdt,although I feeddog and disable the wdt</title><link>https://devzone.nordicsemi.com/thread/229975?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 03:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6652831-a835-459b-b703-7e3bc448287e</guid><dc:creator>Roger huang</dc:creator><description>&lt;p&gt;so if I init the WD in app, after go to dfu, I must feedwdt of app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dfu not sucess when app init and enable wdt,although I feeddog and disable the wdt</title><link>https://devzone.nordicsemi.com/thread/229974?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2020 03:21:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:985b19c8-6bf3-4918-ba92-eef7bbb320fe</guid><dc:creator>Roger huang</dc:creator><description>&lt;p&gt;I use SDK nRF5_SDK_14.2.0_17b948a, so bootloader have reload WD.&lt;/p&gt;
&lt;p&gt;but what&amp;#39;s the relation of this question, when I init the WD in app, will not entry to dfu successly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dfu not sucess when app init and enable wdt,although I feeddog and disable the wdt</title><link>https://devzone.nordicsemi.com/thread/229890?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2020 14:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a0726a4-f3b6-4c14-acfc-8d57b478c845</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not possible to stop the WDT in SW after it has been started. &lt;span&gt;nrf_wdt_int_disable() may be used to disable the TIMEOUT interrupt, but it will not stop the WDT.&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which SDK version are you currently using?&amp;nbsp; Bootloader from SDK 15.0.0 and later should reload the WD automatically.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>