<?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 LPC5528 SWD not working in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1175054#M42739</link>
    <description>&lt;P&gt;Hello, community.&lt;/P&gt;&lt;P&gt;I have a board with LPC5528JBD64K and for configuring it I use MCUXpresso IDE. MCU is ok (UART, ADC and other peripherals work), but I cannot flash and debug it using J-link, cuz error "&lt;EM&gt;Wrong DM&lt;/EM&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;EM&gt;AP&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;IDCODE detected" appears.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SWD clock is configured in MCUXpresso. Connection between MCU and SWD pins is ok. I tried to pull ISP entry pin to VCC and GND, nothing changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is my first time with LPC, so, maybe, I forget to set some bits or anything else to turn debugging on.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 06:43:23 GMT</pubDate>
    <dc:creator>alex__</dc:creator>
    <dc:date>2020-10-29T06:43:23Z</dc:date>
    <item>
      <title>LPC5528 SWD not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1175054#M42739</link>
      <description>&lt;P&gt;Hello, community.&lt;/P&gt;&lt;P&gt;I have a board with LPC5528JBD64K and for configuring it I use MCUXpresso IDE. MCU is ok (UART, ADC and other peripherals work), but I cannot flash and debug it using J-link, cuz error "&lt;EM&gt;Wrong DM&lt;/EM&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;EM&gt;AP&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;IDCODE detected" appears.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SWD clock is configured in MCUXpresso. Connection between MCU and SWD pins is ok. I tried to pull ISP entry pin to VCC and GND, nothing changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is my first time with LPC, so, maybe, I forget to set some bits or anything else to turn debugging on.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 06:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1175054#M42739</guid>
      <dc:creator>alex__</dc:creator>
      <dc:date>2020-10-29T06:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5528 SWD not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1175151#M42743</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-I lia-component-message-view-widget-author-username"&gt;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" style="color: #333f48;" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/131753" target="_self"&gt;&lt;SPAN class=""&gt;alex__&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;About the SWD hardware design, you can refer to LPCxpresso55s28 board:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/development-software/lpcxpresso55s28-development-board:LPC55S28-EVK" target="_blank" rel="noopener"&gt;https://www.nxp.com/design/software/development-software/lpcxpresso55s28-development-board:LPC55S28-EVK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In MCUXpresso IDE, Just click&amp;nbsp; "Debug" button under Quickstart Panel:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4444.jpg" style="width: 326px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128599i9277F92158D1A446/image-size/large?v=v2&amp;amp;px=999" role="button" title="4444.jpg" alt="4444.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If still can't work, please take a video or take screenshot to show&amp;nbsp; your steps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;DIV id="tinyMceEditorAlice_Yang_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorAlice_Yang_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 02:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1175151#M42743</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-11-02T02:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5528 SWD not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1175311#M42745</link>
      <description>&lt;P&gt;SWD connected directly to the programmer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debug_connection.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128621i44A41441B987BF2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="debug_connection.jpg" alt="debug_connection.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Clock configuration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clock1.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128622i9AABF6F91EBACB15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clock1.jpg" alt="clock1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the error code(in SEGGER J-flash, MCUXpresso returnes the same code):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/128623iCD906F16557FD99A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="error.jpg" alt="error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 13:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1175311#M42745</guid>
      <dc:creator>alex__</dc:creator>
      <dc:date>2020-10-29T13:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5528 SWD not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1176337#M42755</link>
      <description>&lt;P&gt;Hello alex,&lt;/P&gt;
&lt;P&gt;You can have a look at this thread:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forum.segger.com/index.php/Thread/4302-SOLVED-Target-Connect-J-Link-Error-Check-connection-and-target-interface-type/" target="_blank"&gt;https://forum.segger.com/index.php/Thread/4302-SOLVED-Target-Connect-J-Link-Error-Check-connection-and-target-interface-type/&lt;/A&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;And about the J-link debug, recommend you also ask help on Segger support, they know the j-link deep.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.segger.com/" target="_blank"&gt;https://www.segger.com/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regard,&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 03:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5528-SWD-not-working/m-p/1176337#M42755</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-11-02T03:01:36Z</dc:date>
    </item>
  </channel>
</rss>

