[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, n = 0 to 2 through TRCVIIECTLR.

TRCSEQEVR<n>, n = 0, 2

Trace Sequencer State Transition Control Register <n>

Moves the Sequencer state:

Configuration

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.

Attributes

TRCSEQEVR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0B_TYPERES0B_SELF_TYPERES0F_SEL

Bits [31:16]:

Reserved, RES0.

B_TYPE, bit [15]:

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_TYPEMeaning
0b0A single Resource Selector. TRCSEQEVR<n>.B.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event.
0b1A 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:

Bits [14:13]:

Reserved, RES0.

B_SEL, bits [12:8]:

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:

F_TYPE, bit [7]:

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_TYPEMeaning
0b0A single Resource Selector. TRCSEQEVR<n>.F.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event.
0b1A 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:

Bits [6:5]:

Reserved, RES0.

F_SEL, bits [4:0]:

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:

Accessing TRCSEQEVR<n>

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.

TRCSEQEVR<n> can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x100 + (4 * n)TRCSEQEVR<n>

Accessible as follows:


TRCSEQRSTEVR

Trace Sequencer Reset Control Register

Moves the Sequencer to state 0 when a programmed resource event occurs.

Configuration

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.

Attributes

TRCSEQRSTEVR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0RST_TYPERES0RST_SEL

Bits [31:8]:

Reserved, RES0.

RST_TYPE, bit [7]:

Reset field. Selects an event that causes the Sequencer to move to state 0.

Chooses the type of Resource Selector.

RST_TYPEMeaning
0b0A single Resource Selector. TRCSEQRSTEVR.RST.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event.
0b1A 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:

Bits [6:5]:

Reserved, RES0.

RST_SEL, bits [4:0]:

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:

Accessing TRCSEQRSTEVR

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.

TRCSEQRSTEVR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x118TRCSEQRSTEVR

Accessible as follows:


TRCSEQSTR

Trace Sequencer State Register

Use this to set, or read, the Sequencer state.

Configuration

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.

Attributes

TRCSEQSTR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0STATE

Bits [31:2]:

Reserved, RES0.

STATE, bits [1:0]:

Set or returns the state of the Sequencer.

STATEMeaning
0b00State 0.
0b01State 1.
0b10State 2.
0b11State 3.

The reset behavior of this field is:

Accessing TRCSEQSTR

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.

TRCSEQSTR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x11CTRCSEQSTR

Accessible as follows:


TRCSSCCR<n>, n = 0, 7

Trace Single-shot Comparator Control Register <n>

Controls the corresponding Single-shot Comparator Control resource.

Configuration

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.

Attributes

TRCSSCCR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0RSTARC[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]

Bits [31:25]:

Reserved, RES0.

RST, bit [24]:

Selects the Single-shot Comparator Control mode.

RSTMeaning
0b0The Single-shot Comparator Control is in single-shot mode.
0b1The Single-shot Comparator Control is in multi-shot mode.

The reset behavior of this field is:

ARC[<m>], bit [m+16], for m = 7 to 0:

Selects one or more Address Range Comparators for Single-shot control.

ARC[<m>]Meaning
0b0The Address Range Comparator <m>, is not selected for Single-shot control.
0b1The Address Range Comparator <m>, is selected for Single-shot control.

The reset behavior of this field is:

SAC[<m>], bit [m], for m = 15 to 0:

Selects one or more Single Address Comparators for Single-shot control.

SAC[<m>]Meaning
0b0The Single Address Comparator <m>, is not selected for Single-shot control.
0b1The Single Address Comparator <m>, is selected for Single-shot control.

The reset behavior of this field is:

Accessing TRCSSCCR<n>

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.

TRCSSCCR<n> can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x280 + (4 * n)TRCSSCCR<n>

Accessible as follows:


TRCSSCSR<n>, n = 0, 7

Trace Single-shot Comparator Control Status Register <n>

Returns the status of the corresponding Single-shot Comparator Control.

Configuration

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.

Attributes

TRCSSCSR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
STATUSPENDINGRES0PCDVDAINST

STATUS, bit [31]:

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.

STATUSMeaning
0b0No 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.
0b1One 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:

PENDING, bit [30]:

Single-shot pending status. The Single-shot Comparator Control fired while the resources were in the Paused state.

PENDINGMeaning
0b0No match has occurred.
0b1One or more matches has occurred.

The reset behavior of this field is:

Bits [29:4]:

Reserved, RES0.

PC, bit [3]:

PE Comparator Input support. Indicates if the Single-shot Comparator Control supports PE Comparator Inputs.

PCMeaning
0b0This 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.
0b1This Single-shot Comparator Control supports PE Comparator Inputs.

Access to this field is RO.

DV, bit [2]:

Data value comparator support. Data value comparisons are not implemented in ETE and are reserved for other trace architectures. Allocated in other trace architectures.

DVMeaning
0b0This Single-shot Comparator Control does not support data value comparisons.
0b1This 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.

DA, bit [1]:

Data Address Comparator support. Data address comparisons are not implemented in ETE and are reserved for other trace architectures. Allocated in other trace architectures.

DAMeaning
0b0This Single-shot Comparator Control does not support data address comparisons.
0b1This 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.

INST, bit [0]:

Instruction Address Comparator support. Indicates if the Single-shot Comparator Control supports instruction address comparisons.

INSTMeaning
0b0This Single-shot Comparator Control does not support instruction address comparisons.
0b1This 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.

Accessing TRCSSCSR<n>

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.

TRCSSCSR<n> can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x2A0 + (4 * n)TRCSSCSR<n>

Accessible as follows:


TRCSSPCICR<n>, n = 0, 7

Trace Single-shot Processing Element Comparator Input Control Register <n>

Returns the status of the corresponding Single-shot Comparator Control.

Configuration

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.

Attributes

TRCSSPCICR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0PC[7]PC[6]PC[5]PC[4]PC[3]PC[2]PC[1]PC[0]

Bits [31:8]:

Reserved, RES0.

PC[<m>], bit [m], for m = 7 to 0:

Selects one or more PE Comparator Inputs for Single-shot control.

PC[<m>]Meaning
0b0The single PE Comparator Input <m>, is not selected as for Single-shot control.
0b1The 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:

Accessing TRCSSPCICR<n>

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.

TRCSSPCICR<n> can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x2C0 + (4 * n)TRCSSPCICR<n>

Accessible as follows:


TRCSTALLCTLR

Trace Stall Control Register

Enables trace unit functionality that prevents trace unit buffer overflows.

Configuration

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.

Attributes

TRCSTALLCTLR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0NOOVERFLOWRES0ISTALLRES0LEVEL

Bits [31:14]:

Reserved, RES0.

NOOVERFLOW, bit [13] when TRCIDR3.NOOVERFLOW == '1':

Trace overflow prevention.

NOOVERFLOWMeaning
0b0Trace unit buffer overflow prevention is disabled.
0b1Trace unit buffer overflow prevention is enabled.

Enabling this feature might cause a significant performance impact.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

Bits [12:9]:

Reserved, RES0.

ISTALL, bit [8]:

Instruction stall control. Controls if a trace unit can stall the PE when the trace buffer space is less than LEVEL.

ISTALLMeaning
0b0The trace unit must not stall the PE.
0b1The trace unit can stall the PE.

The reset behavior of this field is:

Bits [7:4]:

Reserved, RES0.

LEVEL, bits [3:0]:

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:

Accessing TRCSTALLCTLR

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.

TRCSTALLCTLR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x02CTRCSTALLCTLR

Accessible as follows:


TRCSTATR

Trace Status Register

Returns the trace unit status.

Configuration

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.

Attributes

TRCSTATR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0PMSTABLEIDLE

Bits [31:2]:

Reserved, RES0.

PMSTABLE, bit [1]:

Programmers' model stable.

PMSTABLEMeaning
0b0The programmers' model is not stable.
0b1The 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, bit [0]:

Idle status.

IDLEMeaning
0b0The trace unit is not idle.
0b1The trace unit is idle.

Accessing TRCSTATR

TRCSTATR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x00CTRCSTATR

Accessible as follows:


TRCSYNCPR

Trace Synchronization Period Register

Controls how often trace protocol synchronization requests occur.

Configuration

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.

Attributes

TRCSYNCPR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0PERIOD

Bits [31:5]:

Reserved, RES0.

PERIOD, bits [4:0]:

Defines the number of bytes of trace between each periodic trace protocol synchronization request.

PERIODMeaning
0b00000Trace protocol synchronization is disabled.
0b01000Trace protocol synchronization request occurs after 28 bytes of trace.
0b01001Trace protocol synchronization request occurs after 29 bytes of trace.
0b01010Trace protocol synchronization request occurs after 210 bytes of trace.
0b01011Trace protocol synchronization request occurs after 211 bytes of trace.
0b01100Trace protocol synchronization request occurs after 212 bytes of trace.
0b01101Trace protocol synchronization request occurs after 213 bytes of trace.
0b01110Trace protocol synchronization request occurs after 214 bytes of trace.
0b01111Trace protocol synchronization request occurs after 215 bytes of trace.
0b10000Trace protocol synchronization request occurs after 216 bytes of trace.
0b10001Trace protocol synchronization request occurs after 217 bytes of trace.
0b10010Trace protocol synchronization request occurs after 218 bytes of trace.
0b10011Trace protocol synchronization request occurs after 219 bytes of trace.
0b10100Trace 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:

Accessing TRCSYNCPR

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.

TRCSYNCPR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x034TRCSYNCPR

Accessible as follows:


TRCTRACEIDR

Trace ID Register

Sets the trace ID for instruction trace.

Configuration

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.

Attributes

TRCTRACEIDR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0TRACEID

Bits [31:7]:

Reserved, RES0.

TRACEID, bits [6:0]:

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:

Accessing TRCTRACEIDR

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.

TRCTRACEIDR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x040TRCTRACEIDR

Accessible as follows:


TRCTSCTLR

Trace Timestamp Control Register

Controls the insertion of global timestamps in the trace stream.

Configuration

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.

Attributes

TRCTSCTLR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0EVENT_TYPERES0EVENT_SEL

Bits [31:8]:

Reserved, RES0.

EVENT_TYPE, bit [7] when TRCIDR4.NUMRSPAIR != '0000':

Chooses the type of Resource Selector.

EVENT_TYPEMeaning
0b0A single Resource Selector. TRCTSCTLR.EVENT.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event.
0b1A 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:

Otherwise:

Reserved, RES0.

Bits [6:5]:

Reserved, RES0.

EVENT_SEL, bits [4:0] when TRCIDR4.NUMRSPAIR != '0000':

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:

Otherwise:

Reserved, RES0.

Accessing TRCTSCTLR

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.

TRCTSCTLR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x030TRCTSCTLR

Accessible as follows:


TRCVICTLR

Trace ViewInst Main Control Register

Controls instruction trace filtering.

Configuration

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.

Attributes

TRCVICTLR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0EXLEVEL_RL_EL2EXLEVEL_RL_EL1EXLEVEL_RL_EL0RES0EXLEVEL_NS_EL2EXLEVEL_NS_EL1EXLEVEL_NS_EL0EXLEVEL_S_EL3EXLEVEL_S_EL2EXLEVEL_S_EL1EXLEVEL_S_EL0RES0TRCERRTRCRESETSSSTATUSRES0EVENT_TYPERES0Bits[4:0]

Bits [31:27]:

Reserved, RES0.

EXLEVEL_RL_EL2, bit [26] when FEAT_RME is implemented:

Filter instruction trace for EL2 in Realm state.

EXLEVEL_RL_EL2Meaning
0b0When 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.
0b1When 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:

Otherwise:

Reserved, RES0.

EXLEVEL_RL_EL1, bit [25] when FEAT_RME is implemented:

Filter instruction trace for EL1 in Realm state.

EXLEVEL_RL_EL1Meaning
0b0When 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.
0b1When 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:

Otherwise:

Reserved, RES0.

EXLEVEL_RL_EL0, bit [24] when FEAT_RME is implemented:

Filter instruction trace for EL0 in Realm state.

EXLEVEL_RL_EL0Meaning
0b0When 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.
0b1When 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:

Otherwise:

Reserved, RES0.

Bit [23]:

Reserved, RES0.

EXLEVEL_NS_EL2, bit [22] when Non-secure EL2 is implemented:

Filter instruction trace for EL2 in Non-secure state.

EXLEVEL_NS_EL2Meaning
0b0The trace unit generates instruction trace for EL2 in Non-secure state.
0b1The trace unit does not generate instruction trace for EL2 in Non-secure state.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EXLEVEL_NS_EL1, bit [21] when Non-secure EL1 is implemented:

Filter instruction trace for EL1 in Non-secure state.

EXLEVEL_NS_EL1Meaning
0b0The trace unit generates instruction trace for EL1 in Non-secure state.
0b1The trace unit does not generate instruction trace for EL1 in Non-secure state.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EXLEVEL_NS_EL0, bit [20] when Non-secure EL0 is implemented:

Filter instruction trace for EL0 in Non-secure state.

EXLEVEL_NS_EL0Meaning
0b0The trace unit generates instruction trace for EL0 in Non-secure state.
0b1The trace unit does not generate instruction trace for EL0 in Non-secure state.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EXLEVEL_S_EL3, bit [19] when EL3 is implemented:

Filter instruction trace for EL3.

EXLEVEL_S_EL3Meaning
0b0The trace unit generates instruction trace for EL3.
0b1The trace unit does not generate instruction trace for EL3.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EXLEVEL_S_EL2, bit [18] when Secure EL2 is implemented:

Filter instruction trace for EL2 in Secure state.

EXLEVEL_S_EL2Meaning
0b0The trace unit generates instruction trace for EL2 in Secure state.
0b1The trace unit does not generate instruction trace for EL2 in Secure state.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EXLEVEL_S_EL1, bit [17] when Secure EL1 is implemented:

Filter instruction trace for EL1 in Secure state.

EXLEVEL_S_EL1Meaning
0b0The trace unit generates instruction trace for EL1 in Secure state.
0b1The trace unit does not generate instruction trace for EL1 in Secure state.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

EXLEVEL_S_EL0, bit [16] when Secure EL0 is implemented:

Filter instruction trace for EL0 in Secure state.

EXLEVEL_S_EL0Meaning
0b0The trace unit generates instruction trace for EL0 in Secure state.
0b1The trace unit does not generate instruction trace for EL0 in Secure state.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

Bits [15:12]:

Reserved, RES0.

TRCERR, bit [11] when TRCIDR3.TRCERR == '1':

Controls the forced tracing of System Error exceptions.

TRCERRMeaning
0b0Forced tracing of System Error exceptions is disabled.
0b1Forced tracing of System Error exceptions is enabled.

The reset behavior of this field is:

Otherwise:

Reserved, RES0.

TRCRESET, bit [10]:

Controls the forced tracing of PE Resets.

TRCRESETMeaning
0b0Forced tracing of PE Resets is disabled.
0b1Forced tracing of PE Resets is enabled.

The reset behavior of this field is:

SSSTATUS, bit [9]:

ViewInst start/stop function status.

SSSTATUSMeaning
0b0Stopped State. The ViewInst start/stop function is in the stopped state.
0b1Started 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:

Bit [8]:

Reserved, RES0.

EVENT_TYPE, bit [7] when TRCIDR4.NUMRSPAIR != '0000':

Chooses the type of Resource Selector.

EVENT_TYPEMeaning
0b0A single Resource Selector. TRCVICTLR.EVENT.SEL[4:0] selects the single Resource Selector, from 0-31, used to activate the resource event.
0b1A 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:

Otherwise:

Reserved, RES0.

Bits [6:5]:

Reserved, RES0.

Bits[4:0] when TRCIDR4.NUMRSPAIR != '0000':

EVENT_SEL, bits [4:0] of bits [4:0]

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:

when TRCIDR4.NUMRSPAIR == '0000':

Reserved, bits [4:0] of bits [4:0]

This field is reserved:

Otherwise:

Reserved, RES0.

Accessing TRCVICTLR

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.

TRCVICTLR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x080TRCVICTLR

Accessible as follows:


TRCVIIECTLR

Trace ViewInst Include/Exclude Control Register

Use this to select, or read, the Address Range Comparators for the ViewInst include/exclude function.

Configuration

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.

Attributes

TRCVIIECTLR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0EXCLUDE[7]EXCLUDE[6]EXCLUDE[5]EXCLUDE[4]EXCLUDE[3]EXCLUDE[2]EXCLUDE[1]EXCLUDE[0]RES0INCLUDE[7]INCLUDE[6]INCLUDE[5]INCLUDE[4]INCLUDE[3]INCLUDE[2]INCLUDE[1]INCLUDE[0]

Bits [31:24]:

Reserved, RES0.

EXCLUDE[<m>], bit [m+16], for m = 7 to 0:

Exclude Address Range Comparator <m>. Selects whether Address Range Comparator <m> is in use with the ViewInst exclude function.

EXCLUDE[<m>]Meaning
0b0The address range that Address Range Comparator <m> defines, is not selected for the ViewInst exclude function.
0b1The address range that Address Range Comparator <m> defines, is selected for the ViewInst exclude function.

The reset behavior of this field is:

Bits [15:8]:

Reserved, RES0.

INCLUDE[<m>], bit [m], for m = 7 to 0:

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
0b0The address range that Address Range Comparator <m> defines, is not selected for the ViewInst include function.
0b1The address range that Address Range Comparator <m> defines, is selected for the ViewInst include function.

The reset behavior of this field is:

Accessing TRCVIIECTLR

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.

TRCVIIECTLR can be accessed through the external debug interface:

ComponentOffsetInstance
ETE0x084TRCVIIECTLR

Accessible as follows:

------------------------------------------------------------------------------ Page 1 of 1. End of thread.