<?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 Hard faults at a specific address lpc4370 processor in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-faults-at-a-specific-address-lpc4370-processor/m-p/1673714#M53160</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the lpc4370 processor with the Link-2 debug probe. I am trying to create a dual-core application using the M4 and M0APP. I keep getting hard faults at certain parts of the code. Every time I change part of the code the fault happens at a different function however, the address where the hard fault happens is always the same. This is at 0x10088010.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are the memory blocks that the M0 uses:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smarty760_0-1687357816546.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228798i56B0B63779FF765E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smarty760_0-1687357816546.png" alt="smarty760_0-1687357816546.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smarty760_1-1687357816552.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228796i0DC957D373FDDAB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smarty760_1-1687357816552.png" alt="smarty760_1-1687357816552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could the hard fault mean that I am trying to access the memory that is not available? Does this mean that the RAM is too small to hold the program? When building it shows that 92% of the RAM is being used. I thought that this means that it should be just enough but I’m not sure if more memory is taken up when debugging. The debugging is fine when I put the application in bigger RAM and configure it as an M4 application.&lt;/P&gt;&lt;P&gt;Should I ditch the Idea of trying to use this RAM? The only larger RAM of the processor needs to be used by my M4.&lt;/P&gt;&lt;P&gt;Could the hard fault be another issue?&lt;/P&gt;&lt;P&gt;Hard fault:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smarty760_2-1687357816560.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228797i94068684C16DF893/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smarty760_2-1687357816560.png" alt="smarty760_2-1687357816560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 14:31:34 GMT</pubDate>
    <dc:creator>smarty760</dc:creator>
    <dc:date>2023-06-21T14:31:34Z</dc:date>
    <item>
      <title>Hard faults at a specific address lpc4370 processor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-faults-at-a-specific-address-lpc4370-processor/m-p/1673714#M53160</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the lpc4370 processor with the Link-2 debug probe. I am trying to create a dual-core application using the M4 and M0APP. I keep getting hard faults at certain parts of the code. Every time I change part of the code the fault happens at a different function however, the address where the hard fault happens is always the same. This is at 0x10088010.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are the memory blocks that the M0 uses:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smarty760_0-1687357816546.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228798i56B0B63779FF765E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smarty760_0-1687357816546.png" alt="smarty760_0-1687357816546.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smarty760_1-1687357816552.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228796i0DC957D373FDDAB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smarty760_1-1687357816552.png" alt="smarty760_1-1687357816552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could the hard fault mean that I am trying to access the memory that is not available? Does this mean that the RAM is too small to hold the program? When building it shows that 92% of the RAM is being used. I thought that this means that it should be just enough but I’m not sure if more memory is taken up when debugging. The debugging is fine when I put the application in bigger RAM and configure it as an M4 application.&lt;/P&gt;&lt;P&gt;Should I ditch the Idea of trying to use this RAM? The only larger RAM of the processor needs to be used by my M4.&lt;/P&gt;&lt;P&gt;Could the hard fault be another issue?&lt;/P&gt;&lt;P&gt;Hard fault:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smarty760_2-1687357816560.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228797i94068684C16DF893/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smarty760_2-1687357816560.png" alt="smarty760_2-1687357816560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 14:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-faults-at-a-specific-address-lpc4370-processor/m-p/1673714#M53160</guid>
      <dc:creator>smarty760</dc:creator>
      <dc:date>2023-06-21T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hard faults at a specific address lpc4370 processor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-faults-at-a-specific-address-lpc4370-processor/m-p/1675595#M53225</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218278"&gt;@smarty760&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is multiple core project under lpcopen, you can have a look:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1687752451807.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/229187i9507D168EE433783/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1687752451807.png" alt="Alice_Yang_0-1687752451807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And debug&amp;nbsp; multiple&amp;nbsp; core project on MCUXpresso IDE, you can refer to:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/LPC-FAQs/How-to-run-Multicore-examples-provided-in-LPCOpen-LPC43xx/m-p/461913" target="_blank"&gt;https://community.nxp.com/t5/LPC-FAQs/How-to-run-Multicore-examples-provided-in-LPCOpen-LPC43xx/m-p/461913&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Which-IDE-to-be-used-for-debugging-LPC4367/m-p/871786" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/Which-IDE-to-be-used-for-debugging-LPC4367/m-p/871786&lt;/A&gt;&amp;nbsp; (pay attention the reply from&amp;nbsp;&lt;SPAN class=""&gt;&lt;A class="" href="https://community.nxp.com/people/lpcxpresso_support" data-content-finding="Community" data-userid="282977" data-username="lpcxpresso_support" target="_blank"&gt;LPCX presso support)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 04:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-faults-at-a-specific-address-lpc4370-processor/m-p/1675595#M53225</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-06-26T04:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hard faults at a specific address lpc4370 processor</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-faults-at-a-specific-address-lpc4370-processor/m-p/1675631#M53228</link>
      <description>&lt;P&gt;While I have no real experience with the LPC4370, the call trace looks like the fault happening in an invoked handler.&lt;BR /&gt;More probably, an invoked interrupt/fault handler which is not implemented.&lt;BR /&gt;Which causes escalation to a hardfault.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 05:59:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Hard-faults-at-a-specific-address-lpc4370-processor/m-p/1675631#M53228</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-06-26T05:59:56Z</dc:date>
    </item>
  </channel>
</rss>

