Hello, I am trying to debug the firmware for a custom board using the LPC11U34F, using the MCU-LINK debugger. It worked fine for three tries, then stopped working.
When I try to debug, I get the following errors:
Error 1:
"Failed to execute MI command:
-target-select extended-remote | crt_emu_cm_redlink -msg-port=1093 -g -mi -2 -pLPC11U14/201 -vendor=NXP --reset= -ProbeHandle=1 -CoreIndex=0 --flash-hashing --flash-driver LPC11_12_13_32K_4K.cfx --telnet 3333
Error message from debugger back end:
Remote communication error. Target disconnected.: No error.
Failed to execute MI command:
-target-select extended-remote | crt_emu_cm_redlink -msg-port=1093 -g -mi -2 -pLPC11U14/201 -vendor=NXP --reset= -ProbeHandle=1 -CoreIndex=0 --flash-hashing --flash-driver LPC11_12_13_32K_4K.cfx --telnet 3333
Error message from debugger back end:
Remote communication error. Target disconnected.: No error."
Error 2:
Error 3:
"02: Failed on connect
02: Failed on connect
Cannot provide power to DAP bus.
Probe(0): Connected&Reset. Was: NotConnected. DpID: 0BB11477. CpuID: 00000000. Info: <None>
Debugging context: nxp_lpcxpresso_11u14_periph_blinky LinkServer Debug
Failed on connect: Em(04). Cannot provide power to DAP bus.
Connected&Reset. Was: NotConnected. DpID: 0BB11477. CpuID: 00000000. Info: <None>
Last stub error 0: OK"
I can't erase the firmware using Flash Magic either.
Do you have any suggestions or questions?
Thank you for your time!
Hi
Please try follows:
1. create a new workspace
2. create a new project under this workspace
3. the board connects computer in ISP mode
4. try debug
How does it work?
If still fails, reinstall MCU-Link driver with this guide then do step 1-4 again.
https://www.nxp.com/document/guide/getting-started-with-the-mcu-link:GS-MCU-LINK
Hope this helps,
Jun Zhang