<?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: K64 SDK Watchdog example not working in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1155127#M6136</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Please refer to my attached file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2020 01:31:03 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2020-09-18T01:31:03Z</dc:date>
    <item>
      <title>K64 SDK Watchdog example not working</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1152442#M6124</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have used a couple of the SDK examples no problem on the latest K64 SDK in the latest MCUXpresso.&lt;/P&gt;&lt;P&gt;The WDOG example however is just a blank project with nothing in it&lt;/P&gt;&lt;P&gt;The issue is I have configured the watchdog and enabled it in my K64 project without an example and the watchdog fires before it ever gets to main (during bss init).&lt;/P&gt;&lt;P&gt;I have no problem with any other examples other than WDOG, and I really need to be able to do a simple task like use the watchdog without it firing before main is running.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CarlFST60L_0-1599975951482.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124997i3939BF0D080A0AA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CarlFST60L_0-1599975951482.png" alt="CarlFST60L_0-1599975951482.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main code looks liek this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int main(void) {&lt;/P&gt;&lt;P&gt;/* Init board hardware. */&lt;BR /&gt;BOARD_InitBootPins();&lt;BR /&gt;BOARD_InitBootClocks();&lt;BR /&gt;BOARD_InitBootPeripherals();&lt;BR /&gt;/* Init FSL debug console. */&lt;BR /&gt;BOARD_InitDebugConsole();&lt;/P&gt;&lt;P&gt;PRINTF("Hello World\n");&lt;/P&gt;&lt;P&gt;/* Force the counter to be placed into memory. */&lt;BR /&gt;volatile static int i = 0 ;&lt;BR /&gt;/* Enter an infinite loop, just incrementing a counter. */&lt;BR /&gt;while(1) {&lt;BR /&gt;i++ ;&lt;BR /&gt;/* 'Dummy' NOP to allow source level single stepping of&lt;BR /&gt;tight while() loop */&lt;BR /&gt;__asm volatile ("nop");&lt;BR /&gt;}&lt;BR /&gt;return 0 ;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And there is nothing about a watchdog in boot peripherals, and the K64 header has&amp;nbsp;&lt;/P&gt;&lt;P&gt;#ifndef DISABLE_WDOG&lt;BR /&gt;#define DISABLE_WDOG 1&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;no example I have have the watchdog enabled, and enabling doesnt work using the driver...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 05:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1152442#M6124</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2020-09-13T05:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: K64 SDK Watchdog example not working</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1154594#M6131</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;There is a wdog demo in latest SDK that demonstrate the SDK wdog driver.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielchen_0-1600327065246.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/125391i0A25F23E8F5EEC64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielchen_0-1600327065246.png" alt="danielchen_0-1600327065246.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 07:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1154594#M6131</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2020-09-17T07:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: K64 SDK Watchdog example not working</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1154663#M6133</link>
      <description>&lt;P&gt;When I load the example its an empty project. Can you attach it? I'm not sure why all project examples except wdog work on my side build. There is a problem with the sdk because they all work except that single example.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 08:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1154663#M6133</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2020-09-17T08:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: K64 SDK Watchdog example not working</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1155127#M6136</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Please refer to my attached file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 01:31:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/K64-SDK-Watchdog-example-not-working/m-p/1155127#M6136</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2020-09-18T01:31:03Z</dc:date>
    </item>
  </channel>
</rss>

