I am working with an LPC55S69 eval PCB and have run into a snag with the built-in LinkServer debugger.
It was working fine until I tried using the "Erase Flash action using LinkServer" function. After that I can no longer debug using the LinkServer. Each time I get the same error:
Error in final launch sequence:
Failed to execute MI command:
-target-select extended-remote | crt_emu_cm_redlink -msg-port=51066 -g -mi -2 -pLPC55S69 -vendor=NXP --bootromstall 0x50000040 -ProbeHandle=1 -CoreIndex=1 -cache=disable --flash-hashing --flash-driver-reset SOFT -x C:/Users/pouellette/Documents/Coding/MCUEXpresso/LPC55S69_Project/Debug --flash-dir C:/nxp/MCUXpressoIDE_11.2.0_4120/ide/plugins/com.nxp.mcuxpresso.tools.bin.win32_11.2.0.202007070855/binaries/Flash --flash-dir C:/Users/pouellette/Documents/Coding/MCUEXpresso/.mcuxpressoide_packages_support/LPC55S69_support/Flash --telnet 3330
Error message from debugger back end:
Remote communication error. Target disconnected.: Success.
Failed to execute MI command:
-target-select extended-remote | crt_emu_cm_redlink -msg-port=51066 -g -mi -2 -pLPC55S69 -vendor=NXP --bootromstall 0x50000040 -ProbeHandle=1 -CoreIndex=1 -cache=disable --flash-hashing --flash-driver-reset SOFT -x C:/Users/pouellette/Documents/Coding/MCUEXpresso/LPC55S69_Project/Debug --flash-dir C:/nxp/MCUXpressoIDE_11.2.0_4120/ide/plugins/com.nxp.mcuxpresso.tools.bin.win32_11.2.0.202007070855/binaries/Flash --flash-dir C:/Users/pouellette/Documents/Coding/MCUEXpresso/.mcuxpressoide_packages_support/LPC55S69_support/Flash --telnet 3330
Error message from debugger back end:
Remote communication error. Target disconnected.: Success.
I noticed this thread which suggested changing the LinkServer Debug "Flash driver reset handling" and the behavior was the same with each setting
https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-LPCXpresso55S69-Devboard-debugging-proble...
I am using MCUXpresso IDE v11.2.0 [Build 4120] [2020-07-09]