<?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 LPC1768 Save hard fault context in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Save-hard-fault-context/m-p/698139#M28097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been experiencing some troubles with an application on one client. For some reason, after some time of normal use, it locks up on a Hard fault and performs a watchdog reset (wich is the expected behaviour). It occurs every hour, sometimes 2 or 3 times.&lt;BR /&gt;But, since we can not reproduce the fault, i've thinking in the possibility of make some post-mortem debugging in site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a chance of saving the context (registers, PC) somewhere on the MCU, before it locks up and wait for watchdog reset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, i'm using default fault handlers, CMSIS Drivers and CoOs. MCU is LPC1768.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Exequiel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2017 20:55:39 GMT</pubDate>
    <dc:creator>yakoinfinity</dc:creator>
    <dc:date>2017-10-03T20:55:39Z</dc:date>
    <item>
      <title>LPC1768 Save hard fault context</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Save-hard-fault-context/m-p/698139#M28097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been experiencing some troubles with an application on one client. For some reason, after some time of normal use, it locks up on a Hard fault and performs a watchdog reset (wich is the expected behaviour). It occurs every hour, sometimes 2 or 3 times.&lt;BR /&gt;But, since we can not reproduce the fault, i've thinking in the possibility of make some post-mortem debugging in site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a chance of saving the context (registers, PC) somewhere on the MCU, before it locks up and wait for watchdog reset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, i'm using default fault handlers, CMSIS Drivers and CoOs. MCU is LPC1768.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Exequiel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 20:55:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Save-hard-fault-context/m-p/698139#M28097</guid>
      <dc:creator>yakoinfinity</dc:creator>
      <dc:date>2017-10-03T20:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Save hard fault context</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Save-hard-fault-context/m-p/698140#M28098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exequiel,&lt;/P&gt;&lt;P&gt;some good info can be found in Keil's appnote here:&amp;nbsp;&lt;A class="link-titled" href="http://www.keil.com/appnotes/files/apnt209.pdf" title="http://www.keil.com/appnotes/files/apnt209.pdf"&gt;http://www.keil.com/appnotes/files/apnt209.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and here:&amp;nbsp;&lt;A class="link-titled" href="https://community.arm.com/iot/embedded/f/discussions/3257/debugging-a-cortex-m0-hard-fault" title="https://community.arm.com/iot/embedded/f/discussions/3257/debugging-a-cortex-m0-hard-fault"&gt;Debugging a Cortex-M0 Hard Fault - Discussions - Embedded - Arm Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 06:38:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Save-hard-fault-context/m-p/698140#M28098</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2017-10-04T06:38:29Z</dc:date>
    </item>
  </channel>
</rss>

