Hello,
I have been using the FRDM-KL03Z with the kds debug tool for several weeks without issue. Today, I made the mistake of trying to change the project debug optimization properties after I had already invoked the debugger (code was not running though as it was at a breakpoint). Now, none of my programs work, I get the same error every time:
"Exception occurred during launch. Reason: Error in services launch sequence."
I have been trying for several hours to fix this and am now at a loss. I have obviously screwed something up by trying to change those settings while the debugger was active.
Please help!!
Thanks,
Sara
Solved! Go to Solution.
Hi Sara,
hard to tell without further information.
You could try a new project in a new workspace too, just to be sure it is not an Eclipse setting somehow?
What debug firmware are you using? I would either use the Segger or P&E OpenSDA firmware on the board (the CMSIS-DAP/OpenOCD connection is not reliable enough).
Other than that, I wrote to articles which might be helpful to track down the issue:
Board Bring-Up Tips, GDB Logs and Traces in Eclipse | MCU on Eclipse
Debugging Failure: Check List and Hints | MCU on Eclipse
Other than that, can you share your launch configuration settings (screenshots) at least?
Erich
Hi Erich,
Your "Debugging Failure" document was interesting and gave me a few things to try. Nothing worked. However, after I shut down my computer and restarted it, everything seemed fine again. Weird...
Thanks anyway!
Sara
Hi Sara,
have you already tried debugging that board with a fresh/new project?
Erich
Hi Sara,
hard to tell without further information.
You could try a new project in a new workspace too, just to be sure it is not an Eclipse setting somehow?
What debug firmware are you using? I would either use the Segger or P&E OpenSDA firmware on the board (the CMSIS-DAP/OpenOCD connection is not reliable enough).
Other than that, I wrote to articles which might be helpful to track down the issue:
Board Bring-Up Tips, GDB Logs and Traces in Eclipse | MCU on Eclipse
Debugging Failure: Check List and Hints | MCU on Eclipse
Other than that, can you share your launch configuration settings (screenshots) at least?
Erich