Archived Arm source pages for the External debug and trace register pages. Part 18 of 22. This part covers TRCAUTHSTATUS through TRCCONFIGR.
TRCAUTHSTATUS
Trace Authentication Status Register
Provides information about the state of the IMPLEMENTATION DEFINED authentication interface for debug.
For additional information, see the CoreSight Architecture Specification.
Configuration
External register TRCAUTHSTATUS bits [31:0] are architecturally mapped to AArch64 System register TRCAUTHSTATUS[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCAUTHSTATUS are RES0.
Attributes
TRCAUTHSTATUS 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 | RTNID | RTID | RES0 | RLNID | RLID | HNID | HID | SNID | SID | NSNID | NSID |
Bits [31:28]:
Reserved, RES0.
RTNID, bits [27:26]:
Root non-invasive debug.
This field has the same value as DBGAUTHSTATUS_EL1.RTNID.
RTID, bits [25:24]:
Root invasive debug.
| RTID | Meaning |
|---|---|
| 0b00 | Not implemented. |
Bits [23:16]:
Reserved, RES0.
RLNID, bits [15:14]:
Realm non-invasive debug.
This field has the same value as DBGAUTHSTATUS_EL1.RLNID.
RLID, bits [13:12]:
Realm invasive debug.
| RLID | Meaning |
|---|---|
| 0b00 | Not implemented. |
HNID, bits [11:10]:
Hyp Non-invasive Debug. Indicates whether a separate enable control for EL2 non-invasive debug features is implemented and enabled.
| HNID | Meaning |
|---|---|
| 0b00 | Separate Hyp non-invasive debug enable not implemented, or EL2 non-invasive debug features not implemented. |
| 0b10 | Implemented and disabled. |
| 0b11 | Implemented and enabled. |
All other values are reserved.
This field reads as 0b00.
HID, bits [9:8]:
Hyp Invasive Debug. Indicates whether a separate enable control for EL2 invasive debug features is implemented and enabled.
| HID | Meaning |
|---|---|
| 0b00 | Separate Hyp invasive debug enable not implemented, or EL2 invasive debug features not implemented. |
| 0b10 | Implemented and disabled. |
| 0b11 | Implemented and enabled. |
All other values are reserved.
This field reads as 0b00.
SNID, bits [7:6]:
Secure Non-invasive Debug. Indicates whether Secure non-invasive debug features are implemented and enabled.
| SNID | Meaning |
|---|---|
| 0b00 | Secure non-invasive debug features not implemented. |
| 0b10 | Implemented and disabled. |
| 0b11 | Implemented and enabled. |
All other values are reserved.
When Secure state is implemented, this field reads as 0b10 or 0b11 depending whether Secure non-invasive debug is enabled.
When Secure state is not implemented, this field reads as 0b00.
SID, bits [5:4]:
Secure Invasive Debug. Indicates whether Secure invasive debug features are implemented and enabled.
| SID | Meaning |
|---|---|
| 0b00 | Secure invasive debug features not implemented. |
| 0b10 | Implemented and disabled. |
| 0b11 | Implemented and enabled. |
All other values are reserved.
This field reads as 0b00.
NSNID, bits [3:2]:
Non-secure Non-invasive Debug. Indicates whether Non-secure non-invasive debug features are implemented and enabled.
| NSNID | Meaning |
|---|---|
| 0b00 | Non-secure non-invasive debug features not implemented. |
| 0b10 | Implemented and disabled. |
| 0b11 | Implemented and enabled. |
All other values are reserved.
When Non-secure state is implemented, this field reads as 0b11.
When Non-secure state is not implemented, this field reads as 0b00.
NSID, bits [1:0]:
Non-secure Invasive Debug. Indicates whether Non-secure invasive debug features are implemented and enabled.
| NSID | Meaning |
|---|---|
| 0b00 | Non-secure invasive debug features not implemented. |
| 0b10 | Implemented and disabled. |
| 0b11 | Implemented and enabled. |
All other values are reserved.
This field reads as 0b00.
Accessing TRCAUTHSTATUS
For implementations that support multiple access mechanisms, different access mechanisms can return different values for reads of TRCAUTHSTATUS if the authentication signals have changed and that change has not yet been synchronized by a Context synchronization event. This scenario can happen if, for example, the external debugger view is implemented separately from the system instruction view to allow for separate power domains, and so observes changes on the signals differently.
External debugger accesses to this register are unaffected by the OS Lock.
TRCAUTHSTATUS can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0xFB8 | TRCAUTHSTATUS |
Accessible as follows:
- When !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRCAUXCTLR
Trace Auxiliary Control Register
The function of this register is IMPLEMENTATION DEFINED.
Configuration
External register TRCAUXCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCAUXCTLR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCAUXCTLR are RES0.
Attributes
TRCAUXCTLR 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.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to the expression 0x00000000.
Accessing TRCAUXCTLR
If this register is nonzero then it might cause the behavior of a trace unit to contradict this architecture specification. See the documentation of the specific implementation for information about the IMPLEMENTATION DEFINED support for this register.
TRCAUXCTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x018 | TRCAUXCTLR |
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.
TRCBBCTLR
Trace Branch Broadcast Control Register
Controls the regions in the memory map where branch broadcasting is active.
Configuration
External register TRCBBCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCBBCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, TRCIDR0.TRCBB == '1', and UInt(TRCIDR4.NUMACPAIRS) > 0. Otherwise, direct accesses to TRCBBCTLR are RES0.
Attributes
TRCBBCTLR 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]:
Mode.
| MODE | Meaning |
|---|---|
| 0b0 | Exclude Mode. Branch broadcasting is not active for instructions in the address ranges defined by TRCBBCTLR.RANGE. If TRCBBCTLR.RANGE == 0x00 then branch broadcasting is active for all instructions. |
| 0b1 | Include Mode. Branch broadcasting is active for instructions in the address ranges defined by TRCBBCTLR.RANGE. If TRCBBCTLR.RANGE == 0x00 then the behavior of the trace unit is CONSTRAINED UNPREDICTABLE. That is, the trace unit might or might not consider any instructions to be in a branch broadcasting region. |
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:
Selects whether Address Range Comparator <m> is used with branch broadcasting.
| 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 TRCBBCTLR
Must be programmed if TRCCONFIGR.BB == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCBBCTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x03C | TRCBBCTLR |
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.
TRCCCCTLR
Trace Cycle Count Control Register
Set the threshold value for cycle counting.
Configuration
External register TRCCCCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCCCCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR0.TRCCCI == '1'. Otherwise, direct accesses to TRCCCCTLR are RES0.
Attributes
TRCCCCTLR 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 | THRESHOLD |
Bits [31:12]:
Reserved, RES0.
THRESHOLD, bits [11:0]:
Sets the threshold value for instruction trace cycle counting.
The minimum threshold value that can be programmed into THRESHOLD is given in TRCIDR3.CCITMIN. If the THRESHOLD value is smaller than the value in TRCIDR3.CCITMIN then the behavior is CONSTRAINED UNPREDICTABLE. That is, cycle counts might or might not be included in the trace and the cycle count threshold is not known.
Writing a value of zero when TRCCONFIGR.CCI enables instruction trace cycle counting results in CONSTRAINED UNPREDICTABLE behavior. That is, cycle counts might or might not be included in the trace and the cycle count threshold is not known.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCCCCTLR
Must be programmed if TRCCONFIGR.CCI == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCCCCTLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x038 | TRCCCCTLR |
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.
TRCCIDCCTLR0
Trace Context Identifier Comparator Control Register 0
Contains Context identifier mask values for the TRCCIDCVR<n> registers, for n = 0 to 3.
Configuration
External register TRCCIDCCTLR0 bits [31:0] are architecturally mapped to AArch64 System register TRCCIDCCTLR0[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, UInt(TRCIDR4.NUMCIDC) > 0x0, and UInt(TRCIDR2.CIDSIZE) > 0. Otherwise, direct accesses to TRCCIDCCTLR0 are RES0.
Attributes
TRCCIDCCTLR0 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| COMP3[7] | COMP3[6] | COMP3[5] | COMP3[4] | COMP3[3] | COMP3[2] | COMP3[1] | COMP3[0] | COMP2[7] | COMP2[6] | COMP2[5] | COMP2[4] | COMP2[3] | COMP2[2] | COMP2[1] | COMP2[0] | COMP1[7] | COMP1[6] | COMP1[5] | COMP1[4] | COMP1[3] | COMP1[2] | COMP1[1] | COMP1[0] | COMP0[7] | COMP0[6] | COMP0[5] | COMP0[4] | COMP0[3] | COMP0[2] | COMP0[1] | COMP0[0] |
COMP3[<m>], bit [m+24], for m = 7 to 0 when UInt(TRCIDR4.NUMCIDC) > 3:
TRCCIDCVR3 mask control. Specifies the mask value that the trace unit applies to TRCCIDCVR3. Each bit in this field corresponds to a byte in TRCCIDCVR3.
| COMP3[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCCIDCVR3[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
| 0b1 | The trace unit ignores TRCCIDCVR3[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
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(TRCIDR2.CIDSIZE), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Otherwise:
Reserved, RES0.
COMP2[<m>], bit [m+16], for m = 7 to 0 when UInt(TRCIDR4.NUMCIDC) > 2:
TRCCIDCVR2 mask control. Specifies the mask value that the trace unit applies to TRCCIDCVR2. Each bit in this field corresponds to a byte in TRCCIDCVR2.
| COMP2[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCCIDCVR2[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
| 0b1 | The trace unit ignores TRCCIDCVR2[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
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(TRCIDR2.CIDSIZE), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Otherwise:
Reserved, RES0.
COMP1[<m>], bit [m+8], for m = 7 to 0 when UInt(TRCIDR4.NUMCIDC) > 1:
TRCCIDCVR1 mask control. Specifies the mask value that the trace unit applies to TRCCIDCVR1. Each bit in this field corresponds to a byte in TRCCIDCVR1.
| COMP1[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCCIDCVR1[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
| 0b1 | The trace unit ignores TRCCIDCVR1[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
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(TRCIDR2.CIDSIZE), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Otherwise:
Reserved, RES0.
COMP0[<m>], bit [m], for m = 7 to 0 when UInt(TRCIDR4.NUMCIDC) > 0:
TRCCIDCVR0 mask control. Specifies the mask value that the trace unit applies to TRCCIDCVR0. Each bit in this field corresponds to a byte in TRCCIDCVR0.
| COMP0[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCCIDCVR0[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
| 0b1 | The trace unit ignores TRCCIDCVR0[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
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(TRCIDR2.CIDSIZE), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Otherwise:
Reserved, RES0.
Accessing TRCCIDCCTLR0
If software uses the TRCCIDCVR<n> registers, for n = 0 to 3, then it must program this register.
If software sets a mask bit to 1 then it must program the relevant byte in TRCCIDCVR<n> to 0x00.
If any bit is 1 and the relevant byte in TRCCIDCVR<n> is not 0x00, the behavior of the Context Identifier Comparator is CONSTRAINED UNPREDICTABLE. In this scenario the comparator might match unexpectedly or might not match.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCCIDCCTLR0 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x680 | TRCCIDCCTLR0 |
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.
TRCCIDCCTLR1
Trace Context Identifier Comparator Control Register 1
Contains Context identifier mask values for the TRCCIDCVR<n> registers, for n = 4 to 7.
Configuration
External register TRCCIDCCTLR1 bits [31:0] are architecturally mapped to AArch64 System register TRCCIDCCTLR1[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, UInt(TRCIDR4.NUMCIDC) > 0x4, and UInt(TRCIDR2.CIDSIZE) > 0. Otherwise, direct accesses to TRCCIDCCTLR1 are RES0.
Attributes
TRCCIDCCTLR1 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| COMP7[7] | COMP7[6] | COMP7[5] | COMP7[4] | COMP7[3] | COMP7[2] | COMP7[1] | COMP7[0] | COMP6[7] | COMP6[6] | COMP6[5] | COMP6[4] | COMP6[3] | COMP6[2] | COMP6[1] | COMP6[0] | COMP5[7] | COMP5[6] | COMP5[5] | COMP5[4] | COMP5[3] | COMP5[2] | COMP5[1] | COMP5[0] | COMP4[7] | COMP4[6] | COMP4[5] | COMP4[4] | COMP4[3] | COMP4[2] | COMP4[1] | COMP4[0] |
COMP7[<m>], bit [m+24], for m = 7 to 0 when UInt(TRCIDR4.NUMCIDC) > 7:
TRCCIDCVR7 mask control. Specifies the mask value that the trace unit applies to TRCCIDCVR7. Each bit in this field corresponds to a byte in TRCCIDCVR7.
| COMP7[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCCIDCVR7[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
| 0b1 | The trace unit ignores TRCCIDCVR7[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
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(TRCIDR2.CIDSIZE), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Otherwise:
Reserved, RES0.
COMP6[<m>], bit [m+16], for m = 7 to 0 when UInt(TRCIDR4.NUMCIDC) > 6:
TRCCIDCVR6 mask control. Specifies the mask value that the trace unit applies to TRCCIDCVR6. Each bit in this field corresponds to a byte in TRCCIDCVR6.
| COMP6[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCCIDCVR6[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
| 0b1 | The trace unit ignores TRCCIDCVR6[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
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(TRCIDR2.CIDSIZE), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Otherwise:
Reserved, RES0.
COMP5[<m>], bit [m+8], for m = 7 to 0 when UInt(TRCIDR4.NUMCIDC) > 5:
TRCCIDCVR5 mask control. Specifies the mask value that the trace unit applies to TRCCIDCVR5. Each bit in this field corresponds to a byte in TRCCIDCVR5.
| COMP5[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCCIDCVR5[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
| 0b1 | The trace unit ignores TRCCIDCVR5[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
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(TRCIDR2.CIDSIZE), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Otherwise:
Reserved, RES0.
COMP4[<m>], bit [m], for m = 7 to 0 when UInt(TRCIDR4.NUMCIDC) > 4:
TRCCIDCVR4 mask control. Specifies the mask value that the trace unit applies to TRCCIDCVR4. Each bit in this field corresponds to a byte in TRCCIDCVR4.
| COMP4[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCCIDCVR4[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
| 0b1 | The trace unit ignores TRCCIDCVR4[(m×8+7):(m×8)] when it performs the Context identifier comparison. |
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(TRCIDR2.CIDSIZE), access to this field is RES0 .
-
Otherwise, access to this field is RW.
Otherwise:
Reserved, RES0.
Accessing TRCCIDCCTLR1
If software uses the TRCCIDCVR<n> registers, for n = 4 to 7, then it must program this register.
If software sets a mask bit to 1 then it must program the relevant byte in TRCCIDCVR<n> to 0x00.
If any bit is 1 and the relevant byte in TRCCIDCVR<n> is not 0x00, the behavior of the Context Identifier Comparator is CONSTRAINED UNPREDICTABLE. In this scenario the comparator might match unexpectedly or might not match.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCCIDCCTLR1 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x684 | TRCCIDCCTLR1 |
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.
TRCCIDCVR<n>, n = 0, 7
Trace Context Identifier Comparator Value Registers <n>
Contains a Context identifier value.
Configuration
External register TRCCIDCVR<n> bits [63:0] are architecturally mapped to AArch64 System register TRCCIDCVR<n>[63:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCCIDCVR<n> are RES0.
Attributes
TRCCIDCVR<n> is a 64-bit register.
Field descriptions
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
| VALUE | |||||||||||||||||||||||||||||||
| VALUE |
VALUE, bits [63:0]:
Context identifier value. The width of this field is indicated by TRCIDR2.CIDSIZE. Unimplemented bits are RES0. After a PE Reset, the trace unit assumes that the Context identifier is zero until the PE updates the Context identifier.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCCIDCVR<n>
Must be programmed if any of the following are true:
- TRCRSCTLR.GROUP == 0b0110 and TRCRSCTLR.CID[n] == 1.
- TRCACATR.CONTEXTTYPE == 0b01 or 0b11 and TRCACATR.CONTEXT == n. If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCCIDCVR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x600 + (8 * n) | TRCCIDCVR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When n >= NUM_TRACE_CONTEXT_IDENTIFIER_COMPARATORS, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCCLAIMCLR
Trace Claim Tag Clear Register
In conjunction with TRCCLAIMSET, provides Claim Tag bits that can be separately set and cleared to indicate whether functionality is in use by a debug agent.
For additional information, see the CoreSight Architecture Specification.
Configuration
External register TRCCLAIMCLR bits [31:0] are architecturally mapped to AArch64 System register TRCCLAIMCLR[31:0].
External register TRCCLAIMCLR bits [31:0] are architecturally mapped to AArch64 System register TRCCLAIMSET[31:0].
External register TRCCLAIMCLR bits [31:0] are architecturally mapped to External register TRCCLAIMSET[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCCLAIMCLR are RES0.
Attributes
TRCCLAIMCLR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CLR[31] | CLR[30] | CLR[29] | CLR[28] | CLR[27] | CLR[26] | CLR[25] | CLR[24] | CLR[23] | CLR[22] | CLR[21] | CLR[20] | CLR[19] | CLR[18] | CLR[17] | CLR[16] | CLR[15] | CLR[14] | CLR[13] | CLR[12] | CLR[11] | CLR[10] | CLR[9] | CLR[8] | CLR[7] | CLR[6] | CLR[5] | CLR[4] | CLR[3] | CLR[2] | CLR[1] | CLR[0] |
CLR[<m>], bit [m], for m = 31 to 0:
Claim Tag Clear. Indicates the current status of Claim Tag bit <m>, and is used to clear Claim Tag bit <m> to 0.
| CLR[<m>] | Meaning |
|---|---|
| 0b0 | On a read: Claim Tag bit <m> is not set. On a write: Ignored. |
| 0b1 | On a read: Claim Tag bit <m> is set. On a write: Clear Claim tag bit <m> to 0. |
The number of Claim Tag bits implemented is indicated in TRCCLAIMSET.
The reset behavior of this field is:
-
On a Trace unit reset, this field resets to '0'. Accessing this field has the following behavior:
-
When m >= NUM_TRC_CLAIM_TAGS, access to this field is RAZ/WI.
-
Otherwise, access to this field is W1C.
Accessing TRCCLAIMCLR
TRCCLAIMCLR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0xFA4 | TRCCLAIMCLR |
Accessible as follows:
- When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCCLAIMSET
Trace Claim Tag Set Register
In conjunction with TRCCLAIMCLR, provides Claim Tag bits that can be separately set and cleared to indicate whether functionality is in use by a debug agent.
For additional information, see the CoreSight Architecture Specification.
Configuration
External register TRCCLAIMSET bits [31:0] are architecturally mapped to AArch64 System register TRCCLAIMSET[31:0].
External register TRCCLAIMSET bits [31:0] are architecturally mapped to AArch64 System register TRCCLAIMCLR[31:0].
External register TRCCLAIMSET bits [31:0] are architecturally mapped to External register TRCCLAIMCLR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCCLAIMSET are RES0.
The number of claim tag bits implemented is IMPLEMENTATION DEFINED. Arm recommends that implementations support a minimum of four claim tag bits, that is, SET[3:0] reads as 0b1111.
Attributes
TRCCLAIMSET 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SET[31] | SET[30] | SET[29] | SET[28] | SET[27] | SET[26] | SET[25] | SET[24] | SET[23] | SET[22] | SET[21] | SET[20] | SET[19] | SET[18] | SET[17] | SET[16] | SET[15] | SET[14] | SET[13] | SET[12] | SET[11] | SET[10] | SET[9] | SET[8] | SET[7] | SET[6] | SET[5] | SET[4] | SET[3] | SET[2] | SET[1] | SET[0] |
SET[<m>], bit [m], for m = 31 to 0:
Claim Tag Set. Indicates whether Claim Tag bit <m> is implemented, and is used to set Claim Tag bit <m> to 1.
| SET[<m>] | Meaning |
|---|---|
| 0b0 | On a read: Claim Tag bit <m> is not implemented. On a write: Ignored. |
| 0b1 | On a read: Claim Tag bit <m> is implemented. On a write: Set Claim Tag bit <m> to 1. |
Accessing this field has the following behavior:
- When m >= NUM_TRC_CLAIM_TAGS, access to this field is RAZ/WI.
- Otherwise, access to this field is RAO/W1S.
Accessing TRCCLAIMSET
TRCCLAIMSET can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0xFA0 | TRCCLAIMSET |
Accessible as follows:
- When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRCCNTCTLR<n>, n = 0, 3
Trace Counter Control Register <n>
Controls the operation of Counter <n>.
Configuration
External register TRCCNTCTLR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCCNTCTLR<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCCNTCTLR<n> are RES0.
Attributes
TRCCNTCTLR<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 | CNTCHAIN | RLDSELF | RLDEVENT_TYPE | RES0 | RLDEVENT_SEL | CNTEVENT_TYPE | RES0 | CNTEVENT_SEL |
Bits [31:18]:
Reserved, RES0.
CNTCHAIN, bit [17] when n is odd:
For TRCCNTCTLR3 and TRCCNTCTLR1, this field controls whether the Counter decrements when a reload event occurs for Counter <n-1>.
| CNTCHAIN | Meaning |
|---|---|
| 0b0 | The Counter does not decrement when a reload event for Counter <n-1> occurs. |
| 0b1 | Counter <n> decrements when a reload event for Counter <n-1> occurs. This concatenates Counter <n> and Counter <n-1>, to provide a larger count value. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
RLDSELF, bit [16]:
Controls whether a reload event occurs for the Counter, when the Counter reaches zero.
| RLDSELF | Meaning |
|---|---|
| 0b0 | Normal mode. The Counter is in Normal mode. |
| 0b1 | Self-reload mode. The Counter is in Self-reload mode. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
RLDEVENT_TYPE, bit [15]:
Selects an event, that when it occurs causes a reload event for Counter <n>
Chooses the type of Resource Selector.
| RLDEVENT_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCCNTCTLR<n>.RLDEVENT.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event. |
| 0b1 | A Boolean-combined pair of Resource Selectors. TRCCNTCTLR<n>.RLDEVENT.SEL[3:0] selects the Resource Selector pair, from 0-15, that has a Boolean function that is applied to it whose output is used to activate the resource event. TRCCNTCTLR<n>.RLDEVENT.SEL[4] is RES0. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Bits [14:13]:
Reserved, RES0.
RLDEVENT_SEL, bits [12:8]:
Selects an event, that when it occurs causes a reload event for Counter <n>
Defines the selected Resource Selector or pair of Resource Selectors. TRCCNTCTLR<n>.RLDEVENT.TYPE controls whether TRCCNTCTLR<n>.RLDEVENT.SEL is the index of a single Resource Selector, or the index of a pair of Resource Selectors.
If an unimplemented Resource Selector is selected using this field, the behavior of the resource event is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
If an unimplemented Resource Selector is selected using this field, the value returned on a direct read of this field is UNKNOWN.
Selecting Resource Selector pair 0 using this field is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
CNTEVENT_TYPE, bit [7]:
Selects an event, that when it occurs causes Counter <n> to decrement.
Chooses the type of Resource Selector.
| CNTEVENT_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCCNTCTLR<n>.CNTEVENT.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event. |
| 0b1 | A Boolean-combined pair of Resource Selectors. TRCCNTCTLR<n>.CNTEVENT.SEL[3:0] selects the Resource Selector pair, from 0-15, that has a Boolean function that is applied to it whose output is used to activate the resource event. TRCCNTCTLR<n>.CNTEVENT.SEL[4] is RES0. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Bits [6:5]:
Reserved, RES0.
CNTEVENT_SEL, bits [4:0]:
Selects an event, that when it occurs causes Counter <n> to decrement.
Defines the selected Resource Selector or pair of Resource Selectors. TRCCNTCTLR<n>.CNTEVENT.TYPE controls whether TRCCNTCTLR<n>.CNTEVENT.SEL is the index of a single Resource Selector, or the index of a pair of Resource Selectors.
If an unimplemented Resource Selector is selected using this field, the behavior of the resource event is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not in the Paused state.
If an unimplemented Resource Selector is selected using this field, the value returned on a direct read of this field is UNKNOWN.
Selecting Resource Selector pair 0 using this field is UNPREDICTABLE, and the resource event might fire or might not fire when the resources are not 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 TRCCNTCTLR<n>
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.COUNTERS[n] == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCCNTCTLR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x150 + (4 * n) | TRCCNTCTLR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When n >= NUM_TRACE_COUNTERS, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCCNTRLDVR<n>, n = 0, 3
Trace Counter Reload Value Register <n>
This sets or returns the reload count value for Counter <n>.
Configuration
External register TRCCNTRLDVR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCCNTRLDVR<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCCNTRLDVR<n> are RES0.
Attributes
TRCCNTRLDVR<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 | VALUE |
Bits [31:16]:
Reserved, RES0.
VALUE, bits [15:0]:
Contains the reload value for Counter <n>. When a reload event occurs for Counter <n> then the trace unit copies the VALUE<n> field into Counter <n>.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCCNTRLDVR<n>
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.COUNTERS[n] == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCCNTRLDVR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x140 + (4 * n) | TRCCNTRLDVR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When n >= NUM_TRACE_COUNTERS, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCCNTVR<n>, n = 0, 3
Trace Counter Value Register <n>
This sets or returns the value of Counter <n>.
Configuration
External register TRCCNTVR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCCNTVR<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCCNTVR<n> are RES0.
Attributes
TRCCNTVR<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 | VALUE |
Bits [31:16]:
Reserved, RES0.
VALUE, bits [15:0]:
Contains the count value of Counter.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Accessing TRCCNTVR<n>
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.COUNTERS[n] == 1.
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.
TRCCNTVR<n> can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x160 + (4 * n) | TRCCNTVR<n> |
Accessible as follows:
- When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response.
- When n >= NUM_TRACE_COUNTERS, accesses to this register are RES0.
- Otherwise, accesses to this register are RW.
TRCCONFIGR
Trace Configuration Register
Controls the tracing options.
Configuration
External register TRCCONFIGR bits [31:0] are architecturally mapped to AArch64 System register TRCCONFIGR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCCONFIGR are RES0.
Attributes
TRCCONFIGR 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 | ITO | RES0 | VMIDOPT | QE | RS | TS | RES0 | VMID | CID | RES0 | CCI | BB | RES0 | RES1 |
Bits [31:19]:
Reserved, RES0.
ITO, bit [18] when TRCIDR0.ITE == '1':
Instrumentation Trace Override.
| ITO | Meaning |
|---|---|
| 0b0 | Instrumentation Trace Override disabled. |
| 0b1 | Instrumentation Trace Override enabled. |
This field is ignored when SelfHostedTraceEnabled() returns TRUE.
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [17:16]:
Reserved, RES0.
VMIDOPT, bit [15] when TRCIDR2.VMIDOPT == '01':
Virtual context identifier selection control.
| VMIDOPT | Meaning |
|---|---|
| 0b0 | VTTBR_EL2.VMID is used as the Virtual context identifier. |
| 0b1 | CONTEXTIDR_EL2.PROCID is used as the Virtual context identifier. |
when TRCIDR2.VMIDOPT == '00':
Reserved, RES0.
Virtual context identifier selection control.
VTTBR_EL2.VMID is used as the Virtual context identifier.
when TRCIDR2.VMIDOPT == '10':
Reserved, RES1.
Virtual context identifier selection control.
CONTEXTIDR_EL2.PROCID is used as the Virtual context identifier.
Otherwise:
Reserved, RES0.
QE, bits [14:13] when TRCIDR0.QSUPP == '01':
Q element generation control.
| QE | Meaning |
|---|---|
| 0b00 | Q elements are disabled. |
| 0b01 | Q elements with instruction counts are enabled. Q elements without instruction counts are disabled. |
All other values are reserved.
when TRCIDR0.QSUPP == '10':
Q element generation control.
| QE | Meaning |
|---|---|
| 0b00 | Q elements are disabled. |
| 0b11 | Q elements with instruction counts are enabled. Q elements without instruction counts are enabled. |
All other values are reserved.
when TRCIDR0.QSUPP == '11':
Q element generation control.
| QE | Meaning |
|---|---|
| 0b00 | Q elements are disabled. |
| 0b01 | Q elements with instruction counts are enabled. Q elements without instruction counts are disabled. |
| 0b11 | Q elements with instruction counts are enabled. Q elements without instruction counts are enabled. |
All other values are reserved.
Otherwise:
Reserved, RES0.
RS, bit [12] when TRCIDR0.RETSTACK == '1':
Return stack control.
| RS | Meaning |
|---|---|
| 0b0 | Return stack is disabled. |
| 0b1 | Return stack is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TS, bit [11] when TRCIDR0.TSSIZE != '00000':
Global timestamp tracing control.
| TS | Meaning |
|---|---|
| 0b0 | Global timestamp tracing is disabled. |
| 0b1 | Global timestamp tracing is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [10:8]:
Reserved, RES0.
VMID, bit [7] when TRCIDR2.VMIDSIZE != '00000':
Virtual context identifier tracing control.
| VMID | Meaning |
|---|---|
| 0b0 | Virtual context identifier tracing is disabled. |
| 0b1 | Virtual context identifier tracing is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
CID, bit [6] when TRCIDR2.CIDSIZE != '00000':
Context identifier tracing control.
| CID | Meaning |
|---|---|
| 0b0 | Context identifier tracing is disabled. |
| 0b1 | Context identifier tracing is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bit [5]:
Reserved, RES0.
CCI, bit [4] when TRCIDR0.TRCCCI == '1':
Cycle counting instruction tracing control.
| CCI | Meaning |
|---|---|
| 0b0 | Cycle counting instruction tracing is disabled. |
| 0b1 | Cycle counting instruction tracing is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
BB, bit [3] when TRCIDR0.TRCBB == '1':
Branch broadcasting control.
| BB | Meaning |
|---|---|
| 0b0 | Branch broadcasting is disabled. |
| 0b1 | Branch broadcasting is enabled. |
The reset behavior of this field is:
- On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [2:1]:
Reserved, RES0.
Bit [0]:
Reserved, RES1.
Accessing TRCCONFIGR
Must always be programmed.
TRCCONFIGR.QE must be set to 0b00 if TRCCONFIGR.BB is not 0.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
TRCCONFIGR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x010 | TRCCONFIGR |
Accessible as follows:
- When OSLockStatus(), or !IsTraceCorePowered(), or !AllowExternalTraceAccess(addrdesc), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.