I Can't Execute My Program in KDS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

I Can't Execute My Program in KDS

跳至解决方案
2,402 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
1,639 次查看
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 项奖励
回复
3 回复数
1,639 次查看
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 项奖励
回复
1,639 次查看
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 项奖励
回复
1,640 次查看
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 项奖励
回复