<?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: Can't connect to LPC5526 via SWD from LPC-Link2 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488128#M49564</link>
    <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;We can't program via ISP because we have not pinned out any of the protocols for this.&amp;nbsp; We intend to program via SWD and then use a custom programmer to program via serial.&lt;/P&gt;&lt;P&gt;Our project was created for the LPC5526 but neither Rowley or Xpresso can connect.&lt;/P&gt;&lt;P&gt;Our programming header is copied from a working project which uses an LPC1313.&amp;nbsp; I have followed the guide that you linked for setting up the debug port correctly and everything looks good.&amp;nbsp; It also looks identical to the LPC55S28 dev board which I can program fine.&lt;/P&gt;&lt;P&gt;Can you offer any further advice?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 12:25:52 GMT</pubDate>
    <dc:creator>RBlight</dc:creator>
    <dc:date>2022-07-12T12:25:52Z</dc:date>
    <item>
      <title>Can't connect to LPC5526 via SWD from LPC-Link2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1485201#M49484</link>
      <description>&lt;P&gt;I am attempting to program an LPC5526 using a SWD connection from an LPC-Link2 using Rowley CrossStudio IDE. However, when I attempt to connect to the target the IDE reports "Can't find debug component in ROM table" or "Can't get debug register". I have compared the SWD communication when trying to connect to this processor to trying to connect via SWD to the processor on the LPCXpresso55S28 development board. I find that the two are the same until reading the IDR (identification) register, where the development board reports 0x84770001 whereas the processor I'm trying to program reports 0x00000000. The "ARM Debug Interface v5 Architecture Specification" document says "An IDR of zero indicates that no [access port] is present" (section 10.2.2).&lt;/P&gt;&lt;P&gt;I'm not sure how to proceed from here, so any insights are appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 08:23:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1485201#M49484</guid>
      <dc:creator>kbetts</dc:creator>
      <dc:date>2022-07-06T08:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to LPC5526 via SWD from LPC-Link2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1485986#M49504</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;How about use MCUXpresso IDE?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE" target="_blank"&gt;https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About debug hardware design, refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 06:52:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1485986#M49504</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-07-07T06:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to LPC5526 via SWD from LPC-Link2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1486077#M49508</link>
      <description>&lt;P&gt;MCUXpresso has also been unable to program the processor. However, I have managed to mass erase it using the GUI Flash Tool. The errors when trying to program from MCUXpresso are attached.&lt;/P&gt;&lt;P&gt;I've compared the schematic and PCB design to AN13033 (&lt;SPAN class=""&gt;Hardware Design Guidelines for LPC55(S)xx Microcontrollers&lt;/SPAN&gt;) and the two seem to match.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 08:32:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1486077#M49508</guid>
      <dc:creator>kbetts</dc:creator>
      <dc:date>2022-07-07T08:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to LPC5526 via SWD from LPC-Link2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1487171#M49539</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Does your board can enter ISP mode? Try to enter ISP mode, then&amp;nbsp; use&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;GUI Flash Tool to erase.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then create a new project based on lpc5526, not use lpc55s28 demo.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 03:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1487171#M49539</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-07-11T03:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to LPC5526 via SWD from LPC-Link2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488128#M49564</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;We can't program via ISP because we have not pinned out any of the protocols for this.&amp;nbsp; We intend to program via SWD and then use a custom programmer to program via serial.&lt;/P&gt;&lt;P&gt;Our project was created for the LPC5526 but neither Rowley or Xpresso can connect.&lt;/P&gt;&lt;P&gt;Our programming header is copied from a working project which uses an LPC1313.&amp;nbsp; I have followed the guide that you linked for setting up the debug port correctly and everything looks good.&amp;nbsp; It also looks identical to the LPC55S28 dev board which I can program fine.&lt;/P&gt;&lt;P&gt;Can you offer any further advice?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 12:25:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488128#M49564</guid>
      <dc:creator>RBlight</dc:creator>
      <dc:date>2022-07-12T12:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to LPC5526 via SWD from LPC-Link2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488160#M49565</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RBlight_0-1657632351553.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186345i49361A05F94F218F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RBlight_0-1657632351553.png" alt="RBlight_0-1657632351553.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems that our device identifies as a 'generic verification component' instead of a ROM table.&amp;nbsp; It is able to communicate though.&amp;nbsp; Why is this identification wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488160#M49565</guid>
      <dc:creator>RBlight</dc:creator>
      <dc:date>2022-07-12T13:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to LPC5526 via SWD from LPC-Link2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488511#M49581</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;From your screenshot, image successfully programed into flash:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1657692282952.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186415i3F06AC19011DA6DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1657692282952.png" alt="Alice_Yang_0-1657692282952.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What about "&lt;SPAN&gt;programming header&lt;/SPAN&gt;" meaning, LPC5526 not same with lpc1313. Again recommend you crate a new project based on lpc5526, try to debug.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 06:06:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488511#M49581</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-07-13T06:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can't connect to LPC5526 via SWD from LPC-Link2</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488588#M49587</link>
      <description>&lt;P&gt;It turned out to be&amp;nbsp; preprocessor definition; changing "CPU_LPC5526JBD100" to "CPU_LPC5526JEV98" to match the physical package of the processor fixed the problem. This is only referenced by the code once (in fsl_device_registers.h) where it doesn't make a difference but it seems to matter either to the compiler or the debugger.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 07:43:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-connect-to-LPC5526-via-SWD-from-LPC-Link2/m-p/1488588#M49587</guid>
      <dc:creator>kbetts</dc:creator>
      <dc:date>2022-07-13T07:43:51Z</dc:date>
    </item>
  </channel>
</rss>

