J-Link RTT Logger
Jump to navigation
Jump to search
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 <SerialNo / Nickname> | Connects to J-Link with a serial number or nickname via USB (0 == autodetect / device selection dialog). |
| -IP <IPAddr / Hostname / Nickname / SerialNo> | Connects to J-Link with an IP address, hostname, nickname or serial number 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> |