<?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: LPC1850 - Determining cause of last reset</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540346#M12059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Cusko on Wed Sep 03 04:34:40 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also interested about this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to find out a way to know if a watchdog reset occurred. According to the user manual there should be the flag WDTOF in the Watchdog Mode register (MOD - 0x4008 0000). This flag should be set if a watchdog times out and should not be cleared if watchdog resets. But the flag WDTOF is clear even if a WD resets the core. Why and how to detect the WD reset after core reset?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:25:25 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:25:25Z</dc:date>
    <item>
      <title>LPC1850 - Determining cause of last reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540344#M12057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by surrealist14 on Fri Aug 09 14:06:50 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Many processors have a status register that allows a programmer to determine the cause of the last reset.&amp;nbsp; In my case, I'm using an LPC1850.&amp;nbsp; The diagram in the users manual shows that the potential sources for a CORE_RST are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* _RESET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* _POR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* BOD reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* WWDT reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* PMC reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone provide an example of some code that determines the cause of the last reset on the LPC18XX?&amp;nbsp; According to an apps engineer at NXP, we shouldn't use the RGU for this purpose, because a core reset will cause the RGU block itself to be reset, and all of its values will be set to default values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any/all help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:25:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540344#M12057</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - Determining cause of last reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540345#M12058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lifejoker on Mon Aug 18 22:04:38 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I knew it was a long time ago question. but I met the same problem, is there any way to determine the cause of last reset?&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 18:25:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540345#M12058</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - Determining cause of last reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540346#M12059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Cusko on Wed Sep 03 04:34:40 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also interested about this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to find out a way to know if a watchdog reset occurred. According to the user manual there should be the flag WDTOF in the Watchdog Mode register (MOD - 0x4008 0000). This flag should be set if a watchdog times out and should not be cleared if watchdog resets. But the flag WDTOF is clear even if a WD resets the core. Why and how to detect the WD reset after core reset?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:25:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540346#M12059</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - Determining cause of last reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540347#M12060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I knew it was a very long long long time ago question. But it hasn't&amp;nbsp; been answered yet, and I'm also interested about it. Any suggestions?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2019 17:15:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-Determining-cause-of-last-reset/m-p/540347#M12060</guid>
      <dc:creator>javiervallori</dc:creator>
      <dc:date>2019-01-28T17:15:37Z</dc:date>
    </item>
  </channel>
</rss>

