<?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 Regarding Hard Fault Handler Issue in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-Hard-Fault-Handler-Issue/m-p/526724#M85</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kuldip rajput on Wed Apr 15 00:00:41 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; Respected Sir,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I am running the freertos_demo_1 example code provided by the freertos web resources for GPIO operation. With the gpio i am interfacing the tsop1738 sensor and LED, and the status of the GPIO_PIN register i need to send over another task. so i am using the queue mechanism for data transfer from gpio_task to other task. But while execution of the code it stop its execution at following code structure-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;background-color:#cacaca;border:1px solid black;"&gt; &lt;PRE&gt;
__attribute__ ((section(".after_vectors")))
void HardFault_Handler(void)
{
__asm volatile
(
" tst lr, #4\n"
" ite eq\n"
" mrseq r0, msp\n"
" mrsne r0, psp\n"
" ldr r1, [r0, #24]\n"
" ldr r2, handler_address_const\n"
" bx r2\n"
" handler_address_const: .word pop_registers_from_fault_stack\n"
);
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the debug error message with this post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would anybody please help me regarding this. I will be very thankful to you!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:49:58 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:49:58Z</dc:date>
    <item>
      <title>Regarding Hard Fault Handler Issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-Hard-Fault-Handler-Issue/m-p/526724#M85</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kuldip rajput on Wed Apr 15 00:00:41 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; Respected Sir,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I am running the freertos_demo_1 example code provided by the freertos web resources for GPIO operation. With the gpio i am interfacing the tsop1738 sensor and LED, and the status of the GPIO_PIN register i need to send over another task. so i am using the queue mechanism for data transfer from gpio_task to other task. But while execution of the code it stop its execution at following code structure-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;background-color:#cacaca;border:1px solid black;"&gt; &lt;PRE&gt;
__attribute__ ((section(".after_vectors")))
void HardFault_Handler(void)
{
__asm volatile
(
" tst lr, #4\n"
" ite eq\n"
" mrseq r0, msp\n"
" mrsne r0, psp\n"
" ldr r1, [r0, #24]\n"
" ldr r2, handler_address_const\n"
" bx r2\n"
" handler_address_const: .word pop_registers_from_fault_stack\n"
);
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the debug error message with this post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would anybody please help me regarding this. I will be very thankful to you!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-Hard-Fault-Handler-Issue/m-p/526724#M85</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Hard Fault Handler Issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-Hard-Fault-Handler-Issue/m-p/526725#M86</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 Wed Apr 15 00:12:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the first place, please see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fdebugging-hard-fault" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/debugging-hard-fault&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Regarding-Hard-Fault-Handler-Issue/m-p/526725#M86</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:49:59Z</dc:date>
    </item>
  </channel>
</rss>

