Hi,
I am running a hello world demo application on KDS 2.0. I can the program as debugging mode but whenever i want to run whole program. It gives me this error:
"Error with command: gdb --version
Cannot run program "gdb": Launching failed"
I am working with TWR-K60D100M. If anyone here has the similar problem before? Thank you.
Yaran
Hey guys,
Thanks for all of your help. I solved it. I am being silly. When I run a program on an actual hardware, i should flash it to the file instead directly running as a c++ application.
However, thanks all the time.
Yaran
Yes, you cannot run it on the host :-)
If you would like to emulate a 'run' on the target, have a look here:
http://mcuoneclipse.com/2014/10/04/emulating-eclipse-run-with-debug-configuration/
Erich
Could it be that your firewall or virus blocked/removed the gdb executable? The message indicates that it cannot find/launch the program.
Can you check if you have the following files present:
C:\Freescale\KDS_2.0.0\toolchain\bin\arm-none-eabi-gdb.exe
C:\Freescale\KDS_2.0.0\toolchain\arm-none-eabi\bin\gdb.exe
?
Erich
Yes, the file is there.
Hi Yaran,
Sorry i do not clearly know your meaning about "i want to run whole program" .
Could you tell me how to repeat your error step by step ,i will test on my side . And tell me which demo application ? KSDK demo ?
BR
Alice
As you know, there is two mode (two buttons on the main screen). One is 'Debug As' and the other one is 'Run as'. I am working with a TWR-K60D100M- an actual hardware (not sure if that is the reason).
'Debug as' always succeed, but whenever i click "run"/"run as", it throw me above error. I hope it helps you.