<?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 Re: HardFault_Handler in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/520812#M3828</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 Tue Sep 09 07:37:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of LPCXpresso are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the first place, I suggest that you 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%2Fmalloc-failure-using-freertos-heap3c-lpcxpresso-tool-chain" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/malloc-failure-using-freertos-heap3c-lpcxpresso-tool-chain&lt;/A&gt;&lt;/SPAN&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%2Fheap-checking-redlib" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/heap-checking-redlib&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And possibly:&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;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:45:42 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:45:42Z</dc:date>
    <item>
      <title>HardFault_Handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/520811#M3827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by terrype on Tue Sep 09 00:56:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;IDE : LPCexpresso &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BSP; LPC Open 2.10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Board ; LPCexpresso 1769&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;example use ; lwip_tcpecho_freertos&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modify the example to works as TCP client and it wroks well, I add a extra task which was tested independly and works well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When boath task run together then started get &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Malloac fail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Increase the total heap size then get Hardfault_Handler error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached few images&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q1. How to reduce the lwip tcp tx and rx frame size? also all level of tx and rx buffer&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/520811#M3827</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/520812#M3828</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 Tue Sep 09 07:37:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of LPCXpresso are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the first place, I suggest that you 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%2Fmalloc-failure-using-freertos-heap3c-lpcxpresso-tool-chain" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/malloc-failure-using-freertos-heap3c-lpcxpresso-tool-chain&lt;/A&gt;&lt;/SPAN&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%2Fheap-checking-redlib" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/heap-checking-redlib&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And possibly:&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;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/520812#M3828</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/520813#M3829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by terrype on Tue Sep 09 15:13:21 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC espresso version 7.3, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used heap_3 as it is not thread safe and gave me pretty much same error. LPC1769 have huge RAM in different banks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q1. How to configure the linker script to use&amp;nbsp; stack and global variable in 1 bank and heap in different bank?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/HardFault-Handler/m-p/520813#M3829</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:45:42Z</dc:date>
    </item>
  </channel>
</rss>

