This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to debug several nRF51 DKs using Eclipse

Hi, I would like to have several nRF51 development cards connected to my computer at the same time using the USB debug port. The serial port and the RTT port work when several cards are connected, but when compiling and trying to start the debugger, only one card can be connected at the same time or I will get the error message:

J-Link GDB Server failed: 
Could not connect to J-Link. Please check if plugged into USB port or Ethernet switch.

For more details, see the JLinkGDBServerCL.exe console.

Any help would be appreciated.

regards, Elm

Parents Reply Children
  • Hi, Vidar,

    [Vidar]: Do you have several GDB server instances running in the background, ...

    Ahem, ... I do not really know. I press the "Debug" button on Eclipse's top menu and choose one of the targets. When the Makefile has compiled and linked the program, I get this error message. I believe I only have one GDB server instance running, but I have not investigated what happens behind the scenes.

    [Vidar]: and are you getting the Emulator selection dialog when starting the debug session?

    I see no selection dialog.

    regards, Elm

Related