<?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>WDT not firing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8844/wdt-not-firing</link><description>This is SDK 8.1.0, Softdevice 7.3.0 (not being used for this demo), running on a NRF51822-CEAA. 
 The minimal program below just sets the WDT for 10 seconds, then goes into a loop showing a 1-second heartbeat so I can count. There&amp;#39;s no timer or anything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Aug 2015 18:07:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8844/wdt-not-firing" /><item><title>RE: WDT not firing</title><link>https://devzone.nordicsemi.com/thread/32522?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2015 18:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ad70ee0-a386-4b12-acb6-5507dbc43cdd</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Lee&lt;/p&gt;
&lt;p&gt;Ok, good that you spotted that this is a first revision nRF51. Then I am not surprized that not everything is working with SDK 8.1.0. You should get third revision instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT not firing</title><link>https://devzone.nordicsemi.com/thread/32521?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2015 16:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c46f3fd5-4497-4ef4-9007-76288a5f4710</guid><dc:creator>Lee Daniel Crocker</dc:creator><description>&lt;p&gt;According to the HWID (0x002F) it looks like a revision 1 chip. Compatibility matrix says I should be using SDK 4.4.2 and SD 5.2.1. I&amp;#39;ll have to look into where we&amp;#39;re getting those chips.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT not firing</title><link>https://devzone.nordicsemi.com/thread/32520?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2015 12:43:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b8fa274-5e5a-4198-b993-85e424cb8e6e</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;If you have second revision nRF51, you might be better off by trying &lt;a href="https://github.com/NordicSemiconductor/nrf51-watchdog-resetreas-example"&gt;these examples&lt;/a&gt;. They are made for SDK 5.2.0 which is compatible with second revision.&lt;/p&gt;
&lt;p&gt;I see there is one &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.pdf.panpcn/nRF51822-pan_v2.4.pdf"&gt;PAN&lt;/a&gt; anomaly #48 which was fixed for third revision nrf51, so SDK 8.1.0 might not implement the workaround for anomaly #48&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT not firing</title><link>https://devzone.nordicsemi.com/thread/32519?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2015 12:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6971a520-e1a6-4b4f-b7b3-cf04f232016f</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Lee&lt;/p&gt;
&lt;p&gt;The chip is in debug mode after you flash the code. After you power reset it will go into normal mode.&lt;/p&gt;
&lt;p&gt;There are some &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.pdf.panpcn/nRF51822-pan_v3.0.pdf"&gt;pan&lt;/a&gt; issues for the WDT in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.pdf.panpcn/nRF51822-pan_v3.0.pdf"&gt;PAN&lt;/a&gt; but I do not see them directly map to your situation.  The nRF51822 CEAA could anyway be both second or third revision. What are the full chip markings on your nRF51 chip, is it second or third revision? The nRF51 SDK 8.1.0 is not compatible with the second revision, see the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.pdf.sds/nRF51_Series_Compatibility_Matrix_v2.4.pdf"&gt;nRF51 Compatibility matrix&lt;/a&gt;. So if you have the second revision hardware and use it with SDK 8.1.0, that might be an issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT not firing</title><link>https://devzone.nordicsemi.com/thread/32518?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 17:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35c9648d-a860-4c84-8045-d854126bf2a3</guid><dc:creator>Lee Daniel Crocker</dc:creator><description>&lt;p&gt;The examples unfortunately run only on demo boards I don&amp;#39;t have. I&amp;#39;ve noticed now that the watchdog does fire after some kinds of restart, but not immediately after programming. So I&amp;#39;ll have to figure out how that lines up with conditions of my device in the field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT not firing</title><link>https://devzone.nordicsemi.com/thread/32517?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2015 06:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cb44c85-1b52-4711-b473-1bfd048a2bd2</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I can&amp;#39;t quickly see anything else you are missing, but clearly there is something that is making your code not work. Try to start with the original example and gradually modify it, one step at a time, until you have your own code. Then perhaps you will find out in which step it stopped working and realize what the problem is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT not firing</title><link>https://devzone.nordicsemi.com/thread/32516?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2015 16:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e856471f-630a-4659-8e17-2bafd89a6fd0</guid><dc:creator>Lee Daniel Crocker</dc:creator><description>&lt;p&gt;That&amp;#39;s the code I copied from. The comment on that line says it&amp;#39;s for the button timer used to feed the watchdog, so I left it out deliberately. Putting it back in doesn&amp;#39;t fix the problem: watchdog still never fires, but thanks for the suggestion. I&amp;#39;ll look around in that code for other things I might have left out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT not firing</title><link>https://devzone.nordicsemi.com/thread/32515?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2015 16:09:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dca5e8a-26d5-444f-8167-cf2473374a4c</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Lee&lt;/p&gt;
&lt;p&gt;Have you seen the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/nrf_dev_wdt_example.html?cp=4_1_0_4_6_24"&gt;WDT example in the nRF51 SDK&lt;/a&gt;? I suspect you are missing to initialize the low frequency clock, which the WDT requires. Something like&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_drv_clock_init(NULL);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>