<?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のトピックIAP commands go to hardfault when debugger attached</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-commands-go-to-hardfault-when-debugger-attached/m-p/779250#M31335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to write EEPROM on the LPC1549 using an IAP call. I am using a JTAG debugger (Rowley Crossconnect). If I download the firmware and run it, or run in debug mode, then the IAP call goes to the hardfault handler. However if I power up the board without using the debugger (though still plugged into the JTAG) then the IAP call works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This applies to any IAP call including the simple ones like reading device signature. It's like the debugger is causing the ROM to get paged out or appear at a different address or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me understand what's going on here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 14:24:46 GMT</pubDate>
    <dc:creator>congoblue</dc:creator>
    <dc:date>2017-11-15T14:24:46Z</dc:date>
    <item>
      <title>IAP commands go to hardfault when debugger attached</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-commands-go-to-hardfault-when-debugger-attached/m-p/779250#M31335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to write EEPROM on the LPC1549 using an IAP call. I am using a JTAG debugger (Rowley Crossconnect). If I download the firmware and run it, or run in debug mode, then the IAP call goes to the hardfault handler. However if I power up the board without using the debugger (though still plugged into the JTAG) then the IAP call works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This applies to any IAP call including the simple ones like reading device signature. It's like the debugger is causing the ROM to get paged out or appear at a different address or something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me understand what's going on here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 14:24:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-commands-go-to-hardfault-when-debugger-attached/m-p/779250#M31335</guid>
      <dc:creator>congoblue</dc:creator>
      <dc:date>2017-11-15T14:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: IAP commands go to hardfault when debugger attached</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-commands-go-to-hardfault-when-debugger-attached/m-p/779251#M31336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim Mitchell,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It seems it is related to the debugger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have tried the JLINK, I can debug the eeprom code in my LPCXpresso1549 board.&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/33633i02EFB27513DE9270/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;Please check the above debug information, you can find that I can write the eeprom successfully in debug mode.&lt;/P&gt;&lt;P&gt;I am using the JLINK as the debugger, maybe you also can try the JLINK on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 07:22:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/IAP-commands-go-to-hardfault-when-debugger-attached/m-p/779251#M31336</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-11-17T07:22:13Z</dc:date>
    </item>
  </channel>
</rss>

