Segger J-Link User Manual page 216

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

Advertisement

216
Variable
EMU_JTAG_
DisableHWTransmissions
CORESIGHT_CoreBaseAddr
CORESIGHT_
IndexAHBAPToUse
CORESIGHT_
IndexAPBAPToUse
Table 5.11: Global DLL variables
J-Link / J-Trace (UM08001)
CHAPTER 5
Description
Disables use of hardware units for JTAG trans-
missions since this can cause problems on some
hardware designs.
Example
EMU_JTAG_DisableHWTransmissions = 1;
Sets base address of core debug component for
CoreSight compliant devices. Setting this vari-
able disables the J-Link auto-detection of the
core debug component base address. Used on
devices where auto-detection of the core debug
component base address is not possible due to
incorrect CoreSight information.
Example
CORESIGHT_CoreBaseAddr = 0x80030000;
Pre-selects an AP as an AHB-AP that J-Link uses
for debug communication (Cortex-M). Setting
this variable is necessary for example when
debugging multi-core devices where multiple
AHB-APs are present (one for each device). This
function can only be used if a AP-layout has been
configured via JLINK_CORESIGHT_AddAP().
Example
JLINK_CORESIGHT_AddAP(0, CORESIGHT_AHB_AP);
JLINK_CORESIGHT_AddAP(1, CORESIGHT_AHB_AP);
JLINK_CORESIGHT_AddAP(2, CORESIGHT_APB_AP);
//
// Use second AP as AHB-AP
// for target communication
//
CORESIGHT_IndexAHBAPToUse = 1;
Pre-selects an AP as an APB-AP that J-Link uses
for debug communication (Cortex-A/R). Setting
this variable is necessary for example when
debugging multi-core devices where multiple
APB-APs are present (one for each device). This
function can only be used if an AP-layout has
been configured via JLINK_CORESIGHT_AddAP().
Example
JLINK_CORESIGHT_AddAP(0, CORESIGHT_AHB_AP);
JLINK_CORESIGHT_AddAP(1, CORESIGHT_APB_AP);
JLINK_CORESIGHT_AddAP(2, CORESIGHT_APB_AP);
//
// Use third AP as APB-AP
// for target communication
//
CORESIGHT_IndexAPBAPToUse = 2;
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
Working with J-Link and J-Trace
R/W
WO
R/W
WO
WO

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

J-trace

Table of Contents

Save PDF