<?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 Problem debugging on iMX.RT1052 using LPC-Link2 in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-debugging-on-iMX-RT1052-using-LPC-Link2/m-p/820837#M3060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;have an SDK demo project that programs on an iMX.RT1052 target when using a MIMXRT1050-EVK as a debug probe. I am able to then debug using MCUXpresso IDE v10.2.1 as well as run thru the&amp;nbsp;GUI flash tool embedded within MCUXpresso IDE to mass erase the quadspi flash attached to the device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get to the same point using an LPC-Link2 instead of the MIMXRT1050-EVK. I downloaded LPCScrypt and programmed what I believe is the latest firmware on the probe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;Booting LPCScrypt target with "LPCScrypt_218.bin.hdr"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;LPCScrypt target booted&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;Programming LPC-Link2 with "LPC432x_CMSIS_DAP_V5_183.bin.hdr"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;- LPC-Link2 programmed successfully and has the unique ID: I3FUBTOQ&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;- To use: make link JP1 (nearest USB) and reboot.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I attach the probe to my target and attempt to enter debug mode, however, I get the following wire ACK fault:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;MCUXpresso IDE RedlinkMulti Driver v10.2 (Jul 25 2018 11:25:37 - crt_emu_cm_redlink build 555)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Found chip XML file in C:/Users/Edw/Documents/Holodeck/VboxShared/f8-sandbox/staging_wdm-ucmrt_core_testbed/playground/uCM-RT-TB_flexspi_nor_polling_transfer/Debug\MIMXRT1052xxxxB.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Reconnected to existing link server&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Connecting to probe 1 core 0:0 (using server started externally) gave 'OK'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.183 (NXP Semiconductors)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Serial Number:&amp;nbsp; I3FUBTOQ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;VID:PID:&amp;nbsp; 1FC9:0090&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#11&amp;amp;2b2fe572&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Using memory from core 0:0 after searching for a good core&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;debug interface type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Cortex-M7 (DAP DP ID 0BD11477) over SWD TAP 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;processor type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Cortex-M7 (CPU ID 00000C27) on DAP AP 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;number of h/w breakpoints = 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;number of flash patches&amp;nbsp;&amp;nbsp; = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;number of h/w watchpoints = 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Probe(0): Connected&amp;amp;Reset. DpID: 0BD11477. CpuID: 00000C27. Info: &amp;lt;None&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Content of CoreSight Debug ROM(s):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;RBASE E00FD000: CID B105100D PID 000008E88C ROM dev (type 0x1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM dev (type 0x1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM dev (type 0x1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 3 E000E000: CID B105E00D PID 04000BB00C ChipIP dev SCS (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 3 E0001000: CID B105E00D PID 04000BB002 ChipIP dev DWT (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 3 E0002000: CID B105E00D PID 04000BB00E ChipIP dev (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 3 E0000000: CID B105E00D PID 04000BB001 ChipIP dev ITM (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 2 E0041000: CID B105900D PID 04001BB975 ARCH 23B:4A13r0 CoreSight dev type 0x13 Trace Source - core&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 2 E0042000: CID B105900D PID 04004BB906 CoreSight dev type 0x14 Debug Control - Trigger, e.g. ECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A9 CoreSight dev type 0x11 Trace Sink - TPIU&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 1 E0043000: CID B105F00D PID 04001BB101 System dev (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Non-standard DAP stride detected - 1024 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;NXP: MIMXRT1052xxxxB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Connected: was_reset=true. was_stopped=false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Awaiting telnet connection to port 3330 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;GDB nonstop mode enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;After error Nn(05). Wire ACK Fault in DAP access -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Failed to read address register in DAP - Nn(05). Wire ACK Fault in DAP access&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: red;"&gt;Target error from Write Memory: Em(17). Debug port inaccessible after access at location 0x20000800&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: olive;"&gt;GDB stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;error closing down debug session - Nn(05). Wire ACK Fault in DAP access&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px; color: black;"&gt;I tried this with JP1 on my LPC-Link2 both open and closed. My target is self powered so I have JP2 open.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 15px;"&gt;Would appreciate any advice on how to get past this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 17:48:31 GMT</pubDate>
    <dc:creator>edw8</dc:creator>
    <dc:date>2018-08-23T17:48:31Z</dc:date>
    <item>
      <title>Problem debugging on iMX.RT1052 using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-debugging-on-iMX-RT1052-using-LPC-Link2/m-p/820837#M3060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;have an SDK demo project that programs on an iMX.RT1052 target when using a MIMXRT1050-EVK as a debug probe. I am able to then debug using MCUXpresso IDE v10.2.1 as well as run thru the&amp;nbsp;GUI flash tool embedded within MCUXpresso IDE to mass erase the quadspi flash attached to the device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get to the same point using an LPC-Link2 instead of the MIMXRT1050-EVK. I downloaded LPCScrypt and programmed what I believe is the latest firmware on the probe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;Booting LPCScrypt target with "LPCScrypt_218.bin.hdr"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;LPCScrypt target booted&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;Programming LPC-Link2 with "LPC432x_CMSIS_DAP_V5_183.bin.hdr"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;- LPC-Link2 programmed successfully and has the unique ID: I3FUBTOQ&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 12px;"&gt;&lt;STRONG&gt;- To use: make link JP1 (nearest USB) and reboot.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I attach the probe to my target and attempt to enter debug mode, however, I get the following wire ACK fault:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;MCUXpresso IDE RedlinkMulti Driver v10.2 (Jul 25 2018 11:25:37 - crt_emu_cm_redlink build 555)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Found chip XML file in C:/Users/Edw/Documents/Holodeck/VboxShared/f8-sandbox/staging_wdm-ucmrt_core_testbed/playground/uCM-RT-TB_flexspi_nor_polling_transfer/Debug\MIMXRT1052xxxxB.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Reconnected to existing link server&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Connecting to probe 1 core 0:0 (using server started externally) gave 'OK'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.183 (NXP Semiconductors)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Serial Number:&amp;nbsp; I3FUBTOQ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;VID:PID:&amp;nbsp; 1FC9:0090&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#11&amp;amp;2b2fe572&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Using memory from core 0:0 after searching for a good core&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;debug interface type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Cortex-M7 (DAP DP ID 0BD11477) over SWD TAP 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;processor type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Cortex-M7 (CPU ID 00000C27) on DAP AP 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;number of h/w breakpoints = 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;number of flash patches&amp;nbsp;&amp;nbsp; = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;number of h/w watchpoints = 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Probe(0): Connected&amp;amp;Reset. DpID: 0BD11477. CpuID: 00000C27. Info: &amp;lt;None&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Content of CoreSight Debug ROM(s):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;RBASE E00FD000: CID B105100D PID 000008E88C ROM dev (type 0x1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM dev (type 0x1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM dev (type 0x1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 3 E000E000: CID B105E00D PID 04000BB00C ChipIP dev SCS (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 3 E0001000: CID B105E00D PID 04000BB002 ChipIP dev DWT (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 3 E0002000: CID B105E00D PID 04000BB00E ChipIP dev (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 3 E0000000: CID B105E00D PID 04000BB001 ChipIP dev ITM (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 2 E0041000: CID B105900D PID 04001BB975 ARCH 23B:4A13r0 CoreSight dev type 0x13 Trace Source - core&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 2 E0042000: CID B105900D PID 04004BB906 CoreSight dev type 0x14 Debug Control - Trigger, e.g. ECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A9 CoreSight dev type 0x11 Trace Sink - TPIU&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;ROM 1 E0043000: CID B105F00D PID 04001BB101 System dev (type 0x0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Non-standard DAP stride detected - 1024 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;NXP: MIMXRT1052xxxxB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Connected: was_reset=true. was_stopped=false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Awaiting telnet connection to port 3330 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;GDB nonstop mode enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;After error Nn(05). Wire ACK Fault in DAP access -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;Failed to read address register in DAP - Nn(05). Wire ACK Fault in DAP access&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: red;"&gt;Target error from Write Memory: Em(17). Debug port inaccessible after access at location 0x20000800&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: olive;"&gt;GDB stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; color: black;"&gt;error closing down debug session - Nn(05). Wire ACK Fault in DAP access&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px; color: black;"&gt;I tried this with JP1 on my LPC-Link2 both open and closed. My target is self powered so I have JP2 open.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 15px;"&gt;Would appreciate any advice on how to get past this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 17:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-debugging-on-iMX-RT1052-using-LPC-Link2/m-p/820837#M3060</guid>
      <dc:creator>edw8</dc:creator>
      <dc:date>2018-08-23T17:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem debugging on iMX.RT1052 using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-debugging-on-iMX-RT1052-using-LPC-Link2/m-p/820838#M3061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;v5._183 is indeed to current version of the LPC-Link2 NXP CMSIS-DAP firmware.&amp;nbsp;MCUXpresso IDE will actually soft load the Link2 firmware if a jumper is not fitted to JP1, though proprogramming with LPCScrypt will save a small amount of time each time you power cycle the probe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I would strongly suggest that you check the latest version of our document on using MCUXpresso IDE with the RT1050 EVK which we reissued&amp;nbsp;a couple of weeks ago -&amp;nbsp;&lt;A href="https://community.nxp.com/migration-blogpost/10894"&gt;Overview of using the MIMXRT1050-EVK(B) with MCUXpresso IDE&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in particular, in my experience ...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure JP2 is connected on your LPC-Link2, as the EVK doesn't seem to reliably provide power back to the Link2 over VTREF to power its buffers (see&amp;nbsp;&lt;A href="https://community.nxp.com/thread/388998"&gt;Design Considerations for Debug&lt;/A&gt;).&lt;/LI&gt;&lt;LI&gt;Remove J32 and J33 on your EVK board to disconnect the onboard probe&lt;/LI&gt;&lt;LI&gt;Power up the LPC-Link2 after powering up the EVK board&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also want to try using the Connect script provided with the Overview document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 07:53:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-debugging-on-iMX-RT1052-using-LPC-Link2/m-p/820838#M3061</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-08-24T07:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem debugging on iMX.RT1052 using LPC-Link2</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-debugging-on-iMX-RT1052-using-LPC-Link2/m-p/820839#M3062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My target is not an EVK board, rather an RT1052 running on our own PCB. We had used an EVKA board's K20 and SWD facets to debug the RT1052 target previously while disconnected from the RT1052 on the EVKA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, your recommendation for JP2 did the trick. Shorting that jumper allows the LPC-Link2 to connect to the RT1052 target and program the demo project. I tested both ram and flash based demos with positive outcomes. I did not need to use the connect scripts, but good to know they are there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 13:22:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-debugging-on-iMX-RT1052-using-LPC-Link2/m-p/820839#M3062</guid>
      <dc:creator>edw8</dc:creator>
      <dc:date>2018-08-24T13:22:28Z</dc:date>
    </item>
  </channel>
</rss>

