J-Link RTT Viewer can be configured via command line parameters. NOTE: Data Logging is only available in stand-alone mode. The data log file contains header and footer and the binary data as received from the application.ĭata Logging can be started via Logging -> Start Data Logging. Terminal Logging can be started via Logging -> Start Terminal Logging.Ĭhannel 1 logging can for example be used to sent instrumented event tracing data. The format is the same as used in the All Terminals tab. The output of Channel 0 and Channel 1 can be logged into a text file. Until all data could be sent to the target via Input -> Sending. In stand-alone mode J-Link RTT Viewer can retry to send input, in case the target input buffer is full, J-Link RTT Viewer can be configured to directly send each character while typing or buffer it until Enter is pressed (Menu Input -> Sending.). Input can be entered in the text box below the Terminal Tabs. J-Link RTT Viewer supports sending user input to RTT Down Channel 0 which can be read by the target application with SEGGER_RTT_GetKey() and SEGGER_RTT_Read(). J-Link RTT Viewer displays the Terminals in different tabs. The target application can switch between terminals with SEGGER_RTT_SetTerminal() and SEGGER_RTT_TerminalOut(). J-Link RTT Viewer allows displaying the output of Channel 0 in different "virtual" Terminals. The TELNET-port can be determined via the J-Link - Web control panel of the J-Link DLL used by the specific process. When running multiple J-Link processes, it is possible to connect to a specific session by selecting the related TELNET port: The attach mode is especially useful when using a third party debugger or IDE working with a J-Link (e.g. In attach mode J-Link RTT Viewer does usually not require any additional settings, however RTT Control Block Address or Search Ranges can still be selected if required.įor attach mode a connection to J-Link has to be opened and configured by another application like a debugger or simply J-Link Commander. In such a case, the address, or RAM range has to be specified by the user.īy selecting Connection to J-Link: > Existing Session RTT Viewer is started in attach mode. Please note that the RTT Control Block cannot be found automatically, if it is not placed in the RAM are specified by the J-Link DLL.The RTT Control Block can be searched for fully automatically, it can be set to a fixed address or it can be searched for in one or more specific memory ranges.Select the target interface and interface speed.This allows J-Link to search in the known RAM of the target. Select the target device to connect to.For TCP/IP the IP or hostname of the J-Link has to be entered.For USB a specific J-Link serial number can optionally be entered.Select USB or TCP/IP as the connection to J-Link.In stand-alone mode J-Link RTT Viewer needs to know some settings of J-Link and target device: In attach mode, connecting to an existing J-Link connection of a debugger.Stand-alone, opening an own connection to J-Link and target.J-Link RTT Viewer can be used in two modes: J-Link RTT Viewer Config dialog Connection Settings The J-Link RTT Viewer Configuration dialog is used to set all necessary device specifics to successfully connect and read/send RTT data from/to the target device. The connection settings and all in app configuration will be saved for the next start of J-Link RTT Viewer. Unless the command line parameter -autoconnect is set, the Configuration Dialog will pop up.Ĭonfigure the Connection Settings as described below and click OK. Start J-Link RTT Viewer by opening the executable (JLinkRTTViewer.exe/JLinkRTTViewerExe) from the installation folder of the J-Link Software or the start menu. Make sure J-Link and target device are connected and powered up. 2 J-Link RTT Viewer Configuration dialog.
0 Comments
Leave a Reply. |