[Writeup] External debug and trace register pages: part 21 of 22 ================================================================ Section: Silicon & Architectures Started: 2026-11-28 17:40 UTC by admin Replies: 0, last post 2026-11-28 17:40 UTC Page: 1 of 1 Web: https://romdump.net/t/80 ------------------------------------------------------------------------------ #100 admin, 2026-11-28 17:40 UTC [OP] (edited) Source: https://romdump.net/raw/100
Archived Arm source pages for the External debug and trace register pages.
Part 21 of 22. This part covers TRCSEQEVR
Trace Sequencer State Transition Control Register <n>
Moves the Sequencer state:
External register TRCSEQEVR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCSEQEVR<n>[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR5.NUMSEQSTATE != '000'. Otherwise, direct accesses to TRCSEQEVR<n> are RES0.
TRCSEQEVR<n> is a 32-bit register.
| 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 | B_TYPE | RES0 | B_SEL | F_TYPE | RES0 | F_SEL |
Reserved, RES0.
Backward field. Selects an event that causes the Sequencer to move from state n+1 to state n. For example, if TRCSEQEVR2.B_SEL == 0x14, then when event 0x14 occurs, the Sequencer moves from state 3 to state 2.
Chooses the type of Resource Selector.
| B_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCSEQEVR<n>.B.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. TRCSEQEVR<n>.B.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. TRCSEQEVR<n>.B.SEL[4] is RES0. |
The reset behavior of this field is:
Reserved, RES0.
Backward field. Selects an event that causes the Sequencer to move from state n+1 to state n. For example, if TRCSEQEVR2.B_SEL == 0x14, then when event 0x14 occurs, the Sequencer moves from state 3 to state 2.
Defines the selected Resource Selector or pair of Resource Selectors. TRCSEQEVR<n>.B.TYPE controls whether TRCSEQEVR<n>.B.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:
Forward field. Selects an event that causes the Sequencer to move from state n to state n+1. For example, if TRCSEQEVR1.F_SEL == 0x12, then when event 0x12 occurs, the Sequencer moves from state 1 to state 2.
Chooses the type of Resource Selector.
| F_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCSEQEVR<n>.F.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. TRCSEQEVR<n>.F.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. TRCSEQEVR<n>.F.SEL[4] is RES0. |
The reset behavior of this field is:
Reserved, RES0.
Forward field. Selects an event that causes the Sequencer to move from state n to state n+1. For example, if TRCSEQEVR1.F_SEL == 0x12, then when event 0x12 occurs, the Sequencer moves from state 1 to state 2.
Defines the selected Resource Selector or pair of Resource Selectors. TRCSEQEVR<n>.F.TYPE controls whether TRCSEQEVR<n>.F.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:
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.SEQUENCER != 0b0000.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x100 + (4 * n) | TRCSEQEVR<n> |
Accessible as follows:
Trace Sequencer Reset Control Register
Moves the Sequencer to state 0 when a programmed resource event occurs.
External register TRCSEQRSTEVR bits [31:0] are architecturally mapped to AArch64 System register TRCSEQRSTEVR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR5.NUMSEQSTATE != '000'. Otherwise, direct accesses to TRCSEQRSTEVR are RES0.
TRCSEQRSTEVR is a 32-bit register.
| 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 | RST_TYPE | RES0 | RST_SEL |
Reserved, RES0.
Reset field. Selects an event that causes the Sequencer to move to state 0.
Chooses the type of Resource Selector.
| RST_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCSEQRSTEVR.RST.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. TRCSEQRSTEVR.RST.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. TRCSEQRSTEVR.RST.SEL[4] is RES0. |
The reset behavior of this field is:
Reserved, RES0.
Reset field. Selects an event that causes the Sequencer to move to state 0.
Defines the selected Resource Selector or pair of Resource Selectors. TRCSEQRSTEVR.RST.TYPE controls whether TRCSEQRSTEVR.RST.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:
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.SEQUENCER != 0b0000.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x118 | TRCSEQRSTEVR |
Accessible as follows:
Trace Sequencer State Register
Use this to set, or read, the Sequencer state.
External register TRCSEQSTR bits [31:0] are architecturally mapped to AArch64 System register TRCSEQSTR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR5.NUMSEQSTATE != '000'. Otherwise, direct accesses to TRCSEQSTR are RES0.
TRCSEQSTR is a 32-bit register.
| 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 | STATE |
Reserved, RES0.
Set or returns the state of the Sequencer.
| STATE | Meaning |
|---|---|
| 0b00 | State 0. |
| 0b01 | State 1. |
| 0b10 | State 2. |
| 0b11 | State 3. |
The reset behavior of this field is:
Must be programmed if TRCRSCTLR.GROUP == 0b0010 and TRCRSCTLR.SEQUENCER != 0b0000.
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.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x11C | TRCSEQSTR |
Accessible as follows:
Trace Single-shot Comparator Control Register <n>
Controls the corresponding Single-shot Comparator Control resource.
External register TRCSSCCR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCSSCCR<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCSSCCR<n> are RES0.
TRCSSCCR<n> is a 32-bit register.
| 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 | RST | ARC[7] | ARC[6] | ARC[5] | ARC[4] | ARC[3] | ARC[2] | ARC[1] | ARC[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] |
Reserved, RES0.
Selects the Single-shot Comparator Control mode.
| RST | Meaning |
|---|---|
| 0b0 | The Single-shot Comparator Control is in single-shot mode. |
| 0b1 | The Single-shot Comparator Control is in multi-shot mode. |
The reset behavior of this field is:
Selects one or more Address Range Comparators for Single-shot control.
| ARC[<m>] | Meaning |
|---|---|
| 0b0 | The Address Range Comparator <m>, is not selected for Single-shot control. |
| 0b1 | The Address Range Comparator <m>, is selected for Single-shot control. |
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.
Selects one or more Single Address Comparators for Single-shot control.
| SAC[<m>] | Meaning |
|---|---|
| 0b0 | The Single Address Comparator <m>, is not selected for Single-shot control. |
| 0b1 | The Single Address Comparator <m>, is selected for Single-shot control. |
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) * 2, access to this field is RES0 .
Otherwise, access to this field is RW.
Must be programmed if any TRCRSCTLR.GROUP == 0b0011 and TRCRSCTLR.SINGLE_SHOT[n] == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x280 + (4 * n) | TRCSSCCR<n> |
Accessible as follows:
Trace Single-shot Comparator Control Status Register <n>
Returns the status of the corresponding Single-shot Comparator Control.
External register TRCSSCSR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCSSCSR<n>[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCSSCSR<n> are RES0.
TRCSSCSR<n> is a 32-bit register.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| STATUS | PENDING | RES0 | PC | DV | DA | INST |
Single-shot Comparator Control status. Indicates if any of the comparators selected by this Single-shot Comparator control have matched. The selected comparators are defined by TRCSSCCR<n>.ARC, TRCSSCCR<n>.SAC, and TRCSSPCICR<n>.PC.
| STATUS | Meaning |
|---|---|
| 0b0 | No match has occurred. When the first match occurs, this field takes a value of 1. It remains at 1 until explicitly modified by a write to this register. |
| 0b1 | One or more matches has occurred. If TRCSSCCR<n>.RST == 0 then: There is only one match and no more matches are possible. Software must reset this field to 0 to re-enable the Single-shot Comparator Control. |
The reset behavior of this field is:
Single-shot pending status. The Single-shot Comparator Control fired while the resources were in the Paused state.
| PENDING | Meaning |
|---|---|
| 0b0 | No match has occurred. |
| 0b1 | One or more matches has occurred. |
The reset behavior of this field is:
Reserved, RES0.
PE Comparator Input support. Indicates if the Single-shot Comparator Control supports PE Comparator Inputs.
| PC | Meaning |
|---|---|
| 0b0 | This Single-shot Comparator Control does not support PE Comparator Inputs. Selecting any PE Comparator Inputs using the associated TRCSSPCICR<n> results in CONSTRAINED UNPREDICTABLE behavior of the Single-shot Comparator Control resource. The Single-shot Comparator Control might match unexpectedly or might not match. |
| 0b1 | This Single-shot Comparator Control supports PE Comparator Inputs. |
Access to this field is RO.
Data value comparator support. Data value comparisons are not implemented in ETE and are reserved for other trace architectures. Allocated in other trace architectures.
| DV | Meaning |
|---|---|
| 0b0 | This Single-shot Comparator Control does not support data value comparisons. |
| 0b1 | This Single-shot Comparator Control supports data value comparisons. |
When FEAT_ETE is implemented, the only permitted value is 0.
Access to this field is RO.
Data Address Comparator support. Data address comparisons are not implemented in ETE and are reserved for other trace architectures. Allocated in other trace architectures.
| DA | Meaning |
|---|---|
| 0b0 | This Single-shot Comparator Control does not support data address comparisons. |
| 0b1 | This Single-shot Comparator Control supports data address comparisons. |
When FEAT_ETE is implemented, the only permitted value is 0.
Access to this field is RO.
Instruction Address Comparator support. Indicates if the Single-shot Comparator Control supports instruction address comparisons.
| INST | Meaning |
|---|---|
| 0b0 | This Single-shot Comparator Control does not support instruction address comparisons. |
| 0b1 | This Single-shot Comparator Control supports instruction address comparisons. |
When FEAT_ETE is implemented, the only permitted value is 1.
Access to this field is RO.
Must be programmed if TRCRSCTLR.GROUP == 0b0011 and TRCRSCTLR.SINGLE_SHOT[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.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x2A0 + (4 * n) | TRCSSCSR<n> |
Accessible as follows:
Trace Single-shot Processing Element Comparator Input Control Register <n>
Returns the status of the corresponding Single-shot Comparator Control.
External register TRCSSPCICR<n> bits [31:0] are architecturally mapped to AArch64 System register TRCSSPCICR<n>[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and UInt(TRCIDR4.NUMPC) > 0. Otherwise, direct accesses to TRCSSPCICR<n> are RES0.
TRCSSPCICR<n> is a 32-bit register.
| 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 | PC[7] | PC[6] | PC[5] | PC[4] | PC[3] | PC[2] | PC[1] | PC[0] |
Reserved, RES0.
Selects one or more PE Comparator Inputs for Single-shot control.
| PC[<m>] | Meaning |
|---|---|
| 0b0 | The single PE Comparator Input <m>, is not selected as for Single-shot control. |
| 0b1 | The single PE Comparator Input <m>, is selected as for Single-shot control. |
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. Accessing this field has the following behavior:
When m >= UInt(TRCIDR4.NUMPC), access to this field is RES0 .
When TRCSSCSR[m].PC != '1', access to this field is RES0 .
Must be programmed if implemented and any TRCRSCTLR.GROUP == 0b0011 and TRCRSCTLR.SINGLE_SHOT[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.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x2C0 + (4 * n) | TRCSSPCICR<n> |
Accessible as follows:
Trace Stall Control Register
Enables trace unit functionality that prevents trace unit buffer overflows.
External register TRCSTALLCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCSTALLCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR3.STALLCTL == '1'. Otherwise, direct accesses to TRCSTALLCTLR are RES0.
TRCSTALLCTLR is a 32-bit register.
| 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 | NOOVERFLOW | RES0 | ISTALL | RES0 | LEVEL |
Reserved, RES0.
Trace overflow prevention.
| NOOVERFLOW | Meaning |
|---|---|
| 0b0 | Trace unit buffer overflow prevention is disabled. |
| 0b1 | Trace unit buffer overflow prevention is enabled. |
Enabling this feature might cause a significant performance impact.
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Instruction stall control. Controls if a trace unit can stall the PE when the trace buffer space is less than LEVEL.
| ISTALL | Meaning |
|---|---|
| 0b0 | The trace unit must not stall the PE. |
| 0b1 | The trace unit can stall the PE. |
The reset behavior of this field is:
Reserved, RES0.
Threshold level field. The field can support 16 monotonic levels from 0b0000 to 0b1111.
The value 0b0000 defines the Minimal invasion level. This setting has a greater risk of a trace unit buffer overflow.
The value 0b1111 defines the Maximum invasion level. This setting has a reduced risk of a trace unit buffer overflow.
For some implementations, invasion might occur at the minimal invasion level.
One or more of the least significant bits of LEVEL are permitted to be RES0. Arm recommends that LEVEL[3:2] are fully implemented. Arm strongly recommends that LEVEL[3] is always implemented. If one or more bits are RES0 and are written with a nonzero value, the effective value of LEVEL is rounded down to the nearest power of 2 value which has the RES0 bits as zero. For example, if LEVEL[1:0] are RES0 and a value of 0b1110 is written to LEVEL, the effective value of LEVEL is 0b1100.
The reset behavior of this field is:
Must be programmed if implemented.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x02C | TRCSTALLCTLR |
Accessible as follows:
Trace Status Register
Returns the trace unit status.
External register TRCSTATR bits [31:0] are architecturally mapped to AArch64 System register TRCSTATR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCSTATR are RES0.
TRCSTATR is a 32-bit register.
| 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 | PMSTABLE | IDLE |
Reserved, RES0.
Programmers' model stable.
| PMSTABLE | Meaning |
|---|---|
| 0b0 | The programmers' model is not stable. |
| 0b1 | The programmers' model is stable. |
Accessing this field has the following behavior:
Access to this field is UNKNOWN/WI if all the following are true:
Idle status.
| IDLE | Meaning |
|---|---|
| 0b0 | The trace unit is not idle. |
| 0b1 | The trace unit is idle. |
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x00C | TRCSTATR |
Accessible as follows:
Trace Synchronization Period Register
Controls how often trace protocol synchronization requests occur.
External register TRCSYNCPR bits [31:0] are architecturally mapped to AArch64 System register TRCSYNCPR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCSYNCPR are RES0.
TRCSYNCPR is a 32-bit register.
| 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 | PERIOD |
Reserved, RES0.
Defines the number of bytes of trace between each periodic trace protocol synchronization request.
| PERIOD | Meaning |
|---|---|
| 0b00000 | Trace protocol synchronization is disabled. |
| 0b01000 | Trace protocol synchronization request occurs after 28 bytes of trace. |
| 0b01001 | Trace protocol synchronization request occurs after 29 bytes of trace. |
| 0b01010 | Trace protocol synchronization request occurs after 210 bytes of trace. |
| 0b01011 | Trace protocol synchronization request occurs after 211 bytes of trace. |
| 0b01100 | Trace protocol synchronization request occurs after 212 bytes of trace. |
| 0b01101 | Trace protocol synchronization request occurs after 213 bytes of trace. |
| 0b01110 | Trace protocol synchronization request occurs after 214 bytes of trace. |
| 0b01111 | Trace protocol synchronization request occurs after 215 bytes of trace. |
| 0b10000 | Trace protocol synchronization request occurs after 216 bytes of trace. |
| 0b10001 | Trace protocol synchronization request occurs after 217 bytes of trace. |
| 0b10010 | Trace protocol synchronization request occurs after 218 bytes of trace. |
| 0b10011 | Trace protocol synchronization request occurs after 219 bytes of trace. |
| 0b10100 | Trace protocol synchronization request occurs after 220 bytes of trace. |
Other values are reserved. If a reserved value is programmed into PERIOD, then the behavior of the synchronization period counter is CONSTRAINED UNPREDICTABLE and one of the following behaviors occurs:
No trace protocol synchronization requests are generated by this counter.
Trace protocol synchronization requests occur at the specified period.
Trace protocol synchronization requests occur at some other UNKNOWN period which can vary. The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value.
Must be programmed if TRCIDR3.SYNCPR == 0.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x034 | TRCSYNCPR |
Accessible as follows:
Trace ID Register
Sets the trace ID for instruction trace.
External register TRCTRACEIDR bits [31:0] are architecturally mapped to AArch64 System register TRCTRACEIDR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCTRACEIDR are RES0.
TRCTRACEIDR is a 32-bit register.
| 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 | TRACEID |
Reserved, RES0.
Trace ID field. Sets the trace ID value for instruction trace. The width of the field is indicated by the value of TRCIDR5.TRACEIDSIZE. Unimplemented bits are RES0.
If an implementation supports AMBA ATB, then:
The reset behavior of this field is:
Must be programmed if implemented.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x040 | TRCTRACEIDR |
Accessible as follows:
Trace Timestamp Control Register
Controls the insertion of global timestamps in the trace stream.
External register TRCTSCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCTSCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR0.TSSIZE != '00000'. Otherwise, direct accesses to TRCTSCTLR are RES0.
TRCTSCTLR is a 32-bit register.
| 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 | EVENT_TYPE | RES0 | EVENT_SEL |
Reserved, RES0.
Chooses the type of Resource Selector.
| EVENT_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCTSCTLR.EVENT.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. TRCTSCTLR.EVENT.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. TRCTSCTLR.EVENT.SEL[4] is RES0. |
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Defines the selected Resource Selector or pair of Resource Selectors. TRCTSCTLR.EVENT.TYPE controls whether TRCTSCTLR.EVENT.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:
Reserved, RES0.
Must be programmed if TRCCONFIGR.TS == 1.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x030 | TRCTSCTLR |
Accessible as follows:
Trace ViewInst Main Control Register
Controls instruction trace filtering.
External register TRCVICTLR bits [31:0] are architecturally mapped to AArch64 System register TRCVICTLR[31:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCVICTLR are RES0.
TRCVICTLR is a 32-bit register.
| 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 | RES0 | EXLEVEL_NS_EL2 | EXLEVEL_NS_EL1 | EXLEVEL_NS_EL0 | EXLEVEL_S_EL3 | EXLEVEL_S_EL2 | EXLEVEL_S_EL1 | EXLEVEL_S_EL0 | RES0 | TRCERR | TRCRESET | SSSTATUS | RES0 | EVENT_TYPE | RES0 | Bits[4:0] |
Reserved, RES0.
Filter instruction trace for EL2 in Realm state.
| EXLEVEL_RL_EL2 | Meaning |
|---|---|
| 0b0 | When TRCVICTLR.EXLEVEL_NS_EL2 is 0 the trace unit generates instruction trace for EL2 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL2 is 1 the trace unit does not generate instruction trace for EL2 in Realm state. |
| 0b1 | When TRCVICTLR.EXLEVEL_NS_EL2 is 0 the trace unit does not generate instruction trace for EL2 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL2 is 1 the trace unit generates instruction trace for EL2 in Realm state. |
The reset behavior of this field is:
Reserved, RES0.
Filter instruction trace for EL1 in Realm state.
| EXLEVEL_RL_EL1 | Meaning |
|---|---|
| 0b0 | When TRCVICTLR.EXLEVEL_NS_EL1 is 0 the trace unit generates instruction trace for EL1 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL1 is 1 the trace unit does not generate instruction trace for EL1 in Realm state. |
| 0b1 | When TRCVICTLR.EXLEVEL_NS_EL1 is 0 the trace unit does not generate instruction trace for EL1 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL1 is 1 the trace unit generates instruction trace for EL1 in Realm state. |
The reset behavior of this field is:
Reserved, RES0.
Filter instruction trace for EL0 in Realm state.
| EXLEVEL_RL_EL0 | Meaning |
|---|---|
| 0b0 | When TRCVICTLR.EXLEVEL_NS_EL0 is 0 the trace unit generates instruction trace for EL0 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL0 is 1 the trace unit does not generate instruction trace for EL0 in Realm state. |
| 0b1 | When TRCVICTLR.EXLEVEL_NS_EL0 is 0 the trace unit does not generate instruction trace for EL0 in Realm state. When TRCVICTLR.EXLEVEL_NS_EL0 is 1 the trace unit generates instruction trace for EL0 in Realm state. |
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Filter instruction trace for EL2 in Non-secure state.
| EXLEVEL_NS_EL2 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL2 in Non-secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL2 in Non-secure state. |
The reset behavior of this field is:
Reserved, RES0.
Filter instruction trace for EL1 in Non-secure state.
| EXLEVEL_NS_EL1 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL1 in Non-secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL1 in Non-secure state. |
The reset behavior of this field is:
Reserved, RES0.
Filter instruction trace for EL0 in Non-secure state.
| EXLEVEL_NS_EL0 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL0 in Non-secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL0 in Non-secure state. |
The reset behavior of this field is:
Reserved, RES0.
Filter instruction trace for EL3.
| EXLEVEL_S_EL3 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL3. |
| 0b1 | The trace unit does not generate instruction trace for EL3. |
The reset behavior of this field is:
Reserved, RES0.
Filter instruction trace for EL2 in Secure state.
| EXLEVEL_S_EL2 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL2 in Secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL2 in Secure state. |
The reset behavior of this field is:
Reserved, RES0.
Filter instruction trace for EL1 in Secure state.
| EXLEVEL_S_EL1 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL1 in Secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL1 in Secure state. |
The reset behavior of this field is:
Reserved, RES0.
Filter instruction trace for EL0 in Secure state.
| EXLEVEL_S_EL0 | Meaning |
|---|---|
| 0b0 | The trace unit generates instruction trace for EL0 in Secure state. |
| 0b1 | The trace unit does not generate instruction trace for EL0 in Secure state. |
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Controls the forced tracing of System Error exceptions.
| TRCERR | Meaning |
|---|---|
| 0b0 | Forced tracing of System Error exceptions is disabled. |
| 0b1 | Forced tracing of System Error exceptions is enabled. |
The reset behavior of this field is:
Reserved, RES0.
Controls the forced tracing of PE Resets.
| TRCRESET | Meaning |
|---|---|
| 0b0 | Forced tracing of PE Resets is disabled. |
| 0b1 | Forced tracing of PE Resets is enabled. |
The reset behavior of this field is:
ViewInst start/stop function status.
| SSSTATUS | Meaning |
|---|---|
| 0b0 | Stopped State. The ViewInst start/stop function is in the stopped state. |
| 0b1 | Started State. The ViewInst start/stop function is in the started state. |
Before software enables the trace unit, it must write to this field to set the initial state of the ViewInst start/stop function. If the ViewInst start/stop function is not used then set this field to 1. Arm recommends that the value of this field is set before each trace session begins.
If the trace unit becomes disabled while a start point or stop point is still speculative, then the value of TRCVICTLR.SSSTATUS is UNKNOWN and might represent the result of a speculative start point or stop point.
If software which is running on the PE being traced disables the trace unit, either by clearing TRCPRGCTLR.EN or locking the OS Lock, Arm recommends that a DSB and an ISB instruction are executed before disabling the trace unit to prevent any start points or stop points being speculative at the point of disabling the trace unit. This procedure assumes that all start points or stop points occur before the barrier instructions are executed. The procedure does not guarantee that there are no speculative start points or stop points when disabling, although it helps minimize the probability.
The reset behavior of this field is:
Access to this field is RES1 if all the following are true:
Reserved, RES0.
Chooses the type of Resource Selector.
| EVENT_TYPE | Meaning |
|---|---|
| 0b0 | A single Resource Selector. TRCVICTLR.EVENT.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. TRCVICTLR.EVENT.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. TRCVICTLR.EVENT.SEL[4] is RES0. |
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Defines the selected Resource Selector or pair of Resource Selectors. TRCVICTLR.EVENT.TYPE controls whether TRCVICTLR.EVENT.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:
This field is reserved:
Reserved, RES0.
Must be programmed.
Reads from this register might return an UNKNOWN value if the trace unit is not in either of the Idle or Stable states.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x080 | TRCVICTLR |
Accessible as follows:
Trace ViewInst Include/Exclude Control Register
Use this to select, or read, the Address Range Comparators for the ViewInst include/exclude function.
External register TRCVIIECTLR bits [31:0] are architecturally mapped to AArch64 System register TRCVIIECTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and UInt(TRCIDR4.NUMACPAIRS) > 0. Otherwise, direct accesses to TRCVIIECTLR are RES0.
TRCVIIECTLR is a 32-bit register.
| 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 | EXCLUDE[7] | EXCLUDE[6] | EXCLUDE[5] | EXCLUDE[4] | EXCLUDE[3] | EXCLUDE[2] | EXCLUDE[1] | EXCLUDE[0] | RES0 | INCLUDE[7] | INCLUDE[6] | INCLUDE[5] | INCLUDE[4] | INCLUDE[3] | INCLUDE[2] | INCLUDE[1] | INCLUDE[0] |
Reserved, RES0.
Exclude Address Range Comparator <m>. Selects whether Address Range Comparator <m> is in use with the ViewInst exclude function.
| EXCLUDE[<m>] | Meaning |
|---|---|
| 0b0 | The address range that Address Range Comparator <m> defines, is not selected for the ViewInst exclude function. |
| 0b1 | The address range that Address Range Comparator <m> defines, is selected for the ViewInst exclude function. |
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.
Reserved, RES0.
Include Address Range Comparator <m>.
Selects whether Address Range Comparator <m> is in use with the ViewInst include function.
Selecting no comparators for the ViewInst include function indicates that all instructions are included by default.
The ViewInst exclude function then indicates which ranges are excluded.
| INCLUDE[<m>] | Meaning |
|---|---|
| 0b0 | The address range that Address Range Comparator <m> defines, is not selected for the ViewInst include function. |
| 0b1 | The address range that Address Range Comparator <m> defines, is selected for the ViewInst include function. |
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.
Must be programmed if TRCIDR4.NUMACPAIRS > 0b0000.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x084 | TRCVIIECTLR |
Accessible as follows: