EasyManua.ls Logo

Segger J-Link - Page 216

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...
216 CHAPTER 5 Working with J-Link and J-Trace
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
EMU_JTAG_
DisableHWTransmissions
Disables use of hardware units for JTAG trans-
missions since this can cause problems on some
hardware designs.
Example
EMU_JTAG_DisableHWTransmissions = 1;
WO
CORESIGHT_CoreBaseAddr
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;
R/W
CORESIGHT_
IndexAHBAPToUse
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;
WO
CORESIGHT_
IndexAPBAPToUse
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;
WO
Variable Description R/W
Table 5.11: Global DLL variables

Table of Contents

Other manuals for Segger J-Link

Related product manuals