C10.46 Address Comparator Access Type Registers 0-7

The TRCACATRn characteristics are:

Purpose
Controls the access for the corresponding address comparators.
Usage constraints
  • Accepts writes only when the trace unit is disabled.
  • If software uses two single address comparators as an address range comparator then it must program the corresponding TRCACATR registers with identical values in the following fields:

    • TYPE

    • CONTEXTTYPE
    • EXLEVEL_S
    • EXLEVEL_NS
Configurations
Available in all configurations.
Attributes
See C10.1 ETM register summary.
Figure C10-45 TRCACATRn bit assignments
To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


[63:16]

Reserved, res0.

EXLEVEL_NS, [15:12]

Each bit controls whether a comparison can occur in Non-secure state for the corresponding exception level. The possible values are:

0The trace unit can perform a comparison, in Non-secure state, for exception level n.
1The trace unit does not perform a comparison, in Non-secure state, for exception level n.

The exception levels are:

Bit[12]Exception level 0.
Bit[13]Exception level 1.
Bit[14]Exception level 2.
Bit[15]Always res0.
EXLEVEL_S, [11:8]

Each bit controls whether a comparison can occur in Secure state for the corresponding exception level. The possible values are:

0The trace unit can perform a comparison, in Secure state, for exception level n.
1The trace unit does not perform a comparison, in Secure state, for exception level n.

The exception levels are:

Bit[8]Exception level 0.
Bit[9]Exception level 1.
Bit[10]Always res0.
Bit[11]Exception level 3.
[7:4]

Reserved, res0.

Context type, [3:2]

Controls whether the trace unit performs a Context ID comparison, a VMID comparison, or both comparisons:

0b00The trace unit does not perform a Context ID comparison.
0b01The trace unit performs a Context ID comparison using the Context ID comparator that the CONTEXT field specifies, and signals a match if both the Context ID comparator matches and the address comparator match.
0b10The trace unit performs a VMID comparison using the VMID comparator that the CONTEXT field specifies, and signals a match if both the VMID comparator and the address comparator match.
0b11The trace unit performs a Context ID comparison and a VMID comparison using the comparators that the CONTEXT field specifies, and signals a match if the Context ID comparator matches, the VMID comparator matches, and the address comparator matches.
Type, [1:0]

The type of comparison:

0b00Instruction address, res0.

The TRCACATRn can be accessed through the external debug interface, offset 0x480-0x4B8.

Non-ConfidentialPDF file icon PDF versionARM 100241_0001_00_en
Copyright © 2016, 2017 ARM Limited or its affiliates. All rights reserved.