<?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 HardFault when First build and debug on LPC1830 in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/HardFault-when-First-build-and-debug-on-LPC1830/m-p/681392#M663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the LPC-Link2 to debug my application on LPC1830 on MCUXpresso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29235i57472448B5778BB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find "every first time" the source code modify and build and enter debug with LPC-Link2, it always hard fault,&lt;/P&gt;&lt;P&gt;When&amp;nbsp;HardFault, I stop the debug, and enter debug "again".&lt;/P&gt;&lt;P&gt;It will be OK every time without modify any source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to trace where the source code&amp;nbsp;&lt;SPAN&gt;HardFault, but I find the HardFault is not&amp;nbsp;fix.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give some suggestion how to solve this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 11:59:07 GMT</pubDate>
    <dc:creator>kensu</dc:creator>
    <dc:date>2017-07-25T11:59:07Z</dc:date>
    <item>
      <title>HardFault when First build and debug on LPC1830</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/HardFault-when-First-build-and-debug-on-LPC1830/m-p/681392#M663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the LPC-Link2 to debug my application on LPC1830 on MCUXpresso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29235i57472448B5778BB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find "every first time" the source code modify and build and enter debug with LPC-Link2, it always hard fault,&lt;/P&gt;&lt;P&gt;When&amp;nbsp;HardFault, I stop the debug, and enter debug "again".&lt;/P&gt;&lt;P&gt;It will be OK every time without modify any source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to trace where the source code&amp;nbsp;&lt;SPAN&gt;HardFault, but I find the HardFault is not&amp;nbsp;fix.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give some suggestion how to solve this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 11:59:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/HardFault-when-First-build-and-debug-on-LPC1830/m-p/681392#M663</guid>
      <dc:creator>kensu</dc:creator>
      <dc:date>2017-07-25T11:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault when First build and debug on LPC1830</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/HardFault-when-First-build-and-debug-on-LPC1830/m-p/681393#M664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The part you are using has no built in flash, and in most circumstances is expected to be used with an external flash device connected via the LPC18xx's SPIFI interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore the first thing to do is check how your project&amp;nbsp;is configured - in particular whether you have configured your memory setup&amp;nbsp;with an external flash device (and confirm that you have associated a flash driver). For more information, please see the&amp;nbsp;&lt;SPAN&gt;MCUXpresso IDE v10.0.2 User Guide, section 12.8, "Using the Memory Configuration Editor". Also section 10.2.2, "SPIFI Flash Drivers"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are instead building your image to download and execute in RAM - then please see&amp;nbsp;&lt;SPAN&gt;MCUXpresso IDE v10.0.2 User Guide, section 14.10, "&amp;nbsp;RAM projects with LinkServer".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you continue to&amp;nbsp;experience problems, then please post&amp;nbsp;your debug log - as described in the MCUXpresso IDE v10.0.2 User Guide, section&amp;nbsp;14.7, "The Console View" - along with a full description of how your project is configured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 18:50:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/HardFault-when-First-build-and-debug-on-LPC1830/m-p/681393#M664</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-07-25T18:50:59Z</dc:date>
    </item>
  </channel>
</rss>

