I Can't Execute My Program in KDS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I Can't Execute My Program in KDS

Jump to solution
1,557 Views
skunky
Contributor II

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?

Labels (1)
0 Kudos
1 Solution
794 Views
skunky
Contributor II

I followed the steps listed here GDB Debugging with Kinetis Design Studio, and was able to get it running on version 1.1.1.

View solution in original post

0 Kudos
3 Replies
794 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos
794 Views
skunky
Contributor II

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.

0 Kudos
795 Views
skunky
Contributor II

I followed the steps listed here GDB Debugging with Kinetis Design Studio, and was able to get it running on version 1.1.1.

0 Kudos