I Can't Execute My Program in KDS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I Can't Execute My Program in KDS

ソリューションへジャンプ
2,521件の閲覧回数
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,758件の閲覧回数
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,758件の閲覧回数
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,758件の閲覧回数
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,759件の閲覧回数
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 件の賞賛
返信