Global Dll Variables - Segger J-Link User Manual

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

Advertisement

172
Parameter
sText
sQuestion
sIdent
DefaultAnswer
Flags
Parameter Flags
Return value
JLINK_DLG_TYPE_PROT_READ
JLINK_DLG_TYPE_PROT_WRITE
Return Value
Return
value
1
User selected to unsecure the device
0
User selected to NOT unsecure the device
Note
If executed in Flasher stand-alone mode or when calling this function from a function
that implements the __probe attribute, no dialog is shown but the default answer is
used
5.12.3

Global DLL variables

The script file feature also provides some global variables which are used for DLL config-
uration. Some of these variables can only be set to some specific values, others can be
set to the whole data type with. In the following all global variables and their value ranges
are listed and described.
Note
All global variables are treated as unsigned 32-bit values and are zero-initialized.
Legend
Abbreviation
Variable is
RO:
read-only
Variable is
WO:
write-only
Variable is
R/W:
read-write
Variable
CPU
J-Link / J-Trace (UM08001)
CHAPTER 5
Text printed to the logfile or presented in a message box
Question printed in the message box after sText
Unique ID for the request. User settings like "Do not show again" are
saved per Unique ID.
Default answer for messages with timeout or non-GUI versions. Only
used if not setting is saved for the Unique ID.
Please consult the table below for valid values. Specifying a valid
JLINK_DLG_TYPE flag is mandatory.
Description
Description
Pre-selects target CPU J-Link is communicating with.
Used in InitTarget() to skip the core autodetection of
Description
Description
Read protection dialog
Write protection dialog
Description
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
J-Link script files
R/W
WO

Advertisement

Table of Contents

Troubleshooting

loading
Need help?

Need help?

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

This manual is also suitable for:

J-trace

Table of Contents

Save PDF