3.11 Processor specific tools
The J-Link software and documentation package includes some tools which support
processor specific functionalities, like unlocking a device.
3.11.1 J-Link STR91x Commander (Command line tool)
J-Link STR91x Commander (JLinkSTR91x.exe) is a tool that can be used to configure
STR91x cores. It permits some STR9 specific commands like:
•
Set the configuration register to boot from bank 0 or 1
•
Erase flash sectors
•
Read and write the OTP sector of the flash
•
Write-protect single flash sectors by setting the sector protection bits
•
Prevent flash from communicate via JTAG by setting the security bit
All of the actions performed by the commands, excluding writing the OTP sector and
erasing the flash, can be undone. This tool can be used to erase the flash of the con-
troller even if a program is in flash which causes the CPU core to stall.
When starting the STR91x commander, a command sequence will be performed
which brings MCU into Turbo Mode.
"While enabling the Turbo Mode, a dedicated test mode signal is set and controls the
GPIOs in output. The IOs are maintained in this state until a next JTAG instruction is
send." (ST Microelectronics)
Enabling Turbo Mode is necessary to guarantee proper function of all commands in
the STR91x Commander.
3.11.1.1 Command line options
J-Link STR91x Commander can be started with different command line options. In
the following, the command line options which are available for J-Link STR91x Com-
mander are explained.
-CommandFile
Selects a command file and starts J-Link STR91x Commander in batch mode. The
batch mode of J-Link Commander is similar to the execution of a batch file. The com-
mand file is parsed line by line and one command is executed at a time.
J-Link / J-Trace (UM08001)
© 2004-2013 SEGGER Microcontroller GmbH & Co. KG
111
Need help?
Do you have a question about the J-Link and is the answer not in the manual?
Questions and answers