152
Syntax
-CommanderScript <CommandFilePath>
Example
See Using command files on page 91
-DRPre, -DRPost, -IRPre and -IRPost (Scan-Chain Configuration )
STR91x allows to configure a specific scan-chain via command-line. To use this fea-
ture four command line options have to be specified in order to allow a proper con-
nection to the proper device. In case of passing an incomplete configuration, the
utility tries to auto-detect.
Syntax
-DRPre <DRPre>
-DRPost <DRPost>
-IRPre <IRPre>
-IRPost <IRPost>
Example
JLink.exe -DRPre 1 -DRPost 4 -IRPre
-IP
Selects IP as host interface to connect to J-Link. Default host interface is USB.
Syntax
-IP <IPAddr>
Example
JLinkSTR91x.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 STR91x Commander
shall run and each connects to another J-Link.
Syntax
-SelectEmuBySN <SerialNo>
Example
JLinkSTR91x.exe -SelectEmuBySN 580011111
3.12.2 J-Link STM32 Unlock (Command line tool)
J-Link STM32 Unlock (JLinkSTM32.exe) is a free command line tool which can be
used to disable the hardware watchdog of STM32 devices which can be activated by
programming the option bytes. Moreover the J-Link STM32 Commander unsecures a
read-protected STM32 device by re-programming the option bytes.
J-Link / J-Trace (UM08001)
CHAPTER 3
J-Link software and documentation package
16
-IRPost 20
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
Need help?
Do you have a question about the J-Link and is the answer not in the manual?
Questions and answers