<?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: LPC11E67 SWD: Directly into Hardfault Handler from Debug</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E67-SWD-Directly-into-Hardfault-Handler-from-Debug/m-p/860071#M34224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should note I am using 10k resistors for the pullup and pulldown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2019 22:38:31 GMT</pubDate>
    <dc:creator>andrew_murfin</dc:creator>
    <dc:date>2019-02-28T22:38:31Z</dc:date>
    <item>
      <title>LPC11E67 SWD: Directly into Hardfault Handler from Debug</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E67-SWD-Directly-into-Hardfault-Handler-from-Debug/m-p/860070#M34223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to debug an offboard LPC11E67JBD48 from an OM13058 board.&amp;nbsp; The SWD connections are made exactly following the schematics of page 75 of the LPC11E6X datasheet.&amp;nbsp; Photo below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2019-02-28 15-26-16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71457iEB0E479BCDF35370/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2019-02-28 15-26-16.png" alt="Screenshot from 2019-02-28 15-26-16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When attempting to load ANY code at all from the LPCOpen 11U68 API, the debugger runs, appears to show successful connection with the MCU, appears to successfully write to flash, then goes directly into a Hardfault Handler.&amp;nbsp; Please see the debug messages console results below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2019-02-28 15-32-59.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71506i27915C5FAD81C852/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2019-02-28 15-32-59.png" alt="Screenshot from 2019-02-28 15-32-59.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Andrew Murfin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 22:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E67-SWD-Directly-into-Hardfault-Handler-from-Debug/m-p/860070#M34223</guid>
      <dc:creator>andrew_murfin</dc:creator>
      <dc:date>2019-02-28T22:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E67 SWD: Directly into Hardfault Handler from Debug</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E67-SWD-Directly-into-Hardfault-Handler-from-Debug/m-p/860071#M34224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should note I am using 10k resistors for the pullup and pulldown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 22:38:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E67-SWD-Directly-into-Hardfault-Handler-from-Debug/m-p/860071#M34224</guid>
      <dc:creator>andrew_murfin</dc:creator>
      <dc:date>2019-02-28T22:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11E67 SWD: Directly into Hardfault Handler from Debug</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E67-SWD-Directly-into-Hardfault-Handler-from-Debug/m-p/860072#M34225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I removed the 25MHz external oscillator on my board, and adjusted the&amp;nbsp;Board_SetupClocking() function (in board_sysinit.c) to call the&amp;nbsp;Chip_SetupIrcClocking(); function, thereby running clocking from the internal oscillator.&amp;nbsp; I will now be researching how to utilize an external oscillator, if necessary.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2019 23:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11E67-SWD-Directly-into-Hardfault-Handler-from-Debug/m-p/860072#M34225</guid>
      <dc:creator>andrew_murfin</dc:creator>
      <dc:date>2019-02-28T23:52:20Z</dc:date>
    </item>
  </channel>
</rss>

