<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Kinetis MicrocontrollersのトピックRe: watchdog timer not resetting even after timing out refresh count for MKL26Z256VLH4</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/watchdog-timer-not-resetting-even-after-timing-out-refresh-count/m-p/1410287#M62371</link>
    <description>&lt;P&gt;Check the datasheet for timing limits on COP.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Usually COP can only be disabled/enabled within so many cycles of a physical reset.&lt;BR /&gt;&lt;BR /&gt;It may also be a write once thing, make sure that some bootloader is not disabling it.&lt;BR /&gt;&lt;BR /&gt;Move the COP code as close to the start of main() as your hardware setup will allow.&lt;BR /&gt;Ideally COP would be first, however sometime I/O needs dealt with faster.&lt;BR /&gt;&lt;BR /&gt;At a minimum move the COP instructions before the printf()s, those take a lot of cycles.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 13:01:34 GMT</pubDate>
    <dc:creator>bobpaddock</dc:creator>
    <dc:date>2022-02-08T13:01:34Z</dc:date>
    <item>
      <title>watchdog timer not resetting even after timing out refresh count for MKL26Z256VLH4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/watchdog-timer-not-resetting-even-after-timing-out-refresh-count/m-p/1410162#M62368</link>
      <description>&lt;P&gt;I am working on watchdog timer of MKL26Z256VLH4, I have flashed cop sample application and it worked perfectly fine. but when I included cop function in my current program, COP is refreshing but it is not resetting after the loopcount is finished.&lt;/P&gt;&lt;P&gt;/* Check if WDOG reset occurred */&lt;BR /&gt;if (RCM_GetPreviousResetSources(RCM) &amp;amp; kRCM_SourceWdog)&lt;BR /&gt;{&lt;BR /&gt;PRINTF("Reset due to COP timeout\r\n");&lt;BR /&gt;COP_Disable(SIM);&lt;BR /&gt;PRINTF("COP example ends!\r\n");&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;/* If WDOG reset is not occurred, enables COP */&lt;BR /&gt;PRINTF("\r\nCOP example start!\r\n");&lt;BR /&gt;COP_Init(SIM, &amp;amp;configCop);&lt;BR /&gt;/* Refresh COP 10 times and then wait for timeout reset */&lt;BR /&gt;for (uint32_t loopCount = 0U; loopCount &amp;lt; 10U; loopCount++)&lt;BR /&gt;{&lt;BR /&gt;COP_Refresh(SIM);&lt;BR /&gt;PRINTF("COP refresh %d time\r\n", loopCount + 1U);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;PRINTF("COP will timeout and chip will be reset\r\n");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;while (1)&lt;BR /&gt;{}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 09:15:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/watchdog-timer-not-resetting-even-after-timing-out-refresh-count/m-p/1410162#M62368</guid>
      <dc:creator>omkar_virkar</dc:creator>
      <dc:date>2022-02-08T09:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: watchdog timer not resetting even after timing out refresh count for MKL26Z256VLH4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/watchdog-timer-not-resetting-even-after-timing-out-refresh-count/m-p/1410287#M62371</link>
      <description>&lt;P&gt;Check the datasheet for timing limits on COP.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Usually COP can only be disabled/enabled within so many cycles of a physical reset.&lt;BR /&gt;&lt;BR /&gt;It may also be a write once thing, make sure that some bootloader is not disabling it.&lt;BR /&gt;&lt;BR /&gt;Move the COP code as close to the start of main() as your hardware setup will allow.&lt;BR /&gt;Ideally COP would be first, however sometime I/O needs dealt with faster.&lt;BR /&gt;&lt;BR /&gt;At a minimum move the COP instructions before the printf()s, those take a lot of cycles.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 13:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/watchdog-timer-not-resetting-even-after-timing-out-refresh-count/m-p/1410287#M62371</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2022-02-08T13:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: watchdog timer not resetting even after timing out refresh count for MKL26Z256VLH4</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/watchdog-timer-not-resetting-even-after-timing-out-refresh-count/m-p/1410872#M62388</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;omkar,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are using SDK example, then please notice the definition of&amp;nbsp;&lt;STRONG&gt;DISABLE_WDOG.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DISABLE_WDOG.png" style="width: 822px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/169991iF42CB4025AE5B2C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="DISABLE_WDOG.png" alt="DISABLE_WDOG.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 09:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/watchdog-timer-not-resetting-even-after-timing-out-refresh-count/m-p/1410872#M62388</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-02-09T09:23:26Z</dc:date>
    </item>
  </channel>
</rss>

