234
Syntax
SetCFIFlash <StartAddressOfArea>-<EndAddressOfArea>
Example
SetCFIFlash 0x10000000-0x100FFFFF
5.12.1.41 SetCheckModeAfterRead
This command is used to enable or disable the verification of the CPSR (current pro-
cessor status register) after each read operation. By default this check is enabled.
However this can cause problems with some CPUs (e.g. if invalid CPSR values are
returned). Please note that if this check is turned off (SetCheckModeAfterRead = 0),
the success of read operations cannot be verified anymore and possible data aborts
are not recognized.
Typical applications
This verification of the CPSR can cause problems with some CPUs (e.g. if invalid CPSR
values are returned). Note that if this check is turned off (SetCheckModeAfterRead =
0), the success of read operations cannot be verified anymore and possible data
aborts are not recognized.
Syntax
SetCheckModeAfterRead = 0 | 1
Example
SetCheckModeAfterRead = 0
5.12.1.42SetCompareMode
This command is used to configure the compare mode.
Syntax
SetCompareMode = <Mode>
<Mode>
0
1
2
3
Example
SetCompareMode = 1
5.12.1.43SetCPUConnectIDCODE
Used to specify an IDCODE that is used by J-Link to authenticate itself when connect-
ing to a specific device. Some devices allow the user to lock out a debugger by
default, until a specific unlock code is provided that allows further debugging. This
function allows to automate this process, if J-Link is used in a production environ-
ment.
The IDCODE stream is expected as a hex-encoded byte stream. If the CPU e.g. works
on a word-basis for the IDCODE, this stream is interpreted as a little endian format-
ted stream where the J-Link library then loads the words from and passes them to
the device during connect.
Syntax
SetCPUConnectIDCODE = <IDCODE_Stream>
J-Link / J-Trace (UM08001)
CHAPTER 5
Skip
Using fastest method (default)
Using CRC
Using readback
// Select using fastest method
Working with J-Link and J-Trace
Description
© 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