EasyManua.ls Logo

Segger J-Link - Page 215

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...
J-Link / J-Trace (UM08001) © 2004-2017 SEGGER Microcontroller GmbH & Co. KG
215
JTAG_ResetPin
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;
WO
JTAG_TRSTPin
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;
WO
JTAG_TCKPin
Pulls TCK pin LOW / HIGH. Value assigned to
reset pin reflects the state. 0 = LOW, 1 = HIGH.
Example
JTAG_TCKPin = 0;
R/W
JTAG_TDIPin
Pulls TDI pin LOW / HIGH. Value assigned to
reset pin reflects the state. 0 = LOW, 1 = HIGH.
Example
JTAG_TDIPin = 0;
R/W
JTAG_TMSPin
Pulls TMS pin LOW / HIGH. Value assigned to
reset pin reflects the state. 0 = LOW, 1 = HIGH.
Example
JTAG_TMSPin = 0;
R/W
JLINK_TRACE_Portwidth
Sets or reads Trace Portwidth. Possible values:
1,2, 4. Default value is 4.
Example
JLINK_TRACE_Portwidth = 4;
R/W
EMU_ETB_IsPresent
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;
}
WO
EMU_ETB_UseETB
Uses ETB instead of RAWTRACE capability of the
emulator. Setting this variable in another func-
tion as InitEmu() does not have any effect.
Example
EMU_ETB_UseETB = 0;
RO
EMU_ETM_IsPresent
Selects whether an ETM is present on the target
or not. Setting this variable in another function
as InitEmu() does not have any effect.
Example
EMU_ETM_IsPresent= 0;
R/W
EMU_ETM_UseETM
Uses ETM as trace source. Setting this variable in
another function as InitEmu() does not have any
effect.
Example
EMU_ETM_UseETM = 1;
WO
Variable Description R/W
Table 5.11: Global DLL variables

Table of Contents

Other manuals for Segger J-Link

Related product manuals