Difference between revisions of "J-Link RTT Client"

From SEGGER Wiki
Jump to: navigation, search
(Redirected page to RTT#RTT Client)
(Tag: New redirect)
 
(Removed redirect to RTT#RTT Client)
(Tag: Removed redirect)
 
Line 1: Line 1:
  +
The J-Link RTT Client is part of the [[J-Link Software and Documentation Pack | J-Link Software Pack]] for Windows, Linux and macOS and can be used for simple RTT use cases.
#REDIRECT [[RTT#RTT_Client]]
 
  +
  +
It acts as a TELNET client which connects to the [[RTT#TELNET channel of J-Link software | RTT TELNET channel]], but automatically tries to reconnect to a J-Link connection when a debug session is closed.<br>
  +
  +
__TOC__
  +
  +
== Restricitons ==
  +
* The J-Link RTT Client does not open a debug connection to the device via J-Link. As an active debug connection is required for RTT to work, the RTT Client can '''only be used in combination''' with a J-Link tool that establishes an active debug connection (e.g. [[J-Link Commander]] or [[J-Link GDB Server]]).
  +
* J-Link RTT Client only supports communication via RTT up & down channel 0
  +
  +
== Command line options ==
  +
{| class="wikitable"
  +
! Command !! Explanation
  +
|-
  +
| -? || Shows commandline options
  +
|-
  +
| -LocalEcho || 1 = Enables - / 0 = Disables local echo
  +
|-
  +
| -rtttelnetport <Port> || Sets the RTT telnet port to <Port>
  +
|}

Latest revision as of 15:22, 28 November 2023

The J-Link RTT Client is part of the J-Link Software Pack for Windows, Linux and macOS and can be used for simple RTT use cases.

It acts as a TELNET client which connects to the RTT TELNET channel, but automatically tries to reconnect to a J-Link connection when a debug session is closed.

Restricitons

  • The J-Link RTT Client does not open a debug connection to the device via J-Link. As an active debug connection is required for RTT to work, the RTT Client can only be used in combination with a J-Link tool that establishes an active debug connection (e.g. J-Link Commander or J-Link GDB Server).
  • J-Link RTT Client only supports communication via RTT up & down channel 0

Command line options

Command Explanation
-? Shows commandline options
-LocalEcho 1 = Enables - / 0 = Disables local echo
-rtttelnetport <Port> Sets the RTT telnet port to <Port>