arm - JTag Debugging with Eclipse Mars CDT : "Program file does not exist" -
i have compiled arm embedded project, next files has been created:
myproject.elf myproject.bin myproject.hex myproject.map myprojectmd5.bin
then going run -> debug configurations -> gdb segger j-link debugging -> new -> debug
, error:
program file not exist
the gcc compiler arm used: https://launchpad.net/gcc-arm-embedded
arm eclipse plugins used: http://gnuarmeclipse.livius.net/blog/
and that's see in console:
23:25:36 **** build of configuration release project myproject **** make invoking: cross arm gnu print size arm-none-eabi-size --format=berkeley "myproject.elf" text data bss dec hex filename 40120 252 2252 42624 a680 myproject.elf finished building: myproject.siz 23:25:36 build finished (took 112ms)
it seems there problem running jlinkgdbserver
$ jlinkgdbserver segger j-link gdb server v4.98e command line version jlinkarm.dll v4.98e (dll compiled may 5 2015 11:59:38) -----gdb server start settings----- gdbinit file: none gdb server listening port: 2331 swo raw output listening port: 2332 terminal i/o port: 2333 accept remote connection: yes generate logfile: off verify download: off init regs on start: off silent mode: off single run mode: off target connection timeout: 0 ms ------j-link related settings------ j-link host interface: usb j-link script: none j-link settings file: none ------target related settings------ target device: unspecified target interface: jtag target interface speed: 1000khz target endian: little connecting j-link... j-link connected. firmware: j-link ob-sam3u128-v2-nordicsemi compiled may 4 2015 13:48:48 hardware: v1.00 s/n: 681968347 checking target voltage... target voltage: 3.30 v listening on tcp/ip port 2331 connecting target...error: not connect target. target connection failed. gdbserver closed...restoring target state , closing j-link connection... shutting down... not connect target.
c/c++ application in main tab missing. ok using debug/myproject.elf
Comments
Post a Comment