<?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 WDT reset WDRESET in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/WDT-reset-WDRESET/m-p/526395#M9025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by alubeiro on Thu Dec 04 03:27:37 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with LPC1227.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the watchdog to cause a reset so I am setting WDRESET = 1. As the datasheet says, with WDRESET&amp;nbsp; = 0 a watchdog time-out will cause an interrupt and with WDRESET = 1 a watchdog timeout will cause a chip reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, so in my code i have put a while(1), to force the WDT to reset. The fact is, that when i run the code while I'm debugging, the WDT does force the reset but when I run the code with the debugger disconnected the code enters into WDT interruption.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though i have solved the problem forcing a reset into WDT interrupt i would like to do as it should be done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me? I have no idea why is this happening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alberto&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:02:44 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:02:44Z</dc:date>
    <item>
      <title>WDT reset WDRESET</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/WDT-reset-WDRESET/m-p/526395#M9025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by alubeiro on Thu Dec 04 03:27:37 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with LPC1227.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the watchdog to cause a reset so I am setting WDRESET = 1. As the datasheet says, with WDRESET&amp;nbsp; = 0 a watchdog time-out will cause an interrupt and with WDRESET = 1 a watchdog timeout will cause a chip reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, so in my code i have put a while(1), to force the WDT to reset. The fact is, that when i run the code while I'm debugging, the WDT does force the reset but when I run the code with the debugger disconnected the code enters into WDT interruption.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Though i have solved the problem forcing a reset into WDT interrupt i would like to do as it should be done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me? I have no idea why is this happening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alberto&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/WDT-reset-WDRESET/m-p/526395#M9025</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: WDT reset WDRESET</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/WDT-reset-WDRESET/m-p/526396#M9026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Dec 04 03:47:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The debugger disables the WDT. If it did not disable, the part would reset and you would not be able to debug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/WDT-reset-WDRESET/m-p/526396#M9026</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: WDT reset WDRESET</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/WDT-reset-WDRESET/m-p/526397#M9027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by alubeiro on Thu Dec 04 04:29:06 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Im dont want to be debugging while the WDT forces a reset. What i mean is that, when I am debugging and time goes out, the WDT forces a reset, but without debugging, it enters into WDT interruption.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's behavior is not the same depending if i am debugging or not. in one case the part reset and in other case it doesn't&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/WDT-reset-WDRESET/m-p/526397#M9027</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:02:45Z</dc:date>
    </item>
  </channel>
</rss>

