AnsweredAssumed Answered

JLink gdb server launching fails from KDS but not from command line

Question asked by Michael Economides on Mar 18, 2015
Latest reply on Mar 19, 2015 by Erich Styger

Hello everyone,


I get this error when trying to launch my debugger from the flash configurations window...

 

Error while launching command C:\Program Files\SEGGER\JLink_V496b\JLinkGDBServerCL.exe -if swd -device MK22FN1M0xxx12 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -s

Cannot run program "C:\Program Files\SEGGER\JLink_V496b\JLinkGDBServerCL.exe": Launching failed

 

However if I go to the command prompt and paste the same command, it seems to be ok...

...

Connecting to J-Link...

J-Link is connected.

Firmware: J-Link V9 compiled Feb 20 2015 09:20:19

Hardware: V9.20

S/N: 59200469

Feature(s): GDB

Checking target voltage...

Target voltage: 3.37 V

Listening on TCP/IP port 2331

Connecting to target...Connected to target

Waiting for GDB connection...

 

Anyone know what the problem is?  Thank you...

Outcomes