Using Command Files - Segger J-Link User Manual

Hide thumbs Also See for J-Link:
Table of Contents

Advertisement

64
Syntax
-If <TargetInterface>
Example
JLink.exe -If SWD
Additional information
Currently, the following target interfaces are supported:
JTAG
SWD
-IP
Selects IP as host interface to connect to J-Link. Default host interface is USB.
Syntax
-IP <IPAddr>
Example
JLink.exe -IP 192.168.1.17
Additional information
To select from a list of all available emulators on Ethernet, please use * as <IPAddr>.
-SelectEmuBySN
Connect to a J-Link with a specific serial number via USB. Useful if multiple J-Links
are connected to the same PC and multiple instances of J-Link Commander shall run
and each connects to another J-Link.
Syntax
-SelectEmuBySN <SerialNo>
Example
JLink.exe -SelectEmuBySN 580011111
-Speed
Starts J-Link Commander with a given initial speed. Available parameters are "adap-
tive", "auto" or a freely selectable integer value in kHz. It is recommended to use
either a fixed speed or, if it is available on the target, adaptive speeds. Default inter-
face speed is 100kHz.
Syntax
-Speed <Speed_kHz>
Example
JLink.exe -Speed 4000
3.2.2

Using command files

J-Link commander can also be used in batch mode which allows the user to use J-
Link commander for batch processing and without user interaction. Please do not
confuse command file with J-Link script files (please refer to J-Link script files on
page 163 for more information about J-Link script files). When using J-Link com-
mander in batch mode, the path to a command file is passed to it. The syntax in the
command file is the same as when using regular commands in J-Link commander
(one line per command).
J-Link / J-Trace (UM08001)
CHAPTER 3
J-Link software and documentation package
© 2004-2013 SEGGER Microcontroller GmbH & Co. KG

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the J-Link and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

J-trace

Table of Contents

Save PDF