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
  • Hi,

    I found an answer to that problem myself, from studying SEGGERs documentation and comparing to the Debug Configration screen.

    You can overcome this by problem adding the USB serial number of the device to the Debug Configuration screen. (Look at the red "1".)

    image description

    I guess there is a way to find out the USB serial number of the device in a better way than mine: I started the JLink RTT Viewer with two devices connected and got the following popp where i was asked to choose between devices:

    image description

    regards, Elm

  • Another question: If I would like to debug several cards in parallel, do I need to change the port numbers (red numbers 2 to 4), to be unique?

    regards, Elm

Reply Children
No Data
Related