I'm trying to execute or debug a program in KDS, but I can't. The error says:
'Launching XXXXX.elf' has encountered a problem.
Error with command: gdb --version
I have a similar experience with the play button. It's a simple hello world program for the FRDM-KL26Z. I've got a fully updated version of KDS. Does anyone have any suggestions?
Solved! Go to Solution.
I followed the steps listed here GDB Debugging with Kinetis Design Studio, and was able to get it running on version 1.1.1.
Hi Mark,
Are you using V1.1.1? And on Windows?
That error message indicates that it was not possible to find the gdb.
Typically this is caused by a wrong PATH setup on your system. Can you check your PATH variable if it contains a double semicolon (;;)?
See Kinetis Design Studio V1.0.1 Beta Release Notes and search for "--version".
Erich
PS: the 'Play' (or 'Run') button will probably not do what you want (it will launch a local program, not the one on the board). If you really want to do a 'run', then have a look at Emulating Eclipse ‘Run’ with ‘Debug’ Configuration | MCU on Eclipse
I checked the path, and there were not any of double semicolons. I'm trying to use version 1.0.1. I didn't realize there was a version 1.1.1. I'll upgrade and see how that works.
I followed the steps listed here GDB Debugging with Kinetis Design Studio, and was able to get it running on version 1.1.1.