[Writeup] External debug and trace register pages: part 19 of 22 ================================================================ Section: Silicon & Architectures Started: 2026-11-28 17:39 UTC by admin Replies: 0, last post 2026-11-28 17:39 UTC Page: 1 of 1 Web: https://romdump.net/t/78 ------------------------------------------------------------------------------ #98 admin, 2026-11-28 17:39 UTC [OP] Source: https://romdump.net/raw/98 Archived Arm source pages for the External debug and trace register pages. Part 19 of 22. This part covers TRCDEVARCH through TRCIDR3. TRCDEVARCH Trace Device Architecture Register Provides discovery information for the component. For additional information, see the CoreSight Architecture Specification. Configuration External register TRCDEVARCH bits [31:0] are architecturally mapped to AArch64 System register TRCDEVARCH[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCDEVARCH are RES0. Attributes TRCDEVARCH 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 ARCHITECT | | | | | | | | | | | PRESENT | REVISION | | | | ARCHVER | | | | ARCHPART | | | | | | | | | | | ARCHITECT, bits [31:21]: Defines the architect of the component. For Trace, this is Arm Limited. Bits [31:28] are the JEP106 continuation code, 0b0100. Bits [27:21] are the JEP106 identification code, 0b0111011. Reads as 0b01000111011. Access to this field is RO. PRESENT, bit [20]: DEVARCH presence. Indicates that the TRCDEVARCH register provides architecture information. Reads as 0b1. Access to this field is RO. REVISION, bits [19:16]: Revision. Defines the architecture revision of the component. The value of this field is an IMPLEMENTATION DEFINED choice of: REVISION | Meaning 0b0000 | ETEv1.0, FEAT_ETE. 0b0001 | ETEv1.1, FEAT_ETEv1p1. 0b0010 | ETEv1.2, FEAT_ETEv1p2. 0b0011 | ETEv1.3, FEAT_ETEv1p3. All other values are reserved. Access to this field is RO. ARCHVER, bits [15:12]: Architecture Version. Defines the architecture version of the component. ARCHVER | Meaning 0b0101 | ETEv1. ARCHVER and ARCHPART are also defined as a single field, ARCHID, so that ARCHVER is ARCHID[15:12]. This field reads as 0x5. Access to this field is RO. ARCHPART, bits [11:0]: Architecture Part. Defines the architecture of the component. ARCHPART | Meaning 0xA13 | Arm PE trace architecture. ARCHVER and ARCHPART are also defined as a single field, ARCHID, so that ARCHPART is ARCHID[11:0]. This field reads as 0xA13. Access to this field is RO. Accessing TRCDEVARCH External debugger accesses to this register are unaffected by the OS Lock. TRCDEVARCH can be accessed through the external debug interface: Component | Offset | Instance ETE | 0xFBC | TRCDEVARCH Accessible as follows: - When !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCDEVID Trace Device Configuration Register Provides discovery information for the component. For additional information, see the CoreSight Architecture Specification. Configuration External register TRCDEVID bits [31:0] are architecturally mapped to AArch64 System register TRCDEVID[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCDEVID are RES0. Attributes TRCDEVID is a 32-bit register. Field descriptions 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 RES0 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bits [31:0]: Reserved, RES0. Accessing TRCDEVID External debugger accesses to this register are unaffected by the OS Lock. TRCDEVID can be accessed through the external debug interface: Component | Offset | Instance ETE | 0xFC8 | TRCDEVID Accessible as follows: - When !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCEVENTCTL0R Trace Event Control 0 Register Controls the generation of ETEEvents. Configuration External register TRCEVENTCTL0R bits [31:0] are architecturally mapped to AArch64 System register TRCEVENTCTL0R[31:0]. This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and TRCIDR4.NUMRSPAIR != '0000'. Otherwise, direct accesses to TRCEVENTCTL0R are RES0. Attributes TRCEVENTCTL0R 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 EVENT3_TYPE | RES0 | | EVENT3_SEL | | | | | EVENT2_TYPE | RES0 | | EVENT2_SEL | | | | | EVENT1_TYPE | RES0 | | EVENT1_SEL | | | | | EVENT0_TYPE | RES0 | | EVENT0_SEL | | | | EVENT3_TYPE, bit [31] when TRCIDR4.NUMRSPAIR != '0000' and UInt(TRCIDR0.NUMEVENT) >= 3: Chooses the type of Resource Selector. EVENT3_TYPE | Meaning 0b0 | A single Resource Selector. TRCEVENTCTL0R.EVENT3.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. TRCEVENTCTL0R.EVENT3.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. TRCEVENTCTL0R.EVENT3.SEL[4] is RES0. The reset behavior of this field is: - On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Otherwise: Reserved, RES0. Bits [30:29]: Reserved, RES0. EVENT3_SEL, bits [28:24] when TRCIDR4.NUMRSPAIR != '0000' and UInt(TRCIDR0.NUMEVENT) >= 3: When any of the selected resource events occurs and TRCEVENTCTL1R.INSTEN[3] == 1, then Event element 3 is generated in the instruction trace element stream. Defines the selected Resource Selector or pair of Resource Selectors. TRCEVENTCTL0R.EVENT3.TYPE controls whether TRCEVENTCTL0R.EVENT3.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. Otherwise: Reserved, RES0. EVENT2_TYPE, bit [23] when TRCIDR4.NUMRSPAIR != '0000' and UInt(TRCIDR0.NUMEVENT) >= 2: Chooses the type of Resource Selector. EVENT2_TYPE | Meaning 0b0 | A single Resource Selector. TRCEVENTCTL0R.EVENT2.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. TRCEVENTCTL0R.EVENT2.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. TRCEVENTCTL0R.EVENT2.SEL[4] is RES0. The reset behavior of this field is: - On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Otherwise: Reserved, RES0. Bits [22:21]: Reserved, RES0. EVENT2_SEL, bits [20:16] when TRCIDR4.NUMRSPAIR != '0000' and UInt(TRCIDR0.NUMEVENT) >= 2: When any of the selected resource events occurs and TRCEVENTCTL1R.INSTEN[2] == 1, then Event element 2 is generated in the instruction trace element stream. Defines the selected Resource Selector or pair of Resource Selectors. TRCEVENTCTL0R.EVENT2.TYPE controls whether TRCEVENTCTL0R.EVENT2.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. Otherwise: Reserved, RES0. EVENT1_TYPE, bit [15] when TRCIDR4.NUMRSPAIR != '0000' and UInt(TRCIDR0.NUMEVENT) >= 1: Chooses the type of Resource Selector. EVENT1_TYPE | Meaning 0b0 | A single Resource Selector. TRCEVENTCTL0R.EVENT1.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. TRCEVENTCTL0R.EVENT1.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. TRCEVENTCTL0R.EVENT1.SEL[4] is RES0. The reset behavior of this field is: - On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Otherwise: Reserved, RES0. Bits [14:13]: Reserved, RES0. EVENT1_SEL, bits [12:8] when TRCIDR4.NUMRSPAIR != '0000' and UInt(TRCIDR0.NUMEVENT) >= 1: When any of the selected resource events occurs and TRCEVENTCTL1R.INSTEN[1] == 1, then Event element 1 is generated in the instruction trace element stream. Defines the selected Resource Selector or pair of Resource Selectors. TRCEVENTCTL0R.EVENT1.TYPE controls whether TRCEVENTCTL0R.EVENT1.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. Otherwise: Reserved, RES0. EVENT0_TYPE, bit [7] when TRCIDR4.NUMRSPAIR != '0000': Chooses the type of Resource Selector. EVENT0_TYPE | Meaning 0b0 | A single Resource Selector. TRCEVENTCTL0R.EVENT0.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. TRCEVENTCTL0R.EVENT0.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. TRCEVENTCTL0R.EVENT0.SEL[4] is RES0. The reset behavior of this field is: - On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Otherwise: Reserved, RES0. Bits [6:5]: Reserved, RES0. EVENT0_SEL, bits [4:0] when TRCIDR4.NUMRSPAIR != '0000': When any of the selected resource events occurs and TRCEVENTCTL1R.INSTEN[0] == 1, then Event element 0 is generated in the instruction trace element stream. Defines the selected Resource Selector or pair of Resource Selectors. TRCEVENTCTL0R.EVENT0.TYPE controls whether TRCEVENTCTL0R.EVENT0.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. Otherwise: Reserved, RES0. Accessing TRCEVENTCTL0R 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. TRCEVENTCTL0R can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x020 | TRCEVENTCTL0R 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. ---- TRCEVENTCTL1R Trace Event Control 1 Register Controls the behavior of the ETEEvents that TRCEVENTCTL0R selects. Configuration External register TRCEVENTCTL1R bits [31:0] are architecturally mapped to AArch64 System register TRCEVENTCTL1R[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCEVENTCTL1R are RES0. Attributes TRCEVENTCTL1R 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 | | | | | | | | | | | | | | | | | | OE | LPOVERRIDE | ATB | RES0 | | | | | | | INSTEN[3] | INSTEN[2] | INSTEN[1] | INSTEN[0] Bits [31:14]: Reserved, RES0. OE, bit [13] when TRCIDR5.OE == '1': ETE Trace Output Enable control. OE | Meaning 0b0 | Trace output to any IMPLEMENTATION DEFINED trace output interface is disabled. 0b1 | Trace output to any IMPLEMENTATION DEFINED trace output interface is enabled. The reset behavior of this field is: - On a Trace unit reset, this field resets to '0'. Otherwise: Reserved, RES0. LPOVERRIDE, bit [12] when TRCIDR5.LPOVERRIDE == '1': Low-power Override Mode select. LPOVERRIDE | Meaning 0b0 | Trace unit Low-power Override Mode is not enabled. That is, the trace unit is permitted to enter low-power state. 0b1 | Trace unit Low-power Override Mode is enabled. That is, entry to a low-power state does not affect the trace unit resources or trace generation. Otherwise: Reserved, RES0. ATB, bit [11] when TRCIDR5.ATBTRIG == '1': AMBA Trace Bus (ATB) trigger enable. If a CoreSight ATB interface is implemented then when ETEEvent 0 occurs the trace unit sets: - ATID == 0x7D. - ATDATA to the value of TRCTRACEIDR. If the width of ATDATA is greater than the width of TRCTRACEIDR.TRACEID then the trace unit zeroes the upper ATDATA bits. If ETEEvent 0 is programmed to occur based on program execution, such as an Address Comparator, the ATB trigger might not be inserted into the ATB stream at the same time as any trace generated by that program execution is output by the trace unit. Typically, the generated trace might be buffered in a trace unit which means that the ATB trigger would be output before the associated trace is output. If ETEEvent 0 is asserted multiple times in close succession, the trace unit is required to generate an ATB trigger for the first assertion, but might ignore one or more of the subsequent assertions. Arm recommends that the window in which ETEEvent 0 is ignored is limited only by the time taken to output an ATB trigger. ATB | Meaning 0b0 | ATB trigger is disabled. 0b1 | ATB trigger is enabled. Otherwise: Reserved, RES0. Bits [10:4]: Reserved, RES0. INSTEN[], bit [m], for m = 3 to 0: Event element control. INSTEN[] | Meaning 0b0 | The trace unit does not generate an Event element . 0b1 | The trace unit generates an Event element when ETEEvent occurs. Accessing this field has the following behavior: - When TRCIDR4.NUMRSPAIR == '0000', access to this field is RES0 . Access to this field is RES0 if all the following are true: - TRCIDR4.NUMRSPAIR != '0000'. - m > UInt(TRCIDR0.NUMEVENT). - Otherwise, access to this field is RW. Accessing TRCEVENTCTL1R Must be programmed. If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored. TRCEVENTCTL1R can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x024 | TRCEVENTCTL1R 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. ---- TRCEXTINSELR, n = 0, 3 Trace External Input Select Register Use this to set, or read, which External Inputs are resources to the trace unit. The name TRCEXTINSELR is an alias of TRCEXTINSELR0. Configuration External register TRCEXTINSELR bits [31:0] are architecturally mapped to AArch64 System register TRCEXTINSELR[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCEXTINSELR are RES0. Attributes TRCEXTINSELR 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 | | | | | | | | | | | | | | | | evtCount | | | | | | | | | | | | | | | Bits [31:16]: Reserved, RES0. evtCount, bits [15:0]: PMU event to select. Software must program this field with a PMU event that is supported by the PE being programmed. If FEAT_PMUv3p8 is implemented and this field is programmed to an event that is reserved or not supported by the PE, Arm recommends that the External Input Selector is not active and the value returned by a direct or external read of this field is the value written to the field. Otherwise, if evtCount is programmed to a PMU event that is reserved or not supported by the PE, the behavior depends on the value written: - For the range 0x0000 to 0x003F, the External Input Selector is not active, and the value returned by a direct or external read of this field is the value written to the field. - If FEAT_PMUv3p1 is implemented, for the range 0x4000 to 0x403F, Arm recommends that the External Input Selector is not active and the value returned by a direct or external read of this field is the value written to the field. - For other values, it is UNPREDICTABLE whether the External Input Selector is active and the value returned by a direct or external read of this field is UNKNOWN. UNPREDICTABLE means the PMU event must not expose privileged information. Arm recommends that the behavior across a family of implementations is defined such that if a given implementation does not include a PMU event from a set of common IMPLEMENTATION DEFINED PMU events, then the External Input Selector is not active and the value read back on evtCount is the value written. The reset behavior of this field is: - On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing TRCEXTINSELR Must be programmed if any of the following is true: TRCRSCTLR.GROUP == 0b0000 and TRCRSCTLR.EXTIN[n] == 1. If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored. TRCEXTINSELR can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x120 + (4 * n) | TRCEXTINSELR Accessible as follows: - When OSLockStatus(), or !AllowExternalTraceAccess(addrdesc), or !IsTraceCorePowered(), accesses to this register generate an error response. - When n >= NUM_TRACE_EXTERNAL_INPUT_SELECTOR_RESOURCES, accesses to this register are RES0. - Otherwise, accesses to this register are RW. ---- TRCIDR0 Trace ID Register 0 Returns the tracing capabilities of the trace unit. Configuration External register TRCIDR0 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR0[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR0 are RES0. Attributes TRCIDR0 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 | | COMMOPT | TSSIZE | | | | | TSMARK | ITE | RES0 | | | | TRCEXDATA | QSUPP | | QFILT | CONDTYPE | | NUMEVENT | | RETSTACK | RES0 | TRCCCI | TRCCOND | TRCBB | TRCDATA | | INSTP0 | | RES1 Bits [31:30]: Reserved, RES0. COMMOPT, bit [29]: Indicates the contents and encodings of Cycle count packets. The value of this field is an IMPLEMENTATION DEFINED choice of: COMMOPT | Meaning 0b0 | Commit mode 0. 0b1 | Commit mode 1. The Commit mode defines the contents and encodings of Cycle Count packets, in particular how Commit elements are indicated by these packets. See the descriptions of these packets for more details. Accessing this field has the following behavior: Access to this field is RAO/WI if all the following are true: - TRCIDR0.TRCCCI == '1'. - UInt(TRCIDR8.MAXSPEC) == 0x0. - When TRCIDR0.TRCCCI == '0', access to this field is RAZ/WI. - Otherwise, access to this field is RO. TSSIZE, bits [28:24]: Indicates that the trace unit implements Global timestamping and the size of the timestamp value. The value of this field is an IMPLEMENTATION DEFINED choice of: TSSIZE | Meaning 0b00000 | Global timestamping not implemented. 0b01000 | Global timestamping implemented with a 64-bit timestamp value. All other values are reserved. When FEAT_ETE is implemented, the only permitted value is 0b01000. Access to this field is RO. TSMARK, bit [23]: Indicates whether Timestamp Marker elements are generated. The value of this field is an IMPLEMENTATION DEFINED choice of: TSMARK | Meaning 0b0 | Timestamp Marker elements are not generated. 0b1 | Timestamp Marker elements are generated. Access to this field is RO. ITE, bit [22]: Indicates whether Instrumentation Trace is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: ITE | Meaning 0b0 | Instrumentation Trace not implemented. 0b1 | Instrumentation Trace implemented. This field has the value 1 if FEAT_ITE is implemented. Access to this field is RO. Bits [21:18]: Reserved, RES0. TRCEXDATA, bit [17] when TRCIDR0.TRCDATA != '00': Indicates if the trace unit implements tracing of data transfers for exceptions and exception returns. Data tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures. The value of this field is an IMPLEMENTATION DEFINED choice of: TRCEXDATA | Meaning 0b0 | Tracing of data transfers for exceptions and exception returns not implemented. 0b1 | Tracing of data transfers for exceptions and exception returns implemented. Access to this field is RO. Otherwise: Reserved, RES0. QSUPP, bits [16:15]: Indicates that the trace unit implements Q element support. The value of this field is an IMPLEMENTATION DEFINED choice of: QSUPP | Meaning 0b00 | Q element support is not implemented. 0b01 | Q element support is implemented, and only supports Q elements with instruction counts. 0b10 | Q element support is implemented, and only supports Q elements without instruction counts. 0b11 | Q element support is implemented, and supports: Q elements with instruction counts. Q elements without instruction counts. Access to this field is RO. QFILT, bit [14]: Indicates if the trace unit implements Q element filtering. The value of this field is an IMPLEMENTATION DEFINED choice of: QFILT | Meaning 0b0 | Q element filtering is not implemented. 0b1 | Q element filtering is implemented. If TRCIDR0.QSUPP == 0b00 then this field is 0. Access to this field is RO. CONDTYPE, bits [13:12] when TRCIDR0.TRCCOND == '1': Indicates how conditional instructions are traced. Conditional instruction tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures. The value of this field is an IMPLEMENTATION DEFINED choice of: CONDTYPE | Meaning 0b00 | Conditional instructions are traced with an indication of whether they pass or fail their condition code check. 0b01 | Conditional instructions are traced with an indication of the APSR condition flags. All other values are reserved. Access to this field is RO. Otherwise: Reserved, RES0. NUMEVENT, bits [11:10] when TRCIDR4.NUMRSPAIR == '0000': Indicates the number of ETEEvents implemented. NUMEVENT | Meaning 0b00 | The trace unit supports 0 ETEEvents. All other values are reserved. Access to this field is RO. when TRCIDR4.NUMRSPAIR != '0000': Indicates the number of ETEEvents implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: NUMEVENT | Meaning 0b00 | The trace unit supports 1 ETEEvent. 0b01 | The trace unit supports 2 ETEEvents. 0b10 | The trace unit supports 3 ETEEvents. 0b11 | The trace unit supports 4 ETEEvents. Access to this field is RO. Otherwise: Reserved, RES0. RETSTACK, bit [9]: Indicates if the trace unit supports the return stack. The value of this field is an IMPLEMENTATION DEFINED choice of: RETSTACK | Meaning 0b0 | Return stack not implemented. 0b1 | Return stack implemented. Access to this field is RO. Bit [8]: Reserved, RES0. TRCCCI, bit [7]: Indicates if the trace unit implements cycle counting. The value of this field is an IMPLEMENTATION DEFINED choice of: TRCCCI | Meaning 0b0 | Cycle counting not implemented. 0b1 | Cycle counting implemented. When FEAT_ETE is implemented, the only permitted value is 1. Access to this field is RO. TRCCOND, bit [6]: Indicates if the trace unit implements conditional instruction tracing. Conditional instruction tracing is not implemented in ETE and this field is reserved for other trace architectures. The value of this field is an IMPLEMENTATION DEFINED choice of: TRCCOND | Meaning 0b0 | Conditional instruction tracing not implemented. 0b1 | Conditional instruction tracing implemented. When FEAT_ETE is implemented, the only permitted value is 0. Access to this field is RO. TRCBB, bit [5]: Indicates if the trace unit implements branch broadcasting. The value of this field is an IMPLEMENTATION DEFINED choice of: TRCBB | Meaning 0b0 | Branch broadcasting not implemented. 0b1 | Branch broadcasting implemented. When FEAT_ETE is implemented, the only permitted value is 1. Access to this field is RO. TRCDATA, bits [4:3]: Indicates if the trace unit implements data tracing. Data tracing is not implemented in ETE and this field is reserved for other trace architectures. The value of this field is an IMPLEMENTATION DEFINED choice of: TRCDATA | Meaning 0b00 | Data tracing not implemented. 0b11 | Data tracing implemented. All other values are reserved. When FEAT_ETE is implemented, the only permitted value is 0b00. Access to this field is RO. INSTP0, bits [2:1]: Indicates if load and store instructions are P0 instructions. Load and store instructions as P0 instructions is not implemented in ETE and this field is reserved for other trace architectures. The value of this field is an IMPLEMENTATION DEFINED choice of: INSTP0 | Meaning 0b00 | Load and store instructions are not P0 instructions. 0b11 | Load and store instructions are P0 instructions. All other values are reserved. When FEAT_ETE is implemented, the only permitted value is 0b00. Access to this field is RO. Bit [0]: Reserved, RES1. Accessing TRCIDR0 TRCIDR0 can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x1E0 | TRCIDR0 Accessible as follows: - When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCIDR1 Trace ID Register 1 Returns the tracing capabilities of the trace unit. Configuration External register TRCIDR1 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR1[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR1 are RES0. Attributes TRCIDR1 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 DESIGNER | | | | | | | | RES0 | | | | | | | | RES1 | | | | TRCARCHMAJ | | | | TRCARCHMIN | | | | REVISION | | | DESIGNER, bits [31:24]: Indicates which company designed the trace unit. The permitted values of this field are the same as MIDR_EL1.Implementer. This field has an IMPLEMENTATION DEFINED value. Access to this field is RO. Bits [23:16]: Reserved, RES0. Bits [15:12]: Reserved, RES1. TRCARCHMAJ, bits [11:8]: Major architecture version. TRCARCHMAJ | Meaning 0b1111 | If both TRCIDR1.TRCARCHMAJ and TRCIDR1.TRCARCHMIN == 0xF then refer to TRCDEVARCH. All other values are reserved. This field reads as 0b1111. Access to this field is RO. TRCARCHMIN, bits [7:4]: Minor architecture version. TRCARCHMIN | Meaning 0b1111 | If both TRCIDR1.TRCARCHMAJ and TRCIDR1.TRCARCHMIN == 0xF then refer to TRCDEVARCH. All other values are reserved. This field reads as 0b1111. Access to this field is RO. REVISION, bits [3:0]: Implementation revision. Returns an IMPLEMENTATION DEFINED value that identifies the revision of the trace unit. Arm deprecates any use of this field and recommends that implementations set this field to zero. This field has an IMPLEMENTATION DEFINED value. Access to this field is RO. Accessing TRCIDR1 TRCIDR1 can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x1E4 | TRCIDR1 Accessible as follows: - When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCIDR10 Trace ID Register 10 Returns the tracing capabilities of the trace unit. Configuration External register TRCIDR10 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR10[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR10 are RES0. Attributes TRCIDR10 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 NUMP1KEY | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NUMP1KEY, bits [31:0] when TRCIDR0.TRCDATA != '00': Indicates the number of P1 right-hand keys. Data tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures. This field has an IMPLEMENTATION DEFINED value. Access to this field is RO. Otherwise: Reserved, RES0. Accessing TRCIDR10 TRCIDR10 can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x188 | TRCIDR10 Accessible as follows: - When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCIDR11 Trace ID Register 11 Returns the tracing capabilities of the trace unit. Configuration External register TRCIDR11 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR11[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR11 are RES0. Attributes TRCIDR11 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 NUMP1SPC | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NUMP1SPC, bits [31:0] when TRCIDR0.TRCDATA != '00': Indicates the number of special P1 right-hand keys. Data tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures. This field has an IMPLEMENTATION DEFINED value. Access to this field is RO. Otherwise: Reserved, RES0. Accessing TRCIDR11 TRCIDR11 can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x18C | TRCIDR11 Accessible as follows: - When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCIDR12 Trace ID Register 12 Returns the tracing capabilities of the trace unit. Configuration External register TRCIDR12 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR12[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR12 are RES0. Attributes TRCIDR12 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 NUMCONDKEY | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NUMCONDKEY, bits [31:0] when TRCIDR0.TRCCOND == '1': Indicates the number of conditional instruction right-hand keys. Conditional instruction tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures. This field has an IMPLEMENTATION DEFINED value. Access to this field is RO. Otherwise: Reserved, RES0. Accessing TRCIDR12 TRCIDR12 can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x190 | TRCIDR12 Accessible as follows: - When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCIDR13 Trace ID Register 13 Returns the tracing capabilities of the trace unit. Configuration External register TRCIDR13 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR13[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR13 are RES0. Attributes TRCIDR13 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 NUMCONDSPC | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NUMCONDSPC, bits [31:0] when TRCIDR0.TRCCOND == '1': Indicates the number of special conditional instruction right-hand keys. Conditional instruction tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures. This field has an IMPLEMENTATION DEFINED value. Access to this field is RO. Otherwise: Reserved, RES0. Accessing TRCIDR13 TRCIDR13 can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x194 | TRCIDR13 Accessible as follows: - When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCIDR2 Trace ID Register 2 Returns the tracing capabilities of the trace unit. Configuration External register TRCIDR2 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR2[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR2 are RES0. Attributes TRCIDR2 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 WFXMODE | VMIDOPT | | CCSIZE | | | | DVSIZE | | | | | DASIZE | | | | | VMIDSIZE | | | | | CIDSIZE | | | | | IASIZE | | | | WFXMODE, bit [31]: Indicates whether WFI, WFIT, WFE, and WFET instructions are classified as P0 instructions: The value of this field is an IMPLEMENTATION DEFINED choice of: WFXMODE | Meaning 0b0 | WFI, WFIT, WFE, and WFET instructions are not classified as P0 instructions. 0b1 | WFI, WFIT, WFE, and WFET instructions are classified as P0 instructions. Access to this field is RO. VMIDOPT, bits [30:29]: Indicates the options for Virtual context identifier selection. The value of this field is an IMPLEMENTATION DEFINED choice of: VMIDOPT | Meaning 0b00 | Virtual context identifier selection not supported. TRCCONFIGR.VMIDOPT is RES0. 0b01 | Virtual context identifier selection supported. TRCCONFIGR.VMIDOPT is implemented. 0b10 | Virtual context identifier selection not supported. TRCCONFIGR.VMIDOPT is RES1. All other values are reserved. If TRCIDR2.VMIDSIZE == 0b00000 then this field is 0b00. If TRCIDR2.VMIDSIZE != 0b00000 then this field is 0b10. Access to this field is RO. CCSIZE, bits [28:25] when TRCIDR0.TRCCCI == '1': Indicates the size of the cycle counter. The value of this field is an IMPLEMENTATION DEFINED choice of: CCSIZE | Meaning 0b0000 | The cycle counter is 12 bits in length. 0b0001 | The cycle counter is 13 bits in length. 0b0010 | The cycle counter is 14 bits in length. 0b0011 | The cycle counter is 15 bits in length. 0b0100 | The cycle counter is 16 bits in length. 0b0101 | The cycle counter is 17 bits in length. 0b0110 | The cycle counter is 18 bits in length. 0b0111 | The cycle counter is 19 bits in length. 0b1000 | The cycle counter is 20 bits in length. All other values are reserved. Access to this field is RO. Otherwise: Reserved, RES0. DVSIZE, bits [24:20] when TRCIDR0.TRCDATA != '00': Indicates the data value size in bytes. Data tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures. The value of this field is an IMPLEMENTATION DEFINED choice of: DVSIZE | Meaning 0b00000 | Data value tracing not implemented. 0b00100 | Data value tracing has a maximum of 32-bit data values. 0b01000 | Data value tracing has a maximum of 64-bit data values. All other values are reserved. Access to this field is RO. Otherwise: Reserved, RES0. DASIZE, bits [19:15] when TRCIDR0.TRCDATA != '00': Indicates the data address size in bytes. Data tracing is not implemented in ETE and this field is reserved for other trace architectures. Allocated in other trace architectures. The value of this field is an IMPLEMENTATION DEFINED choice of: DASIZE | Meaning 0b00000 | Data address tracing not implemented. 0b00100 | Data address tracing has a maximum of 32-bit data addresses. 0b01000 | Data address tracing has a maximum of 64-bit data addresses. All other values are reserved. Access to this field is RO. Otherwise: Reserved, RES0. VMIDSIZE, bits [14:10]: Indicates the trace unit Virtual context identifier size. The value of this field is an IMPLEMENTATION DEFINED choice of: VMIDSIZE | Meaning 0b00000 | Virtual context identifier tracing is not supported. 0b00001 | 8-bit Virtual context identifier size. 0b00010 | 16-bit Virtual context identifier size. 0b00100 | 32-bit Virtual context identifier size. All other values are reserved. If the PE does not implement EL2 then this field is 0b00000. If the PE implements EL2 then this field is 0b00100. Access to this field is RO. CIDSIZE, bits [9:5]: Indicates the Context identifier size. The value of this field is an IMPLEMENTATION DEFINED choice of: CIDSIZE | Meaning 0b00000 | Context identifier tracing is not supported. 0b00100 | 32-bit Context identifier size. All other values are reserved. When FEAT_ETE is implemented, the only permitted value is 0b00100. Access to this field is RO. IASIZE, bits [4:0]: Virtual instruction address size. The value of this field is an IMPLEMENTATION DEFINED choice of: IASIZE | Meaning 0b00100 | Maximum of 32-bit instruction address size. 0b01000 | Maximum of 64-bit instruction address size. All other values are reserved. When FEAT_ETE is implemented, the only permitted value is 0b01000. Access to this field is RO. Accessing TRCIDR2 TRCIDR2 can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x1E8 | TRCIDR2 Accessible as follows: - When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ---- TRCIDR3 Trace ID Register 3 Returns the base architecture of the trace unit. Configuration External register TRCIDR3 bits [31:0] are architecturally mapped to AArch64 System register TRCIDR3[31:0]. This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCIDR3 are RES0. Attributes TRCIDR3 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 NOOVERFLOW | NUMPROC[2:0] | | | SYSSTALL | STALLCTL | SYNCPR | TRCERR | RES0 | EXLEVEL_NS_EL2 | EXLEVEL_NS_EL1 | EXLEVEL_NS_EL0 | EXLEVEL_S_EL3 | EXLEVEL_S_EL2 | EXLEVEL_S_EL1 | EXLEVEL_S_EL0 | RES0 | | NUMPROC[4:3] | | CCITMIN | | | | | | | | | | | NOOVERFLOW, bit [31]: Indicates if overflow prevention is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: NOOVERFLOW | Meaning 0b0 | Overflow prevention is not implemented. 0b1 | Overflow prevention is implemented. If TRCIDR3.STALLCTL == 0 then this field is 0. Access to this field is RO. NUMPROC, bits [13:12, 30:28]: Indicates the number of PEs available for tracing. NUMPROC | Meaning 0b00000 | The trace unit can trace one PE. When FEAT_ETE is implemented, the only permitted value is 0b00000. The NUMPROC field is split as follows: - NUMPROC[2:0] is TRCIDR3[30:28]. - NUMPROC[4:3] is TRCIDR3[13:12]. Access to this field is RO. SYSSTALL, bit [27]: Indicates if stalling of the PE is permitted. The value of this field is an IMPLEMENTATION DEFINED choice of: SYSSTALL | Meaning 0b0 | Stalling of the PE is not permitted. 0b1 | Stalling of the PE is permitted. The value of this field might be dynamic and change based on system conditions. If TRCIDR3.STALLCTL == 0 then this field is 0. Access to this field is RO. STALLCTL, bit [26]: Indicates if trace unit implements stalling of the PE. The value of this field is an IMPLEMENTATION DEFINED choice of: STALLCTL | Meaning 0b0 | Stalling of the PE is not implemented. 0b1 | Stalling of the PE is implemented. Access to this field is RO. SYNCPR, bit [25]: Indicates if an implementation has a fixed synchronization period. The value of this field is an IMPLEMENTATION DEFINED choice of: SYNCPR | Meaning 0b0 | TRCSYNCPR is read/write so software can change the synchronization period. 0b1 | TRCSYNCPR is read-only so the synchronization period is fixed. When FEAT_ETE is implemented, the only permitted value is 0. Access to this field is RO. TRCERR, bit [24]: Indicates forced tracing of System Error exceptions is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: TRCERR | Meaning 0b0 | Forced tracing of System Error exceptions is not implemented. 0b1 | Forced tracing of System Error exceptions is implemented. When FEAT_ETE is implemented, the only permitted value is 1. Access to this field is RO. Bit [23]: Reserved, RES0. EXLEVEL_NS_EL2, bit [22]: Indicates if Non-secure EL2 is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: EXLEVEL_NS_EL2 | Meaning 0b0 | Non-secure EL2 is not implemented. 0b1 | Non-secure EL2 is implemented. Access to this field is RO. EXLEVEL_NS_EL1, bit [21]: Indicates if Non-secure EL1 is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: EXLEVEL_NS_EL1 | Meaning 0b0 | Non-secure EL1 is not implemented. 0b1 | Non-secure EL1 is implemented. Access to this field is RO. EXLEVEL_NS_EL0, bit [20]: Indicates if Non-secure EL0 is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: EXLEVEL_NS_EL0 | Meaning 0b0 | Non-secure EL0 is not implemented. 0b1 | Non-secure EL0 is implemented. Access to this field is RO. EXLEVEL_S_EL3, bit [19]: Indicates if EL3 is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: EXLEVEL_S_EL3 | Meaning 0b0 | EL3 is not implemented. 0b1 | EL3 is implemented. Access to this field is RO. EXLEVEL_S_EL2, bit [18]: Indicates if Secure EL2 is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: EXLEVEL_S_EL2 | Meaning 0b0 | Secure EL2 is not implemented. 0b1 | Secure EL2 is implemented. Access to this field is RO. EXLEVEL_S_EL1, bit [17]: Indicates if Secure EL1 is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: EXLEVEL_S_EL1 | Meaning 0b0 | Secure EL1 is not implemented. 0b1 | Secure EL1 is implemented. Access to this field is RO. EXLEVEL_S_EL0, bit [16]: Indicates if Secure EL0 is implemented. The value of this field is an IMPLEMENTATION DEFINED choice of: EXLEVEL_S_EL0 | Meaning 0b0 | Secure EL0 is not implemented. 0b1 | Secure EL0 is implemented. Access to this field is RO. Bits [15:14]: Reserved, RES0. CCITMIN, bits [11:0] when TRCIDR0.TRCCCI == '0': Indicates the minimum value that can be programmed in TRCCCCTLR.THRESHOLD. Reads as 0x000. Access to this field is RO. when TRCIDR0.TRCCCI == '1': Indicates the minimum value that can be programmed in TRCCCCTLR.THRESHOLD. The value of this field is an IMPLEMENTATION DEFINED choice of: CCITMIN | Meaning 0x001..0xFFF | The minimum value that can be programmed in TRCCCCTLR.THRESHOLD. The minimum value of this field is 0x001. Access to this field is RO. Otherwise: Reserved, RES0. Accessing TRCIDR3 TRCIDR3 can be accessed through the external debug interface: Component | Offset | Instance ETE | 0x1EC | TRCIDR3 Accessible as follows: - When OSLockStatus() or !IsTraceCorePowered(), accesses to this register generate an error response. - Otherwise, accesses to this register are RO. ------------------------------------------------------------------------------ Page 1 of 1. End of thread.