<?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>Under what circumstances will wdt fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123258/under-what-circumstances-will-wdt-fail</link><description>Dear devzone， 
 Use our chip wdt module to feed the dog regularly. Under normal circumstances, if it is stuck in a dead loop, wdt does not feed the dog, and the wdt timeout chip will restart; under what circumstances will wdt fail? Customers need to know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jul 2025 16:19:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123258/under-what-circumstances-will-wdt-fail" /><item><title>RE: Under what circumstances will wdt fail</title><link>https://devzone.nordicsemi.com/thread/543638?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2025 16:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff25da42-794a-4a4a-903c-8ec176ac10cc</guid><dc:creator>rajeev</dc:creator><description>&lt;p class="ds-markdown-paragraph"&gt;Here are the key scenarios where a watchdog timer may not work as intended:&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;1. Watchdog Not Properly Configured&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Disabled or Not Initialized&lt;/strong&gt;: If the watchdog timer is not enabled in firmware/software, it won&amp;rsquo;t trigger a reset.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Incorrect Timeout Setting&lt;/strong&gt;: If the timeout is too long, the system may hang indefinitely before the watchdog resets it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Improper Feeding Mechanism&lt;/strong&gt;: If the &amp;quot;kick&amp;quot; or &amp;quot;feed&amp;quot; signal is incorrectly implemented, the watchdog may reset the system unnecessarily or fail to detect a hang.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;strong&gt;2. Software or Firmware Bugs Preventing Reset&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Infinite Loop with Watchdog Feed&lt;/strong&gt;: If the system is stuck in a loop that still feeds the watchdog, it won&amp;rsquo;t trigger a reset.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;High-Priority Interrupts Blocking Execution&lt;/strong&gt;: If an ISR (Interrupt Service Routine) keeps feeding the watchdog while the main application is frozen, the watchdog won&amp;rsquo;t fire.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Race Conditions or Deadlocks&lt;/strong&gt;: Some hangs may prevent the watchdog from being serviced but also avoid a timeout due to unexpected timing issues.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;strong&gt;3. Hardware Failures&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Faulty Watchdog Circuit&lt;/strong&gt;: If the watchdog hardware itself is defective, it may not issue a reset.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Power Supply Issues&lt;/strong&gt;: If voltage drops too low, the watchdog may not function correctly.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Clock Signal Failure&lt;/strong&gt;: If the system clock (which drives the watchdog) fails, the timer may stop counting.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;strong&gt;4. External Interference&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;EMI (Electromagnetic Interference)&lt;/strong&gt;: Strong noise can disrupt the watchdog&amp;rsquo;s operation.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Radiation or Cosmic Rays (in space applications)&lt;/strong&gt;: Can cause bit flips in registers controlling the watchdog.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;strong&gt;5. Watchdog Being Overridden&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Manual Reset Disables Watchdog&lt;/strong&gt;: Some systems allow a debugger or external command to disable the watchdog.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Brownout Reset Takes Priority&lt;/strong&gt;: If the system resets due to power loss before the watchdog triggers, the watchdog may not act.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;strong&gt;6. System-Specific Issues&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;Multi-Core Systems&lt;/strong&gt;: If one core hangs but others keep feeding the watchdog, the system may not reset.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p class="ds-markdown-paragraph"&gt;&lt;strong&gt;RTOS Task Scheduling Issues&lt;/strong&gt;: A high-priority task might keep running and feeding the watchdog while lower-priority tasks are deadlocked.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>