<?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 Debug LPC55s14 over SWD in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1339516#M7411</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/191237" target="_self" aria-label="View Profile of toblerone"&gt;&lt;SPAN class=""&gt;toblerone&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;"The chip became locked after using mass erase from the GUI tool."&lt;/P&gt;
&lt;P&gt;-&amp;gt;How do you know it locked after mass erase?&lt;/P&gt;
&lt;P&gt;Does it can debug now after program using Flash magic?&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;</description>
    <pubDate>Tue, 14 Sep 2021 05:53:19 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2021-09-14T05:53:19Z</dc:date>
    <item>
      <title>Can't Debug LPC55s14 over SWD</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1338632#M7401</link>
      <description>&lt;P&gt;Was able to debug once with LPC link2 but now I cant.&lt;/P&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.4 (Jul 2 2021 12:03:47 - crt_emu_cm_redlink build 1)&lt;BR /&gt;Found chip XML file in C:/Users/**********/Documents/MCUXpressoIDE_11.4.0_6224/workspace/DebugTry1/Debug\LPC55S14.xml&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.361 (NXP Semiconductors)&lt;BR /&gt;Serial Number: FTCSPWAU&lt;BR /&gt;VID:PID: 1FC9:0090&lt;BR /&gt;USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#8&amp;amp;6b3749d&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;Using memory from core 0 after searching for a good core&lt;BR /&gt;processor is in secure mode&lt;BR /&gt;debug interface type = CoreSight DP (DAP DP ID 6BA02477) over SWD TAP 0&lt;BR /&gt;processor type = Cortex-M33 (CPU ID 00000D21) on DAP AP 0&lt;BR /&gt;number of h/w breakpoints = 8&lt;BR /&gt;number of flash patches = 0&lt;BR /&gt;number of h/w watchpoints = 4&lt;BR /&gt;Probe(0): Connected&amp;amp;Reset. DpID: 6BA02477. CpuID: 00000D21. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;BR /&gt;Content of CoreSight Debug ROM(s):&lt;BR /&gt;RBASE E00FE000: CID B105100D PID 0000095000 ROM (type 0x1)&lt;BR /&gt;ROM 1 E00FF000: CID B105100D PID 04000BB4C9 ROM (type 0x1)&lt;BR /&gt;ROM 2 E000E000: CID B105900D PID 04000BBD21 CSt ARM ARMv8-M type 0x0 Misc - Undefined&lt;BR /&gt;ROM 2 E0001000: CID B105900D PID 04000BBD21 CSt ARM DWTv2 type 0x0 Misc - Undefined&lt;BR /&gt;ROM 2 E0002000: CID B105900D PID 04000BBD21 CSt ARM FPBv2 type 0x0 Misc - Undefined&lt;BR /&gt;ROM 2 E0000000: CID B105900D PID 04000BBD21 CSt ARM ITMv2 type 0x43 Trace Source - Bus&lt;BR /&gt;ROM 1 E0040000: CID B105900D PID 04000BBD21 CSt type 0x11 Trace Sink - TPIU&lt;BR /&gt;NXP: LPC55S14&lt;BR /&gt;DAP stride is 1024 bytes (256 words)&lt;BR /&gt;Inspected v.2 On chip Flash memory using IAP lib LPC551x.cfx&lt;BR /&gt;Image 'LPC551x Jul 12 2021 22:05:09'&lt;BR /&gt;Opening flash driver LPC551x.cfx&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash variant 'LPC551x (128KB)' detected (128KB = 4*32K at 0x0)&lt;BR /&gt;Closing flash driver LPC551x.cfx&lt;BR /&gt;Connected: was_reset=true. was_stopped=false&lt;BR /&gt;Awaiting telnet connection to port 3330 ...&lt;BR /&gt;GDB nonstop mode enabled&lt;BR /&gt;Opening flash driver LPC551x.cfx (already resident)&lt;BR /&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;Flash variant 'LPC551x (128KB)' detected (128KB = 4*32K at 0x0)&lt;BR /&gt;Writing 11248 bytes to address 0x00000000 in Flash&lt;BR /&gt;request to clear DAP error failed - status 255&lt;BR /&gt;After error Ee(83). Hardware Transfer Error -&lt;BR /&gt;Failed to read address register in DAP - Ee(FF). Redlink interface error 255.&lt;BR /&gt;failed to send op ProgramPage message - rc Em(17). Debug port inaccessible after access at location 0x30006800&lt;BR /&gt;Sectors written: 1, unchanged: 0, total: 1&lt;BR /&gt;Closing flash driver LPC551x.cfx&lt;BR /&gt;failed to send op Terminate message - rc Ee(FF). Redlink interface error 255.&lt;BR /&gt;Target error from Commit Flash write: Ee(FF). Redlink interface error 255.&lt;/P&gt;&lt;P&gt;I've tried booting into ISP mode, mass erasing from the GUI tool, and using external power.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 11 Sep 2021 23:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1338632#M7401</guid>
      <dc:creator>toblerone</dc:creator>
      <dc:date>2021-09-11T23:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Debug LPC55s14 over SWD</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1338748#M7403</link>
      <description>&lt;P&gt;The chip became locked after using mass erase from the GUI tool. I was able to unlock it by using Flash magic to program it over UART.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 03:07:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1338748#M7403</guid>
      <dc:creator>toblerone</dc:creator>
      <dc:date>2021-09-13T03:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Debug LPC55s14 over SWD</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1339516#M7411</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/191237" target="_self" aria-label="View Profile of toblerone"&gt;&lt;SPAN class=""&gt;toblerone&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;"The chip became locked after using mass erase from the GUI tool."&lt;/P&gt;
&lt;P&gt;-&amp;gt;How do you know it locked after mass erase?&lt;/P&gt;
&lt;P&gt;Does it can debug now after program using Flash magic?&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;</description>
      <pubDate>Tue, 14 Sep 2021 05:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1339516#M7411</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-09-14T05:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Debug LPC55s14 over SWD</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1339876#M7417</link>
      <description>&lt;P&gt;Hi Alice_Yang,&lt;/P&gt;&lt;P&gt;I was able to repeat the issue with my custom board and with the LPC55s16 EVK dev board when using an external probe(LPC link 2). On the EVK dev board, using the on board probe would unlock the chip and allow debugging again. On my custom board, isp over uart through flash magic did unlock the chip and allow debugging again.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 14:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1339876#M7417</guid>
      <dc:creator>toblerone</dc:creator>
      <dc:date>2021-09-14T14:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Debug LPC55s14 over SWD</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1340196#M7419</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191237" target="_self" aria-label="View Profile of toblerone"&gt;&lt;SPAN class=""&gt;toblerone&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;It is possible to download an image into the flash on the target that will then prevent any further debug access or connections. The classic cases of this are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The image contains code that sets the MCU clocks up "incorrectly".&lt;/LI&gt;
&lt;LI&gt;The image contains code that enables a watchdog timer.&lt;/LI&gt;
&lt;LI&gt;The image contains code that puts the MCU into a very low power mode.&lt;/LI&gt;
&lt;LI&gt;The image contains code that "switches off" some, or all of the multiplexed debug pins (JTAG/SWD).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Detail refer to:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Regaining-debug-access-to-target-MCU/m-p/473923" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Regaining-debug-access-to-target-MCU/m-p/473923&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;</description>
      <pubDate>Wed, 15 Sep 2021 03:31:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Can-t-Debug-LPC55s14-over-SWD/m-p/1340196#M7419</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-09-15T03:31:45Z</dc:date>
    </item>
  </channel>
</rss>

