<?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 Re: Unable to debug or run project using LPC-Link2 in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1517968#M8367</link>
    <description>&lt;OL&gt;&lt;LI&gt;I am trying to test the connection with the blink demo, the debugger is failing each time in the same way.&lt;/LI&gt;&lt;LI&gt;I tried both Jlink and CMSIS-DAP, still not establishing a connection&lt;/LI&gt;&lt;LI&gt;Here is the attached photo. The USB connection is made to the debugger board&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG-4668.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192716i4052E9A8B74B17E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG-4668.jpg" alt="IMG-4668.jpg" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 06 Sep 2022 21:34:46 GMT</pubDate>
    <dc:creator>act642</dc:creator>
    <dc:date>2022-09-06T21:34:46Z</dc:date>
    <item>
      <title>Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1514798#M8352</link>
      <description>&lt;P&gt;I've been following a few tutorials using the MCUXpresso IDE, but I am unable to run or debug any of the example code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://www.nxp.com/docs/en/supporting-information/Debug_Probe_Firmware_Programming.pdf" target="_self"&gt;https://www.nxp.com/docs/en/supporting-information/Debug_Probe_Firmware_Programming.pdf&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://thomasweldon.com/tpw/lpc4370/lpc4370tutorial1/index.html" target="_self"&gt;http://thomasweldon.com/tpw/lpc4370/lpc4370tutorial1/index.html&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I am using two LPC-Link2 boards, one as a debugger and one as an eval board. JP1 and JP2 are connected on the debug LPC-Link 2, such that I can power on the eval board. Initially CMSIS-DAP did not work, so I configured the debugger as a Segger J-Link probe, which seemed to work. However, I am still unable to run or debug any example code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set up:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="act642_0-1661967947629.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192011iBE0CEA776A99EA3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="act642_0-1661967947629.png" alt="act642_0-1661967947629.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Error #1 for debug mode&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="act642_0-1661968074639.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192012iDD36A7636DFDA104/image-size/medium?v=v2&amp;amp;px=400" role="button" title="act642_0-1661968074639.png" alt="act642_0-1661968074639.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error #2 when breakpoint is added&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="act642_1-1661966689420.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192009i65AEE3FE4631B0F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="act642_1-1661966689420.png" alt="act642_1-1661966689420.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;New to micro-controllers, any advice would be much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 17:48:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1514798#M8352</guid>
      <dc:creator>act642</dc:creator>
      <dc:date>2022-08-31T17:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1515192#M8356</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;1. please test the connection with a simple lpcopen led blink demo.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In case the debug firmware is corrupt, use lpcscrypt update firmware, try both Jlink firmware and CMSIS-DAP.&lt;/P&gt;
&lt;P&gt;3. If still can't work, send me a photo of your two board connection. tell me which one is for debug and which is for target. Let me check your board setting.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 03:43:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1515192#M8356</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-09-01T03:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1517968#M8367</link>
      <description>&lt;OL&gt;&lt;LI&gt;I am trying to test the connection with the blink demo, the debugger is failing each time in the same way.&lt;/LI&gt;&lt;LI&gt;I tried both Jlink and CMSIS-DAP, still not establishing a connection&lt;/LI&gt;&lt;LI&gt;Here is the attached photo. The USB connection is made to the debugger board&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG-4668.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192716i4052E9A8B74B17E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG-4668.jpg" alt="IMG-4668.jpg" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 06 Sep 2022 21:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1517968#M8367</guid>
      <dc:creator>act642</dc:creator>
      <dc:date>2022-09-06T21:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1518172#M8368</link>
      <description>&lt;P&gt;Hi&amp;nbsp;act642&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your HW connection is ok. So I suggest you checking PC side.&lt;/P&gt;
&lt;P&gt;As you said you already updated firmware with LPCScrypt? if so, Create a NEW project under a NEW workspace. test connection as my attached video shows. If still fails, change another computer and cable, test again.&lt;/P&gt;
&lt;P&gt;If the board is not damaged, it should work.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 06:03:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1518172#M8368</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-09-07T06:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1518706#M8375</link>
      <description>&lt;P&gt;Hi Jun,&lt;/P&gt;&lt;P&gt;It still does not work, sometimes I get the same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also always get this error if I try to run the project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Error starting process.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Cannot run program "C:\....\NXP\workspace\test\Debug\test.axf": Launching failed"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I think the board works, I was able to see the debug board flash the LED, but not the target board.&lt;/P&gt;&lt;P&gt;I was only able to step into the code by restarting the debugger and stepping into all debug sessions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="act642_0-1662578491374.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192896iBB9F1ADE1A34A3D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="act642_0-1662578491374.png" alt="act642_0-1662578491374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I expect to see a result like in this tutorial:&amp;nbsp;&lt;A href="http://thomasweldon.com/tpw/lpc4370/lpc4370tutorial1/index.html" target="_blank"&gt;http://thomasweldon.com/tpw/lpc4370/lpc4370tutorial1/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot get past line 46,&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 19:23:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1518706#M8375</guid>
      <dc:creator>act642</dc:creator>
      <dc:date>2022-09-07T19:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1519014#M8378</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;From your screenshot, you didn't create a new project to test connection as I showed in my video?&lt;/P&gt;
&lt;P&gt;Please create a new project to test connection, thus we can identify if the problem is caused by specific project.&lt;/P&gt;
&lt;P&gt;In order to identify if the problem is caused by HW, swap your target and debug board, use LPCScrypt update debug firmware. adjust jumpers. see if the problem the same.&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 05:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1519014#M8378</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-09-08T05:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1519516#M8390</link>
      <description>&lt;P&gt;Hi Jun,&lt;/P&gt;&lt;P&gt;I created a new workspace and a new project. I also uninstalled everything and re-downloaded everything as well. I have also swapped the target and debug board. Nothing appears to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 16:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1519516#M8390</guid>
      <dc:creator>act642</dc:creator>
      <dc:date>2022-09-08T16:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1519661#M8395</link>
      <description>&lt;P&gt;Which version of LPCScrypt do you use to update the firmware? How it shows after update finish? send me a screenshot of it.&lt;/P&gt;
&lt;P&gt;please send me a video like what I sent to you. make sure you follow the same steps as I did.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 02:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1519661#M8395</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-09-09T02:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1520137#M8396</link>
      <description>&lt;P&gt;Hi Jun,&lt;/P&gt;&lt;P&gt;I was able to recreate your video, but only when I open a "C project only". Previously, I was opening a "LCPOpen C Project". After debugging, I cannot run the code (see attached video). Do you know how I can successfully run the project?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 18:46:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1520137#M8396</guid>
      <dc:creator>act642</dc:creator>
      <dc:date>2022-09-09T18:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to debug or run project using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1520857#M8402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205243"&gt;@act642&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked your video. you can connect, and debug board without issue.&lt;/P&gt;
&lt;P&gt;If you want to run the project, click on Resume(F8) before Terminate. as I showed in my attached video.&lt;/P&gt;
&lt;P&gt;Regarding to the run button problem you referred, I will report it. Thanks for brining the problem to our attention.&lt;/P&gt;
&lt;P&gt;Have a nice day&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 03:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-debug-or-run-project-using-LPC-Link2/m-p/1520857#M8402</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-09-13T03:43:00Z</dc:date>
    </item>
  </channel>
</rss>

