You copied the Doc URL to your clipboard.

13.8.45. 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 the register summary in Table 13.3.

Figure 13.47 shows the TRCACATRn bit assignments.

Figure 13.47. TRCACATRn bit assignments

Figure 13.47. TRCACATRn bit assignments

Table 13.48 shows the TRCACATRn bit assignments.

Table 13.48. TRCACATRn bit assignments
BitsNameFunction
[63:16]-

Reserved, res0.

[15:12]EXLEVEL_NS

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

0

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

1

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

Note

The exception levels are:

Bit[12]

Exception level 0.

Bit[13]

Exception level 1.

Bit[14]

Exception level 2.

Bit[15]

Always res0.

[11:8]EXLEVEL_S

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

0

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

1

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

Note

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.

[3:2]Context type

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

0b00

The trace unit does not perform a Context ID comparison.

0b01

The 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.

0b10

The 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.

0b11

The 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.

[1:0]Type

The type of comparison:

0b00

Instruction address, res0.


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

Was this page helpful? Yes No