130
Variable
JTAG_ResetPin
JTAG_TRSTPin
EMU_ETB_IsPresent
Table 5.10: Global DLL variables
5.10.4 Global DLL constants
Currently there are only global DLL constants to set the global DLL variable CPU. If
necessary, more constants will be implemented in the future.
5.10.4.1 Constants for global variable: CPU
The following constants can be used to set the global DLL variable CPU:
•
ARM7
•
ARM7TDMI
•
ARM7TDMIR3
•
ARM7TDMIR4
•
ARM7TDMIS
•
ARM7TDMISR3
•
ARM7TDMISR4
•
ARM9
•
ARM9TDMIS
•
ARM920T
•
ARM922T
•
ARM926EJS
•
ARM946EJS
•
ARM966ES
•
ARM968ES
•
ARM11
•
ARM1136
•
ARM1136J
•
ARM1136JS
•
ARM1136JF
•
ARM1136JFS
•
ARM1156
•
ARM1176
•
ARM1176J
•
ARM1176JS
•
ARM1176IF
J-Link / J-Trace (UM08001)
CHAPTER 5
Description
Pulls reset pin low / Releases nRST pin. Used
to issue a reset of the CPU. Value assigned to
reset pin reflects the state. 0 = Low, 1 = high.
Example
JTAG_ResetPin = 0;
SYS_Sleep(5); // Give pin some time to get low
JTAG_ResetPin = 1;
Pulls reset pin low / Releases nTRST pin. Used
to issue a reset of the debug logic of the CPU.
Value assigned to reset pin reflects the state.
0 = Low, 1 = high.
Example
JTAG_TRSTPin = 0;
SYS_Sleep(5); // Give pin some time to get low
JTAG_TRSTPin = 1;
If the connected device has an ETB and you
want to use it with J-link, this variable should
be set to 1. Setting this variable in another
function as InitEmu() does not have any
effect.
Example
void InitEmu(void) {
EMU_ETB_IsPresent = 1;
}
© 2004-2011 SEGGER Microcontroller GmbH & Co. KG
Working with J-Link and J-Trace
R/W
Write-only
Write-only
Write-only
Need help?
Do you have a question about the J-Link and is the answer not in the manual?
Questions and answers