EasyManua.ls Logo

Segger J-Link - J-Link STM32 Unlock (Command Line Tool)

Segger J-Link
480 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
152 CHAPTER 3 J-Link software and documentation package
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
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 16 -IRPost 20
-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.

Table of Contents

Other manuals for Segger J-Link

Related product manuals