Archived Arm source pages for the External debug and trace register pages. Part 20 of 22. This part covers TRCIDR4 through TRCRSR.
TRCIDR4
Trace ID Register 4
Returns the tracing capabilities of the trace unit.
Configuration
External register TRCIDR4 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR4[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR4 are RES0.
Attributes
TRCIDR4 is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NUMVMIDC | NUMCIDC | NUMSSCC | NUMRSPAIR | NUMPC | RES0 | SUPPDAC | NUMDVC | NUMACPAIRS |
NUMVMIDC, bits [31:28]:
Indicates the number of Virtual Context Identifier Comparators that are available for tracing.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMVMIDC | Meaning |
|---|---|
| 0b0000..0b1000 | The number of Virtual Context Identifier Comparators in this implementation. |
All other values are reserved.
If the PE does not implement EL2 then this field is 0b0000.
The parameter NUM_TRACE_VIRTUAL_CONTEXT_IDENTIFIER_COMPARATORS is derived from this value.
Access to this field is RO.
NUMCIDC, bits [27:24]:
Indicates the number of Context Identifier Comparators that are available for tracing.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMCIDC | Meaning |
|---|---|
| 0b0000..0b1000 | The number of Context Identifier Comparators in this implementation. |
All other values are reserved.
The parameter NUM_TRACE_CONTEXT_IDENTIFIER_COMPARATORS is derived from this value.
Access to this field is RO.
NUMSSCC, bits [23:20]:
Indicates the number of Single-shot Comparator Controls that are available for tracing.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMSSCC | Meaning |
|---|---|
| 0b0000..0b1000 | The number of Single-shot Comparator Controls in this implementation. |
All other values are reserved.
The parameter NUM_TRACE_SINGLE_SHOT_COMPARATOR_CONTROLS is derived from this value.
Access to this field is RO.
NUMRSPAIR, bits [19:16]:
Indicates the number of resource selector pairs that are available for tracing.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMRSPAIR | Meaning |
|---|---|
| 0b0000 | This implementation has zero resource selector pairs. |
| 0b0001..0b1111 | The number of resource selector pairs in this implementation, minus one. |
All other values are reserved.
The parameter NUM_TRACE_RESOURCE_SELECTOR_PAIRS is derived from this value.
Access to this field is RO.
NUMPC, bits [15:12]:
Indicates the number of PE Comparator Inputs that are available for tracing.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMPC | Meaning |
|---|---|
| 0b0000..0b1000 | The number of PE Comparator Inputs in this implementation. |
All other values are reserved.
Access to this field is RO.
Bits [11:9]:
Reserved, RES0.
SUPPDAC, bit [8] when TRCIDR4.NUMACPAIRS != '0000':
Indicates whether data address comparisons are implemented. Data address comparisons are not implemented in ETE and are reserved for other trace architectures. Allocated in other trace architectures.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| SUPPDAC | Meaning |
|---|---|
| 0b0 | Data address comparisons not implemented. |
| 0b1 | Data address comparisons implemented. |
When FEAT_ETE is implemented, the only permitted value is 0.
Access to this field is RO.
Otherwise:
Reserved, RES0.
NUMDVC, bits [7:4]:
Indicates the number of data value comparators. Data value comparators are not implemented in ETE and are reserved for other trace architectures. Allocated in other trace architectures.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMDVC | Meaning |
|---|---|
| 0b0000..0b1000 | The number of data value comparators in this implementation. |
All other values are reserved.
When FEAT_ETE is implemented, the only permitted value is 0b0000.
Access to this field is RO.
NUMACPAIRS, bits [3:0]:
Indicates the number of Address Comparator pairs that are available for tracing.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMACPAIRS | Meaning |
|---|---|
| 0b0000..0b1000 | The number of Address Comparator pairs in this implementation. |
All other values are reserved.
The parameter NUM_TRACE_ADDRESS_COMPARATOR_PAIRS is derived from this value.
Access to this field is RO.
Accessing TRCIDR4
TRCIDR4 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x1F0 | TRCIDR4 |
Accessible as follows:
- When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCIDR5
Trace ID Register 5
Returns the tracing capabilities of the trace unit.
Configuration
External register TRCIDR5 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR5[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR5 are RES0.
Attributes
TRCIDR5 is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OE | NUMCNTR | NUMSEQSTATE | RES0 | LPOVERRIDE | ATBTRIG | TRACEIDSIZE | RES0 | NUMEXTINSEL | NUMEXTIN |
OE, bit [31]:
Indicates support for the ETE Trace Output Enable.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| OE | Meaning |
|---|---|
| 0b0 | ETE Trace Output Enable is not implemented. |
| 0b1 | ETE Trace Output Enable is implemented. |
When FEAT_ETEv1p3 is implemented and when any IMPLEMENTATION DEFINED trace output interface is implemented, this field is 1.
Access to this field is RO.
NUMCNTR, bits [30:28]:
Indicates the number of Counters that are available for tracing.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMCNTR | Meaning |
|---|---|
| 0b000..0b100 | The number of Counters implemented. |
All other values are reserved.
If TRCIDR4.NUMRSPAIR == 0b0000 then this field is 0b000.
The parameter NUM_TRACE_COUNTERS is derived from this value.
Access to this field is RO.
NUMSEQSTATE, bits [27:25]:
Indicates if the Sequencer is implemented and the number of Sequencer states that are implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMSEQSTATE | Meaning |
|---|---|
| 0b000 | The Sequencer is not implemented. |
| 0b100 | Four Sequencer states are implemented. |
All other values are reserved.
If TRCIDR4.NUMRSPAIR == 0b0000 then this field is 0b000.
Access to this field is RO.
Bit [24]:
Reserved, RES0.
LPOVERRIDE, bit [23]:
Indicates support for Low-power Override Mode.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| LPOVERRIDE | Meaning |
|---|---|
| 0b0 | The trace unit does not support Low-power Override Mode. |
| 0b1 | The trace unit supports Low-power Override Mode. |
Access to this field is RO.
ATBTRIG, bit [22]:
Indicates if the implementation can support ATB triggers.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| ATBTRIG | Meaning |
|---|---|
| 0b0 | The implementation does not support ATB triggers. |
| 0b1 | The implementation supports ATB triggers. |
If TRCIDR4.NUMRSPAIR == 0b0000 then this field is 0.
Access to this field is RO.
TRACEIDSIZE, bits [21:16]:
Indicates the trace ID width.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| TRACEIDSIZE | Meaning |
|---|---|
| 0b000000 | The external trace interface is not implemented. |
| 0b000111 | The implementation supports a 7-bit trace ID. |
All other values are reserved.
AMBA ATB requires a 7-bit trace ID width.
Access to this field is RO.
Bits [15:12]:
Reserved, RES0.
NUMEXTINSEL, bits [11:9]:
Indicates how many External Input Selector resources are implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| NUMEXTINSEL | Meaning |
|---|---|
| 0b000..0b100 | The number of External Input Selector resources implemented. |
All other values are reserved.
The parameter NUM_TRACE_EXTERNAL_INPUT_SELECTOR_RESOURCES is derived from this value.
Access to this field is RO.
NUMEXTIN, bits [8:0]:
Indicates how many External Inputs are implemented.
| NUMEXTIN | Meaning |
|---|---|
| 0b111111111 | Unified PMU event selection. |
All other values are reserved.
Access to this field is RO.
Accessing TRCIDR5
TRCIDR5 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x1F4 | TRCIDR5 |
Accessible as follows:
- When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCIDR6
Trace ID Register 6
Returns the tracing capabilities of the trace unit.
Configuration
External register TRCIDR6 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR6[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR6 are RES0.
Attributes
TRCIDR6 is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | EXLEVEL_RL_EL2 | EXLEVEL_RL_EL1 | EXLEVEL_RL_EL0 |
Bits [31:3]:
Reserved, RES0.
EXLEVEL_RL_EL2, bit [2]:
Indicates if Realm EL2 is implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EXLEVEL_RL_EL2 | Meaning |
|---|---|
| 0b0 | Realm EL2 is not implemented. |
| 0b1 | Realm EL2 is implemented. |
Access to this field is RO.
EXLEVEL_RL_EL1, bit [1]:
Indicates if Realm EL1 is implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EXLEVEL_RL_EL1 | Meaning |
|---|---|
| 0b0 | Realm EL1 is not implemented. |
| 0b1 | Realm EL1 is implemented. |
Access to this field is RO.
EXLEVEL_RL_EL0, bit [0]:
Indicates if Realm EL0 is implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EXLEVEL_RL_EL0 | Meaning |
|---|---|
| 0b0 | Realm EL0 is not implemented. |
| 0b1 | Realm EL0 is implemented. |
Access to this field is RO.
Accessing TRCIDR6
TRCIDR6 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x1F8 | TRCIDR6 |
Accessible as follows:
- When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCIDR7
Trace ID Register 7
Returns the tracing capabilities of the trace unit.
Configuration
External register TRCIDR7 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR7[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR7 are RES0.
Attributes
TRCIDR7 is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 |
Bits [31:0]:
Reserved, RES0.
Accessing TRCIDR7
TRCIDR7 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x1FC | TRCIDR7 |
Accessible as follows:
- When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCIDR8
Trace ID Register 8
Returns the maximum speculation depth of the instruction trace element stream.
Configuration
External register TRCIDR8 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR8[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR8 are RES0.
Attributes
TRCIDR8 is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MAXSPEC |
MAXSPEC, bits [31:0]:
Indicates the maximum speculation depth of the instruction trace element stream. This is the maximum number of P0 elements in the trace element stream that can be speculative at any time.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Accessing TRCIDR8
TRCIDR8 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x180 | TRCIDR8 |
Accessible as follows:
- When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCIDR9
Trace ID Register 9
Returns the tracing capabilities of the trace unit.
Configuration
External register TRCIDR9 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR9[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR9 are RES0.
Attributes
TRCIDR9 is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NUMP0KEY |
NUMP0KEY, bits [31:0] when TRCIDR0.TRCDATA != '00':
Indicates the number of P0 right-hand keys. Data tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Otherwise:
Reserved, RES0.
Accessing TRCIDR9
TRCIDR9 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x184 | TRCIDR9 |
Accessible as follows:
- When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCIMSPEC0
Trace IMP DEF Register 0
TRCIMSPEC0 shows the presence of any IMPLEMENTATION DEFINED features, and provides an interface to enable the features that are provided.
Configuration
External register TRCIMSPEC0 bits [31:0] are architecturally mapped to AArch64 System register TRCIMSPEC0[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIMSPEC0 are RES0.
Attributes
TRCIMSPEC0 is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | EN | SUPPORT |
Bits [31:8]:
Reserved, RES0.
EN, bits [7:4] when TRCIMSPEC0.SUPPORT != '0000':
Enable. Controls whether the IMPLEMENTATION DEFINED features are enabled.
| EN | Meaning |
|---|---|
| 0b0000 | The IMPLEMENTATION DEFINED features are not enabled. The trace unit must behave as if the IMPLEMENTATION DEFINED features are not supported. |
| 0b0001 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b0010 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b0011 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b0100 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b0101 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b0110 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b0111 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b1000 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b1001 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b1010 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b1011 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b1100 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b1101 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b1110 | The trace unit behavior is IMPLEMENTATION DEFINED. |
| 0b1111 | The trace unit behavior is IMPLEMENTATION DEFINED. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to '0000'.
Otherwise:
Reserved, RES0.
SUPPORT, bits [3:0]:
Indicates whether the implementation supports IMPLEMENTATION DEFINED features.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| SUPPORT | Meaning |
|---|---|
| 0b0000 | No IMPLEMENTATION DEFINED features are supported. |
| 0b0001 | IMPLEMENTATION DEFINED features are supported. |
| 0b0010 | IMPLEMENTATION DEFINED features are supported. |
| 0b0011 | IMPLEMENTATION DEFINED features are supported. |
| 0b0100 | IMPLEMENTATION DEFINED features are supported. |
| 0b0101 | IMPLEMENTATION DEFINED features are supported. |
| 0b0110 | IMPLEMENTATION DEFINED features are supported. |
| 0b0111 | IMPLEMENTATION DEFINED features are supported. |
| 0b1000 | IMPLEMENTATION DEFINED features are supported. |
| 0b1001 | IMPLEMENTATION DEFINED features are supported. |
| 0b1010 | IMPLEMENTATION DEFINED features are supported. |
| 0b1011 | IMPLEMENTATION DEFINED features are supported. |
| 0b1100 | IMPLEMENTATION DEFINED features are supported. |
| 0b1101 | IMPLEMENTATION DEFINED features are supported. |
| 0b1110 | IMPLEMENTATION DEFINED features are supported. |
| 0b1111 | IMPLEMENTATION DEFINED features are supported. |
Use of nonzero values requires written permission from Arm.
Access to this field is RO.
Accessing TRCIMSPEC0
TRCIMSPEC0 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x1C0 | TRCIMSPEC0 |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCIMSPEC<n>, n = 1, 7
Trace IMP DEF Register <n>
These registers might return information that is specific to an implementation, or enable features specific to an implementation to be programmed. The product Technical Reference Manual describes these registers.
Configuration
External register TRCIMSPEC<n> bits [31:0] are architecturally mapped to AArch64 System register TRCIMSPEC<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIMSPEC<n> are RES0.
Attributes
TRCIMSPEC<n> is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IMPLEMENTATION DEFINED |
IMPLEMENTATION DEFINED, bits [31:0]:
IMPLEMENTATION DEFINED.
This field reads as an IMPLEMENTATION DEFINED value and writes to this field have IMPLEMENTATION DEFINED behavior.
Accessing TRCIMSPEC<n>
TRCIMSPEC<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x1C0 + (4 * n) | TRCIMSPEC<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When an implementation does not implement TRCIMSPEC<n>, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCITEEDCR
Instrumentation Trace Extension External Debug Control Register
Controls instrumentation trace filtering.
Configuration
External register TRCITEEDCR bits [31:0] are architecturally mapped to AArch64 System register TRCITEEDCR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and FEAT_ITE is implemented. Otherwise, direct accesses to TRCITEEDCR are RES0.
Attributes
TRCITEEDCR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | RL | S | NS | E3 | E2 | E1 | E0 |
Bits [31:7]:
Reserved, RES0.
RL, bit [6] when FEAT_RME is implemented:
Instrumentation Trace in Realm state.
| RL | Meaning |
|---|---|
| 0b0 | Instrumentation trace prohibited in Realm state. |
| 0b1 | Instrumentation trace permitted in Realm state. |
This field is ignored when SelfHostedTraceEnabled() returns TRUE.
This field is used in conjunction with TRCCONFIGR.ITO and TRCITEEDCR.E<m> to control whether Instrumentation trace is permitted or prohibited in Realm state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
S, bit [5] when HaveSecureState():
Instrumentation Trace in Secure state.
| S | Meaning |
|---|---|
| 0b0 | Instrumentation trace prohibited in Secure state. |
| 0b1 | Instrumentation trace permitted in Secure state. |
This field is ignored when SelfHostedTraceEnabled() returns TRUE.
When FEAT_RME is not implemented, this field is used in conjunction with TRCCONFIGR.ITO, TRCITEEDCR.E3, and TRCITEEDCR.E<m> to control whether Instrumentation trace is permitted or prohibited in Secure state.
When FEAT_RME is implemented, this field is used in conjunction with TRCCONFIGR.ITO and TRCITEEDCR.E<m> to control whether Instrumentation trace is permitted or prohibited in Secure state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
NS, bit [4] when EL3 is implemented or NonSecureOnlyImplementation():
Instrumentation Trace in Non-secure state.
| NS | Meaning |
|---|---|
| 0b0 | Instrumentation trace prohibited in Non-secure state. |
| 0b1 | Instrumentation trace permitted in Non-secure state. |
This field is ignored when SelfHostedTraceEnabled() returns TRUE.
This field is used in conjunction with TRCCONFIGR.ITO and TRCITEEDCR.E<m> to control whether Instrumentation trace is permitted or prohibited in Non-secure state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
E3, bit [3] when EL3 is implemented:
Instrumentation Trace Enable at EL3.
| E3 | Meaning |
|---|---|
| 0b0 | Instrumentation trace prohibited at EL3. |
| 0b1 | Instrumentation trace permitted at EL3. |
This field is ignored when SelfHostedTraceEnabled() returns TRUE.
When FEAT_RME is not implemented, TRCITEEDCR.E3 is used in conjunction with TRCCONFIGR.ITO and TRCITEEDCR.S to control whether Instrumentation trace is permitted or prohibited at EL3.
When FEAT_RME is implemented, TRCITEEDCR.E3 is used in conjunction with TRCCONFIGR.ITO to control whether Instrumentation trace is permitted or prohibited at EL3.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
E<m>, bit [m], for m = 2 to 0:
Instrumentation Trace Enable at EL<m>.
| E<m> | Meaning |
|---|---|
| 0b0 | Instrumentation trace prohibited at EL<m>. |
| 0b1 | Instrumentation trace permitted at EL<m>. |
This field is ignored when SelfHostedTraceEnabled() returns TRUE.
This bit is used in conjunction with TRCCONFIGR.ITO, TRCITEEDCR.NS, TRCITEEDCR.S, and TRCITEEDCR.RL to control whether Instrumentation trace is permitted or prohibited at EL<m> in the specified Security states.
TRCITEEDCR.E<2> is RES0 if EL2 is not implemented in any Security states.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCITEEDCR
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCITEEDCR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x048 | TRCITEEDCR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCOSLSR
Trace OS Lock Status Register
Returns the status of the Trace OS Lock.
Configuration
External register TRCOSLSR bits [31:0] are architecturally mapped to AArch64 System register TRCOSLSR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCOSLSR are RES0.
Attributes
TRCOSLSR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | OSLM[2:1] | RES0 | OSLK | OSLM[0] |
Bits [31:5]:
Reserved, RES0.
OSLM, bits [4:3, 0]:
OS Lock model.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| OSLM | Meaning |
|---|---|
| 0b000 | Trace OS Lock is not implemented. |
| 0b010 | Trace OS Lock is implemented. |
| 0b100 | Trace OS Lock is not implemented, and the trace unit is controlled by the PE OS Lock. |
All other values are reserved.
When FEAT_ETE is implemented, the values 0b000 and 0b010 are not permitted.
The OSLM field is split as follows:
- OSLM[2:1] is TRCOSLSR[4:3].
- OSLM[0] is TRCOSLSR[0]. Access to this field is RO.
Bit [2]:
Reserved, RES0.
OSLK, bit [1]:
OS Lock status.
| OSLK | Meaning |
|---|---|
| 0b0 | The OS Lock is unlocked. |
| 0b1 | The OS Lock is locked. |
When FEAT_ETE is implemented, this field indicates the state of the PE OS Lock.
When FEAT_ETMv4 is implemented, this field indicates the state of the Trace OS Lock.
Accessing TRCOSLSR
External debugger accesses to this register are unaffected by the OS Lock.
TRCOSLSR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x304 | TRCOSLSR |
Accessible as follows:
- When !AllowExternalTraceAccess(addrdesc) or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCPRGCTLR
Trace Programming Control Register
Enables the trace unit.
Configuration
External register TRCPRGCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCPRGCTLR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCPRGCTLR are RES0.
Attributes
TRCPRGCTLR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | EN |
Bits [31:1]:
Reserved, RES0.
EN, bit [0]:
Trace unit enable.
| EN | Meaning |
|---|---|
| 0b0 | The trace unit is disabled. |
| 0b1 | The trace unit is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to '0'.
Accessing TRCPRGCTLR
Must be programmed.
TRCPRGCTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x004 | TRCPRGCTLR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCQCTLR
Trace Q Element Control Register
Controls when Q elements are enabled.
Configuration
External register TRCQCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCQCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR0.QFILT == '1'. Otherwise, direct accesses to TRCQCTLR are RES0.
Attributes
TRCQCTLR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | MODE | RANGE[7] | RANGE[6] | RANGE[5] | RANGE[4] | RANGE[3] | RANGE[2] | RANGE[1] | RANGE[0] |
Bits [31:9]:
Reserved, RES0.
MODE, bit [8]:
Selects whether the Address Range Comparators selected by TRCQCTLR.RANGE indicate address ranges where the trace unit is permitted to generate Q elements or address ranges where the trace unit is not permitted to generate Q elements:
| MODE | Meaning |
|---|---|
| 0b0 | Exclude mode. The Address Range Comparators selected by TRCQCTLR.RANGE indicate address ranges where the trace unit must not generate Q elements. If no ranges are selected, Q elements are permitted across the entire memory map. |
| 0b1 | Include Mode. The Address Range Comparators selected by TRCQCTLR.RANGE indicate address ranges where the trace unit can generate Q elements. If all the implemented bits in RANGE are set to 0 then Q elements are disabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
RANGE[<m>], bit [m], for m = 7 to 0:
Specifies whether Address Range Comparator <m> controls Q elements.
| RANGE[<m>] | Meaning |
|---|---|
| 0b0 | The address range that Address Range Comparator <m> defines is not selected. |
| 0b1 | The address range that Address Range Comparator <m> defines is selected. |
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When m >= UInt(TRCIDR4.NUMACPAIRS), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Accessing TRCQCTLR
Must be programmed if TRCCONFIGR.QE != 0b00.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCQCTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x044 | TRCQCTLR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCRSCTLR<n>, n = 2, 31
Trace Resource Selection Control Register <n>
Controls the selection of the resources in the trace unit.
Configuration
External register TRCRSCTLR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCRSCTLR<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCRSCTLR<n> are RES0.
Resource selector 0 always returns FALSE.
Resource selector 1 always returns TRUE.
Resource selectors are implemented in pairs. Each odd numbered resource selector is part of a pair with the even numbered resource selector that is numbered as one less than it. For example, resource selectors 2 and 3 form a pair.
Attributes
TRCRSCTLR<n> is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | PAIRINV | INV | GROUP | SELECT |
Bits [31:22]:
Reserved, RES0.
PAIRINV, bit [21] when n is even:
Controls whether the combined result from a resource selector pair is inverted.
| PAIRINV | Meaning |
|---|---|
| 0b0 | Do not invert the combined output of the 2 resource selectors. |
| 0b1 | Invert the combined output of the 2 resource selectors. |
If:
-
A is the register TRCRSCTLR<n>.
-
B is the register TRCRSCTLR<n+1>. Then the combined output of the 2 resource selectors A and B depends on the value of (A.PAIRINV, A.INV, B.INV) as follows:
-
0b000 -> A and B.
-
0b001 -> Reserved.
-
0b010 -> not(A) and B.
-
0b011 -> not(A) and not(B).
-
0b100 -> not(A) or not(B).
-
0b101 -> not(A) or B.
-
0b110 -> Reserved.
-
0b111 -> A or B. The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
INV, bit [20]:
Controls whether the resource, that TRCRSCTLR<n>.GROUP and TRCRSCTLR<n>.SELECT selects, is inverted.
| INV | Meaning |
|---|---|
| 0b0 | Do not invert the output of this selector. |
| 0b1 | Invert the output of this selector. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
GROUP, bits [19:16]:
Selects a group of resources.
| GROUP | Meaning | SELECT |
|---|---|---|
| 0b0000 | External Input Selectors. | SELECT encoding for External Input Selectors |
| 0b0001 | PE Comparator Inputs. | SELECT encoding for PE Comparator Inputs |
| 0b0010 | Counters and Sequencer. | SELECT encoding for Counters and Sequencer |
| 0b0011 | Single-shot Comparator Controls. | SELECT encoding for Single-shot Comparator Controls |
| 0b0100 | Single Address Comparators. | SELECT encoding for Single Address Comparators |
| 0b0101 | Address Range Comparators. | SELECT encoding for Address Range Comparators |
| 0b0110 | Context Identifier Comparators. | SELECT encoding for Context Identifier Comparators |
| 0b0111 | Virtual Context Identifier Comparators. | SELECT encoding for Virtual Context Identifier Comparators |
All other values are reserved.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SELECT, bits [15:0]:
Resource Specific Controls. Contains the controls specific to the resource group selected by GROUP, described in the following sections.
SELECT encoding for External Input Selectors
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | EXTIN[3] | EXTIN[2] | EXTIN[1] | EXTIN[0] |
Bits [15:4]:
Reserved, RES0.
EXTIN[<m>], bit [m], for m = 3 to 0:
Selects one or more External Inputs.
| EXTIN[<m>] | Meaning |
|---|---|
| 0b0 | Ignore EXTIN <m>. |
| 0b1 | Select EXTIN <m>. |
This bit is RES0 if m >= TRCIDR5.NUMEXTINSEL.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SELECT encoding for PE Comparator Inputs
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | PECOMP[7] | PECOMP[6] | PECOMP[5] | PECOMP[4] | PECOMP[3] | PECOMP[2] | PECOMP[1] | PECOMP[0] |
Bits [15:8]:
Reserved, RES0.
PECOMP[<m>], bit [m], for m = 7 to 0:
Selects one or more PE Comparator Inputs.
| PECOMP[<m>] | Meaning |
|---|---|
| 0b0 | Ignore PE Comparator Input <m>. |
| 0b1 | Select PE Comparator Input <m>. |
This bit is RES0 if m >= TRCIDR4.NUMPC.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SELECT encoding for Counters and Sequencer
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | SEQUENCER[3] | SEQUENCER[2] | SEQUENCER[1] | SEQUENCER[0] | COUNTERS[3] | COUNTERS[2] | COUNTERS[1] | COUNTERS[0] |
Bits [15:8]:
Reserved, RES0.
SEQUENCER[<m>], bit [m+4], for m = 3 to 0:
Sequencer states.
| SEQUENCER[<m>] | Meaning |
|---|---|
| 0b0 | Ignore Sequencer state <m>. |
| 0b1 | Select Sequencer state <m>. |
This bit is RES0 if m >= TRCIDR5.NUMSEQSTATE.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
COUNTERS[<m>], bit [m], for m = 3 to 0:
Counters resources at zero.
| COUNTERS[<m>] | Meaning |
|---|---|
| 0b0 | Ignore Counter <m>. |
| 0b1 | Select Counter <m> is zero. |
This bit is RES0 if m >= TRCIDR5.NUMCNTR.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SELECT encoding for Single-shot Comparator Controls
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | SINGLE_SHOT[7] | SINGLE_SHOT[6] | SINGLE_SHOT[5] | SINGLE_SHOT[4] | SINGLE_SHOT[3] | SINGLE_SHOT[2] | SINGLE_SHOT[1] | SINGLE_SHOT[0] |
Bits [15:8]:
Reserved, RES0.
SINGLE_SHOT[<m>], bit [m], for m = 7 to 0:
Selects one or more Single-shot Comparator Controls.
| SINGLE_SHOT[<m>] | Meaning |
|---|---|
| 0b0 | Ignore Single-shot Comparator Control <m>. |
| 0b1 | Select Single-shot Comparator Control <m>. |
This bit is RES0 if m >= TRCIDR4.NUMSSCC.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SELECT encoding for Single Address Comparators
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SAC[15] | SAC[14] | SAC[13] | SAC[12] | SAC[11] | SAC[10] | SAC[9] | SAC[8] | SAC[7] | SAC[6] | SAC[5] | SAC[4] | SAC[3] | SAC[2] | SAC[1] | SAC[0] |
SAC[<m>], bit [m], for m = 15 to 0:
Selects one or more Single Address Comparators.
| SAC[<m>] | Meaning |
|---|---|
| 0b0 | Ignore Single Address Comparator <m>. |
| 0b1 | Select Single Address Comparator <m>. |
This bit is RES0 if m >= 2 × TRCIDR4.NUMACPAIRS.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SELECT encoding for Address Range Comparators
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | ARC[7] | ARC[6] | ARC[5] | ARC[4] | ARC[3] | ARC[2] | ARC[1] | ARC[0] |
Bits [15:8]:
Reserved, RES0.
ARC[<m>], bit [m], for m = 7 to 0:
Selects one or more Address Range Comparators.
| ARC[<m>] | Meaning |
|---|---|
| 0b0 | Ignore Address Range Comparator <m>. |
| 0b1 | Select Address Range Comparator <m>. |
This bit is RES0 if m >= TRCIDR4.NUMACPAIRS.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SELECT encoding for Context Identifier Comparators
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | CID[7] | CID[6] | CID[5] | CID[4] | CID[3] | CID[2] | CID[1] | CID[0] |
Bits [15:8]:
Reserved, RES0.
CID[<m>], bit [m], for m = 7 to 0:
Selects one or more Context Identifier Comparators.
| CID[<m>] | Meaning |
|---|---|
| 0b0 | Ignore Context Identifier Comparator <m>. |
| 0b1 | Select Context Identifier Comparator <m>. |
This bit is RES0 if m >= TRCIDR4.NUMCIDC.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
SELECT encoding for Virtual Context Identifier Comparators
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | VMID[7] | VMID[6] | VMID[5] | VMID[4] | VMID[3] | VMID[2] | VMID[1] | VMID[0] |
Bits [15:8]:
Reserved, RES0.
VMID[<m>], bit [m], for m = 7 to 0:
Selects one or more Virtual Context Identifier Comparators.
| VMID[<m>] | Meaning |
|---|---|
| 0b0 | Ignore Virtual Context Identifier Comparator <m>. |
| 0b1 | Select Virtual Context Identifier Comparator <m>. |
This bit is RES0 if m >= TRCIDR4.NUMVMIDC.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCRSCTLR<n>
Must be programmed if any of the following are true:
- TRCCNTCTLR.RLDEVENT_TYPE == 0 and TRCCNTCTLR.RLDEVENT_SEL == n.
- TRCCNTCTLR.RLDEVENT_TYPE == 1 and TRCCNTCTLR.RLDEVENT_SEL == n/2.
- TRCCNTCTLR.CNTEVENT_TYPE == 0 and TRCCNTCTLR.CNTEVENT_SEL == n.
- TRCCNTCTLR.CNTEVENT_TYPE == 1 and TRCCNTCTLR.CNTEVENT_SEL == n/2.
- TRCEVENTCTL0R.EVENT0_TYPE == 0 and TRCEVENTCTL0R.EVENT0_SEL == n.
- TRCEVENTCTL0R.EVENT0_TYPE == 1 and TRCEVENTCTL0R.EVENT0_SEL == n/2.
- TRCEVENTCTL0R.EVENT1_TYPE == 0 and TRCEVENTCTL0R.EVENT1_SEL == n.
- TRCEVENTCTL0R.EVENT1_TYPE == 1 and TRCEVENTCTL0R.EVENT1_SEL == n/2.
- TRCEVENTCTL0R.EVENT2_TYPE == 0 and TRCEVENTCTL0R.EVENT2_SEL == n.
- TRCEVENTCTL0R.EVENT2_TYPE == 1 and TRCEVENTCTL0R.EVENT2_SEL == n/2.
- TRCEVENTCTL0R.EVENT3_TYPE == 0 and TRCEVENTCTL0R.EVENT3_SEL == n.
- TRCEVENTCTL0R.EVENT3_TYPE == 1 and TRCEVENTCTL0R.EVENT3_SEL == n/2.
- TRCSEQEVR.B_TYPE == 0 and TRCSEQEVR.B_SEL = n.
- TRCSEQEVR.B_TYPE == 1 and TRCSEQEVR.B_SEL = n/2.
- TRCSEQEVR.F_TYPE == 0 and TRCSEQEVR.F_SEL = n.
- TRCSEQEVR.F_TYPE == 1 and TRCSEQEVR.F_SEL = n/2.
- TRCSEQRSTEVR.RST_TYPE == 0 and TRCSEQRSTEVR.RST_SEL == n.
- TRCSEQRSTEVR.RST_TYPE == 1 and TRCSEQRSTEVR.RST_SEL == n/2.
- TRCTSCTLR.EVENT_TYPE == 0 and TRCTSCTLR.EVENT_SEL == n.
- TRCTSCTLR.EVENT_TYPE == 1 and TRCTSCTLR.EVENT_SEL == n/2.
- TRCVICTLR.EVENT_TYPE == 0 and TRCVICTLR.EVENT_SEL == n.
- TRCVICTLR.EVENT_TYPE == 1 and TRCVICTLR.EVENT_SEL == n/2. If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCRSCTLR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x200 + (4 * n) | TRCRSCTLR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When n >= NUM_TRACE_RESOURCE_SELECTOR_PAIRS * 2, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCRSR
Trace Resources Status Register
Use this to set, or read, the status of the resources.
Configuration
External register TRCRSR bits [31:0] are architecturally mapped to AArch64 System register TRCRSR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCRSR are RES0.
Attributes
TRCRSR is a 32-bit register.
Field descriptions
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | TA | EVENT[3] | EVENT[2] | EVENT[1] | EVENT[0] | RES0 | EXTIN[3] | EXTIN[2] | EXTIN[1] | EXTIN[0] |
Bits [31:13]:
Reserved, RES0.
TA, bit [12]:
Tracing active.
| TA | Meaning |
|---|---|
| 0b0 | Tracing is not active. |
| 0b1 | Tracing is active. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
EVENT[<m>], bit [m+8], for m = 3 to 0:
Untraced status of ETEEvents.
| EVENT[<m>] | Meaning |
|---|---|
| 0b0 | An ETEEvent <m> has not occurred. |
| 0b1 | An ETEEvent <m> has occurred while the resources were in the Paused state. |
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When TRCIDR4.NUMRSPAIR == '0000', access to this field is RES0 . Access to this field is RES0 if all the following are true:
- TRCIDR4.NUMRSPAIR != '0000'.
- m > UInt(TRCIDR0.NUMEVENT).
-
Otherwise, access to this field is RW.
Bits [7:4]:
Reserved, RES0.
EXTIN[<m>], bit [m], for m = 3 to 0:
The sticky status of the External Input Selectors.
| EXTIN[<m>] | Meaning |
|---|---|
| 0b0 | An event selected by External Input Selector <m> has not occurred. |
| 0b1 | At least one event selected by External Input Selector <m> has occurred while the resources were in the Paused state. |
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When m >= UInt(TRCIDR5.NUMEXTINSEL), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Accessing TRCRSR
Must always be programmed.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
Reads from this register might return an UNKNOWN value if the trace unit is not in either of the Idle or Stable states.
TRCRSR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x028 | TRCRSR |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.