<?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>Watchdog is useless</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39758/watchdog-is-useless</link><description>Hello, 
 I have a secure bootloader and an application on nRF52840 with SD 15.2. 
 I try to add watchdog support in application based on watchdog exemple but if i remove feed, it not resets… 
 Do someone have an idea please ? 
 Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Oct 2018 13:28:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39758/watchdog-is-useless" /><item><title>RE: Watchdog is useless</title><link>https://devzone.nordicsemi.com/thread/154687?ContentTypeID=1</link><pubDate>Fri, 26 Oct 2018 13:28:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20901d6b-34d8-4c4f-a51b-d1148a2e854b</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;I found, my hex file was not updated on each build (looks like if it was locked) and my tries were useless (same application each time). It works now. Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog is useless</title><link>https://devzone.nordicsemi.com/thread/154683?ContentTypeID=1</link><pubDate>Fri, 26 Oct 2018 13:12:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29e89c39-beaf-414b-ab62-586b619a6e13</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Hello Kenneth and &lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;Darren&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;Kenneth &lt;/span&gt;answers&lt;/p&gt;
&lt;p&gt;- SDK&amp;#39;s example looks without SD and probably no bootloaded too.&lt;/p&gt;
&lt;p&gt;- A LED that blink on startup.&lt;/p&gt;
&lt;p&gt;- Yes for reload. I wanted 15 s so i tried 15000 and 15 x 32768 without success.&lt;/p&gt;
&lt;p&gt;- Hard to say, it&amp;#39;s in a fanstel module. Can I read any register to know ?&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;Darren&lt;/span&gt; answers&lt;/p&gt;
&lt;p&gt;- For RTT but I also tried without.&lt;/p&gt;
&lt;p&gt;- I do a test with a basic loop with GPIO toggle without any success too.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you both for your helps&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog is useless</title><link>https://devzone.nordicsemi.com/thread/154331?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 15:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d8ce0ea-aaa9-410f-9104-622b72ac8b83</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;I agree with Kenneth, more information is required to help and his list is a great place to start.&amp;nbsp; Some other details I thought of:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Are you using the debugger during your testing?&lt;/li&gt;
&lt;li&gt;Can you be sure that your system is running?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog is useless</title><link>https://devzone.nordicsemi.com/thread/154299?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 13:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abde9e04-b760-4814-b818-5387f7f93b16</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Some quick questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This is pretty much the same as the example code from the SDK, does that also fail &amp;quot;as-is&amp;quot;?&lt;/li&gt;
&lt;li&gt;How do you ensure that the timeout does not occur?&lt;/li&gt;
&lt;li&gt;Have you modified any parameter in&amp;nbsp;NRF_DRV_WDT_DEAFULT_CONFIG from sdk_config.h?&lt;/li&gt;
&lt;li&gt;What is the is markings on the nRF52840 ic you have?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog is useless</title><link>https://devzone.nordicsemi.com/thread/154271?ContentTypeID=1</link><pubDate>Wed, 24 Oct 2018 11:36:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbfe067b-3fac-4e72-af6d-e372f305ecf3</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Sorry my title have several senses. I am sure that it works but not in my case :-)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrf_drv_wdt_channel_id m_channel_id;


void wdt_event_handler(void)
{
}


int main(void)
{

	// ...

	//BSP configuration for button support: button pushing will feed the dog.
    uint32_t err_code = nrf_drv_clock_init();
    APP_ERROR_CHECK(err_code);
    nrf_drv_clock_lfclk_request(NULL);

	//Configure WDT.
    nrf_drv_wdt_config_t config = NRF_DRV_WDT_DEAFULT_CONFIG;
    uint32_t err_code = nrf_drv_wdt_init(&amp;amp;config, wdt_event_handler);
    APP_ERROR_CHECK(err_code);
    err_code = nrf_drv_wdt_channel_alloc(&amp;amp;m_channel_id);
    APP_ERROR_CHECK(err_code);
    nrf_drv_wdt_enable();
	nrf_drv_wdt_channel_feed(m_channel_id);
	
	ble_stack_init();
	
	
	while (1)
	{
		//nrf_drv_wdt_channel_feed(m_channel_id); // commented to expect reset
	}
	
	
	// ...
}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog is useless</title><link>https://devzone.nordicsemi.com/thread/154190?ContentTypeID=1</link><pubDate>Tue, 23 Oct 2018 22:59:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce8cea97-d22e-4123-a3e8-c8338d0109dd</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/facotl"&gt;Fabien Comte&lt;/a&gt; I have used the Watchdog in more than one application and I can assure you it definately resets the chip.&amp;nbsp; Can you share some of the WD init code?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>