3.7.1
Usage
J-Link SWO Viewer is available via the start menu.
It asks for a device name or CPU clock speed at startup to be able to calculate the
correct SWO speed or to connect to a running J-Link GDB Server.
When running in normal mode J-Link SWO Viewer automatically performs the neces-
sary initialization to enable SWO output on the target, in GDB Server mode the ini-
tialization has to be done by the debugger.
3.7.2
List of available command line options
J-Link SWO Viewer can also be controlled from the command line if used in a auto-
mated test environment etc.
When passing all necessary information to the utility via command line, the configu-
ration dialog at startup is suppressed. Minimum information needed by J-Link SWO
Viewer is the device name (to enable CPU frequency auto detection) or the CPU clock
speed.
The table below lists the commands accepted by the J-Link SWO Viewer.
Command
cpufreq
device
itmmask
itmport
outputfile
settingsfile
swofreq
Table 3.12: Available command line options
3.7.2.1 cpufreq
Defines the speed in Hz the CPU is running at. If the CPU is for example running at
96 MHz, the command line should look as below.
Syntax
-cpufreq <CPUFreq>
Example
-cpufreq 96000000
3.7.2.2 device
Select the target device to enable the CPU frequency auto detection of the J-Link
DLL. To select a ST STM32F207IG as target device, the command line should look as
below.
J-Link / J-Trace (UM08001)
Select the CPU frequency.
Select the target device.
Selects a set of itm stimulus ports which should be used
to listen to.
Selects a itm stimulus port which should be used to listen
to.
Print the output of SWO Viewer to the selected file.
Specify a J-Link settings file.
Select the CPU frequency.
© 2004-2013 SEGGER Microcontroller GmbH & Co. KG
Description
103
Need help?
Do you have a question about the J-Link and is the answer not in the manual?