<?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>LPC Microcontrollers中的主题 Re: LPC1769 watchdog problem</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515856#M1382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lukasz on Fri Jul 31 03:28:08 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I set up the watchdog to interrupt as you wrote.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I put breakpoint in watchdog handler and I noticed something strange: WDTC is 0xEFFFFFFF (this value I set, so it is OK), and WDTV is 0xEFFFFFE8 (NOT zero).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So why Watchdog interrupt occur?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But now I can check what was last instruction before irq occured, so thank you for your advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:20:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:20:24Z</dc:date>
    <item>
      <title>LPC1769 watchdog problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515853#M1379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lukasz on Thu Jul 30 05:37:46 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with watchdog on LPC1769. I use Keil and uLinkME debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that my device resets unexpectly. When I debug my device I never disable watchdog, but I set WDTC to maximum value (0xFFFFFFFF). I did it this time too and I got unexpected reset after 30-60seconds. Source of the reset was watchdog (checked RSIR register). Resets are the more frequent the more uC is overloaded. Mailny through the UART. I think it is impossibe that WDTV counted to 0 after tents or hundrets of seconds. How can I check where is the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515853#M1379</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 watchdog problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515854#M1380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Thu Jul 30 19:38:01 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if the watchdog on the 1769 is the same as the 1778, but you could try setting up the watchdog to &lt;/SPAN&gt;&lt;I&gt;interrupt&lt;/I&gt;&lt;SPAN&gt; rather than &lt;/SPAN&gt;&lt;I&gt;reset&lt;/I&gt;&lt;BR /&gt;&lt;SPAN&gt;and put a breakpoint in the handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, make sure that you program the lower value as well so you aren't getting an invalid window refresh issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, you &lt;/SPAN&gt;&lt;I&gt;are&lt;/I&gt;&lt;SPAN&gt; actually feeding the watchdog aren't you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515854#M1380</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 watchdog problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515855#M1381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lukasz on Thu Jul 30 23:07:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I am feeding the watchdog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it is not window refresh issue, because I set WDTC (0xFFFFFFFF) only once in main function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When reset happen, program counter goes to Reset_Handler and watchdog is set to default values (disabled) and flag WDTOF is set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the watchdog resets the uC, but I think It shouldn't do that becaufe of WDTC value (0xFFFFFFFF).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I disable the watchdog everythink is OK. But I can't do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it is the access conflict to some resources, but program counter should go to for example BusFault_Handler, HardFault_Handler etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:20:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515855#M1381</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 watchdog problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515856#M1382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Lukasz on Fri Jul 31 03:28:08 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I set up the watchdog to interrupt as you wrote.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I put breakpoint in watchdog handler and I noticed something strange: WDTC is 0xEFFFFFFF (this value I set, so it is OK), and WDTV is 0xEFFFFFE8 (NOT zero).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So why Watchdog interrupt occur?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But now I can check what was last instruction before irq occured, so thank you for your advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:20:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-watchdog-problem/m-p/515856#M1382</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:20:24Z</dc:date>
    </item>
  </channel>
</rss>

