<?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: MCUXpresso with LPC-LINK2 having error &amp;quot;Target error from Commit Flash write&amp;quot;</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-with-LPC-LINK2-having-error-quot-Target-error-from/m-p/829832#M33140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First please follow the next steps to update the firmware of the LPC-Link2 :&lt;/P&gt;&lt;P&gt;Download and install the newest version of LPCScypt 2.0, you can download it from the next &lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Fsoftware-development-tools%2Flpc-developer-resources-%2Flpc-microcontroller-utilities%2Flpcscrypt-v2.0.0%3ALPCSCRYPT%3Ftab%3DDesign_Tools_Tab"&gt;link&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Put your board in DFU mode by removing JP1. Once you remove JP1 from your board do a power cycle to reset the board.&lt;/P&gt;&lt;P&gt;Go to the following path on your PC and open the script: &amp;lt;LPCScrypt Install Dir&amp;gt;\scripts\&lt;STRONG&gt;program_JLINK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Press any key to run the script. Please refer below image to see the results when the script runs successfully.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66724i9548C917792D3D82/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once the script runs successfully install JP1 on your board and do a power cycle.&lt;/P&gt;&lt;P&gt;Before trying to debug again please erase the old debug files on MCUXpresso IDE as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66770iB996EFCFBAE9786B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.jpg" alt="pastedImage_5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once you delete the debug files and flash the new firmware please try to debug again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2018 19:06:13 GMT</pubDate>
    <dc:creator>victorjimenez</dc:creator>
    <dc:date>2018-10-29T19:06:13Z</dc:date>
    <item>
      <title>MCUXpresso with LPC-LINK2 having error "Target error from Commit Flash write"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-with-LPC-LINK2-having-error-quot-Target-error-from/m-p/829831#M33139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using MCUXpresso IDE with LPC-LINK2 on a board with LPC1769 processor.&lt;/P&gt;&lt;P&gt;The same board and the same code I can use LPCXpresso IDE with LPC-LINK1 or LPC-LINK2 as debugger.&lt;/P&gt;&lt;P&gt;I can use MCUXpresso IDE with LPC-LINK1 as debugger.&lt;/P&gt;&lt;P&gt;However, when I try to use MCUXpresso IDE with LPC-LINK2 as debugger, I will receive the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;failed to send op Terminate message - rc Em(17). Debug port inaccessible after access at location 0x10002620&lt;BR /&gt;Target error from Commit Flash write: Em(17). Debug port inaccessible after access at location 0x10002620&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board is powered through its own power supply, and as the LPC-LINK2 can work with LPCXpresso IDE, I don't think it is a hardware problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts, suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 16:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-with-LPC-LINK2-having-error-quot-Target-error-from/m-p/829831#M33139</guid>
      <dc:creator>jasonl1</dc:creator>
      <dc:date>2018-10-24T16:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso with LPC-LINK2 having error "Target error from Commit Flash write"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-with-LPC-LINK2-having-error-quot-Target-error-from/m-p/829832#M33140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First please follow the next steps to update the firmware of the LPC-Link2 :&lt;/P&gt;&lt;P&gt;Download and install the newest version of LPCScypt 2.0, you can download it from the next &lt;A href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Fsoftware-development-tools%2Flpc-developer-resources-%2Flpc-microcontroller-utilities%2Flpcscrypt-v2.0.0%3ALPCSCRYPT%3Ftab%3DDesign_Tools_Tab"&gt;link&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Put your board in DFU mode by removing JP1. Once you remove JP1 from your board do a power cycle to reset the board.&lt;/P&gt;&lt;P&gt;Go to the following path on your PC and open the script: &amp;lt;LPCScrypt Install Dir&amp;gt;\scripts\&lt;STRONG&gt;program_JLINK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Press any key to run the script. Please refer below image to see the results when the script runs successfully.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66724i9548C917792D3D82/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once the script runs successfully install JP1 on your board and do a power cycle.&lt;/P&gt;&lt;P&gt;Before trying to debug again please erase the old debug files on MCUXpresso IDE as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66770iB996EFCFBAE9786B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.jpg" alt="pastedImage_5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once you delete the debug files and flash the new firmware please try to debug again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 19:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MCUXpresso-with-LPC-LINK2-having-error-quot-Target-error-from/m-p/829832#M33140</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2018-10-29T19:06:13Z</dc:date>
    </item>
  </channel>
</rss>

