<?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>Is watch dog running while flash page erase?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11947/is-watch-dog-running-while-flash-page-erase</link><description>Hi, 
 When a watch dog timeout occurs, I want to save some data to the flash memory prior to reset (namely the RTC count value). Therefore I enabled the wdt interrupt. The manual says that I have two 32.768 kHz clock cycles to do my tasks in the ISR</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Feb 2016 13:21:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11947/is-watch-dog-running-while-flash-page-erase" /><item><title>RE: Is watch dog running while flash page erase?</title><link>https://devzone.nordicsemi.com/thread/45246?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2016 13:21:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afb7e55a-d34f-4021-87cf-f773ee12a40a</guid><dc:creator>braucadr</dc:creator><description>&lt;p&gt;Hi Einar,
thanks for your answer. I agree, it should not be possible to disable the watchdog by accident. It would be nice though to have a little more time in the watchdog ISR to save some crucial data. Particularly as the RTC.COUNTER register is reset during watchdog reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is watch dog running while flash page erase?</title><link>https://devzone.nordicsemi.com/thread/45245?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2016 11:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47c91edc-1225-42a5-9ce4-f1352a07a8d9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;It is not possible to delay the watchdog from resetting the chip in this case. The watchdog is designed to make it impossible for it to be disabled by a mistake. For example, a fault could accidentally try to disable the watchdog, and this should not be possible. Therefor the watchdog’s configuration registers will be blocked for further configuration after it is started, and once a timeout has occurred, the impending watchdog reset will always be effectuated. This behavior is the same for both nRF51 and nRF52.&lt;/p&gt;
&lt;p&gt;Refer to the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/wdt.html?cp=1_2_0_38#concept_ywz_4xw_sr"&gt;Watchdog timer chapter&lt;/a&gt; in the spec for details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>