GDB Server error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
While trying to debug my project - simple project of toggling LEDs - i encounter problem with GDB. I can't connect to it:

Error in services launch sequence
Starting J-Link GDB Server timed out.

I have manually downloaded gnb.exe and put it into eclipse/ARM-GCC-49/arm-none-eabi/bin folder

I have been searching for hours and everything I did put an error.
Here is my filled 'Debugger' - with default settings it get other error
3111.attach

Error while defaults on:
Error in services launch sequence
Launching command [/JLinkGDBServerCL.exe -if swd -device XMC4500-F100x1024 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0] failed.
Launching command [/JLinkGDBServerCL.exe -if swd -device XMC4500-F100x1024 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0] failed.
Cannot run program "/JLinkGDBServerCL.exe": Launching failed

Thanks for answers,
Szymon K
0 Likes
1 Solution
User14172
Level 2
Level 2
First solution authored First like received
In the executable path you must select "JLinkGDBServerCL.exe", not JLinkGDBServer,exe. It is located in your segger Jlink install folder, I had the same problem

View solution in original post

4 Replies
User14172
Level 2
Level 2
First solution authored First like received
In the executable path you must select "JLinkGDBServerCL.exe", not JLinkGDBServer,exe. It is located in your segger Jlink install folder, I had the same problem

Thanks for your answer, worked for me too. 

0 Likes
Not applicable
Works. Thanks for help!
0 Likes
User19545
Level 1
Level 1
First like received
claudiofi wrote:
In the executable path you must select "JLinkGDBServerCL.exe", not JLinkGDBServer,exe. It is located in your segger Jlink install folder, I had the same problem


Very helpful, thanks