<?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>topic Re: MCF54418 watchdog reset does not occur in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1769117#M14464</link>
    <description>&lt;P&gt;I have activated the&amp;nbsp;&lt;SPAN&gt;CWRI on the CWCR with&amp;nbsp;10 If a time-out occurs, the CWT generates a system reset and RSR[WDRCORE] in the reset controller is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CWE is 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CWT is prperly configured for 268ms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The same configuration works when the code runs in external flash. However, when I move the code into Internal SRAM from external flash, then system reset does not happen. The system is halted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2023 14:55:52 GMT</pubDate>
    <dc:creator>ctrvel2000</dc:creator>
    <dc:date>2023-12-05T14:55:52Z</dc:date>
    <item>
      <title>MCF54418 watchdog reset does not occur</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1768336#M14462</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I used the MCF54418 chip and enabled the internal watchdog timer to reset the system when it times out. However, after stopping the timer refresh, I expected a system reset but instead, the core halted. Can you clarify?&lt;/P&gt;&lt;P&gt;Note: Only PIT0 interrupt is enaled and software runs on Internal SRAM.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 18:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1768336#M14462</guid>
      <dc:creator>ctrvel2000</dc:creator>
      <dc:date>2023-12-05T18:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: MCF54418 watchdog reset does not occur</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1769114#M14463</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You have to activate the CWRI on the CWCR register please do so.Also please read the reference manual table 13-2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/MCF54418RM.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/MCF54418RM.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 14:50:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1769114#M14463</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-12-05T14:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: MCF54418 watchdog reset does not occur</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1769117#M14464</link>
      <description>&lt;P&gt;I have activated the&amp;nbsp;&lt;SPAN&gt;CWRI on the CWCR with&amp;nbsp;10 If a time-out occurs, the CWT generates a system reset and RSR[WDRCORE] in the reset controller is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CWE is 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CWT is prperly configured for 268ms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The same configuration works when the code runs in external flash. However, when I move the code into Internal SRAM from external flash, then system reset does not happen. The system is halted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 14:55:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1769117#M14464</guid>
      <dc:creator>ctrvel2000</dc:creator>
      <dc:date>2023-12-05T14:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: MCF54418 watchdog reset does not occur</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1769316#M14465</link>
      <description>&lt;P&gt;&amp;gt; CWCR with 10&lt;/P&gt;&lt;P&gt;You need CWRWH set if you want the watchdog to run while halted. If the CPU is halted, it won't run.&lt;/P&gt;&lt;P&gt;I suspect there's something going wrong with your code running from internal SRAM. Something that makes it halt. You should turn CWRWH on (you didn't say it was on, so I assume it isn't) and see if the reset now works. Then find out why the CPU is halting. Do you have a debugger connected? The stack should have stack frames recording why this happened. It either executed a HALT instruction somehow (the PC should point to something interesting) or it got a double bus fault.&lt;/P&gt;&lt;P&gt;If you posted your code or the line or lines that write to CWCR so we can check all the bits, it would make it easier to give suggestions.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 22:46:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF54418-watchdog-reset-does-not-occur/m-p/1769316#M14465</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2023-12-05T22:46:35Z</dc:date>
    </item>
  </channel>
</rss>

