The documentation for the JLinkGDBServer
command line options is incomplete. Getting multiple debug sessions running using JLinkGDBServer
is a trial/error/google and repeat process. Here are bare-bones instructions for getting multiple JLinkGDBServer
sessions over USB running on an OSX host. An ethernet configuration will differ. These instructions should work for Linux and Windows as well but have not been tested in those environments.
The serial number is printed whenever the JLinkGDBServer
program is started and it attaches to a SEGGER JLink debug interface (either a USB connected pod or on-boad SWO interface). Attach only one of the units for debugging and run the JLinkGDBServer
program. The serial number of the JLink debug interface is a 9 digit number prefixed with the text S/N:
.
The Serial Number may also be printed on the debug