The following procedure shows how to prepare a device for remote connections and connect to it within LAN. The device is connected to the remote server using USB.
Complete the following steps:
- On the machine where the J-Link debugger is physically connected, open SEGGER J-Link Remote Server.
Use the latest version tested and recommended by Nordic Semiconductor, as per prerequisites. -
Configure the J-Link remote server to match your network configuration.
For example, the following configuration example uses USB as the J-Link connection and provides the serial number of the remote device; the server is configured to use LAN and uses the default listening port. -
Copy the listening port number. This is your
PORT. -
Click OK.
The remote server starts and waits for client connection. -
Copy the client connection IP string. This is your
HOST.
You can now use the --remote-jlink option with the HOST and PORT values configured for the connection.
In the case above, this is 192.168.1.55:19020.