Difference between revisions of "Remote Debugging with Ozone"

From SEGGER Wiki
Jump to: navigation, search
(Remote Debugging Over The Internet)
(Remote Debugging Over The Internet)
Line 22: Line 22:
 
expects a tunnel server credential of the form:
 
expects a tunnel server credential of the form:
   
<code><IP> tunnel:<ProbeID>[:<Password>[:<Server>]]</code>
+
<code><IP> tunnel:<Probe>[:<Password>[:<Server>]]</code>
   
 
where:
 
where:
Line 33: Line 33:
 
| IP address of the remote server
 
| IP address of the remote server
 
|-
 
|-
| ProbeID
+
| Probe
 
| Either the serial number or nickname of the J-Link / J-Trace to connect to
 
| Either the serial number or nickname of the J-Link / J-Trace to connect to
 
|-
 
|-

Revision as of 22:43, 15 March 2020

Overview

Ozone can connect to a remote J-Link/J-Trace debug probe in order to debug on a remote target. When debugging remotely, the J-Link/J-Trace debug probe is connected to a remote PC via the Ethernet host interface.

Remote Debugging Over LAN

When the remote PC is on the same LAN as the PC hosting Ozone (host PC), it suffices to start a J-Link Remote Server on the remote PC and supply the IP address of the remote server within Ozone's Host Interface Dialog. The Host Interface Dialog is accessible via Ozone menu path Tools->J-Link Settings->Host Interface. J-Link Remote Server V6.53b and later also supports encrypted connections.

Remote Debugging Over The Internet

When the remote PC is not on the same LAN as the host PC, an intermediary tunnel server at SEGGER can be used to be mediate a connection for remote debugging. Both Ozone and the J-Link Remote Server then connect to this tunnel server instead of connecting to each other directly.

J-Link Remote Server in tunnel mode.

For remote debugging via the J-Link Tunnel Server, the IP address field of Ozone's Host Interface Dialog expects a tunnel server credential of the form:

<IP> tunnel:<Probe>[:<Password>[:<Server>]]

where:

Argument Description
IP IP address of the remote server
Probe Either the serial number or nickname of the J-Link / J-Trace to connect to
Password Password that was used when setting up the Remote Server
Server Address or hostname of the tunnel server. This is only needed if a tunnel server other than the SEGGER default tunnel server (jlink.segger.com, port 19020) is used.

The short credential variant IP tunnel:<SN/Name> can be used when the connection is to be established to the default J-Link Tunnel Server and is not passwort-protected. When debugging via the tunnel server, make sure that port 19020 is not blocked by a firewall.

References