<?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 Watchdog not enabled on startup in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-not-enabled-on-startup/m-p/605615#M35705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a program that uses Processor Expert and it appears as if the watchdog is not functioning.&amp;nbsp; I have added a WatchDog component to my project, but have disabled auto initialization.&amp;nbsp; I have also gone into the 'Cpu:SKEAZN...' processor component and set 'Watchdog disable' to 'no'.&amp;nbsp; My assumption is that this should leave the watchdog registers as their default values (which should be enabled, and set to some reset time), since the Watchdog component never initializes itself.&amp;nbsp; However, when I run the program, it is not resetting on watchdog timeout.&amp;nbsp; Clearly I am not understanding something here; what am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2017 14:46:35 GMT</pubDate>
    <dc:creator>justusandjustic</dc:creator>
    <dc:date>2017-03-21T14:46:35Z</dc:date>
    <item>
      <title>Watchdog not enabled on startup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-not-enabled-on-startup/m-p/605615#M35705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a program that uses Processor Expert and it appears as if the watchdog is not functioning.&amp;nbsp; I have added a WatchDog component to my project, but have disabled auto initialization.&amp;nbsp; I have also gone into the 'Cpu:SKEAZN...' processor component and set 'Watchdog disable' to 'no'.&amp;nbsp; My assumption is that this should leave the watchdog registers as their default values (which should be enabled, and set to some reset time), since the Watchdog component never initializes itself.&amp;nbsp; However, when I run the program, it is not resetting on watchdog timeout.&amp;nbsp; Clearly I am not understanding something here; what am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 14:46:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-not-enabled-on-startup/m-p/605615#M35705</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-03-21T14:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog not enabled on startup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-not-enabled-on-startup/m-p/605616#M35706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Josiah,&lt;/P&gt;&lt;P&gt;The watchdog may be disabled in __init_hardware(). Please check the code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="disable WDOG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15982iB3D33B58A4765CD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="disable WDOG.png" alt="disable WDOG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 06:26:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-not-enabled-on-startup/m-p/605616#M35706</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-03-23T06:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog not enabled on startup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-not-enabled-on-startup/m-p/605617#M35707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like that was indeed the problem.&amp;nbsp; I thought I took care of that when I changed the Cpu component settings to 'Watchdog disable: no', but it looks like adding a WatchDog components also inserts that same code to disable the watchdog in __init_hardware().&amp;nbsp;&lt;/P&gt;&lt;P&gt;My plan now is the modify the watchdog registers within the __init_hardware() function instead of using a watchdog component, to make sure that the watchdog is never disabled after startup.&amp;nbsp; I put my watchdog initialization code in the "User code before PE initialization" property of the Cpu component.&amp;nbsp; Any reason why this might be a bad way to do this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="watchdog.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17782i31526C45386141CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="watchdog.png" alt="watchdog.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-Josiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 13:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Watchdog-not-enabled-on-startup/m-p/605617#M35707</guid>
      <dc:creator>justusandjustic</dc:creator>
      <dc:date>2017-03-23T13:23:19Z</dc:date>
    </item>
  </channel>
</rss>

