I am debugging power management examples on LPC55S69. But I encountered this problem and cannot continue anymore. I cannot erase flash the board because it shows 0 available SWD Devices detected. Following is the messages from console. Can anyone help me? Thanks a a lot!
Probe Firmware: LPC-LINK2 CMSIS-DAP V5.361 (NXP Semiconductors)
Serial Number: PRAXBQFR
VID:PID: 1FC9:0090
USB Path: /dev/hidraw1
connection failed - Em(04). Cannot provide power to DAP bus... Retrying
Failed on connect: Em(04). Cannot provide power to DAP bus.
Connected&Reset. Was: NotConnected. DpID: 6BA02477. CpuID: 00000000. Info: <None>
Last stub error 0: OK
Last sticky error: 0x0 AIndex: 0
No debug bus (MemAp) selected
DAP Speed test unexecuted or failed
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
(100) Target Connection Failed
Unable to perform operation!
Command failed with exit code 1.
Solved! Go to Solution.
Hello Jinwen,
Maybe your chip enter deep power down mode, so it can't connect to debug port.
Please make your chip enter ISP mode, then use Flash Magic erase it, refer to:
https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763
BR
Alice
Hello Jinwen,
Maybe your chip enter deep power down mode, so it can't connect to debug port.
Please make your chip enter ISP mode, then use Flash Magic erase it, refer to:
https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763
BR
Alice