To communicate via Real Time Transfer (RTT), connect your development kit
via Universal Serial Bus (USB) and use SEGGER's J-Link RTT to establish a connection.
Note: SEGGER Embedded Studio (SES) natively supports
RTT. If enabled, the monitor shows up when you start debugging.
Alternatively, you can use SEGGER's J-Link RTT Viewer as described below.
SEGGER's J-Link RTT
is part of the J-Link Software and Documentation Pack, which is available from
SEGGER downloads.
To use J-Link RTT on Linux, complete the following steps:
-
Enter JLinkExe -if SWD to set up the connection:
[email protected]:~$ JLinkExe -if SWD
SEGGER J-Link Commander V5.10u (Compiled Mar 17 2016 19:06:22)
DLL version V5.10u, compiled Mar 17 2016 19:06:19
Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar 15 2016 18:03:17
Hardware version: V1.00
VTref = 3.300V
Type "connect" to establish a target connection, '?' for help
J-Link>
-
Enter connect at the prompt to establish the
connection.
JLinkExe will ask for additional information. You can accept the default
values.
-
From another terminal, start JLinkRTTClient.
RTT output is visible in the terminal that runs
JLinkRTTClient.