Difference between revisions of "J-Link RTT Logger"

From SEGGER Wiki
Jump to: navigation, search
(Redirected page to RTT#RTT Logger)
(Tag: New redirect)
 
(Removed redirect to RTT#RTT Logger)
(Tag: Removed redirect)
 
Line 1: Line 1:
  +
The J-Link RTT Logger is part of the [[J-Link Software and Documentation Pack | J-Link Software Pack]] for Windows, Linux and macOS.
#REDIRECT [[RTT#RTT_Logger]]
 
  +
It can be used to read data from any RTT Up-Channels and log them to a file.
  +
The source of the J-Link RTT Logger is part of the [https://www.segger.com/products/debug-probes/j-link/technology/j-link-sdk/ J-Link SDK] and
  +
can be used as a starting point to integrate RTT in other PC applications, like debuggers.
  +
  +
J-Link RTT Logger opens a dedicated connection to J-Link and can be used stand-alone, without a preciously established debug connection.
  +
  +
The RTT Logger can be used to dedicate a channel for e.g. performance analysis data to the host.
  +
  +
== Command line options ==
  +
All command line options expect a value (except for "-?").
  +
{| class="wikitable"
  +
! Command !! Explanation
  +
|-
  +
| -? || Shows commandline options
  +
|-
  +
| -Device <DeviceName> || Sets target device to <DeviceName>
  +
|-
  +
| -if <Interface> || Sets target interface to <Interface>
  +
|-
  +
| -Speed <SpeedInKHZ> || Sets speed to <SpeedInKHZ>
  +
|-
  +
| -USB <SN> || Connects to J-Link with serial number <SN> via USB (0 == autodetect / device selection dialog).
  +
|-
  +
| -IP <IPAddr> || Connects to J-Link with IP <IPAddr> via TCP/IP.
  +
|-
  +
| -RTTAddress <RTTAddress> || Sets RTT address to <RTTAddress>
  +
|-
  +
| -RTTSearchRanges "<Ranges>" || Sets RTT search ranges to <Ranges>. Please note that quotations are required.
  +
|-
  +
| -RTTChannel <RTTChannel> || Sets RTT channel to <RTTChannel>
  +
|}

Latest revision as of 15:29, 28 November 2023

The J-Link RTT Logger is part of the J-Link Software Pack for Windows, Linux and macOS. It can be used to read data from any RTT Up-Channels and log them to a file. The source of the J-Link RTT Logger is part of the J-Link SDK and can be used as a starting point to integrate RTT in other PC applications, like debuggers.

J-Link RTT Logger opens a dedicated connection to J-Link and can be used stand-alone, without a preciously established debug connection.

The RTT Logger can be used to dedicate a channel for e.g. performance analysis data to the host.

Command line options

All command line options expect a value (except for "-?").

Command Explanation
-? Shows commandline options
-Device <DeviceName> Sets target device to <DeviceName>
-if <Interface> Sets target interface to <Interface>
-Speed <SpeedInKHZ> Sets speed to <SpeedInKHZ>
-USB <SN> Connects to J-Link with serial number <SN> via USB (0 == autodetect / device selection dialog).
-IP <IPAddr> Connects to J-Link with IP <IPAddr> via TCP/IP.
-RTTAddress <RTTAddress> Sets RTT address to <RTTAddress>
-RTTSearchRanges "<Ranges>" Sets RTT search ranges to <Ranges>. Please note that quotations are required.
-RTTChannel <RTTChannel> Sets RTT channel to <RTTChannel>