Content originally posted in LPCWare by drnow on Mon Nov 24 07:35:59 MST 2014
Support,
Thanks for your reply. The good news is, it worked once. The bad news is, I cannot get the debugger to work a second time.
I followed your suggestion about deleting the launch configuration. After the Debug button was pressed, oddly a Windows Firewall warning came on screen. Clicking thru resulted in the debugger eventually connecting to the IDE and the target, and I was able to debug the program.
However, I then tried modifying the code (one line). I recompiled this modified program without problems, but when attempting to debug it, I ran into an error. I don't have that the details of that error. I then re-tried your suggestion of deleting the launch configuration. I got the following error messages:
Error in final launch sequence
Reason:
Error in final launch sequence
Details:
Error: Error reported by server (redlinkserv.exe)
RedlinkAPI: Invalid index
CMSIS-DAP has been terminated and will be restarted
Please restart your debug session
If the problem recurs, please power cycle your debug probe and restart LPCXpresso
I then restarted LPCXpresso, and power cycled the board, and debugged the program again. I was given the choice to Connect to emulator: NXP LPC5410x (master) and selected the only choice, named LPC-Link-II CMSIS-DAP. Clicking thru, I again got the above error messages.
Suggestions?