<?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: HardFault_Handler</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/525316#M7952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Jan 29 01:17:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The processor jumps to this fault when various bad things happen that it can't handle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read "Cortex M0 Devices Generic User Guide" from ARM, the chapter on Fault Handling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:53:17 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:53:17Z</dc:date>
    <item>
      <title>HardFault_Handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/525315#M7951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nasib on Mon Jan 28 12:22:50 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i add some code lines (whatever) to my program, it jump to a HardFault_Handler(void) function ( into CDL/CMSISv2p00_LPC11Uxx/src/cr_startup_lpc11u.c/)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a large code, and i don't know why it happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone knows what is exactly this function?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/525315#M7951</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/525316#M7952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Jan 29 01:17:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The processor jumps to this fault when various bad things happen that it can't handle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read "Cortex M0 Devices Generic User Guide" from ARM, the chapter on Fault Handling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/525316#M7952</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/525317#M7953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vitah on Thu Mar 07 20:36:34 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;When you are in HardFault_Handler func, check the Stack Pointer Register. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Plus its value with 24(DEC) then get DWORD value stored at address (SP + 24) in memory. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This DWORD value is the address of last instruction that generated hardfault.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check and correct what was wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it will help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/525317#M7953</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:53:17Z</dc:date>
    </item>
  </channel>
</rss>

