<?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: Watch dog not refreshing when using KSDK 1.0 in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400623#M1467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the MK24FN1M0VLQ12. This processor is being used in a &lt;/P&gt;&lt;P&gt;ultrasound system control panel. We are actually toward the end of our &lt;/P&gt;&lt;P&gt;project. I had avoided turning on the watch dog until now because of &lt;/P&gt;&lt;P&gt;concern about the watch dog masking problems in the code during testing &lt;/P&gt;&lt;P&gt;and validation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One concern that I have about replacing the SDK with a new version is that &lt;/P&gt;&lt;P&gt;I had to replace the usb folder in the SDK with an upgraded version so &lt;/P&gt;&lt;P&gt;that I could get a USB composite device working. Will anything like that &lt;/P&gt;&lt;P&gt;need to be done with KSDK_1.2.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any incompatibilities between any of the SDK function calls &lt;/P&gt;&lt;P&gt;between 1.0 and 1.2.0? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know what you think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;P&gt;Grayhill Inc.&lt;/P&gt;&lt;P&gt;708.482.2188&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 16:38:28 GMT</pubDate>
    <dc:creator>jamespieterick</dc:creator>
    <dc:date>2015-06-16T16:38:28Z</dc:date>
    <item>
      <title>Watch dog not refreshing when using KSDK 1.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400621#M1465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;I am having a problem with the watch dog on my K24 project. It keeps resetting even though I am sure that I am calling &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;&lt;STRONG&gt;WDOG_DRV_Refresh&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;() every 10 milliseconds or less. It resets at its overflow time each time. I have tried 5, 10 and 100 second overflow times.&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;I am passing the following configuration structure to the wdog initialization function:&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #820040; font-family: Consolas; font-size: 10pt;"&gt;&lt;STRONG&gt;const&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00603c; font-family: Consolas; font-size: 10pt;"&gt;wdog_user_config_t&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; wdogInit =&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; {&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; .timeoutValue = 5120U,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f8080; font-family: Consolas; font-size: 10pt;"&gt;/* &lt;SPAN style="text-decoration: underline;"&gt;Watchdog&lt;/SPAN&gt; overflow time is about 5s */&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; .windowValue = 0U,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3f8080; font-family: Consolas; font-size: 10pt;"&gt;/* &lt;SPAN style="text-decoration: underline;"&gt;Watchdog&lt;/SPAN&gt; window value, 0--disable window function */&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; .clockPrescalerValue = &lt;/SPAN&gt;&lt;SPAN style="color: #0021bf; font-family: Consolas; font-size: 10pt;"&gt;&lt;EM&gt;kWdogClockPrescalerValueDevide1&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #3f8080; font-family: Consolas; font-size: 10pt;"&gt;/* &lt;SPAN style="text-decoration: underline;"&gt;Watchdog&lt;/SPAN&gt; clock &lt;SPAN style="text-decoration: underline;"&gt;prescaler&lt;/SPAN&gt; */&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; .updateRegisterEnable = true, &lt;/SPAN&gt;&lt;SPAN style="color: #3f8080; font-family: Consolas; font-size: 10pt;"&gt;/* Update register enabled */&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; .clockSource = &lt;/SPAN&gt;&lt;SPAN style="color: #0021bf; font-family: Consolas; font-size: 10pt;"&gt;&lt;EM&gt;kWdogClockSourceLpoClock&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #3f8080; font-family: Consolas; font-size: 10pt;"&gt;/* &lt;SPAN style="text-decoration: underline;"&gt;Watchdog&lt;/SPAN&gt; clock source is LPO 1KHz */&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; .workInWaitModeEnable = true, &lt;/SPAN&gt;&lt;SPAN style="color: #3f8080; font-family: Consolas; font-size: 10pt;"&gt;/* Enable &lt;SPAN style="text-decoration: underline;"&gt;watchdog&lt;/SPAN&gt; in wait mode */&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; .workInStopModeEnable = true, &lt;/SPAN&gt;&lt;SPAN style="color: #3f8080; font-family: Consolas; font-size: 10pt;"&gt;/* Enable &lt;SPAN style="text-decoration: underline;"&gt;watchdog&lt;/SPAN&gt; in stop mode */&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp; .workInDebugModeEnable = false, &lt;/SPAN&gt;&lt;SPAN style="color: #3f8080; font-family: Consolas; font-size: 10pt;"&gt;/* Disable &lt;SPAN style="text-decoration: underline;"&gt;watchdog&lt;/SPAN&gt; in debug mode */&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; };&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;I am working in KDS version 1.1.1 and KSDK 1.0. I have tried using processor expert to setup the timer as well as attempting to use the example in the wdog demo code.&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;Do you have any ideas as to what might be wrong?&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 22:46:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400621#M1465</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-06-15T22:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Watch dog not refreshing when using KSDK 1.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400622#M1466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;I would highly recommend upgrading to latest KDS_3.0 and KSDK_1.2.0.&lt;/P&gt;&lt;P&gt;Re-test and if possible post project.&lt;/P&gt;&lt;P&gt;Which K24?&lt;/P&gt;&lt;P&gt;Are you using a Tower board (twrk24f120m)? Or your own?&lt;/P&gt;&lt;P&gt;The updated KSDK has example of using wdog:&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.2.0\examples\twrk24f120m\driver_examples\wdog\kds &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 15:17:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400622#M1466</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-06-16T15:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Watch dog not refreshing when using KSDK 1.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400623#M1467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the MK24FN1M0VLQ12. This processor is being used in a &lt;/P&gt;&lt;P&gt;ultrasound system control panel. We are actually toward the end of our &lt;/P&gt;&lt;P&gt;project. I had avoided turning on the watch dog until now because of &lt;/P&gt;&lt;P&gt;concern about the watch dog masking problems in the code during testing &lt;/P&gt;&lt;P&gt;and validation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One concern that I have about replacing the SDK with a new version is that &lt;/P&gt;&lt;P&gt;I had to replace the usb folder in the SDK with an upgraded version so &lt;/P&gt;&lt;P&gt;that I could get a USB composite device working. Will anything like that &lt;/P&gt;&lt;P&gt;need to be done with KSDK_1.2.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any incompatibilities between any of the SDK function calls &lt;/P&gt;&lt;P&gt;between 1.0 and 1.2.0? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know what you think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim Pieterick&lt;/P&gt;&lt;P&gt;Grayhill Inc.&lt;/P&gt;&lt;P&gt;708.482.2188&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 16:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400623#M1467</guid>
      <dc:creator>jamespieterick</dc:creator>
      <dc:date>2015-06-16T16:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Watch dog not refreshing when using KSDK 1.0</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400624#M1468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;If at end of product development I would not recommend upgrading.&amp;nbsp; There are many changes but the changes also have improvements too.&amp;nbsp; More examples for one, simpler opening of projects, etc...&lt;/P&gt;&lt;P&gt;I did test the WDOG example for FRDM-K64F Freedom board using latest tool chain successfully.&amp;nbsp; The K64F is close relative of MK24FN1M0VLQ12.&lt;/P&gt;&lt;P&gt;It might be worth downloading and using it to compare to what you have.&amp;nbsp; I'm guessing it would be a minor tweak in the end.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 18:31:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Watch-dog-not-refreshing-when-using-KSDK-1-0/m-p/400624#M1468</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-06-16T18:31:03Z</dc:date>
    </item>
  </channel>
</rss>

