<?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>How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3143/how-to-disable-the-wdt-watchdog-timer</link><description>After enabling and starting the watchdog timer (RR0), how can it be disabled? 
 This following code does not work : 
 NRF_WDT-&amp;gt;RREN &amp;amp;= ~(1 &amp;lt;&amp;lt; WDT_RREN_RR0_Pos);
 
 Neither does: 
 NRF_WDT-&amp;gt;POWER = 0;
 
 Edit: I&amp;#39;m using a Rev G0 chip.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Sep 2016 08:27:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3143/how-to-disable-the-wdt-watchdog-timer" /><item><title>RE: How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/thread/11632?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2016 08:27:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd14674f-8cf5-4987-8539-99a1c8ede411</guid><dc:creator>Morten Kristiansen</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;&amp;#39;s a brilliant design they chose to reuse in the nRF52 as well. When doing FW upgrade and switching to the bootloader you can&amp;#39;t disable the WD. Of course you can chose to stop feeding the WD and wait for the timeout reset; but then the content of the GPREGRET register is lost and hence can&amp;#39;t be used to stop in the bootloader. Hence your best option is to let the bootloader feed all the RR registers.&lt;/p&gt;
&lt;p&gt;Now when you enter the upgraded application you may wish to configure the WDT differently - but you can&amp;#39;t. So one option is to let the WDT reset the system again. If you are logging WDT resets as anomalies you need some mechanism to remember the latest WDT reset was a disarm reset and shouldn&amp;#39;t be logged. You need to describe this, make test cases and demonstrates that i really works.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d much appreciate writing code that directly benefits our customers instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/thread/11631?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2015 13:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a872d92-3548-42f1-8301-604e47e762f7</guid><dc:creator>John</dc:creator><description>&lt;p&gt;All I did was add a service of the WDT in the wait for events loop and also when the loop exits so that the WDT has its full amount of time while the system restarts. Just put this line in two spots in your wait_for_events function:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_WDT-&amp;gt;RR[0] = WDT_RR_RR_Reload;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/thread/11628?ContentTypeID=1</link><pubDate>Sat, 05 Dec 2015 04:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07fc5893-9d5f-4aea-8f97-184a8b554036</guid><dc:creator>SumitS</dc:creator><description>&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;Can you please share the code of DFU with watchdog service&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/thread/11633?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2015 08:20:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3757ebb4-6b9f-4d9e-8ad0-be4759d49036</guid><dc:creator>David Garc&amp;#237;a Polo</dc:creator><description>&lt;p&gt;Once configured and started, the watchdog timer cannot be stopped, unless one hard reset (watchdog or power/brownout or reset pin) arrives.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/thread/11630?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2014 12:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:002ba810-93a3-4d64-9e7a-edf1a30476e7</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Also note the following statement from the watchdog section of the reference manual: &amp;quot;The watchdog must be configured before it is started. After it is started, the watchdog’s configuration
registers, which comprises registers CRV, RREN, and CONFIG, will be blocked for further configuration. &amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/thread/11629?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2014 12:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c97cd8f3-183b-4252-a50b-42449c8780db</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I don&amp;#39;t believe this is an errata item. Rather, it appears to be a designed in behavior. If you look at the Reference Manual (2.0) section 11.1.6.8 on reset behaviors, the WDT is preserved on a soft reset. It requires one of the following reset types to be cleared on reset: power, pin, brownout or watchdog.&lt;/p&gt;
&lt;p&gt;It could be more clearly stated in the watchdog section of the document as well, but it appears to be design intent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/thread/11627?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2014 12:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d50579c-6ad3-4588-a8aa-5a2b8acb0ab0</guid><dc:creator>Nick</dc:creator><description>&lt;p&gt;Thanks John.&lt;/p&gt;
&lt;p&gt;I think I&amp;#39;m also seeing that behavior too (WDT still running after a SW reset).&lt;/p&gt;
&lt;p&gt;Do you think this should be an errata item?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to disable the WDT (watchdog timer)?</title><link>https://devzone.nordicsemi.com/thread/11626?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2014 12:13:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:960f826f-43f1-44d9-97a0-190db11aafe1</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I haven&amp;#39;t found a way to stop the WDT once it is started short of a power cycle. It even appears to continue to run after reset. I had to add a watchdog service to the DFU code to prevent WDT timeouts during bootloading.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>