64
CHAPTER 3
J-Link and J-Trace related software
J-Link / J-Trace (UM08001)
©
2004-2012 SEGGER Microcontroller GmbH & Co. KG
3.2
J-Link software and documentation package in
detail
The J-Link / J-Trace software documentation package is supplied together with J-Link
/ J-Trace and may also be downloaded from
www.segger.com
.
3.2.1
J-Link Commander (Command line tool)
J-Link Commander (
JLink.exe
) is a tool that can be used for verifying proper instal-
lation of the USB driver and to verify the connection to the ARM chip, as well as for
simple analysis of the target system. It permits some simple commands, such as
memory dump, halt, step, go and ID-check, as well as some more in-depths analysis
of the state of the ARM core and the ICE breaker module.
3.2.1.1
Using command script files
J-Link commander can also be used in script mode which allows the user to use J-
Link commander for batch processing and without user interaction. When using J-
Link commander in script mode, the path to a script file is passed to it. The syntax in
the script file is the same as when using regular commands in J-Link commander
(one line per command).
Example
JLink.exe C:\script.jlink
Contents of script.jlink:
r
h
exec device = STM32F103ZE
loadbin C:\firmware.bin,0x08000000