EasyManua.ls Logo

Segger J-Link - Logging Data

Segger J-Link
480 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
J-Link / J-Trace (UM08001) © 2004-2017 SEGGER Microcontroller GmbH & Co. KG
137
3.7.6 Logging Data
Additionally to displaying output of Channel 0, RTT Viewer can log data which is sent
on RTT Channel 1 into a file. This can for example be used to sent instrumented
event tracing data. The data log file contains header and footer and the binary data
as received from the application.
Data Logging can be started via Logging -> Start Data Logging...
Note: Data Logging is only available in stand-alone mode.
3.7.7 Command line options
J-Link RTT Viewer can be configured via command line parameters. In the following,
the command line options which are available for J-Link RTT Viewer are explained. All
command line options are case insensitive. Short and long command names have the
same syntax.
3.7.7.1 --device
Selects the device J-Link RTT Viewer shall connect to.
Syntax
--device <DeviceName>
Example
JLinkRTTViewer.exe --device STM32F103ZE
3.7.7.2 --connection
Sets the connection type. The connection to the J-Link can either be made directly
over USB, IP or using an existing running session (e.g. the IDE’s debug session). In
case of using an existing session, no further configuration options are required.
Syntax
--connection <usb|ip|sess>
Example
JLinkRTTViewer.exe --connection ip
3.7.7.3 --interface
Sets the interface J-Link shall use to connect to the target. As interface types FINE,
JTAG and SWD are supported.
Command line option Explanation
-d, --device Select the connected target device.
-ct, --connection Sets the connection type
-if, --interface Sets the interface type
-ip, --host The IP address of the J-Link
-s, --speed Interface speed in kHz
-sn, --serialnumber Select the J-Link with a specific S/N
-ra, --rttaddr Sets the address of the RTT control block
-rr, --rttrange Specify RTT search range
-a, --autoconnect Automatically connect to target, suppress settings dialog
Table 3.14: Command line options

Table of Contents

Other manuals for Segger J-Link

Related product manuals