59. Debug support (DBG)
59.1 Introduction
A comprehensive set of debug features is provided to support software development and system integration:
- • Independent breakpoint debugging of each CPU core in the system
- • Code execution tracing
- • Software instrumentation
- • Cross-triggering
- • The debug features can be controlled via a JTAG/Serial-wire debug access port, using industry standard debugging tools. A trace port allows data to be captured for logging and analysis.
The debug features are based on Arm® CoreSight™ components:
- • SWJ-DP: JTAG/Serial-wire debug port
- • AXI-AP: AXI access port
- • APB-AP: APB access port
- • ITM: Instrumentation Trace Macrocell
- • DWT: Data Watchpoint and Trace
- • ETM: Embedded Trace Macrocell
- • ETF: Embedded Trace FIFO
- • TPIU: Trace Port Interface Unit
- • CTI: Cross Trigger Interface
- • CTM: Cross Trigger Matrix
- • Timestamp Generator
These components are described in Section 59.10 and Section 59.11. More information can be found in the Arm® documents referenced in Section 59.12.
59.2 Debug use cases
The trace and debug system has been designed to support a variety of typical use cases:
- • External debugging
The processor can be debugged using equipment connected to the JTAG/SWD debug port. This allows breakpoint and watchpoint setting, code stepping, memory access etc. - • Self-hosted debugging
The processor can be debugged by software running on the core. This allows breakpoint and watchpoint setting, code stepping, memory access etc. - • Tracing code execution via the trace port
Trace information is combined into a single trace stream and output to a trace port analyser in real time. - • Capturing trace continuously in a circular buffer
Instead of streaming it off-chip, the trace information can be stored on-chip in a circular buffer. The trace storage can be started and stopped by a debugger command, a software command, an external trigger signal, an internal event, etc. - • Draining the buffer to the trace port
The stored trace can be dumped off-chip to the trace port analyzer. The buffer draining can be initiated by the debugger, software, external trigger, internal event etc. - • Reading the buffer with the debugger
The debugger can read the contents of the trace buffer via the debug port. This is slower than the trace port, but allows basic trace functionality on the debugger without the cost of a trace port analyzer. - • Self-hosted trace analysis
The trace buffer can be read by the processor, or transferred into system memory by DMA. This powerful feature allows built-in test software to perform real-time code execution monitoring, fault analysis and identification, autonomous exception handling, and others. - • Uploading stored trace
The stored trace can also be uploaded to a host machine using one of the MPU's many communications interfaces (such as USB, USART, SPI, I2C, Ethernet, CAN, and others). This is especially useful if the trace port is not accessible, for example remote monitoring and failure analysis of a deployed product.
59.3 DBG block diagram
Figure 758. Block diagram of debug support infrastructure

The diagram illustrates the debug support infrastructure, divided into three main subsystems: Debug subsystem, MPU subsystem, and Trace subsystem. The components include JTAG/Serial-wire port (with JTMS/SWDIO, JTDI, JTDO, JTCK/SWDCLK, NJTRST), SWJ-DP1, DAPBUS, APB-AP1, AXI-AP1, System bus matrix, APB mux, Timestamp generator1, DBG_MCU, CTI1, ROM table1, Cortex-A7 core, ETM1, ETF1/SRAM, and TPIU1 leading to Trace port (TRACECLK, TRACED[15:0]), alongside DBTRGI and DBTRGO trigger pins. A legend indicates APB-D, DAPBUS, ATB, CTM, and Timestamp signals. Reference code: MSv65262V2.
1. Arm® CoreSight™ component
59.4 DBG pins
Table 597. JTAG/Serial-wire debug port pins
| Pin name | JTAG debug port | SW debug port | Pin assignment | ||
|---|---|---|---|---|---|
| Type | Description | Type | Description | ||
| JTMS/SWDIO | I | JTAG test mode select | I/O | Serial wire data in/out | Refer to datasheet |
| JTCK/SWCLK | I | JTAG test clock | I | Serial wire clock | |
| JTDI | I | JTAG test data input | - | - | |
| JTDO | O | JTAG test data output | - | - | |
| NJTRST | I | JTAG test reset | - | - | |
Table 598. Trace port pins
| Pin name | Type | Description | Pin assignment |
|---|---|---|---|
| TRACED[15:0] | O | Trace synchronous data out (can be 1, 2, 4, 8 or 16 pins) | Refer to datasheet |
| TRACECLK | O | Trace clock |
Table 599. Trigger pins
| Pin name | Type | Description | Pin assignment |
|---|---|---|---|
| DBTRGI | I | External trigger input to CTI | Refer to datasheet |
| DBTRGO | O | External trigger output from CTI |
59.5 DBG power and clocking
59.5.1 DBG power domains
All debug components including the SWJ-DP are in the core power domain. This means that the debugger is not able to wake the device from Standby mode.
59.5.2 DBG clocks
Figure 759. Debug clock domains
![Figure 1: Block diagram of the debug subsystem. The diagram shows the interaction between the swclk domain (containing JTAG/Serial-wire port and SWJ-DP¹) and the Debug subsystem. The SWJ-DP¹ connects to the DAPBUS, which in turn connects to the APB-AP¹ and AXL-AP¹. The APB-AP¹ connects to an APB mux, which then connects to the Cortex-A7 core, CTI¹, ROM tables¹, and DBG_MCU. The AXL-AP¹ connects to a System bus matrix, which connects to the CTI¹ and a Timestamp generator¹. The Cortex-A7 core connects to the ETM¹, which connects to the TPIU¹. The ETM¹ also connects to a SRAM. The CTI¹ connects to the DBG_MCU and the TPIU¹. The TPIU¹ connects to the Trace port (TRACECLK and TRACED[15:0]). The Trace port also connects to the APB-D (System Debug Bus) and DAPBUS. The Trace port also connects to the ATB (Trace Bus) and CTM (Cross Trigger Matrix). The Trace port also connects to the Timestamp generator¹. The Trace port also connects to the DBG_MCU. The Trace port also connects to the System bus matrix. The Trace port also connects to the APB-AP¹. The Trace port also connects to the AXL-AP¹. The Trace port also connects to the SWJ-DP¹.](/RM0475-STM32MP13/f165577456033020ca3ee60124fa6d9f_img.jpg)
Figure 1 is a block diagram of the debug subsystem. It shows the following components and connections:
- swclk domain: Contains the JTAG/Serial-wire port and SWJ-DP1.
- Debug subsystem: Contains the DAPBUS, APB-AP1, AXL-AP1, System bus matrix, APB mux, Cortex-A7 core, CTI1, ROM tables1, DBG_MCU, Timestamp generator1, ETM1, SRAM, and TPIU1.
- Connections:
- SWJ-DP1 connects to DAPBUS.
- DAPBUS connects to APB-AP1 and AXL-AP1.
- APB-AP1 connects to APB mux.
- AXL-AP1 connects to System bus matrix.
- APB mux connects to Cortex-A7 core, CTI1, ROM tables1, and DBG_MCU.
- System bus matrix connects to CTI1 and Timestamp generator1.
- Cortex-A7 core connects to ETM1.
- ETM1 connects to TPIU1 and SRAM.
- CTI1 connects to DBG_MCU and TPIU1.
- TPIU1 connects to Trace port (TRACECLK and TRACED[15:0]).
- Trace port connects to APB-D (System Debug Bus) and DAPBUS.
- Trace port connects to ATB (Trace Bus) and CTM (Cross Trigger Matrix).
- Trace port connects to Timestamp generator1.
- Trace port connects to DBG_MCU.
- Trace port connects to System bus matrix.
- Trace port connects to APB-AP1.
- Trace port connects to AXL-AP1.
- Trace port connects to SWJ-DP1.
Legend:
- APB-D (System Debug Bus): Double-headed arrow.
- DAPBUS: Double-headed arrow.
- ATB (Trace Bus): Single-headed arrow.
- CTM (Cross Trigger Matrix): Single-headed arrow.
- Timestamp: Dashed single-headed arrow.
Trace port:
- TRACECLK
- TRACED[15:0]
MSv65257V2
1. Arm® CoreSight™ component
The debugger supplies the clock for the debug port, SWTCLK, via the debug interface pin, JTCK/SWCLK. This clock is used to register the serial input data in both serial wire and JTAG mode, as well as to operate the state machines and internal logic of the debug port. It must therefore continue to toggle for several cycles after the end of an access, to ensure that the debug port returns to the idle state.
The SWJ-DP contains an asynchronous interface to the system debug clock domain, ck_sys_dbg. The remainder of the debug subsystem, as well as the trace subsystem, is in this domain. ck_sys_dbg is a gated version of the AXI bus clock, aclk.
The clock is enabled by the debugger using the CDBGPWRUPREQ bit in the debug port CTRL/STAT register. It can also be enabled by software writing bit DBGCKEN in RCC debug configuration register (RCC_DBGCFGR). The clock must be enabled before the debugger or software can access any of the debug features on the device. It should be disabled when debug and trace are not used to avoid wasting energy.
The APB-D (debug APB bus) clock (ck_apb_dbg) runs at half of the ck_sys_dbg frequency. Some of the CoreSight™ components on this bus operate at the APB-D frequency, notably the timestamp generator (TSGEN).
The trace port (TPIU) output clock, ck_trace, is generated using TRACEDIV programmable divider in RCC debug configuration register (RCC_DBGCFGR). Its maximum frequency is half that of ck_sys_dbg. The trace_ck signal is output on the TRACECLK GPIO pin when it is configured for trace function.
Note: TRACECLK is enabled by setting TRACECKEN to 1 in RCC debug configuration register (RCC_DBGCFGR). It should be activated whenever tracing is required.
RM0475 Debug support (DBG)
RM0475 Rev 5 3493/3742
The debug and trace components included in the processor (ETM, CTI etc) are clocked with the core clock (mpu_ss_ck).
59.5.3 Debug and low-power modes
The STM32MP13xx device includes power saving features which allow the various domain clocks and even the core power to be switched off when not required. If the core power is switched off (Standby mode), or the system debug domain is not clocked (Stop mode), all debug components will be inaccessible to the debugger. To avoid this, power saving mode emulation has been implemented. If emulation is enabled, the device still enters the programmed low power mode, but its clock and power are maintained. In other words, the domain behaves as if it is in low power mode, but the debugger does not lose the connection.
Emulation mode is programmed in the MCU Debug (DBGMCU) unit. For more information, refer to Section 59.10.6.
If the device is in Stop mode (ie. all clocks off) without emulation and the debugger wishes to wake the system up, it can do so by asserting the CDBGPWRUPREQ bit in the debug port CTRL/STAT register. This restarts the clocks (and switches on the high power regulator if needed) but does not generate any interrupt or event. When the wake-up has completed, the CDBGPWRUPACK bit in the same register will go high. In this state the debugger can access the memories and peripheral registers, and trigger a wakeup of the CPUs if required.
59.5.4 DBG reset
The debug components, except for the debug port, are reset by their respective clock domain resets. The debug port (SWJ-DP) is reset by the nTRST or vcore_rst resets. The access ports can be reset under debugger control, using the CDBGRSTREQ/ACK bits in the CTRL/STAT register of the debug port.
The debugger sets the CDBGRSTREQ bit to request a reset. It then polls the CDBGRSTACK bit until it goes high, indicating that the reset has completed, following which it deasserts the CDBGRSTREQ bit.
59.6 Security
The trace and debug components allow a high degree of access to the processor and system during product development. In order to protect user code and ensure that the debug features can not be used to alter or compromise the normal operation of the finished product, these features can be disabled, or limited in scope. For example, secure software debug and trace can be disabled without preventing the debug of non-secure code.
59.6.1 Authentication signals
There are six authentication signals used by the system to determine what features are enabled or disabled. These signals controlled in the BSEC debug configuration (BSEC_DENABLE) are:
- • deviceen: controls access to debug components via the external debug port.
0: external debugger has no access to debug components. Debugger access to system
- interconnect is not affected.
1: external debugger has access to debug components - • dbgen: global enable for all debug and trace features
0: all debug features are disabled. External and software access to debug components is still possible. External access to system interconnect is disabled.
1: debug features in non-secure mode are enabled. External access to non-secure system interconnect is enabled. Debug features in secure mode and external access to secure system interconnect are dependent on the state of the spiden signal. - • spiden: enables debug in secure privileged mode when dbgen = 1
0: debug features are disabled in secure privileged mode. External access to secure system interconnect is disabled.
1: debug features are enabled in secure privileged mode. External access to secure system interconnect is enabled. - • niden: enables trace and performance monitoring (non-invasive debug)
0: trace generation is disabled.
1: trace generation in non-secure mode is enabled. Trace generation in secure privileged mode is dependent on the state of the spniden signal. - • spniden: enables trace and performance monitoring in secure privileged mode when niden = 1.
0: trace generation is disabled in secure privileged mode.
1: trace generation is enabled in secure privileged mode. - • dbgswenable: enables self-hosted debug
0: software access to all debug components is disabled
1: software access to all debug components is enabled
Table 600 lists which signals are connected to which debug and trace components.
Table 600. Authentication signal connectivity
| deviceen | dbgen | spiden | niden | spniden | dbgswenable | |
|---|---|---|---|---|---|---|
| Debug APB-AP | X | - | - | - | - | X |
| System bus AXI-AP | - | X | X | - | - | - |
| Cortex®-A7 MPCore Debug unit | - | X | X | X | X | X |
| Cortex®-A7 MPCore ETM | - | X | - | X | - | - |
| Cortex®-A7 MPCore CTI | - | X | - | X | - | - |
For detailed information on the behavior of each component according to the state of the authentication signals, refer to the relevant component chapter, or to the relevant Arm® technical documentation.
The initial state of the signals are set at power-on reset, according to Table 601. The state of the signals can be modified in the BSEC debug configuration (BSEC_DENABLE) register after boot-up by software with secure privileged access rights.
Table 601. Authentication signal initial states
| Device state (set by OTP fuse) | Authentication signal default state | Description |
|---|---|---|
| Development device | All ones | All debug and trace is enabled at boot-up. |
| Production device | All zeros | All debug and trace is disabled at boot-up. Secure software should enable debug as required after booting. |
59.6.2 JTAG/SWD tamper detection
The JTAG port contains an access detection mechanism which blocks unauthorized access via the debug port if configured as a tamper.
An attempt to access the device via the JTAG port is detected and signaled to the TAMP unit as a tamper (internal tamper 6 – see Section 47.3.2: TAMP pins and internal signals). If this tamper source is configured to erase secret information via the tamp_erase signal, then on detection of a tamper all the authentication bits are set to zero in the BSEC, disabling debug and trace (see Section 3.4.3: BSEC tamper protection).
Note: The access detection is disabled if the SWJ-DP is in serial wire debug (SWD) mode. So if the tamper is enabled while the SWJ-DP is in SWD mode (for example, if a debugger is connected), then a power cycle or a JTAG test reset must be performed to switch the SWJ-DP back to JTAG mode. Any subsequent attempt to access the JTAG port, or switch it to SWD mode, triggers the tamper.
59.7 Chip level TAP controller (CLTAPC)
The JTAG interface is connected to the internal scan chain of the IC. It is used for testing as well as for debug. The first component in the scan chain is the Chip Level TAP Controller which implements a TAP state machine based on IEEE Std 1149.1-1990. It allows access to the built-in manufacturing test features.
The CLTAPC must be bypassed in order to access the debug support functions provided by the SWJ-DP. This is done by prefixing the SWJ-DP instructions with the CLTAPC bypass instruction sequence: 11111.
The CLTAPC also contains three 32-bit registers which can be accessed using the CTRL instruction sequence: 01000, followed by 1111 to bypass the SWJ-DP. Next, the register address is shifted into the DR (LSB first). Finally, the 32-bit register content is shifted into or out of the DR, according to whether the register is read or write.
The CLTAPC registers are listed in Table 602.
Table 602. CLTAPC registers
| Name | Address | Description | Read/Write |
|---|---|---|---|
| SECSTS | 001 | Status of the BSEC_ENABLE register | R |
| DBGCTL | 010 | Connected to BSEC_JTAGIN register | W |
| DBGSTS | 011 | Connected to BSEC_JTAGOUT register | R |
For details of the BSEC register bits, refer to Section 3: Boot and security and OTP control (BSEC).
59.8 Serial wire and JTAG debug port (SWJ-DP)
The SWJ-DP is a CoreSight™ component that implements an external access port for connecting debugging equipment.
Two types of interface can be configured:
- • A 5-pin standard JTAG interface (JTAG-DP)
- • A 2-pin (clock + data) “serial-wire debug” port (SW-DP)
The two modes are mutually exclusive, since they share the same I/O pins.
By default the JTAG-DP is selected after a system or power-on reset. The four I/O pins, JTDI, JTDO, JTMS/SWDIO and JTCK/SWCLK, are configured by hardware in debug alternative function mode (NJTRST is a dedicated pin). The SWJ-DP incorporates pull-up resistors on JTDI, JTDO, JTMS/SWDIO, and NJTRST, as well as a pull-down resistor on JTCK/SWCLK.
A debugger can select the SW-DP by transmitting the following serial data sequence on JTMS/SWDIO:
...(50 or more ones)...,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,...(50 or more ones)...
JTCK/SWCLK must be cycled for each data bit.
In SW-DP mode, the unused JTAG I/Os, JTDI and JTDO, can be used for other functions. It should be noted that all SWJ port I/Os except NJTRST can be reconfigured to other functions by software, but debugging will no longer be possible.
59.8.1 JTAG debug port
Figure 760. JTAG TAP state machine

The diagram illustrates the JTAG TAP state machine with the following states and transitions:
- Test-Logic-Reset: A self-loop for JTMS=1. A transition to Run-Test/Idle occurs on JTMS=0.
- Run-Test/Idle: A self-loop for JTMS=0. A transition to Select-DR-Scan occurs on JTMS=1.
- Select-DR-Scan: A transition to Select-IR-Scan occurs on JTMS=1. A transition to Capture-DR occurs on JTMS=0.
- Select-IR-Scan: A transition to Capture-IR occurs on JTMS=0. A transition back to Test-Logic-Reset occurs on JTMS=1.
- Capture-DR: A transition to Shift-DR occurs on JTMS=0. A transition back to Run-Test/Idle occurs on JTMS=1.
- Capture-IR: A transition to Shift-IR occurs on JTMS=0. A transition back to Run-Test/Idle occurs on JTMS=1.
- Shift-DR: A self-loop for JTMS=1. A transition to Exit1-DR occurs on JTMS=0.
- Shift-IR: A self-loop for JTMS=1. A transition to Exit1-IR occurs on JTMS=0.
- Exit1-DR: A transition to Pause-DR occurs on JTMS=1. A transition back to Run-Test/Idle occurs on JTMS=0.
- Exit1-IR: A transition to Pause-IR occurs on JTMS=1. A transition back to Run-Test/Idle occurs on JTMS=0.
- Pause-DR: A self-loop for JTMS=1. A transition to Exit2-DR occurs on JTMS=0.
- Pause-IR: A self-loop for JTMS=1. A transition to Exit2-IR occurs on JTMS=0.
- Exit2-DR: A transition to Update-DR occurs on JTMS=1. A transition back to Run-Test/Idle occurs on JTMS=0.
- Exit2-IR: A transition to Update-IR occurs on JTMS=1. A transition back to Run-Test/Idle occurs on JTMS=0.
- Update-DR: A transition back to Run-Test/Idle occurs on JTMS=1. A transition to Select-DR-Scan occurs on JTMS=0.
- Update-IR: A transition back to Run-Test/Idle occurs on JTMS=1. A transition to Select-IR-Scan occurs on JTMS=0.
MSv46858V1
The JTAG-DP implements a TAP state machine (TAPSM) based on IEEE Std 1149.1-1990. The state machine is shown in Figure 760. The state machine controls two scan chains, one associated with an instruction register (IR) and one with a number of data registers (DR).
The operation of the JTAG-DP is as follows:
When the TAPSM goes through the Capture-IR state, 0001 is transferred onto the Instruction Register (IR) scan chain. The IR scan chain is connected between JTDI and JTDO.
While the TAPSM is in the Shift-IR state, the IR scan chain shifts one bit for each rising edge of JTCK. This means that on the first tick:
- – The LSB of the IR scan chain is output on JTDO.
- – Bit[n] of the IR scan chain is transferred to bit[n-1].
- – The value on JTDI is transferred to the MSB of the IR scan chain.
When the TAPSM goes through the Update-IR state, the value scanned into the IR scan chain is transferred into the Instruction Register.
When the TAPSM goes through the Capture-DR state, a value is transferred from one of the Data Registers onto one of the DR scan chains, connected between JTDI and JTDO.
The value held in the Instruction Register determines which Data Register, and associated DR scan chain, is selected.
This data is then shifted while the TAPSM is in the Shift-DR state, in the same manner as the IR shift in the Shift-IR state.
When the TAPSM goes through the Update-DR state, the value scanned into the DR scan chain is transferred into the selected Data Register.
When the TAPSM is in the Run-Test/Idle state, no special actions occur. The IDCODE instruction is loaded in IR.
The NJTRST signal when active resets the state machine asynchronously to the Test-Logic-Reset state.
The Data registers corresponding to the 4-bit IR instructions are listed in Table 603.
Table 603. JTAG-DP data registers
| IR instruction | DR register | Scan chain length | Description |
|---|---|---|---|
| 0000 to 0111 | (BYPASS) | 1 | Not implemented: BYPASS selected |
| 1000 | ABORT | 35 | ABORT register - Bits 34:3 = APABORT: write 0x0000 0001 to abort an ongoing AP access - Bits 2:1 = A[3:2]: set to 00 - Bit 0 = RnW: set to 0 (write only) |
| 1001 | (BYPASS) | 1 | Reserved: BYPASS selected |
Table 603. JTAG-DP data registers (continued)
| IR instruction | DR register | Scan chain length | Description |
|---|---|---|---|
| 1010 | DPACC | 35 | Debug port access register Initiates the debug port and allows access to a debug port register. – When transferring data IN: Bits 34:3 = DATA[31:0] = 32-bit data to transfer for a write request Bits 2:1 = A[3:2] = 2-bit address of a debug port register. Bit 0 = RnW = Read request (1) or write request (0). – When transferring data OUT: Bits 34:3 = DATA[31:0] = 32-bit data which is read following a read request Bits 2:0 = ACK[2:0] = 3-bit Acknowledge: 010 = OK/FAULT 001 = WAIT Others = Reserved |
| 1011 | APACC | 35 | Access port access register Initiates an access port and allows access to an access port register. – When transferring data IN: Bits 34:3 = DATA[31:0] = 32-bit data to shift in for a write request Bits 2:1 = A[3:2] = 2-bit sub-address of an access port register. Bit 0 = RnW = Read request (1) or write request (0). – When transferring data OUT: Bits 34:3 = DATA[31:0] = 32-bit data which is read following a read request Bits 2:0 = ACK[2:0] = 3-bit Acknowledge: 010 = OK/FAULT 001 = WAIT Others = Reserved |
| 1100 | (BYPASS) | 1 | Reserved: BYPASS selected |
| 1101 | (BYPASS) | 1 | Reserved: BYPASS selected |
| 1110 | IDCODE | 32 | ID Code 0x6BA0 0477: Arm® JTAG debug port ID code |
| 1111 | BYPASS | 1 | Bypass A single JTCK cycle delay is inserted between JTDI and JTDO |
The DR registers are described in more detail in the Arm® Debug Interface Architecture Specification [1].
59.8.2 Serial Wire debug port
The Serial Wire Debug protocol uses the two pins:
- • SWCLK: clock from host to target
- • SWDIO: bi-directional serial data (100 kOhm pull-up required)
Serial data is transferred LSB first, synchronously with the clock. A transfer comprises three phases:
- 1. Packet request (8 bits) transmitted by the host
- 2. Acknowledge response (3 bits) transmitted by the target.
- 3. Data transfer (33 bits) transmitted by the host (in the case of a write) or target (in the case of a read).
The data transfer only occurs if the acknowledge response is OK.
Between each phase, if the direction of the data is reversed, a single clock cycle turn-around time is inserted.
Table 604. Packet request
| Bit field | Name | Description |
|---|---|---|
| 0 | Start | Must be 1 |
| 1 | APnDP | 0: DP register access - see Table 607 for a list of DP registers 1: AP register access - see Section 59.9 |
| 2 | RnW | 0: write request 1: read request |
| 4:3 | A(3:2) | Address field of the DP or AP register (refer to Table 607) |
| 5 | Parity | Single bit parity of preceding bits |
| 6 | Stop | 0 |
| 7 | Park | Not driven by host. Must be read as 1 by target. |
Table 605. ACK response
| Bit field | Name | Description |
|---|---|---|
| 2:0 | ACK | 000: FAULT 010: WAIT 100: OK |
Table 606. Data transfer
| Bit field | Name | Description |
|---|---|---|
| 31:0 | WDATA or RDATA | Write or read data |
| 32 | Parity | Single bit parity of 32 data bits |
Figure 761 shows examples of successful write and read transfers.
Figure 761. SWD successful data transfer

The diagram illustrates the SWD protocol for successful data transfer, showing the SWCLK line and the SWDIO line for both write and read transfers. The SWCLK line provides a continuous clock signal. The SWDIO line shows the data transfer phases.
Write transfer:
- Start: SWCLK = 1, SWDIO = 1
- APnDP: SWCLK = x, SWDIO = x
- RnW: SWCLK = 0, SWDIO = 1
- A[2]: SWCLK = x, SWDIO = x
- A[3]: SWCLK = x, SWDIO = x
- Parity: SWCLK = x, SWDIO = x
- Stop: SWCLK = 0, SWDIO = 0
- Park: SWCLK = 1, SWDIO = 1
- Over: SWCLK = /, SWDIO = /
- ACK[0]: SWCLK = 1, SWDIO = 1
- ACK[1]: SWCLK = 0, SWDIO = 0
- ACK[2]: SWCLK = 0, SWDIO = 0
- Over: SWCLK = /, SWDIO = /
- WDATA[0]: SWCLK = x, SWDIO = x
- WDATA[1]: SWCLK = x, SWDIO = x
- WDATA[2]: SWCLK = x, SWDIO = x
- WDATA[29]: SWCLK = x, SWDIO = x
- WDATA[30]: SWCLK = x, SWDIO = x
- WDATA[31]: SWCLK = x, SWDIO = x
- Parity: SWCLK = x, SWDIO = x
- Over: SWCLK = /, SWDIO = /
Read transfer:
- Start: SWCLK = 1, SWDIO = 1
- APnDP: SWCLK = x, SWDIO = x
- RnW: SWCLK = 0, SWDIO = 1
- A[2]: SWCLK = x, SWDIO = x
- A[3]: SWCLK = x, SWDIO = x
- Parity: SWCLK = x, SWDIO = x
- Stop: SWCLK = 0, SWDIO = 0
- Park: SWCLK = 1, SWDIO = 1
- Over: SWCLK = /, SWDIO = /
- ACK[0]: SWCLK = 1, SWDIO = 1
- ACK[1]: SWCLK = 0, SWDIO = 0
- ACK[2]: SWCLK = 0, SWDIO = 0
- RDATA[0]: SWCLK = x, SWDIO = x
- RDATA[1]: SWCLK = x, SWDIO = x
- RDATA[2]: SWCLK = x, SWDIO = x
- RDATA[29]: SWCLK = x, SWDIO = x
- RDATA[30]: SWCLK = x, SWDIO = x
- RDATA[31]: SWCLK = x, SWDIO = x
- Parity: SWCLK = x, SWDIO = x
- Over: SWCLK = /, SWDIO = /
Legend:
- SWDIO driven by host (shaded box)
- SWDIO driven by target (white box)
Bit values:
- 1 – value is 1
- 0 – value is 0
- x – value is 1 or 0
- / – transfer of SWDIO line possession
MSv39777V1
In the case of a FAULT or WAIT ACK response from the target, the data transfer phase is cancelled, unless overrun detection is enabled, in which case the data will be ignored by the target (in the case of a write), or not driven (in the case of a read).
A line reset must be generated by the host when it is first connected, or following a protocol error. The line reset consists of 50 or more SWCLK cycles with SWDIO high, followed by two SWCLK cycles with SWDIO low.
For more details on the Serial Wire debug protocol, refer to the Arm® Debug Interface Architecture Specification [1].
Note: The SWJ-DP implements SWD protocol version 2
59.8.3 Debug port registers
The SW-DP and JTAG-DP both access the debug port (DP) registers. These are listed in Table 607.
The debugger can access the DP registers as follows:
- 1. Program the DPBANKSEL field in the DP_SELECT data port register to select the register bank to be accessed (see Table 607).
- 2. Program the A(3:2) field in the DPACC register, if using JTAG, with the register address within the bank.
- 3. Program the RnW bit to select a Read or Write.
- 4. In the case of a write, program the DATA field with the write data.
If using SWD, the A(3:2) and RnW fields are part of the Packet Request word sent to the SW-DP with the APnDP bit reset (see Table 604). The write data is sent in the data phase.
Table 607. Debug port registers
| Address | A(3:2) value | R/W | Description |
|---|---|---|---|
| 0x0 | 00 | R | DP_DPIDR register. Contains the IDCODE for the debug port |
| W | DP_ABORT register(1). Aborts the current AP transaction. This register is also used to clear the error flags in the DP_CTRLSTAT register. | ||
| 0x4 | 01 | R/W | If field DPBANKSEL of register DP_SELECT is 0: DP_CTRLSTAT register. Controls the DP and provides status information. |
| If field DPBANKSEL of register DP_SELECT is 1: DP_DLCR register(2). Controls the operating mode of the SWD data link. | |||
| If field DPBANKSEL of register DP_SELECT is 2: DP_TARGETID register. Provides target identification information. | |||
| If field DPBANKSEL of register DP_SELECT is 3: DP_DLPIDR register(3). Provides the SWD protocol version. | |||
| 0x8 | 10 | R | DP_RESEND register(4). Returns the value that was returned by the last AP read or DP RDBUFF read. Used in the event of a corrupted read transfer. |
| W | DP_SELECT register. Selects the access port, access port register bank, and DP register at address 0x4. | ||
| 0xC | 11 | R | DP_RDBUFF register: Via JTAG-DP - Used to allow the debugger to get the final result after a sequence of operations (without requesting new JTAG-DP operation) Via SW-DP - Contains the result of the preceding AP read access, allowing a new AP access to be avoided. |
| W | DP_TARGETSEL register(5). On a write to DP_TARGETSEL immediately following a line reset sequence, the target is selected if both the following conditions are met: Bits [31:28] match bits [31:28] in the DP_DLPIDR. Bits [27:0] match bits [27:0] in the DP_TARGETID register. Writing any other value de-selects the target. Debug tools must write 0xFFFF FFFF to de-select all targets. This is an invalid TARGETID value. All other invalid TARGETID values are reserved. |
- 1. Access to the AP DP_ABORT register from the JTAG-DP is done using the ABORT instruction.
- 2. Only accessible via SW-DP. Register is “Reserved” via JTAG-DP.
- 3. Only accessible via SW-DP. Register is “Reserved” via JTAG-DP.
- 4. Only accessible via SW-DP. Register is “Reserved” via JTAG-DP.
- 5. Only accessible via SW-DP. Register is “Reserved” via JTAG-DP.
DP debug port identification register (DP_DPIDR)
Address offset: 0x0
Reset value: 0x6BA0 2477
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| REVISION[3:0] | PARTNO[7:0] | Res. | Res. | Res. | MIN | ||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VERSION[3:0] | DESIGNER[10:0] | Res. | |||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | |
- Bits 31:28 REVISION[3:0]: revision code
0x6 - Bits 27:20 PARTNO[7:0]: debug port part number
0xBA - Bits 19:17 Reserved, must be kept at reset value.
- Bit 16 MIN: minimal debug port implementation
0x0: minimal debug port (MINDP) not implemented (transaction counter and pushed operations are supported) - Bits 15:12 VERSION[3:0]: DP architecture version
0x2: DPv2 - Bits 11:1 DESIGNER[10:0]: JEDEC designer identity code
0x23B: Arm® - Bit 0 Reserved, must be kept at reset value.
DP abort register (DP_ABORT)
Address offset: 0x0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ORUNERRCLR | WDERRCLR | STKERRCLR | STKCMPLR | DAPABORT |
| w | w | w | w | w |

Bits 31:5 Reserved, must be kept at reset value.
Bit 4 ORUNERRCLR: overrun error clear
0: no effect
1: clears bit STICKYORUN of register DP_CTRLSTAT
Bit 3 WDERRCLR: write data error clear
0: no effect
1: clears bit WDATAERR of register DP_CTRLSTAT
Bit 2 STKERRCLR: sticky error clear
0: no effect
1: clears bit STICKYERR of register DP_CTRLSTAT
Bit 1 STKCMPCLR: sticky compare clear
0: no effect
1: clears bit STICKYCMP of register DP_CTRLSTAT
Bit 0 DAPABORT: current AP transaction abort
If an excessive number of WAIT responses are returned, indicating that the transaction has stalled, the current AP transaction is aborted.
0: no effect
1: aborts transaction
Debug port control/status register (DP_CTRLSTAT)
Address offset: 0x4
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | CDBGWRUPACK | CDBGWRUPREQ | CDBGRSTACK | CDBGRSTREQ | Res. | Res. | TRNCNT[11:4] | |||||||
| r | rw | r | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TRNCNT[3:0] | MASKLANE[3:0] | WDATAERR | READOK | STICKYERR | STICKYCMP | TRNMODE[1:0] | STICKYORUN | ORUNDETECT | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | r | r | rw | rw | rw | rw | rw | rw |
Bits 31:30 Reserved, must be kept at reset value.
Bit 29 CDBGPWRUPACK: debug power up acknowledge
Status of the debug domain power up acknowledge signal from the power controller.
0: domain powered down
1: domain powered up
Bit 28 CDBGPWRUPREQ: debug power up request
Controls the debug domain power up request signal to the power controller.
0: request power down
1: request power up
Bit 27 CDBGRSTACK: debug reset acknowledge
Status of the debug domain reset acknowledge signal from the reset controller.
0: domain reset inactive/pending
1: domain reset complete
Bit 26 CDBGRSTREQ: debug reset request
Controls the debug domain reset request signal to the reset controller.
0: de-assert reset request/request inactive
1: assert reset request/request active
Bits 25:24 Reserved, must be kept at reset value.
Bits 23:12 TRNCNT[11:0]: transaction counter
To program a sequence of transactions to incremental addresses via an AP, TRNCNT is loaded with the number of transactions to perform. It is decremented at the successful completion of each transaction.
Bits 11:8 MASKLANE[3:0]: lane comparison mask
Indicates the bytes to be masked in pushed-compare and pushed-verify operations (when bit TRNMODE of register DP_CTRLSTAT is 1 or 2). In the pushed operations, the word supplied in an AP write transaction is compared with the current value at the target AP address.
1XXX: includes byte lane 3 in comparisons
X1XX: includes byte lane 2 in comparisons
XX1X: includes byte lane 1 in comparisons
XXX1: includes byte lane 0 in comparisons
Bit 7 WDATAERR: write data error in SW-DP
Indicates any of the following cases:
– there is a parity or framing error on the data phase of a write
– a write that has been accepted by the DP is then discarded without being submitted to the AP
This bit is reset by writing 1 to the WDERRCLR bit of the DP_ABORT register.
0: no error
1: error has occurred
Note: This bit is reserved in JTAG-DP.
Bit 6 READOK: AP read response in SW-DP
Indicates the response to the last AP read access.
0: read not OK
1: read OK
Note: This bit is reserved in JTAG-DP.
Bit 5 STICKYERR: transaction error(1)
Indicates that an error occurred in an AP transaction.
0: no error
1: error has occurred
In the SW-DP, this bit is reset by writing 1 to the STKERRCLR bit of the DP_ABORT register.
In the JTAG-DP, this bit is reset by writing a 1 to it.
Bit 4 STICKYCMP: compare match(1)
Indicates that a match occurred in a pushed operation.
0: match if TRNMODE = 0x1; no match if TRNMODE = 0x2
1: no match if TRNMODE = 0x1; match if TRNMODE = 0x2
In the SW-DP, this bit is reset by writing 1 to the STKCMPCLR bit of the DP_ABORT register.
In the JTAG-DP, this bit is reset by writing a 1 to it.
Bits 3:2 TRNMODE[1:0]: transfer mode for AP write operations
For read operations, this field must be set to 0.
0: normal operation. AP transactions are passed directly to the AP.
1: pushed-verify operation. The DP stores the write data and performs a read transaction at the target AP address. The result of the read is compared with the stored data and if they do not match, the STICKYCMP bit is set.
2: pushed-compare operation. The DP stores the write data and performs a read transaction at the target AP address. The result of the read is compared with the stored data and if they match, the STICKYCMP bit is set.
3: reserved
In pushed operation, only the data bytes indicated by the MASKLANE field are included in the compare.
Bit 1 STICKYORUN: overrun(1)
Indicates that an overrun occurred (new transaction received before previous transaction completed). This bit is only set if the ORUNDETECT bit is set.
0: no overrun
1: overrun occurred
In the SW-DP, this bit is reset by writing 1 to the ORUNERRCLR bit of the DP_ABORT register. In the JTAG-DP, this bit is reset by writing a 1 to it.
Bit 0 ORUNDETECT: overrun detection mode enable
0: overrun detection disabled
1: overrun detection enabled. In the event of an overrun, the STICKYORUN bit will be set and subsequent transactions will be blocked until the STICKYORUN bit is cleared.
1. Access type is 'r' in SW-DP and 'rw' in JTAG-DP.
DP data link control register (DP_DLCR)
Address offset: 0x4
Reset value: 0x0000 0040
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | TURNROUND[1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| rw | rw | ||||||||||||||
Bits 31:10 Reserved, must be kept at reset value.
Bits 9:8 TURNROUND[1:0]: tristate period for SWDIO
0x0: 1 data bit period
0x1: 2 data bit periods
0x2: 3 data bit periods
0x3: 4 data bit periods
Bit 7 Reserved, must be kept at reset value.
Bit 6 Reserved, must be kept at reset value.
Bits 5:0 Reserved, must be kept at reset value.
DP target identification register (DP_TARGETID)
Address offset: 0x4
Reset value: 0x1501 0041
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| TREVISION[3:0] | TPARTNO[15:4] | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TPARTNO[3:0] | TDESIGNER[10:0] | Res. | |||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | |
Bits 31:28 TREVISION[3:0]: target revision
0x1: Rev. A
Bits 27:12 TPARTNO[15:0]: target part number
0x5010: STM32MP13x
Bits 11:1 TDESIGNER[10:0]: target designer JEDEC code
0x020: STMicroelectronics
Bit 0 Reserved, must be kept at reset value.
DP data link protocol identification register (DP_DLPIDR)
Address offset: 0x4
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| TINSTANCE[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||
| r | r | r | r | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PROTSVN[3:0] | |||
| r | r | r | r | ||||||||||||
Bits 31:28 TINSTANCE[3:0]: target instance number
Defines the instance number for this device in a multi-drop system.
0x0: instance 0
Bits 27:4 Reserved, must be kept at reset value.
Bits 3:0 PROTSVN[3:0]: Serial Wire Debug protocol version
0x1: version 2
DP resend register (DP_RESEND)
Address offset: 0x8
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESEND[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESEND[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 RESEND[31:0]: last AP read or DP_RDBUFF read value
Returns the value that was returned by the last AP read or DP_RDBUFF read. Used in the event of a corrupted read transfer.
DP access port select register (DP_SELECT)
Address offset: 0x8
Reset value: 0xXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| APSEL[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||||
| w | w | w | w | w | w | w | w | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APBANKSEL[3:0] | DPBANKSEL[3:0] | ||||||
| w | w | w | w | w | w | w | w | ||||||||

Bits 31:24 APSEL[7:0]: access port select
Selects the access port for the next transaction.
0x0: AP0 - System bus access port (AXI-AP)
0x1: AP1 - Debug bus access port (APB-AP)
Bits 23:8 Reserved, must be kept at reset value.
Bits 7:4 APBANKSEL[3:0]: AP register bank select
Selects the 4-word register bank on the active AP for the next transaction.
Bits 3:0 DPBANKSEL[3:0]: DP register bank select
Selects the register at address 0x4 of the debug port.
0x0: DP_CTRLSTAT register
0x1: DP_DLCR register
0x2: DP_TARGETID register
0x3: DP_DLPIDR register
Others: reserved
DP read buffer register (DP_RDBUFF)
Address offset: 0xC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RDBUFF[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RDBUFF[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 RDBUFF[31:0]: last AP read access value
Contains the value that was returned by the last AP read access. The value returned by an AP read access can either be obtained using a second read access to the same address, which will initiate a new transaction on the corresponding bus, or else it can be read from this register, in which case no new AP transaction occurs.
DP target identification register (DP_TARGETSEL)
Address offset: 0xC
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| TINSTANCE[3:0] | TPARTNO[15:4] | ||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TPARTNO[3:0] | TDESIGNER[10:0] | Res. | |||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | ||

Bits 31:28 TINSTANCE[3:0]: target instance number
Defines the instance number for the target device in a multi-drop system. These bits must be written with the same value as field TINSTANCE in register DP_DLPIDR in order to select this device.
Bits 27:12 TPARTNO[15:0]: target part number
Defines the part number for the target device. These bits must be written with the same value as field TPARTNO in register DP_TARGETID in order to select this device.
Bits 11:1 TDESIGNER[10:0]: target designer JEDEC code
Defines the JEDEC code for the target device. These bits must be written with the same value as field TDESIGNER in register DP_TARGETID in order to select this device.
Bit 0 Reserved, must be kept at reset value.
59.9 Access ports
Figure 762. Debug and access port connections

graph LR
JTAG_SWD[JTAG / SWD] <--> SWDP[SW-DP]
SWDP <-->|DAPBUS| AP0[AP0
(AXI-AP)]
SWDP <-->|DAPBUS| AP1[AP1
(APB-AP)]
AP0 <--> AXI[System interconnect (AXI)]
AP1 <--> APB_D[System debug bus (APB-D)]
MSv65258V1
There are two access ports (AP) attached to the DP:
- • AP0: System bus access port (AXI-AP). Allows access to the system bus matrix. This gives visibility of all the memory and peripherals accessible via the AXI and AHB interconnects, except those on the system APB debug bus. No CoreSight™ components are accessible via this port.
- • AP1: Debug access port (APB-AP). Allows access to the CoreSight™ components on the debug APB bus, including the Cortex®-A7. The DBGMCU is also located on this bus.
Both access ports are of type MEM-AP, that is to say the debug and trace component registers are mapped in the address space of the associated debug bus. The AP is seen by the debugger as a set of 32-bit registers organised in banks of four registers each. Some of these registers are used to configure or monitor the AP itself, while others are used to perform a transfer on the bus. The AP registers are listed in Table 610.
The address of the AP registers is composed of
- • Bits [7:4]: contents of the DP_SELECT register APBANKSEL field in the DP (refer to DP access port select register (DP_SELECT))
- • Bits [3:2]: contents of the A(3:2) field of the APACC data register in the JTAG-DP (see Table 603) or of the SW-DP Packet Request (see Table 604), depending on the debug interface used
- • Bits [1:0]: Always set to 0
The contents of the DP_SELECT register APSEL field in the DP define which MEM-AP is being accessed.
The debugger can access the AP registers as follows:
- 1. Program the DP_SELECT register APSEL field in the DP to choose one of the APs, and the APBANKSEL field to select the register bank to be accessed (refer to DP access port select register (DP_SELECT)).
- 2. Program the A(3:2) field in the APACC register, if using JTAG, with the register address within the bank. Program the RnW bit to select a Read or Write. In the case of a write, program the DATA field with the write data. If using SWD, the A(3:2) and RnW fields are part of the Packet Request word sent to the SW-DP with the APnDP bit set (see Table 604). The write data is sent in the data phase.
The debugger can access the memory mapped debug component registers through the MEM-AP registers (that is using the above AP register access procedure) as follows:
- 1. Program the transaction target address in the TAR register.
- 2. Program the CSW register, if necessary, with the transfer parameters (AddrInc for example).
- 3. Write to or read from the DRW register to initiate a bus transaction at the address held in the TAR register. Alternatively, a read or write to Banked Data register BDn will trigger an access to address TAR[31:4] + n (this allows up to four consecutive addresses to be accessed without changing the address in the TAR register).
For more detailed information on the MEM-AP, refer to the Arm® Debug Interface Architecture Specification [1].
59.9.1 Authentication
The effect of the authentication signals for each access port is shown in Table 608 to Table 609.
Table 608. AP0 (system interconnect) authentication behavior
| dbgen | spiden | Others | Behavior |
|---|---|---|---|
| 0 | X | X | All transfers blocked. Any attempt to perform a transfer will result in an error. |
| 1 | 0 | Secure transfers blocked. Any attempt to perform a secure transfer will result in an error. Non-secure transfers are enabled. | |
| 1 | 1 | Both non-secure and secure transfers are enabled. |
Table 609. AP1 (Debug APB) authentication behavior
| deviceen | Others | Behavior |
|---|---|---|
| 0 | X | All transfers blocked. |
| 1 | Transfers enabled. Note: access to certain components may return an error depending on the state of the other authentication signals. |
59.9.2 MEM-AP registers
Table 610. MEM-AP registers
| Address | APBANKSEL | A(3:2) | Name | Description |
|---|---|---|---|---|
| 0x00 | 0x0 | 0 | CSW | Control/Status Word register - Refer to section AP0 control/status word register (AP0_CSW) AP1 control/status word register (AP1_CSW) |
| 0x04 | 0x0 | 1 | TAR | Transfer Address register - Refer to section AP transfer address register (AP_TAR) |
| 0x08 | - | - | - | Reserved |
| 0x0C | 0x0 | 3 | DRW | Data Read/Write register - Refer to section AP data read/write register (AP_DRW) |
| 0x10 | 0x1 | 0 | BD0 | Banked Data 0 register - Refer to section AP banked data register 0 (AP_BD0) |
| 0x14 | 0x1 | 1 | BD1 | Banked Data 1 register - Refer to section AP banked data register 1 (AP_BD1) |
| 0x18 | 0x1 | 2 | BD2 | Banked Data 2 register - Refer to section AP banked data register 2 (AP_BD2) |
| 0x1C | 0x1 | 3 | BD3 | Banked Data 3 register - Refer to section AP banked data register 3 (AP_BD3) |
| 0x20 | 0x2 | 0 | ACE | ACE barrier transaction register (AXI-AP only) - Refer to section AP ACE barrier transaction register (AP_ACE) |
| 0x24-0xEC | - | - | - | Reserved |
| 0xF0 | - | - | - | Reserved |
| 0xF4 | 0xF | 1 | CFG | Configuration register (AXI-AP only) - Refer to section AP configuration register (AP_CFG) |
| 0xF8 | 0xF | 2 | BASE | Debug Base Address register (RO) - Refer to section AP x base address register (APx_BASE) (x = 0 to 1) |
| 0xFC | 0xF | 3 | IDR | Identification register (RO) - Refer to section AP x identification register (APx_IDR) (x = 0 to 1) |
AP0 control/status word register (AP0_CSW)
Address offset: 0x0
Reset value: 0x3080 6042
For a detailed description of each field, refer to the Arm AMBA protocol specifications for the corresponding bus [7.,8.,9.].
AP0 (AXI-AP):
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | PROT[2:0] | CACHE[3:0] | SPISTATUS | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||||
| rw | rw | rw | rw | rw | rw | rw | r | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | DOMAIN[1:0] | ACEENABLE | MODE[3:0] | TRINPROG | DBGSTATUS | ADDRINC[1:0] | Res. | SIZE[2:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | r | r | rw | rw | rw | rw | rw | ||
Bit 31 Reserved, must be kept at reset value.
Bits 30:28 PROT[2:0]: bus transaction protection attributes
- This field sets the AxPROT[2:0] protection attributes of the bus transaction.
- XX0: unprivileged
- XX1: privileged
- X0X: secure
- X1X: non-secure
- 0XX: data
- 1XX: instruction
Bits 27:24 CACHE[3:0]: bus transaction cache attributes
- This field sets the AxCACHE[3:0] cache attributes of the bus transaction.
- XXX0: non-bufferable
- XXX1: bufferable
- XX0X: non-modifiable (non-cacheable)
- XX1X: modifiable (cacheable)
- X0XX: no read-allocate
- X1XX: read-allocate
- 0XXX: no write-allocate
- 1XXX: write-allocate
Bit 23 SPISTATUS: status of spiden authentication signal (read only)
- This signal determines whether the debugger can access secure memory.
- 0: secure AXI transfers are blocked
- 1: secure AXI transfers are allowed
Bits 22:15 Reserved, must be kept at reset value.

- Bits 14:13 DOMAIN[1:0]: shareable transaction attributes
This field defines the shareable attributes for an ACE transaction.
0x0: non-shareable
0x1: shareable, inner domain, includes additional masters
0x2: shareable, outer domain, also includes inner or additional masters
0x3: shareable, system domain, all masters included - Bit 12 ACEENABLE: ACE transactions enable, including barriers
0: disable
1: enable - Bits 11:8 MODE[3:0]: mode of operation
0x0: normal download or upload
0x1: barrier transaction
0x2-0xF: reserved - Bit 7 TRINPROG: transfer in progress (read only)
Indicates if a bus transfer is in progress on the AP.
0: no transfer in progress
1: bus transfer in progress - Bit 6 DBGSTATUS: status of DBGEN authentication signal (read only)
This signal determines whether the AXI bus can be accessed.
0: AXI transactions are blocked
1: AXI transactions are allowed - Bits 5:4 ADDRINC[1:0]: auto-increment and packing mode on RW data access
Only increments if the current transaction completes without an error response and the transaction is not aborted.
Auto address incrementing and packed data transfers are not performed on access to banked data registers 0x10-0x1C. The value of these bits is ignored in these cases.
If increment is enabled, the address wraps at 1-Kbyte address boundaries.
0x0: no auto-increment
0x1: address is incremented by the size in bytes of the transaction (SIZE field)
0x2: packed transfers enabled. A 32-bit AP access gives rise to 1 x 32-bit, 2 x 16-bit or 4 x 8-bit bus transactions corresponding to the programmed transaction size. The data are packed or unpacked accordingly.
0x3: reserved - Bit 3 Reserved, must be kept at reset value.
- Bits 2:0 SIZE[2:0]: size of next memory access transaction
0x0: 8 bits
0x1: 16 bits
0x2: 32 bits
0x3: 64 bits
Others: reserved
AP1 control/status word register (AP1_CSW)
Address offset: 0x0
Reset value: 0x8000 0042
For a detailed description of each field, refer to the Arm AMBA protocol specifications for the corresponding bus [7.,8.,9.] .AP1 (APB-AP):
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DBGSWENABLE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | MODE[3:0] | TRINPROG | DEVICEEN | ADDRINC[1:0] | Res. | SIZE[2:0] | ||||||
| rw | rw | rw | rw | r | r | rw | rw | r | r | r | |||||
0: disable software access
1: enable software access if dbgswenable signal from BSEC is also highBits 30:12 Reserved, must be kept at reset value.
Bits 11:8 MODE[3:0]: barrier support enabledDefines if memory barrier operation is supported.
0x0: not supported
Bit 7 TRINPROG: transfer in progress (read only)Indicates if a bus transfer is in progress on the AP.
0x0: no transfer in progress
0x1: bus transfer in progress
Bit 6 DEVICEEN: device enabled (read only)Defines whether the system debug APB can be accessed by the debugger. This bit reflects the state of the deviceen signal from the BSEC.0x0: APB access disabled. Any attempt to initiate a transaction on the AP will return an error.
0x1: APB access enabled
Bits 5:4 ADDRINC[1:0]: auto-increment modeDefines whether TAR address is automatically incremented after a transaction.
0x0: no auto-increment
0x1: address is incremented by the size in bytes of the transaction (SIZE field)
Others: reserved
Bit 3 Reserved, must be kept at reset value. Bits 2:0 SIZE[2:0]: size of next memory transaction access (read only)0x2: word (32 bits)
AP transfer address register (AP_TAR)
Address offset: 0x04
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ADDRESS[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ADDRESS[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
AP data read/write register (AP_DRW)
Address offset: 0x0C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DATA[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
In write mode, this is the write data value. In read mode, this is the read data value.
For 64-bit access (AXI-AP only), multiple accesses must be initiated to DRW to make a single AXI access.
Read: the first read of DRW in a sequence initiates a memory access. The first read returns the lower 32 bits of data. Subsequent read access returns the upper 32 bits of data. If a write to the CSW or TAR is initiated before the sequence completes, then the read access is terminated, and read data is no longer available.
Write: the first write to DRW specifies the least significant 32 bits of data to be written. Subsequent write access specifies the most significant 32 bits to be written. If a write to the CSW is initiated before the sequence completes, then the write access is not initiated on the AXI interface.
Combining partial reads and writes in a sequence terminates the earlier access. Also, the latest access is not recognized.
Any write access to the CSW register, TAR, or to any other register in the AP during a sequence terminates the ongoing access. Also, the current access is not recognized. If a write sequence is terminated, then there is no write on the AXI interface.
AP banked data register 0 (AP_BD0)
Address offset: 0x10
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DATA[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 DATA[31:0]: read/write data for current transfer
The transaction address is TAR[31:4] << 4 + 0x0.
AP banked data register 1 (AP_BD1)
Address offset: 0x14
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DATA[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 DATA[31:0]: read/write data for current transfer
The transaction address is TAR[31:4] << 4 + 0x4.
AP banked data register 2 (AP_BD2)
Address offset: 0x18
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DATA[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 DATA[31:0]: read/write data for current transfer
The transaction address is TAR[31:4] << 4 + 0x8.
AP banked data register 3 (AP_BD3)
Address offset: 0x1C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DATA[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 DATA[31:0]: read/write data for current transfer
The transaction address is TAR[31:4] << 4 + 0xC.
AP ACE barrier transaction register (AP_ACE)
Address offset: 0x20
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BARTRAN[1:0] | TRGBARTRAN | |
| rw | rw | rw | |||||||||||||
Bits 31:3 Reserved, must be kept at reset value.
Bits 2:1 BARTRAN[1:0]: barrier transactions
0x0: barrier with normal access
0x1: memory barrier
0x2: reserved
0x3: synchronization barrier
Bit 0 TRGBARTRAN: enable barrier transaction
0: disable
1: enable
AP configuration register (AP_CFG)
Address offset: 0xF4
Reset value: 0x0000 0002
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LD | Res. | LA |
| r | r |

Bits 31:3 Reserved, must be kept at reset value.
- Bit 2 LD: large data
Indicates support for data items larger than 32 bits (AXI-AP only).
1: 64-bit data supported - Bit 1 Reserved, must be kept at reset value.
- Bit 0 LA: long address
Indicates support for greater than 32-bit addressing.
0: 32 or fewer bits of address
AP x base address register (APx_BASE) (x = 0 to 1)
Address offset: 0xF8
Reset value: Block 0: 0x0000 0002
Reset value: Block 1: 0xE008 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| BASEADDR[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| BASEADDR[15:12] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FORMAT | ENTRYPRESENT | |||
| r | r | r | r | r | r | ||||||||||
- Bits 31:12 BASEADDR[31:12]: base address
Corresponds to bits 31 to 12 of the ROM table address for the AP. The 12 LSBs are zeros since the ROM table must be aligned on a 4-Kbyte boundary.
AP0 (AXI system bus): N/A (no ROM table)
AP1 (system debug APB): 0xE0080 - Bits 11:2 Reserved, must be kept at reset value.
- Bit 1 FORMAT: base address register format
1: Arm® debug interface v5 - Bit 0 ENTRYPRESENT: debug component presence
Indicates that debug components are present on the access port bus.
0: no debug components present
1: debug components are present
AP x identification register (APx_IDR) (x = 0 to 1)
Address offset: 0xFC
Reset value: Block 0: 0x3477 0004
Reset value: Block 1: 0x4477 0003

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| REVISION[3:0] | JEDECBANK[3:0] | JEDECCODE[6:0] | MEMAP | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IDENTITY[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:28 REVISION[3:0]: revision code
0x3: r1p0
0x4: r0p5
0x6: r0p7
Bits 27:24 JEDECBANK[3:0]: JEDEC bank
0x4: Arm®
Bits 23:17 JEDECCODE[6:0]: JEDEC code
0x3B: Arm®
Bit 16 MEMAP: memory access port
0x1: standard register map
Bits 15:8 Reserved, must be kept at reset value.
Bits 7:0 IDENTITY[7:0]: AP type
0x04: AXI-AP
0x03: APB-AP
59.10 System debug features
The system debug features include the following CoreSight™ components:
- – System ROM tables
- – Global trace timestamp generator (TSGEN)
- – System cross trigger interface (CTI)
- – Cross trigger matrix (CTM)
- – Trace port interface unit (TPIU)
- – Embedded trace FIFO (ETF)
These components are accessible by the debugger via the system APB-AP and its associated APB debug bus. They are also accessible by the Cortex®-A7 processor.
The MCU debug unit (DBG_MCU) is also accessed via the Debug APB. This non-CoreSight™ component contains registers for configuring the behavior of the device in debug mode.
59.10.1 System ROM tables
There are three ROM tables on the Debug APB bus. The ROM table is a CoreSight™ component that contains the base addresses of the CoreSight™ debug components on the APB bus. These tables allow a debugger to discover the topology of the CoreSight™ system automatically.

The first table points to the CoreSight™ components located in the debug subsystem: DBGMCU, TSGEN, as well as to the Trace subsystem ROM table and the Cortex-A7 subsystem ROM table. The table occupies a 4-Kbyte, 32-bit wide chunk of APB address space, from 0xE008 0000 to 0xE008 0FFC when accessed by the debugger, and 0x5008 0000 to 0x5008 0FFC when accessed from the system bus.
Table 611. Debug subsystem ROM table| Address offset in ROM table | Component name | Component base address (debugger) | Component base address (system bus) | Component address offset | Size | Data |
|---|---|---|---|---|---|---|
| 0x000 | DBGMCU | 0xE008 1000 | 0x5008 1000 | 0x0 1000 | 4 Kbyte | 0x0000 1003 |
| 0x004 | Timestamp generator | 0xE008 2000 | 0x5008 2000 | 0x0 2000 | 4 Kbyte | 0x0000 2003 |
| 0x008 | Trace Sub-system ROM table | 0xE009 0000 | 0x5009 0000 | 0x1 0000 | 4 Kbyte | 0x0001 0003 |
| 0x00C | Cortex-A7 Subsystem ROM table | 0xE00C 0000 | 0x500C 0000 | 0x4 0000 | 4 Kbyte | 0x0004 0003 |
| 0x010 | Top of table | - | - | - | - | 0x0000 0000 |
| 0x014 to 0xFC8 | Reserved | - | - | - | - | 0x0000 0000 |
| 0xFCC to 0xFFC | ROM table registers | - | - | - | - | See Table 614 |
The second table occupies a 4-Kbyte, 32-bit wide chunk of APB address space, from 0xE009 0000 to 0xE009 0FFC when accessed by the debugger, and 0x5009 0000 to 0x5009 0FFC when accessed from the system bus. It points to the CoreSight™ components located in the trace subsystem.
Table 612. Trace subsystem ROM table| Address offset in ROM table | Component name | Component base address (debugger) | Component base address (system bus) | Component address offset | Size | Entry |
|---|---|---|---|---|---|---|
| 0x000 | ETF | 0xE009 2000 | 0x5009 2000 | 0x2000 | 4 Kbyte | 0x0000 2003 |
| 0x004 | TPIU | 0xE009 3000 | 0x5009 3000 | 0x3000 | 4 Kbyte | 0x0000 3003 |
| 0x008 | Trace CTI | 0xE009 4000 | 0x5009 4000 | 0x4000 | 4 Kbyte | 0x0000 4003 |
| 0x00C | Top of table | - | - | - | - | 0x0000 0000 |
Table 612. Trace subsystem ROM table (continued)
| Address offset in ROM table | Component name | Component base address (debugger) | Component base address (system bus) | Component address offset | Size | Entry |
|---|---|---|---|---|---|---|
| 0x010 to 0xFC8 | Reserved | - | - | - | - | 0x0000 0000 |
| 0xFCC to 0xFFC | ROM table registers | - | - | - | - | See Table 614 |
The third table occupies a 4-Kbyte, 32-bit wide chunk of APB address space, from 0xE00C 0000 to 0xE00C 0FFC when accessed by the debugger, and 0x500C 0000 to 0x500C 0FFC when accessed from the system bus. It points to the CoreSight™ components located in the Cortex-A7 subsystem.
Table 613. Cortex-A7 subsystem ROM table
| Address offset in ROM table | Component name | Component base address (debugger) | Component base address (system bus) | Component address offset | Size | Data |
|---|---|---|---|---|---|---|
| 0x000 | C-A7 DBG | 0xE00D 0000 | 0x500D 0000 | 0x1 0000 | 4 Kbyte | 0x0001 0003 |
| 0x004 | C-A7 PMU | 0xE00D 1000 | 0x500D 1000 | 0x1 1000 | 4 Kbyte | 0x0001 1003 |
| 0x008 | Reserved | - | - | - | - | 0x0001 2002 |
| 0x00C | Reserved | - | - | - | - | 0x0001 3002 |
| 0x010 | Reserved | - | - | - | - | 0x0001 4002 |
| 0x014 | Reserved | - | - | - | - | 0x0001 5002 |
| 0x018 | Reserved | - | - | - | - | 0x0001 6002 |
| 0x01C | Reserved | - | - | - | - | 0x0001 7002 |
| 0x020 | C-A7 CTI | 0xE00D 8000 | 0x500D 8000 | 0x1 8000 | 4 Kbyte | 0x0001 8003 |
| 0x024 | Reserved | - | - | - | - | 0x0001 9002 |
| 0x028 | Reserved | - | - | - | - | 0x0001 A002 |
| 0x02C | Reserved | - | - | - | - | 0x0001 B002 |
| 0x030 | C-A7 ETM | 0xE00D C000 | 0x500D C000 | 0x1 C000 | 4 Kbyte | 0x0001 C003 |
| 0x034 | Reserved | - | - | - | - | 0x0001 D002 |
| 0x038 | Reserved | - | - | - | - | 0x0001 E002 |
| 0x03C | Reserved | - | - | - | - | 0x0001 F002 |
| 0x040 | Top of table | - | - | - | - | 0x0000 0000 |
Table 613. Cortex-A7 subsystem ROM table (continued)
| Address offset in ROM table | Component name | Component base address (debugger) | Component base address (system bus) | Component address offset | Size | Data |
|---|---|---|---|---|---|---|
| 0x044 to 0xFC8 | Reserved | - | - | - | - | 0x0000 0000 |
| 0xFCC to 0xFFC | ROM table registers | - | - | - | - | See Table 614 |
The top of each ROM table contains a number of read only registers, including the standard CoreSight™ component and peripheral identity registers, refer to Table 614.
Each debug component occupies one or more 4-Kbyte blocks of address space. This block of address space is referred to as the Debug Register File for the component.
The component address offset field of a ROM Table entry points to the start of the last 4-Kbyte block of the address space of the component. This block always contains the Component and Peripheral ID Registers for the component, starting at offset 0xFD0 from the start of the block. The 4-Kbyte count field, bits PIDR4[7:4], specifies the number of 4-Kbyte blocks for the component. Therefore, the process for finding the start of the address space for a component is:
- 1. Read the ROM Table entry for the component, and extract the Address offset for the component. The Address offset is bits [31:12] of the ROM Table entry.
- 2. Use the Address offset, together with the base address of the ROM Table, to calculate the base address of the component. The component base address is:\[\text{Component\_Base\_Address} = \text{ROM\_Base\_Address} + (\text{Address\_Offset} \ll 12)\]Component_Base_Address is the start address of the final 4-Kbyte block of the address space for the component.
- 3. Read the Peripheral ID4 Register for the component. The address of this register is:\[\text{Peripheral\_ID4\_address} = \text{Component\_Base\_Address} + 0xFD0\]
- 4. Extract the 4-Kbyte count field, bits [7:4], from the value of the Peripheral ID4 Register.
- 5. Use the 4-Kbyte count value to calculate the start address of the address space for the component. If the 4-Kbyte count field is 0000, indicating a count value of 1, the address space for the component starts at the Component_Base_Address obtained at stage 2.
The topology for the CoreSight™ components on the debug APB is shown in Figure 763.
For more information on the use of the ROM table, refer to the Arm® Debug Interface Architecture Specification [1].
Figure 763. Debug APB CoreSight™ topology

MSv65259V1
ROM table registers
SYSROM memory type register (SYSROM_MEMTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SYSMEM |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 SYSMEM: system memory
0x0: no system memory is present on this bus
SYSROM CoreSight peripheral identity register 4 (SYSROM_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0]: register file size
0x0: register file occupies a single 4-Kbyte region
Bits 3:0 JEP106CON[3:0]: JEP106 continuation code
0x0: STMicroelectronics JEDEC continuation code
SYSROM CoreSight peripheral identity register 0 (SYSROM_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0000

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PARTNUM[7:0]: part number bits [7:0]
0x00: ROM table part number
SYSROM CoreSight peripheral identity register 1 (SYSROM_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 JEP106ID[3:0]: JEP106 identity code bits [3:0]
0x0: STMicroelectronics JEDEC code
Bits 3:0 PARTNUM[11:8]: part number bits [11:8]
0x5: ROM table part number
SYSROM CoreSight peripheral identity register 2 (SYSROM_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 000A
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: component revision number
0x0: r0p0
Bit 3 JEDEC: JEDEC assigned value
0x1: designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4]: JEP106 identity code bits [6:4]
0x2: STMicroelectronics JEDEC code
SYSROM CoreSight peripheral identity register 3 (SYSROM_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: metal fix version
0x0: no metal fix
Bits 3:0 CMOD[3:0]: customer modified
0x0: no customer modifications
SYSROM CoreSight component identity register 0 (SYSROM_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[7:0]: component ID bits [7:0]
0x0D: common ID value
SYSROM CoreSight peripheral identity register 1 (SYSROM_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 0010
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: component ID bits [15:12] - component class
0x1: ROM table component
Bits 3:0 PREAMBLE[11:8]: component ID bits [11:8]
0x0: common ID value
SYSROM CoreSight component identity register 0 (SYSROM_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[19:12]: component ID bits [23:16]
0x05: common ID value
SYSROM CoreSight component identity register 3 (SYSROM_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[27:20]: component ID bits [31:24]
0xB1: common ID value
ROM table registers
Table 614. ROM table register map and reset values
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFCC | SYSROM_MEMTYPE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SYSMEM |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0xFD0 | SYSROM_PIDR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFD4 | SYSROM_PIDR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFD8 | SYSROM_PIDR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFDC | SYSROM_PIDR7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFE0 | SYSROM_PIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFE4 | SYSROM_PIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFE8 | SYSROM_PIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | ||||||
| Reset value | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||
| 0xFEC | SYSROM_PIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0xFF0 | SYSROM_CIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFF4 | SYSROM_CIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | |||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
Table 614. ROM table register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFF8 | SYSROM_CIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFFC | SYSROM_CIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
59.10.2 CoreSight™ global timestamp generator (TSGEN)
The CoreSight™ Global Timestamp Generator contains a 64-bit counter that provides a common timing reference for all of the trace sources in the system, namely the ETM. The ETM inserts timestamps in the trace streams that allow the trace analyser to recover the chronological order of trace packets.
The TSG registers are accessible over the Debug APB. This allows the debugger or debug software to:
- – Start and stop the timestamp incrementing.
- – Cause the timestamp counter to stop when debug state is entered. To enable this feature, the trace subsystem CTI must be configured to signal to the timestamp generator when system-wide debug state has been entered (meaning that all CPU cores are halted).
- – Read the current timestamp value.
- – Change the current timestamp value. The timestamp counter must be halted while it is changed. When the timestamp value is changed, the timestamp generator resynchronizes all the trace sources.
- – Change the reported timestamp increment.
For more information on the CoreSight™ Timestamp Generator CoreSight™ component, refer to the Arm® CoreSight™ SoC-400 Technical Reference Manual [2].
The timestamp generator is located in the ck_apb_dbg domain, and the timestamp is distributed to the Cortex®-A7. To simplify the distribution over clock domain boundaries, the 64-bit timestamp is encoded in 7 bits, then decoded in the destination power domain. The timestamp distribution is shown in Figure 764.
Whenever the frequency of the TSGEN or Cortex®-A7 changes, the ETM of the processor receives a pulse on the TSCLKCHANGE input.
Figure 764. CoreSight™ timestamp distribution
![Block diagram of CoreSight™ timestamp distribution. The diagram shows a flow from the Debug APB to the Timestamp generator (containing a Counter [63:0]), which outputs a 64-bit signal to a Timestamp encoder. The encoder outputs a 7-bit signal that crosses a dashed line representing the clock domain boundary between the SoC domain and the High frequency CPU domain. In the High frequency CPU domain, the 7-bit signal is fed into a Timestamp decoder, which outputs a 64-bit signal to the ETM within the Cortex®-A7 block.](/RM0475-STM32MP13/ffccaf45e2f13b1d604a715847740c63_img.jpg)
graph LR
APB[Debug APB] --> TG[Timestamp generator]
subgraph TG
Counter[Counter [63:0]]
end
TG -- 64 --> Encoder[Timestamp encoder]
Encoder -- 7 --> Boundary(( ))
subgraph SoC_domain [SoC domain]
Boundary
end
subgraph HF_CPU_domain [High frequency CPU domain]
Boundary -- 7 --> Decoder[Timestamp decoder]
Decoder -- 64 --> ETM[ETM]
subgraph Cortex_A7
ETM
end
end
MSv65260V1
Timestamp generator registers
TSG counter control register (TSG_CNTCR)
Address offset: 0x000
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HDBG | EN |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 HDBG: halt on debug
0: normal operation
1: halts counter when system-wide debug state is detected (via CTI)
Bit 0 EN: enable
0: counter disabled
1: counter enabled and incrementing
TSG counter status register (TSG_CNTSR)
Address offset: 0x004
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DBGH | Res. |
| r |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 DBGH: debug halted
0: normal operation
1: counter halted due to system-wide debug state
Bit 0 Reserved, must be kept at reset value.
TSG current counter value lower register (TSG_CNTCVL)
Address offset: 0x008
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| CNTCVU_L_32[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CNTCVU_L_32[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 CNTCVU_L_32[31:0]: timestamp counter current value (least significant 32 bits)
To change the current timestamp value, write the least significant 32 bits of the new value to this register before writing the most significant 32 bits to TSG_CNTCVU. The timestamp value is not changed until the TSG_CNTCVU register is written to.
Note: Bit EN of register TSG_CNTCR must be cleared before writing to register TSG_CNTCVL.
TSG current counter value upper register (TSG_CNTCVU)
Address offset: 0x00C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| CNTCVU_U_32[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CNTCVU_U_32[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 CNTCVU_U_32[31:0]: timestamp counter current value (most significant 32 bits)
To change the current timestamp value, write the least significant 32 bits of the new value to TSG_CNTCVL before writing the most significant 32 bits to this register. The 64-bit timestamp value is updated with the value from both writes when this register is written to.
Note: Bit EN of register TSG_CNTCR must be cleared before writing to register TSG_CNTCVU.
TSG base frequency ID register (TSG_CNTFID0)
Address offset: 0x020
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| FREQ[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FREQ[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 FREQ[31:0]: increment frequency of TSG counter in Hz
This field must be programmed with the trace generator clock frequency whenever it changes.
TSG CoreSight peripheral identity register 4 (TSG_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0] : register file size0x0: register file occupies a single 4-Kbyte region
Bits 3:0 JEP106CON[3:0] : JEP106 continuation code0x4: Arm ® JEDEC codeTSG CoreSight peripheral identity register 0 (TSG_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PARTNUM[7:0] : part number bits [7:0]0x01: TSG part number
TSG CoreSight peripheral identity register 1 (TSG_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 JEP106ID[3:0]: JEP106 identity code bits [3:0]
0xB: Arm® JEDEC code
Bits 3:0 PARTNUM[11:8]: part number bits [11:8]
0x1: TSG part number
TSG CoreSight peripheral identity register 2 (TSG_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 001B
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: component revision number
0x1: r0p1
Bit 3 JEDEC: JEDEC assigned value
0x1: designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4]: JEP106 identity code bits [6:4]
0x3: Arm® JEDEC code
TSG CoreSight peripheral identity register 3 (TSG_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: metal fix version
0x0: no metal fix
Bits 3:0 CMOD[3:0]: customer modified
0x0: no customer modifications
TSG CoreSight component identity register 0 (TSG_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[7:0]: component ID bits [7:0]
0x0D: common ID value
TSG CoreSight peripheral identity register 1 (TSG_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 00F0
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: component ID bits [15:12] - component class
0xF: CoreSight™ Soc-400 component
Bits 3:0 PREAMBLE[11:8]: Component ID bits [11:8]
0x0: common ID value
TSG CoreSight component identity register 2 (TSG_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| r | r | r | r | r | r | r | r | ||||||||

Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[19:12]: component ID bits [23:16]
0x05: common ID value
TSG CoreSight component identity register 3 (TSG_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[27:20]: component ID bits [31:24]
0xB1: common ID value
Timestamp generator registers map
Table 615. TSGEN register map and reset values
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | TSG_CNTCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EN |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x004 | TSG_CNTSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x008 | TSG_CNTCVL | CNTCVU_L_32[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x00C | TSG_CNTCVU | CNTCVU_U_32[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x020 | TSG_CNTFID0 | FREQ[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0xFD0 | TSG_PIDR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||
| 0xFD4 | TSG_PIDR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
Table 615. TSGEN register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFD8 | TSG_PIDR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFDC | TSG_PIDR7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFE0 | TSG_PIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
| 0xFE4 | TSG_PIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | |||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
| 0xFE8 | TSG_PIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | ||||||
| Reset value | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | |||||||||||||||||||||||||
| 0xFEC | TSG_PIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF0 | TSG_CIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFF4 | TSG_CIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | |||||||
| Reset value | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | TSG_CIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFFC | TSG_CIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | ||||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
59.10.3 Cross trigger interface (CTI) and matrix (CTM)
The cross trigger interface (CTI) and cross trigger matrix (CTM) together form the CoreSight™ embedded cross trigger feature. There are two CTI components, one in the trace subsystem, and one for the Cortex®-A7. The CTIs are connected to each other via the CTM. The trace subsystem CTI and the Cortex®-A7 CTI are accessible to the debugger via the debug APB.
Figure 765. Embedded cross trigger
![Block diagram of the Embedded cross trigger (Figure 765) showing Cortex-A7 CTI interconnected via CTM channels [3:0] with Trace Subsystem CTI, along with APB-Debug interfaces, Cortex-A7 CPU, PMU, ETM, GIC, TSGEN, ETF, and TPIU.](/RM0475-STM32MP13/d3d1eb99c827fdd92bf79b271821b30f_img.jpg)
MSv65261V1
The CTIs allow events from various sources to trigger debug and/or trace activity. For example, a transition detected on an external trigger input can start code trace.
Each CTI has up to 8 trigger inputs and 8 trigger outputs. Any input can be connected to any output, on the same CTI, or on another CTI via the CTM.
The trigger input and output signals for each CTI are listed in Table 616 to Table 619.
Table 616. Trace Subsystem CTI inputs
| Source signal | Source component | Comments | |
|---|---|---|---|
| 0 | DBTRIGI | GPIO | External trigger input - allows an external signal to generate a debug event |
| 1 | ETFACQCOMP | ETF | ETF capture finished - allows a debug event to be generated when the trace FIFO is empty |
| 2 | ETFFULL | ETF | ETF full flag - allows a debug event to be generated when the trace FIFO is full |
| 3 | - | - | Not used |
| 4 | - | - | Not used |
| 5 | - | - | Not used |
| 6 | - | - | Not used |
| 7 | - | - | Not used |
| Output signal | Destination component | Comments | |
|---|---|---|---|
| 0 | DBTRIGO | GPIO | External I/O trigger output - allows monitoring of events on the external DBTRIGO pin |
| 1 | TPIUFLUSH | TPIU | Trace port flush trigger - causes the TPIU FIFO to be flushed |
| 2 | TPIUTRIG | TPIU | Trace Port enable trigger - starts trace output on the external trace port |
| 3 | ETFTRIG | ETF | ETF enable trigger - starts filling the Trace FIFO |
| 4 | ETFFLUSH | ETF | ETF flush trigger - causes the Trace FIFO to be flushed |
| 5 | - | - | Not used |
| 6 | - | - | Not used |
| 7 | HLTDBG | TSGEN | Halts timestamp in debug - freezes the TSGEN timestamp counter |
| Source signal | Source component | Comments | |
|---|---|---|---|
| 0 | DBGTRIGGER | Cortex®-A7 CPU | Pulsed high when the core enters in debug state |
| 1 | nPMUIRQ | PMU | Performance monitor interrupt |
| 2 | EXTOUT0 | ETM | ETM external trigger output |
| 3 | EXTOUT1 | ETM | ETM external trigger output |
| 4 | COMMTX | Cortex®-A7 CPU | Debug comm port transmit |
| 5 | COMMRX | Cortex®-A7 CPU | Debug comm port receive |
| 6 | ETMTRIGGER | ETM | ETM trigger |
| 7 | - | - | Not used |
| Output signal | Destination component | Comments | |
|---|---|---|---|
| 0 | EDBGRQ | Cortex®-A7 CPU | CPU halt request - puts CPU in debug mode |
| 1 | EXTIN0 | ETM | ETM external input |
| 2 | EXTIN1 | ETM | ETM external input |
| 3 | EXTIN2 | ETM | ETM external input |
| 4 | EXTIN3 | ETM | ETM external input |
| 5 | - | - | Not used |
| 6 | nCTIIRQ | GIC | CTI interrupt |
| 7 | DBGRESTART | Cortex®-A7 CPU | CPU restart request - CPU exits debug mode |
There are four event channels in the cross trigger matrix, which allows up to four, parallel, bidirectional connections between trigger inputs and outputs on different CTIs. To connect input number m on CTI x to output number n on CTI y, the input must be connected to an event channel p using the CTI_INENm register of CTI x. The same channel p must be connected to the output using the CTI_OUTENn register of CTI y.
Note: The above connection settings are also valid if the input and output belong to the same CTI.
An input can be connected to more than one channel (up to four). As a result, an input can be routed to several outputs. Similarly, an output can be connected to several inputs. It is also possible to connect several inputs/outputs to the same channel.
Figure 766. Mapping trigger inputs to outputs

For more information on the cross trigger interface CoreSight™ component, refer to the Arm® CoreSight™ SoC-400 Technical Reference Manual [2].
Cross trigger interface registers
The register file base address for each CTI is defined by the ROM table for the bus to which it is connected. The registers are the same for each CTI.
CTI control register (CTI_CONTROL)
Address offset: 0x000
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GLBEN |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 GLBEN: global enable
0: cross-triggering disabled
1: cross-triggering enabled
CTI trigger acknowledge register (CTI_INTACK)
Address offset: 0x010
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | INTACK[7:0] | |||||||
| w | w | w | w | w | w | w | w | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 INTACK[7:0]: trigger acknowledge
There is one bit of the register for each CTITRIGOUT output. When a 1 is written to a bit in this register, the corresponding CTITRIGOUT output is acknowledged, causing it to be cleared.
CTI application trigger set register (CTI_APPSET)
Address offset: 0x014
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APPSET[3:0] | |||
| rw | rw | rw | rw | ||||||||||||

Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 APPSET[3:0]: channel event set
Read:
XXX0: channel 0 event inactive
XXX1: channel 0 event active
XX0X: channel 1 event inactive
XX1X: channel 1 event active
X0XX: channel 2 event inactive
X1XX: channel 2 event active
0XXX: channel 3 event inactive
1XXX: channel 3 event active
Write:
XXX0: no effect
XXX1: sets event on channel 0
XX0X: no effect
XX1X: sets event on channel 1
X0XX: no effect
X1XX: sets event on channel 2
0XXX: no effect
1XXX: sets event on channel 3
CTI application trigger clear register (CTI_APPCLEAR)
Address offset: 0x018
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APPCLEAR[3:0] | |||
| w | w | w | w | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 APPCLEAR[3:0]: channel event clear
XXX0: no effect
XXX1: clears event on channel 0
XX0X: no effect
XX1X: clears event on channel 1
X0XX: no effect
X1XX: clears event on channel 2
0XXX: no effect
1XXX: clears event on channel 3
CTI application pulse register (CTI_APPPULSE)
Address offset: 0x01C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APPULSE[3:0] | |||
| w | w | w | w | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 APPULSE[3:0]: pulse channel event
This register clears itself immediately.
XXX0: no effect
XXX1: generates pulse on channel 0
XX0X: no effect
XX1X: generates pulse on channel 1
X0XX: no effect
X1XX: generates pulse on channel 2
0XXX: no effect
1XXX: generates pulse on channel 3
CTI trigger in enable x registers (CTI_INENx)
Address offset: 0x020 + 0x04 * x, (x = 0 to 7)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 TRIGINEN[3:0]: cross-trigger event enable / disable
Enables or disables a cross-trigger event on each of the four channels when CTITRIGINn is activated (n = 0 to 7).
XXX0: trigger n does not generate events on channel 0
XXX1: trigger n generates events on channel 0
XX0X: trigger n does not generate events on channel 1
XX1X: trigger n generates events on channel 1
X0XX: trigger n does not generate events on channel 2
X1XX: trigger n generates events on channel 2
0XXX: trigger n does not generate events on channel 3
1XXX: trigger n generates events on channel 3
CTI Trigger out enable x registers (CTI_OUTENx)
Address offset: 0x0A0 + 0x04 * x, (x = 0 to 7)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 TRIGOUTEN[3:0]: output trigger enable / disable
For each channel, defines whether an event on that channel generates a trigger on CTITRIGOUTn (n = 0 to 7).
XXX0: channel 0 events does not generate triggers on trigger output n
XXX1: channel 0 events generates triggers on trigger output n
XX0X: channel 1 events does not generate triggers on trigger output n
XX1X: channel 1 events generates triggers on trigger output n
X0XX: channel 2 events does not generate triggers on trigger output n
X1XX: channel 2 events generates triggers on trigger output n
0XXX: channel 3 events does not generate triggers on trigger output n
1XXX: channel 3 events generates triggers on trigger output n
CTI trigger in status register (CTI_TRGISTS)
Address offset: 0x130
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINSTATUS[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 TRIGINSTATUS[7:0]: trigger input status
There is one bit of the register for each CTITRIGIN input. When a bit is set to 1, it indicates that the corresponding trigger input is active. When it is set to 0, the corresponding trigger input is inactive.
CTI Trigger out status register (CTI_TRGOSTS)
Address offset: 0x134
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTSTATUS[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 TRIGOUTSTATUS[7:0]: trigger output status
There is one bit of the register for each CTITRIGOUT output. When a bit is set to 1, it indicates that the corresponding trigger output is active. When it is set to 0, the corresponding trigger output is inactive.
CTI channel in status register (CTI_CHINSTS)
Address offset: 0x138
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CHINSTATUS[3:0] | |||
| r | r | r | r | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CHINSTATUS[3:0]: channel input status
There is one bit of the register for each channel input. When a bit is set to 1, it indicates that the corresponding channel input is active. When it is set to 0, the corresponding channel input is inactive.
CTI channel out status register (CTI_CHOUTSTS)
Address offset: 0x13C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CHOUTSTATUS[3:0] | |||
| r | r | r | r | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CHOUTSTATUS[3:0]: channel output status
There is one bit of the register for each channel output. When a bit is set to 1, it indicates that the corresponding channel output is active. When it is set to 0, the corresponding channel output is inactive.
CTI channel gate register (CTI_GATE)
Address offset: 0x140
Reset value: 0x0000 000F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GATEEN[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 GATEEN[3:0] : channel output enableFor each channel, defines whether an event on that channel can propagate over the CTM to other CTIs.
XXX0: channel 0 events do not propagate
XXX1: channel 0 events propagate
XX0X: channel 1 events do not propagate
XX1X: channel 1 events propagate
X0XX: channel 2 events do not propagate
X1XX: channel 2 events propagate
0XXX: channel 3 events do not propagate
1XXX: channel 3 events propagate
CTI claim tag set register (CTI_CLAIMSET)
Address offset: 0xFA0
Reset value: 0x0000 000F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMSET[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CLAIMSET[3:0] : sets claim tag bitsWrite:
– 0000: no effect
– xxx1: sets bit 0
– xx1x: sets bit 1
– x1xx: sets bit 2
– 1xxx: sets bit 3
Read:
– 0xF: indicates there are four bits in claim tag
CTI claim tag clear register (CTI_CLAIMCLR)
Address offset: 0xFA4
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMCLR[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CLAIMCLR[3:0]: resets claim tag bits
Write:
- – 0000: no effect
- – xxx1: clears bit 0
- – xx1x: clears bit 1
- – x1xx: clears bit 2
- – 1xxx: clears bit 3
Read:
- – Returns current value of claim tag
CTI lock access register (CTI_LAR)
Address offset: 0xFB0
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ACCESS_W[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ACCESS_W[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 ACCESS_W[31:0]: CTI register write access enable
- Enables write access to some CTI registers by processor cores (debuggers do not need to unlock the component).
- 0xC5ACCE55: enable write access
- Other values: disable write access
CTI lock status register (CTI_LSR)
Address offset: 0xFB4
Reset value: 0x0000 0003

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LOCKTYPE | LOCKGRANT | LOCKEXIST |
| r | r | r |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 LOCKTYPE: CTI_LAR register size
Indicates the size of the CTI_LAR register.
0: 32-bit
Bit 1 LOCKGRANT: current lock status
This bit always reads as zero by an external debugger.
0: write access is permitted
1: write access is blocked. Only reads are permitted.
Bit 0 LOCKEXIST: lock control existence
Indicates whether a lock control mechanism exists. This bit always reads as zero by an external debugger.
0: no lock control mechanism exists
1: lock control mechanism is implemented
CTI authentication status register (CTI_AUTHSTAT)
Address offset: 0xFB8
Reset value: 0x0000 000A
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNID[1:0] | SID[1:0] | NSNID[1:0] | NSID[1:0] | ||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:6 SNID[1:0]: security level for secure non-invasive debug
0x0: not implemented
Bits 5:4 SID[1:0]: security level for secure invasive debug
0x0: not implemented
Bits 3:2 NSNID[1:0]: security level for non-secure non-invasive debug
0x2: disabled
0x3: enabled
Bits 1:0 NSID[1:0]: security level for non-secure invasive debug
0x2: disabled
0x3: enabled
CTI device configuration register (CTI_DEVID)
Address offset: 0xFC8
Reset value: 0x0004 0800
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NUMCH[3:0] | |||
| r | r | r | r | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| NUMTRIG[7:0] | Res. | Res. | Res. | EXTMUXNUM[4:0] | |||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | |||
Bits 31:20 Reserved, must be kept at reset value.
Bits 19:16 NUMCH[3:0]: number of ECT channels available
0x4: 4 channels
Bits 15:8 NUMTRIG[7:0]: number of ECT triggers available
0x8: 8 trigger inputs and 8 trigger outputs
Bits 7:5 Reserved, must be kept at reset value.
Bits 4:0 EXTMUXNUM[4:0]: number of trigger input/output multiplexers
0x0: none
CTI device type identifier register (CTI_DEVTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0014
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE[3:0] | MAJORTYPE[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SUBTYPE[3:0]: sub-classification
0x1: indicates that this component is a cross-triggering component
Bits 3:0 MAJORTYPE[3:0]: major classification
0x4: indicates that this component allows a debugger to control other components in a CoreSight™ SoC-400 system
CTI CoreSight peripheral identity register 4 (CTI_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0]: register file size
0x0: register file occupies a single 4-Kbyte region
Bits 3:0 JEP106CON[3:0]: JEP106 continuation code
0x4: Arm® JEDEC code
CTI CoreSight peripheral identity register 0 (CTI_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0006
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PARTNUM[7:0]: part number bits [7:0]
0x06: CTI part number
CTI CoreSight peripheral identity register 1 (CTI_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B9
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 JEP106ID[3:0]: JEP106 identity code bits [3:0]
0xB: Arm® JEDEC code
Bits 3:0 PARTNUM[11:8]: part number bits [11:8]
0x9: CTI part number
CTI CoreSight peripheral identity register 2 (CTI_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 004B
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: component revision number
0x4: r0p5
Bit 3 JEDEC: JEDEC assigned value
0x1: designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4]: JEP106 identity code bits [6:4]
0x3: Arm® JEDEC code
CTI CoreSight peripheral identity register 3 (CTI_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: metal fix version
0x0: no metal fix
Bits 3:0 CMOD[3:0]: customer modified
0x0: no customer modifications
CTI CoreSight component identity register 0 (CTI_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[7:0]: component ID bits [7:0]
0x0D: common ID value
CTI CoreSight peripheral identity register 1 (CTI_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 0090
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: component ID bits [15:12] - component class
0x9: CoreSight™ component
Bits 3:0 PREAMBLE[11:8]: component ID bits [11:8]
0x0: common ID value
CTI CoreSight component identity register 0 (CTI_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[19:12]: component ID bits [23:16]
0x05: common ID value
CTI CoreSight component identity register 3 (CTI_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[27:20]: component ID bits [31:24]
0xB1: common ID value
Cross trigger interface registers map
Table 620. CTI register map and reset values
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | CTI_CONTROL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GLBEN |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x010 | CTI_INTACK | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | INTACK[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x014 | CTI_APPSET | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APPSET[3:0] | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x018 | CTI_APPCLEAR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APPCLEAR[3:0] | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x01C | CTI_APPPULSE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | APPULSE[3:0] | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x020 | CTI_INEN0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
Table 620. CTI register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x024 | CTI_INEN1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x028 | CTI_INEN2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x02C | CTI_INEN3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x030 | CTI_INEN4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x034 | CTI_INEN5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x038 | CTI_INEN6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x03C | CTI_INEN7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINEN[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x0A0 | CTI_OUTEN0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 |
Table 620. CTI register map and reset values (continued)
| Offset | Register name reset value | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x0A4 | CTI_OUTEN1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x0A8 | CTI_OUTEN2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x0AC | CTI_OUTEN3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x0B0 | CTI_OUTEN4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x0B4 | CTI_OUTEN5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x0B8 | CTI_OUTEN6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x0BC | CTI_OUTEN7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTEN[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x130 | CTI_TRIGISTS | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGINSTATUS[7:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
Table 620. CTI register map and reset values (continued)
| Offset | Register name reset value | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x134 | CTI_TRIGOSTS | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGOUTSTATUS[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0x138 | CTI_CHINSTS | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CHISTATUS[3:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x13C | CTI_CHOUTSTS | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CHOSTATUS[3:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x140 | CTI_GATE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GATEEN[3:0] | ||||||||
| Reset value | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFA0 | CTI_CLAIMSET | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMSET[3:0] | ||||||||
| Reset value | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFA4 | CTI_CLAIMCLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMCLR[3:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0xFB0 | CTI_LAR | ACCESS_W[31:0] | ||||||||||||||||||||||||||||||||
| Reset value | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | ||
| 0xFB4 | CTI_LSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LOCKTYPE | LOCKGRANT | LOCKEXIST | |
| Reset value | 0 | 1 | 1 | |||||||||||||||||||||||||||||||
| 0xFB8 | CTI_AUTHSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNID[1:0] | SID[1:0] | NSNID[1:0] | NSID[1:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | ||||||||||||||||||||||||||
| 0xFC8 | CTI_DEVID | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NUMCH[3:0] | NUMTRIG[7:0] | Res. | Res. | Res. | EXMUXNUM[4:0] | |||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
Table 620. CTI register map and reset values (continued)
| Offset | Register name reset value | 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 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFCC | CTI_DEVTYPE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUB[3:0] | MAJOR[3:0] | |||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||||||
| 0xFD0 | CTI_PIDR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||||||
| 0xFD4 | CTI_PIDR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||
| Reset value | ||||||||||||||||||||||||||||||||||||
| 0xFD8 | CTI_PIDR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||
| Reset value | ||||||||||||||||||||||||||||||||||||
| 0xFDC | CTI_PIDR7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ||||
| Reset value | ||||||||||||||||||||||||||||||||||||
| 0xFE0 | CTI_PIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | ||||||||||||||||||||||||||||
| 0xFE4 | CTI_PIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||||||
| Reset value | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | ||||||||||||||||||||||||||||
| 0xFE8 | CTI_PIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||||||
| Reset value | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | ||||||||||||||||||||||||||||
| 0xFEC | CTI_PIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0xFF0 | CTI_CIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | ||||||||||||||||||||||||||||
| 0xFF4 | CTI_CIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||||||
| Reset value | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0xFF8 | CTI_CIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | ||||||||||||||||||||||||||||
Table 620. CTI register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFFC | CTI_CIDR3 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | PREAMBLE[27:20] | |||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
59.10.4 Embedded trace FIFO (ETF)
The ETF is a 4-kbyte memory which captures trace data from the ETM. The ETF is a configuration of the CoreSight™ Trace Memory Controller component.
The ETF can be used in three modes (selected in the Mode register):
1. Hardware FIFO mode
The trace memory is used as a FIFO that is drained through the ATB master interface. Trace data is captured into the Trace RAM and when full, the incoming trace stream is stalled. When the Trace buffer is not empty, trace data is drained out through the ATB master interface to the TPIU.
In this mode, the role of the FIFO is to smooth the flow of trace information arriving at the trace port. Since the trace data can be very bursty in nature, the peak data rate can easily exceed the port capability, resulting in an overflow. The ETF allows a steady data rate at the trace port, which can then be sized according to the average rate rather than the peak. The trace is stored off-chip in real time by the trace port analyser tool, and so the trace log can be very big.
2. Software FIFO mode
The trace memory is used as a FIFO that can be read through the RRD Register while trace is being captured. Trace data is captured into the Trace RAM and when full, the incoming trace stream is stalled.
This mode allows the trace to be transferred by DMA into the system memory, or to a high speed interface (SPI, USB etc), or even monitored by software running on one of the cores. Note that unlike the hardware FIFO mode, this mode is invasive, since it uses system resources which are shared by the processor.
3. Circular buffer mode
The trace memory is used as a circular buffer. Trace data is captured into the Trace memory starting from the location pointed to by the write pointer register. Even when the trace memory is full, incoming trace data continues to be overwritten into the trace memory until a stop condition occurs.
In this mode, the ETF stores the trace data on-chip, so the trace log size is limited to that of the ETF SRAM, 4 kbytes in this case. Being a circular buffer, if the FIFO becomes full, incoming trace data will overwrite the oldest stored data, which will be lost. Therefore the contents of the trace buffer represent the most recent activity of the
processor, up to the point when the buffer was stopped, rather than all the activity since the trace was started.
There are three possible methods to read out the buffer contents once the trace has stopped:
- – via the Trace Port - with the TPIU enabled, the contents of the buffer are output over the trace port. This can be done by setting the DrainBuffer bit in the ETF_FFCR register.
- – via the Debug Port - the debugger can read the buffer via the RRD register which is accessible over the debug APB.
- – by software - the processor can read the buffer via the RRD register, since the debug APB is accessible from the system bus. This could also be performed by software triggered DMA transfers. No hardware DMA request is available so the FULL flag can be used to trigger an interrupt via the cross trigger. The software can then read the ETF_CBUFLVL register to find out the number of data to be read.
For more information on the Trace Memory Controller CoreSight™ component, refer to the Arm® CoreSight™ Trace Memory Controller Technical Reference Manual [3].
Embedded trace FIFO registers
ETF RAM size register (ETF_RSZ)
Address offset: 0x004
Reset value: 0x0000 0800
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | RSZ[30:16] | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RSZ[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bit 31 Reserved, must be kept at reset value.
Bits 30:0 RSZ[30:0]: size of the RAM in 32-bit words
0x400: 4 Kbytes
ETF status register (ETF_STS)
Address offset: 0x00C
Reset value: 0x0000 001C
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EMPTY | FEMPTY | READY | TRIGD | FULL |
| r | r | r | r | r |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 EMPTY: trace FIFO empty
This bit is valid only when the TCEN bit of the ETF_CTL register is high. This bit reads as zero when TCEN is low.
0: trace FIFO contains data
1: trace FIFO is empty
Note: EMPTY does not inform about ETF pipeline emptiness which is indicated by FEMPTY.
Bit 3 FEMPTY: formatter empty
This bit is set when trace capture has stopped, and all internal pipelines and buffers have drained. Unlike READY, it is not affected by buffer drains. The ACQCOMP output reflects the value of this bit.
Bit 2 READY: ETF ready
This bit is set when trace capture has stopped and all internal pipelines and buffers have drained (STOPPED or DISABLED mode)
Bit 1 TRIGD: triggered
Bit triggered is set when trace capture is in progress and the TMC has detected a trigger event. This bit is cleared when leaving disabled state.
This bit is operational only in the circular buffer mode. In all other modes, this bit is always low.
This bit does not indicate that a trigger has been embedded in the formatted output trace data from the TMC. Trigger indication on the output trace stream is determined by the programming of the Formatter and Flush Control Register, ETF_FFCR.
Bit 0 FULL: trace buffer full
In circular buffer mode, this flag is set when the RAM write pointer wraps around the top of the buffer, and remains set until the TCEN bit of the ETF_CTL register is cleared and set.
In software and hardware FIFO modes, this flag indicates that the current space in the trace memory is less than or equal to the value programmed in the ETF_BUFWM register, that is, Fill level ≥ MEM_SIZE - BUFWM.
This bit is cleared when leaving the disabled state. The FULL output reflects the value of this register bit.
ETF RAM read data register (ETF_RRD)
Address offset: 0x010
Reset value: 0xXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RRD[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RRD[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 RRD[31:0]: RAM read data
Circular buffer mode: When in stopped state and the buffer is not empty, reading this register returns the next word of data from the trace buffer. When all of the trace buffer has been read, the EMPTY bit in the ETF_STS Register is set, and subsequent reads return 0xFFF FFFF. Reading this register when not in stopped state returns 0xFFFF FFFF.
Software FIFO mode: Reading this register returns data from the FIFO. If this register is read when the FIFO is empty, the data returned is 0xFFFF FFFF.
Hardware FIFO mode: Reading this register returns 0xFFFF FFFF.
ETF RAM read pointer register (ETF_RRP)
Address offset: 0x014
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | RRP[12:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:13 Reserved, must be kept at reset value.
Bits 12:0 RRP[12:0]: RAM read pointer
The RAM read pointer register contains the value of the read pointer that is used to read entries from the trace memory over the APB interface via the ETF_RRD register. The pointer can be programmed with a byte address, 64-bit aligned (bits 0 to 3 should be zero). The pointer is incremented by 8 each time a full 64-bit FIFO entry has been written. When the pointer reaches its maximum value, it wraps around.
This register can only be written in DISABLED state. It can be read in DISABLED state, in STOPPED state in circular buffer mode and SW FIFO mode, and also in RUNNING and STOPPING states in SW FIFO mode.
ETF RAM write pointer register (ETF_RWP)
Address offset: 0x018
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | RWP[12:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:13 Reserved, must be kept at reset value.
Bits 12:0 RWP[12:0]: RAM write pointer
The RAM write Pointer Register contains the value of the write pointer that is used to write entries into the trace memory over the APB interface via the ETF_RWD register. The pointer can be programmed with a byte address, 64-bit aligned (meaning that bits 0 to 3 should be zero). The pointer is incremented by 8 each time a full 64-bit FIFO entry has been read. When the pointer reaches its maximum value, it wraps around.
This register can only be written in DISABLED state. It can be read in DISABLED state, in STOPPED state in circular buffer mode and SW FIFO mode, and also in RUNNING and STOPPING states in SW FIFO mode.
ETF trigger counter register (ETF_TRG)
Address offset: 0x01C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | TRG[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:11 Reserved, must be kept at reset value.
Bits 10:0 TRG[10:0]: trigger counter
In circular buffer mode, specifies the number of 32-bit words to capture in the trace RAM following the detection of either a rising edge on the TRIGIN input or a trigger packet in the incoming trace stream, ATID = 7'h7D. On capturing the specified number of data words, a trigger event occurs. The effect of a trigger event on the ETF behavior is controlled by the ETF_FFCR register.
The number of 32-bit words written into the Trace RAM following the trigger is the value stored in this register, plus one. This register is ignored when the ETF is in software FIFO mode or hardware FIFO mode. When the trigger counter starts counting, any additional triggers, either on TRIGIN or in the incoming trace stream, are ignored until the counter reaches zero. When the trigger counter has reached zero, it remains at zero until it is re-programmed with a write to this register.
This register is cleared when READY goes HIGH, so that the state of the counter when trace capture has stopped does not affect a subsequent trace capture session. Writing to this register when not in DISABLED state results in unpredictable behavior.
A read access to this register is permitted at any time when in DISABLED state, or in circular buffer mode. A read access returns the current value of the trigger counter.
ETF control register (ETF_CTL)
Address offset: 0x020
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TCEN |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 TCEN: trace capture enable
When writing:
0: disables trace capture (moves from RUNNING, STOPPING or STOPPED state into DISABLING or DISABLED state)
1: enables trace capture (moves from DISABLED state into RUNNING state)
When reading, this bit is low when in DISABLING or DISABLED states, and high otherwise.
ETF RAM write data register (ETF_RWD)
Address offset: 0x024
Reset value: 0xXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RWD[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RWD[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 RWD[31:0]: RAM write data
When in DISABLED state, a write to this register stores data at the location pointed to by the RWP. Writes to this register when not in disabled state are ignored. When a full memory width (64-bit) of data has been written, the data is written to memory and the RAM write pointer is incremented to the next memory word.
This register is used for test purposes.
ETF mode register (ETF_MODE)
Address offset: 0x028
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MODE[1:0] | |
| rw | rw | ||||||||||||||
Bits 31:2 Reserved, must be kept at reset value.
Bits 1:0 MODE[1:0]: operation mode
- 0: circular buffer mode. In this mode, the trace memory is used as a circular buffer. Trace data is captured into the trace memory starting from the location pointed to by the write pointer register. Even when the trace memory is full, incoming trace data continues to be overwritten into the trace memory until a stop condition has occurred.
- 1: software FIFO mode. In this mode, the trace memory is used as a FIFO that can be read through the ETF_RRD Register while trace is being captured. Trace data is captured into the trace RAM and when full, the incoming trace stream is stalled.
- 2: hardware FIFO mode. In this mode, the trace memory is used as a FIFO that is drained through the ATB master interface. Trace data is captured into the trace RAM and when full, the incoming trace stream is stalled. When the trace buffer is non-empty, trace data is drained out through the ATB master interface to the TPIU.
- 3: reserved
ETF latched buffer fill level register (ETF_LBUFLVL)
Address offset: 0x02C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | LBUFLEVEL[11:0] | |||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:0 LBUFLEVEL[11:0]: latched buffer fill level
Reading this register returns the maximum fill level of the trace memory in 32-bit words since this register was last read. Reading this register also results in its contents being updated to the current fill level.
When entering disabled state, this register retains its last value. While in disabled state, reads from this register do not affect its value. When exiting disabled state, the ETF_LBUFLVL register is cleared.
This register is used for performance analysis of the trace system.
ETF current buffer fill level register (ETF_CBUFLVL)
Address offset: 0x030
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | CBUFLEVEL[11:0] | |||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:0 CBUFLEVEL[11:0]: current buffer fill level
Reading this register returns the current fill level of the trace memory in 32-bit words.
This register is cleared when ETF_CTL.TCEN is low.
ETF buffer level watermark register (ETF_BUFWM)
Address offset: 0x034
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | BUFWM[10:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:11 Reserved, must be kept at reset value.
Bits 10:0 BUFWM[10:0]: buffer level watermark
The value programmed into this register indicates the required threshold vacancy level in 32-bit words in the trace memory. When the space in the FIFO is less than or equal to this value, that is, Fill level ≥ MEM_SIZE - BUFWM, the FULL output is pulled high and the FULL bit in the ETF_STS register is set.
This register is used only in software FIFO and hardware FIFO modes. In circular buffer mode, this functionality can be obtained by programming ETF_RWP to the required vacancy trigger level, so that when the pointer wraps around, the FULL bit is set indicating that the vacancy level has fallen below the required level.
The maximum value that can be written into this register is MEM_SIZE - 1; in this case, the FULL bit output is asserted after the first 32-bit word is written to trace memory.
Writing to this register other than when in DISABLED state results in unpredictable behavior.
ETF formatter and flush status register (ETF_FFSR)
Address offset: 0x300
Reset value: 0x0000 0002
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FTSTOPPED | FLINPROG |
| rw | rw |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 FTSTOPPED: formatter stopped
This bit behaves in the same way as the FEMPTY bit in the ETF_STS register.
Bit 0 FLINPROG: flush in progress
Indicates whether a flush on the ATB slave port is in progress. This bit reflects the status of the AFVALIDS output. A flush can be initiated by the flush control bits in the ETF_FFCR register, or requested by the ATB master port.
0: no flush in progress
1: flush in progress
ETF formatter and flush control register (ETF_FFCR)
Address offset: 0x304
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | DRAINBUF | STPONTRGEV | STOPONFL | Res. | TRIGONFL | TRGONTRGEV | TRGONTRGIN | Res. | FLUSHMAN | FONTRGEV | FONFLIN | Res. | Res. | ENTI | ENFT |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:15 Reserved, must be kept at reset value.
Bit 14 DRAINBUF: drain buffer
This bit is used to enable draining of the trace data through the ATB master interface after the formatter has stopped. This is useful in circular buffer mode to capture trace data into trace memory and then to drain the captured trace through the ATB master interface.
Writing a one to this bit when in stopped state starts the drain of the contents of the trace buffer through the ATB master interface. This bit always reads as zero. The READY bit in the ETF_STS register goes low while the drain is in progress.
This bit is functional only when the ETF is in circular buffer mode and formatting is enabled, that is if the ENFT bit in the ETF_FFCR register is set. Setting this bit when the ETF is in any other mode, or when not in stopped state, results in unpredictable behavior.
When trace capture is complete in circular buffer mode, all of the captured trace must be retrieved from the trace memory through the same mechanism, either read all trace data out through ETF_RRD reads, or drain all trace data by setting the DRAINBUF bit. Setting the DRAINBUF bit after some of the captured trace has been read out through ETF_RRD results in unpredictable behavior.
Bit 13 STPONTRGEV: stop on trigger event
0: no effect
1: stop trace capture when a trigger event occurs
Note: Enabling the ETF in software FIFO mode or hardware FIFO mode with this bit set results in unpredictable behavior.
Bit 12 STOPONFL: stop on flush
0: no effect
1: stops trace capture when flush is completed
If a flush is initiated by the ATB master interface, its completion does not lead to a formatter stop regardless of the value programmed in this bit.
Bit 11 Reserved, must be kept at reset value.
Bit 10 TRIGONFL: trigger on flush
0: no effect
1: indicates a trigger in the trace stream when flush is completed
If ENFT and ENTI are both clear, this bit is ignored and no trigger is inserted into the trace stream.
If a flush is initiated by the ATB master interface, its completion does not lead to a trigger indication regardless of the value programmed in this bit.
Bit 9 TRGONTRGEV: trigger on trigger event
0: no effect
1: indicates a trigger in the trace stream when trigger event occurs
If ENFT and ENTI are both clear, this bit is ignored and no trigger is inserted into the trace stream.
This bit is not supported in software FIFO mode or hardware FIFO mode.
Bit 8 TRGONTRGIN: trigger on trigger in
0: no effect
1: indicates a trigger in the trace stream when a rising edge is detected on the TRIGIN input
If ENFT and ENTI are both clear, this bit is ignored and no trigger is inserted into the trace stream.
Bit 7 Reserved, must be kept at reset value.
Bit 6 FLUSHMAN: manual flush
0: no effect
1: flushes the trace FIFO and pipeline
This bit is cleared automatically when the flush completes. If the TCEN bit in the ETF_CTL register is 0, writes to this bit are ignored.
Bit 5 FONTRGEV: flush on trigger event
0: no effect
1: flushes the trace FIFO and pipeline if a trigger event occurs
This bit is not supported in software FIFO mode or hardware FIFO mode. If STPONTRGEV is set, this bit is ignored.
Bit 4 FONFLIN: flush on flush in
0: no effect
1: flushes the trace FIFO and pipeline when a rising edge is detected on the FLUSHIN input
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 ENTI: enable trigger insertion
Setting this bit enables the insertion of triggers in the formatted trace stream. A trigger is indicated by inserting one byte of data 8'h00 with ATID 7'h7D in the trace stream. Trigger indication on the trace stream is additionally controlled by the register bits TRIGONFL, TRGONTRGEV, and TRGONTRGIN in the ETF_FFCR Register. This bit can only be changed when READY is high, and TCEN is low. This bit takes effect only when the ENFT register bit in this register is set. If the ENTI bit is set to high when ENFT is low, it results in formatting being enabled.
Bit 0 ENFT: enable formatting
0: formatting is disabled. Incoming trace data is assumed to be from a single trace source
1: formatting is enabled
If multiple ATIDs are received by the ETF when trace capture is enabled and the formatter is disabled, it results in interleaving of trace data. Disabling of formatting is supported only in circular buffer mode. If the ETF is enabled in a mode other than circular buffer mode with ENFT low, it results in formatting being enabled. If the ENTI bit is set to high when ENFT is low, it results in formatting being enabled.
This bit is ignored when in disabled state.
ETF periodic synchronisation counter register (ETF_PSCR)
Address offset: 0x308
Reset value: 0x0000 000A
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PSCOUNT[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:5 Reserved, must be kept at reset value.
Bits 4:0 PSCOUNT[4:0]: synchronization counter reload value
PSCOUNT determines the reload value of the synchronization counter. The reload value takes effect the next time the counter reaches zero. Reads from this register return the reload value programmed into this register. This register is set to 0xA on reset, corresponding to a synchronization period of 1024 bytes.
0x0: synchronization disabled
0x1-0x6: reserved
0x7-0x1B: synchronization period is \(2^{\text{PSCOUNT}}\) bytes
Others: reserved
ETF claim tag set register (ETF_CLAIMSET)
Address offset: 0xFA0
Reset value: 0x0000 000F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMSET[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CLAIMSET[3:0]: sets claim tag bits
Write:
- – 0000: no effect
- – xxx1: sets bit 0
- – xx1x: sets bit 1
- – x1xx: sets bit 2
- – 1xxx: sets bit 3
Read:
- – 0xF: indicates there are four bits in claim tag
ETF claim tag clear register (ETF_CLAIMCLR)
Address offset: 0xFA4
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMCLR[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CLAIMCLR[3:0]: resets claim tag bits
Write:
- – 0000: no effect
- – xxx1: clears bit 0
- – xx1x: clears bit 1
- – x1xx: clears bit 2
- – 1xxx: clears bit 3
Read:
- – Returns current value of claim tag
ETF lock access register (ETF_LAR)
Address offset: 0xFB0
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ACCESS_W[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ACCESS_W[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 ACCESS_W[31:0]: ETF register write access enable
Enables write access to some ETF registers by processor cores (debuggers do not need to unlock the component).
0xC5ACCE55: enable write access
Other values: disable write access
ETF lock status register (ETF_LSR)
Address offset: 0xFB4
Reset value: 0x0000 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LOCKTYPE | LOCKGRANT | LOCKEXIST |
| r | r | r |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 LOCKTYPE: ETF_LAR register size
Indicates the size of the ETF_LAR register.
0: 32-bit
Bit 1 LOCKGRANT: current lock status
This bit always reads as zero by an external debugger.
0: write access is permitted
1: write access is blocked. Only reads are permitted.
Bit 0 LOCKEXIST: lock control existence
Indicates whether a lock control mechanism exists. This bit always reads as zero by an external debugger.
0: no lock control mechanism exists
1: lock control mechanism is implemented
ETF authentication status register (ETF_AUTHSTAT)
Address offset: 0xFB8
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNID[1:0] | SID[1:0] | NSNID[1:0] | NSID[1:0] | ||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:6 SNID[1:0]: security level for secure non-invasive debug
0x0: not implemented
Bits 5:4 SID[1:0]: security level for secure invasive debug
0x0: not implemented
Bits 3:2 NSNID[1:0]: security level for non-secure non-invasive debug
0x0: not implemented
Bits 1:0 NSID[1:0]: security level for non-secure invasive debug
0x0: not implemented
ETF device configuration register (ETF_DEVID)
Address offset: 0xFC8
Reset value: 0x0000 0380
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | MEMWIDTH[2:0] | CONFIGTYP[1:0] | CLKSCHEM | ATBINPORTCNT[4:0] | |||||||
| r | r | r | r | r | r | r | r | r | |||||||
Bits 31:11 Reserved, must be kept at reset value.
Bits 10:8 MEMWIDTH[2:0]: memory interface data bus width
0x3: 64 bits (corresponds to 32-bit ATB data)
Bits 7:6 CONFIGTYP[1:0]: configuration type of component (ETB, ETR or ETF)
0x2: ETF
Bit 5 CLKSCHEM: RAM clocking scheme (synchronous or asynchronous)
0x0: synchronous
Bits 4:0 ATBINPORTCNT[4:0]: number / type of ATB input port multiplexing
0x0: none
ETF device type identifier register (ETF_DEVTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0032
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE[3:0] | MAJORTYPE[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SUBTYPE[3:0] : sub-classification0x3: captures trace data from the ATB slave interface into RAM that can be drained through the ATB master interface
Bits 3:0 MAJORTYPE[3:0] : major classification0x2: component is a trace link because it has an ATB master interface through which trace data can be drained out in Hardware FIFO mode
ETF CoreSight peripheral identity register 4 (ETF_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0] : register file size0x0: register file occupies a single 4-Kbyte region
Bits 3:0 JEP106CON[3:0] : JEP106 continuation code0x4: Arm ® JEDEC codeETF CoreSight peripheral identity register 0 (ETF_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0061
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PARTNUM[7:0]: part number bits [7:0]
0x61: ETF part number
ETF CoreSight Peripheral Identity register 1 (ETF_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B9
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 JEP106ID[3:0]: JEP106 identity code bits [3:0]
0xB: Arm® JEDEC code
Bits 3:0 PARTNUM[11:8]: part number bits [11:8]
0x9: ETF part number
ETF CoreSight peripheral identity register 2 (ETF_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 001F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: component revision number
0x1: r0p1
Bit 3 JEDEC: JEDEC assigned value
0x1: Designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4]: JEP106 identity code bits [6:4]
0x3: Arm® JEDEC code
ETF CoreSight peripheral identity register 3 (ETF_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: metal fix version
0x0: no metal fix
Bits 3:0 CMOD[3:0]: customer modified
0x0: no customer modifications
ETF CoreSight component identity register 0 (ETF_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[7:0]: component ID bits [7:0]
0x0D: common ID value
ETF CoreSight peripheral identity register 1 (ETF_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 0090
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: component ID bits [15:12] - component class
0x9: CoreSight™ component
Bits 3:0 PREAMBLE[11:8]: component ID bits [11:8]
0x0: Common ID value
ETF CoreSight component identity register 2 (ETF_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[19:12]: component ID bits [23:16]
0x05: common ID value
ETF CoreSight component identity register 3 (ETF_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[27:20]: component ID bits [31:24]
0xB1: common ID value
Embedded trace FIFO registers map
Table 621. ETF register map and reset values| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x004 | ETF_RSZ | Res. | RSZ[30:0] | ||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x00C | ETF_STS | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EMPTY | FEMPTY | READY | TRIGD | FULL |
| Reset value | 1 | 1 | 1 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x010 | ETF_RRD | RRD[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
Table 621. ETF register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x014 | ETF_RRP | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RRP[12:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x018 | ETF_RWP | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RWP[12:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x01C | ETF_TRG | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRG[10:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
| 0x020 | ETF_CTL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TCEN | ||||||||||||
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x024 | ETF_RWD | RWD[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x028 | ETF_MODE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MODE[1:0] | ||||||||||||
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x02C | ETF_LBUFLVL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LBUFLEVEL[11:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x030 | ETF_CBUFLVL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CBUFLEVEL[11:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x034 | ETF_BUFWM | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BUFWM[10:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
| 0x300 | ETF_FFSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FTSTOPPED | ||||||||||||
| Reset value | 1 | 0 | |||||||||||||||||||||||||||||||
| 0x304 | ETF_FFCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DRAINBUF | STPONTRGEV | STOPONFL | TRGONFL | TRGONTRGEV | TRGONTRGIN | FLUSHMAN | FONTRGEV | FONFLIN | Res. | Res. | Res. | Res. |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x308 | ETF_PSCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PSCOUNT[3:0] | ||||||||||||
| Reset value | 0 | 1 | 0 | 1 | 0 | ||||||||||||||||||||||||||||
| 0xFA0 | ETF_CLAIMSET | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMSET[3:0] | ||||||||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||
Table 621. ETF register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFA4 | ETF_CLAIMCLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMCLR[3:0] | |||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0xFB0 | ETF_LAR | ACCESS_W[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0xFB4 | ETF_LSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LOCKTYPE | LOCKGRANT | LOCKEXIST | |
| Reset value | 0 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFB8 | ETF_AUTHSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNID[1:0] | SID[1:0] | NSNID[1:0] | NSID[1:0] | |||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0xFC8 | ETF_DEVID | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MEMWDTH[2:0] | CONFIGTYP[1:0] | CLKSCHEM | ATBINPORTCNT[4:0] | ||||||
| Reset value | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
| 0xFD0 | ETF_DEVTYPE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE[3:0] | MAJORTYPE[3:0] | ||||||
| Reset value | 0 | 0 | 1 | 1 | 0 | 0 | 1 | ||||||||||||||||||||||||||
| 0xFD0 | ETF_PIDR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | ||||||||||||||||||||||||||
| 0xFD4 | ETF_PIDR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFD8 | ETF_PIDR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFDC | ETF_PIDR7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | |||||||||||||||||||||||||||||||||

Table 621. ETF register map and reset values (continued)
| Offset | Register name reset value | 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 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFE0 | ETF_PIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||||
| Reset value | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||||
| 0xFE4 | ETF_PIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||||
| Reset value | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | |||||||||||||||||||||||||||
| 0xFE8 | ETF_PIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||||
| Reset value | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | |||||||||||||||||||||||||||
| 0xFEC | ETF_PIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0xFF0 | ETF_CIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||||||||||||||||||||
| 0xFF4 | ETF_CIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||||
| Reset value | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0xFF8 | ETF_CIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||||
| 0xFFC | ETF_CIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||||
59.10.5 Trace port interface unit (TPIU)
The TPIU is a CoreSight™ component that formats the trace stream and outputs it on the external trace port signals. The TPIU has a single ATB slave port for incoming trace data. The trace port is a synchronous parallel port, comprising a clock output, TRACECLK, and sixteen data outputs, TRACED(15:0). The trace port width is programmable in the range 1 to 16. Using a smaller port width reduces the number of test points/connector pins needed, and frees up I/Os for other purposes. However it restricts the bandwidth of the trace port and hence the quantity of trace information that can be output in real time.
For more information on the Trace Port Interface CoreSight™ component, refer to the Arm® CoreSight™ SoC-400 Technical Reference Manual [2].
Trace port interface unit registers
TPIU supported port size register (TPIU_SUPPSIZE)
Address offset: 0x000
Reset value: 0x0000 FFFF
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PORTSIZE[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PORTSIZE[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 PORTSIZE[31:0]: supported trace port sizes
Indicates supported trace port sizes, from 1 to 32 pins. Bit n-1 when set indicates that port size n is supported.
0x0000 FFFF: port sizes 1 to 16 supported
TPIU current port size register (TPIU_CURPSIZE)
Address offset: 0x004
Reset value: 0x0000 FFFF
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PORTSIZE[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PORTSIZE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 PORTSIZE[31:0]: current trace port size
Indicates current trace port size. Bit n-1 when set indicates that the current port size is n pins. The value of n must be within the range of supported port sizes (1-4). Only one bit can be set, or unpredictable behavior may result. This register should only be modified when the formatter is stopped.
TPIU supported trigger modes register (TPIU_SUPTRGM)
Address offset: 0x100
Reset value: 0x0000 011F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRGRUN | TRIGD |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | TCOUNT8 | Res. | Res. | Res. | MULT64K | MULT256 | MULT16 | MULT4 | MULT2 |
| r | r | r | r | r | r |
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 TRGRUN: trigger running
0: trigger has not occurred or counter is at 0
1: trigger has occurred and counter is not at 0
Bit 16 TRIGD: triggered
0: trigger has not occurred
1: trigger has occurred and counter has reached 0
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 TCOUNT8: 8-bit counter register
1: implemented
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 MULT64K: multiplying the trigger counter by 65536 support
1: supported
Bit 3 MULT256: multiplying the trigger counter by 256 support
1: supported
Bit 2 MULT16: multiplying the trigger counter by 16 support
1: supported
Bit 1 MULT4: multiplying the trigger counter by 4 support
1: supported
Bit 0 MULT2: multiplying the trigger counter by 2 support
1: supported
TPIU trigger counter value register (TPIU_TRGCNT)
Address offset: 0x104
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGCOUNT[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 TRIGCOUNT[7:0]: trigger delay to external enable
Enables delaying the indication of triggers to any external connected trace capture or storage devices.
This counter is only eight-bit wide and is intended to be used only with the counter multipliers in the TPIU_TRGMULT trigger multiplier register. When a trigger is started, this value, in combination with the multiplier, is the number of words before the trigger is indicated. When the trigger counter reaches 0, the value written here is reloaded. Writing to this register causes the trigger counter value to reset but does not reset any values on the multiplier. Reading this register returns the preset value, not the current count.
TPIU trigger multiplier register (TPIU_TRGMULT)
Address offset: 0x108
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MULT64K | MULT256 | MULT16 | MULT4 | MULT2 |
| rw | rw | rw | rw | rw |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 MULT64K: multiply the trigger counter by 65536
0: disabled
1: enabled
Bit 3 MULT256: multiply the trigger counter by 256
0: disabled
1: enabled
Bit 2 MULT16: multiply the trigger counter by 16
0: disabled
1: enabled
Bit 1 MULT4: multiply the trigger counter by 4
0: disabled
1: enabled
Bit 0 MULT2: multiply the trigger counter by 2
0: disabled
1: enabled
TPIU supported test patterns/modes register (TPIU_SUPTPM)
Address offset: 0x200
Reset value: 0x0003 000F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PCONTEN | PTIMEEN |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PATF0 | PATA5 | PATW0 | PATW1 |
| r | r | r | r |
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 PCONTEN: continuous mode support
Indicates whether continuous mode is supported.
1: supported
Bit 16 PTIMEEN: timed mode support
Indicates whether timed mode is supported.
1: supported
Bits 15:4 Reserved, must be kept at reset value.
Bit 3 PATF0: FF/00 pattern support
Indicates whether the FF/00 pattern is supported as output over the trace port.
1: supported
Bit 2 PATA5: AA/55 pattern support
Indicates whether the AA/55 pattern is supported as output over the trace port.
1: supported
Bit 1 PATW0: walking 0's pattern support
Indicates whether the walking 0's pattern is supported as output over the trace port.
1: supported
Bit 0 PATW1: walking 1's pattern support
Indicates whether the walking 1's pattern is supported as output over the trace port.
1: supported
TPIU current test pattern/mode register (TPIU_CURTPM)
Address offset: 0x204
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PCONTEN | PTIMEEN |
| rw | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PATF0 | PATA5 | PATW0 | PATW1 |
| rw | rw | rw | rw |
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 PCONTEN: continuous mode enable
Indicates whether continuous mode is enabled.
0: disabled
1: enabled
Bit 16 PTIMEEN: timed mode enable
Indicates whether timed mode is enabled.
0: disabled
1: enabled
Bits 15:4 Reserved, must be kept at reset value.
Bit 3 PATF0: FF/00 pattern enable
Indicates whether the FF/00 pattern is enabled as output over the trace port.
0: disabled
1: enabled
Bit 2 PATA5: AA/55 pattern enable
Indicates whether the AA/55 pattern is enabled as output over the trace port.
0: disabled
1: enabled
Bit 1 PATW0: walking 0's pattern enable
Indicates whether the walking 0's pattern is enabled as output over the trace port.
0: disabled
1: enabled
Bit 0 PATW1: walking 1's pattern enable
Indicates whether the walking 1's pattern is enabled as output over the trace port.
0: disabled
1: enabled
TPIU test pattern repeat counter register (TPIU_TPRCR)
Address offset: 0x208
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PATTCOUNT[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PATTCOUNT[7:0]: pattern number of TRACECLKIN cycles
8-bit counter value to indicate the number of TRACECLKIN cycles for which a pattern runs before it switches to the next pattern.
TPIU formatter and flush status register (TPIU_FFSR)
Address offset: 0x300
Reset value: 0x0000 0002
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TCPRESENT | FTSTOPPED | FLINPROG |
| r | r | r |
Bits 31:3 Reserved, must be kept at reset value.
- Bit 2 TCPRESENT: TRACECTL output pin is availability
- Indicates whether the optional TRACECTL output pin is available for use.
- 0: TRACECTL pin is not present in this device
- Bit 1 FTSTOPPED: formatter stopped
- The formatter has received a stop request signal and all trace data and post-amble is sent.
- Any additional trace data on the ATB interface is ignored.
- 0: formatter has not stopped
- 1: formatter has stopped
- Bit 0 FLINPROG: flush in progress
- Indicates whether a flush on the ATB slave port is in progress. This bit reflects the status of the AFVALIDS output. A flush can be initiated by the flush control bits in the TPIU_FFCR register.
- 0: no flush in progress
- 1: flush in progress
TPIU formatter and flush control register (TPIU_FFCR)
Address offset: 0x304
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | STOPTRIG | STOPFL | Res. | TRIGFL | TRIG EVT | TRIGIN | Res. | FONMAN | FONTRIG | FONFLIN | Res. | Res. | ENFCONT | ENFTC |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |

Bits 31:14 Reserved, must be kept at reset value.
Bit 13 STOPTRIG: stop on trigger event
0: no effect
1: stop formatter when a trigger event occurs
Bit 12 STOPFL: stop on flush
0: no effect
1: stop formatter when flush is completed
Bit 11 Reserved, must be kept at reset value.
Bit 10 TRIGFL: trigger on flush
0: no effect
1: indicates a trigger in the trace stream when flush is completed
Bit 9 TRIGEVT: trigger on trigger event
0: no effect
1: indicates a trigger in the trace stream when trigger event occurs
Bit 8 TRIGIN: trigger on trigger in
0: no effect
1: indicates a trigger in the trace stream when the TRIGIN input from the system CTI is asserted.
Bit 7 Reserved, must be kept at reset value.
Bit 6 FONMAN: generates a manual flush
0: no effect
1: flush the trace
This bit is cleared automatically when the flush completes.
Bit 5 FONTRIG: flush on trigger event
A trigger event occurs when the trigger counter reaches 0, or, if the trigger counter is 0, when the TRIGIN input from the system CTI is high.
0: no effect
1: flushes the trace if a trigger event occurs
Bit 4 FONFLIN: flush on flush in
0: no effect
1: flushes the trace if the FLUSHIN input from the system CTI is asserted
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 ENFCONT: enables continuous formatting
0: continuous formatting is disabled
1: continuous formatting is enabled
Bit 0 ENFTC: enables the embedding of triggers in formatted trace
0: formatting is disabled
1: formatting is enabled
TPIU formatter synchronisation counter register (TPIU_FSCR)
Address offset: 0x308
Reset value: 0x0000 0040
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CYCCOUNT[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:5 Reserved, must be kept at reset value.
Bits 4:0 CYCCOUNT[4:0]: formatted frame number
Enables effective use of different sized TPAs without wasting large amounts of the storage capacity of the capture device.
This counter contains the number of formatter frames since the last synchronization packet of 128 bits. It is a 12-bit counter with a maximum count value of 4096. This equates to synchronization every 65536 bytes, that is, 4096 packets x 16 byte per packet. The default is set up for a synchronization packet every 1024 bytes, that is, every 64 formatter frames. If the formatter is configured for continuous mode, full and half-word sync frames are inserted during normal operation. Under these circumstances, the count value is the maximum number of complete frames between full synchronization packets.
TPIU claim tag set register (TPIU_CLAIMSET)
Address offset: 0xFA0
Reset value: 0x0000 000F
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMSET[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CLAIMSET[3:0]: sets claim tag bits
Write:
- – 0000: no effect
- – xxx1: sets bit 0
- – xx1x: sets bit 1
- – x1xx: sets bit 2
- – 1xxx: sets bit 3
Read:
- – 0xF: indicates there are four bits in claim tag
TPIU claim tag clear register (TPIU_CLAIMCLR)
Address offset: 0xFA4
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMCLR[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CLAIMCLR[3:0]: resets claim tag bits
Write:
- – 0000: no effect
- – xxx1: clears bit 0
- – xx1x: clears bit 1
- – x1xx: clears bit 2
- – 1xxx: clears bit 3
Read:
- – Returns current value of claim tag
TPIU lock access register (TPIU_LAR)
Address offset: 0xFB0
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ACCESS_W[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ACCESS_W[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 ACCESS_W[31:0]: TPIU register write access enable
Enables write access to some TPIU registers by processor cores (debuggers do not need to unlock the component).
0xC5ACCE55: enable write access
Other values: disable write access
TPIU lock status register (TPIU_LSR)
Address offset: 0xFB4
Reset value: 0x0000 0003

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LOCKTYPE | LOCKGRANT | LOCKEXIST |
| r | r | r |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 LOCKTYPE: TPIU_LAR register size
Indicates the size of the TPIU_LAR register.
0: 32-bit
Bit 1 LOCKGRANT: current lock status
This bit always reads as zero by an external debugger.
0: write access is permitted
1: write access is blocked. Only reads are permitted.
Bit 0 LOCKEXIST: lock control existence
Indicates whether a lock control mechanism exists. This bit always reads as zero by an external debugger.
0: no lock control mechanism exists
1: lock control mechanism is implemented
TPIU authentication status register (TPIU_AUTHSTAT)
Address offset: 0xFB8
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNID[1:0] | SID[1:0] | NSNID[1:0] | NSID[1:0] | ||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:6 SNID[1:0]: security level for secure non-invasive debug
0x0: not implemented
Bits 5:4 SID[1:0]: security level for secure invasive debug
0x0: not implemented
Bits 3:2 NSNID[1:0]: security level for non-secure non-invasive debug
0x0: not implemented
Bits 1:0 NSID[1:0]: security level for non-secure invasive debug
0x0: not implemented
TPIU device configuration register (TPIU_DEVID)
Address offset: 0xFC8
Reset value: 0x0000 00A0
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | SWOUARTNRZ | SWOMAN | TCLKDATA | FIFOSIZE[2:0] | CLKRELAT | MAXNUM[4:0] | ||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
Bits 31:12 Reserved, must be kept at reset value.
Bit 11 SWOUARTNRZ : Serial Wire Output, UART or NRZ supportIndicates whether Serial Wire Output, UART or NRZ, is supported.
0x0: not supported
Bit 10 SWOMAN : Serial Wire Output, Manchester supportIndicates whether Serial Wire Output, Manchester encoded format, is supported.
0x0: not supported
Bit 9 TCLKDATA : trace clock plus data supportIndicates whether trace clock plus data is supported.
0x0: not supported
Bits 8:6 FIFOSIZE[2:0] : FIFO size in powers of 20x2: FIFO size = 4 (16 bytes)
Bit 5 CLKRELAT : ATB clock and TRACECLKIN syncIndicates the relationship between the ATB clock and TRACECLKIN (synchronous or asynchronous).
0x1: asynchronous
Bits 4:0 MAXNUM[4:0] : number / type of ATB input port multiplexing0x0: none
TPIU device type identifier register (TPIU_DEVTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0032
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE[3:0] | MAJORTYPE[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SUBTYPE[3:0]: sub-classification
0x1: trace port component
Bits 3:0 MAJORTYPE[3:0]: major classification
0x1: trace sink component
TPIU CoreSight peripheral identity register 4 (TPIU_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0]: register file size
0x0: register file occupies a single 4 Kbyte region
Bits 3:0 JEP106CON[3:0]: JEP106 continuation code
0x4: Arm® JEDEC code
TPIU CoreSight peripheral identity register 0 (TPIU_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0012
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PARTNUM[7:0]: part number bits [7:0]
0x12: TPIU part number
TPIU CoreSight peripheral identity register 1 (TPIU_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B9

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 JEP106ID[3:0]: JEP106 identity code bits [3:0]
0xB: Arm® JEDEC code
Bits 3:0 PARTNUM[11:8]: part number bits [11:8]
0x9: TPIU part number
TPIU CoreSight peripheral identity register 2 (TPIU_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 004B
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: component revision number
0x4: r0p5
Bit 3 JEDEC: JEDEC assigned value
0x1: designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4]: JEP106 identity code bits [6:4]
0x3: Arm® JEDEC code
TPIU CoreSight peripheral identity register 3 (TPIU_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: metal fix version
0x0: no metal fix
Bits 3:0 CMOD[3:0]: customer modified
0x0: no customer modifications
TPIU CoreSight component identity register 0 (TPIU_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[7:0]: component ID bits [7:0]
0x0D: common ID value
TPIU CoreSight peripheral identity register 1 (TPIU_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 0090
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: component ID bits [15:12] - component class
0x9: CoreSight™ component
Bits 3:0 PREAMBLE[11:8]: component ID bits [11:8]
0x0: common ID value
TPIU CoreSight component identity register 2 (TPIU_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[19:12]: component ID bits [23:16]
0x05: common ID value
TPIU CoreSight component identity register 3 (TPIU_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[27:20]: component ID bits [31:24]
0xB1: common ID value
Trace port interface unit registers map
Table 622. TPIU register map and reset values
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | TPIU_SUPPSIZE | PORTSIZE[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| 0x004 | TPIU_CURPSIZE | PORTSIZE[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |
| 0x100 | TPIU_SUPTRGM | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRGRUN | TRIGD | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TCOUNT8 | Res. | Res. | Res. | MULT64K | MULT256 | MULT16 | MULT4 | MULT2 | |
| Reset value | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||
| 0x104 | TPIU_TRGCNT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIGCOUNT[7:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
| 0x108 | TPIU_TRGMULT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MULT64K | MULT256 | MULT16 | MULT4 | MULT2 | |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x200 | TPIU_SUPTPM | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PCONTEN | PTIMEEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PATF0 | PATA5 | PATW0 | PATW1 |
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||
| 0x204 | TPIU_CURTPM | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PCONTEN | PTIMEEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PATF0 | PATA5 | PATW0 | PATW1 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x104 | TPIU_TPRCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PATTCOUNT[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x300 | TPIU_FFSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TCPRESENT | FTSTOPPED | FLINPROG |
| Reset value | 0 | 1 | 0 | ||||||||||||||||||||||||||||||
| 0x304 | TPIU_FFCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STOPTRIG | STOPFL | Res. | TRIGFL | TRIGEVt | TRIGIN | Res. | FONMAN | FONTRIG | FONFLIN | Res. | Res. | ENFCONT | ENFTC |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
| 0x308 | TPIU_FSCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CYCCOUNT[11:0] | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
| 0xFA0 | TPIU_CLAIMSET | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMSET[3:0] | |||
| Reset value | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||
| 0xFA4 | TPIU_CLAIMCLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMCLR[3:0] | |||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0xFB0 | TPIU_LAR | ACCESS_W[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0xFB4 | TPIU_LSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LOCKTYPE | LOCKGRANT | LOCKEXIST |
| Reset value | 0 | 1 | 1 | ||||||||||||||||||||||||||||||
Table 622. TPIU register map and reset values (continued)
| Offset | Register name reset value | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFB8 | TPIU_AUTHSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNID[1:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0xFC8 | TPIU_DEVID | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SWUJARTNRZ | SWOMAN | TCLKDATA | FIFOSIZE[2:0] | CLKRELAT | MUXNUM[4:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||
| 0xFD0 | TPIU_DEVTYPE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE[3:0] | MAJORTYPE[3:0] | |||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | ||||||||||||||||||||||||||
| 0xFD0 | TPIU_PIDR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||||
| 0xFD4 | TPIU_PIDR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | ||||||||||||||||||||||||||||||||||
| 0xFD8 | TPIU_PIDR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | ||||||||||||||||||||||||||||||||||
| 0xFDC | TPIU_PIDR7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | ||||||||||||||||||||||||||||||||||
| 0xFE0 | TPIU_PIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | ||||||||||||||||||||||||||
| 0xFE4 | TPIU_PIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | |||||||
| Reset value | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | ||||||||||||||||||||||||||
| 0xFE8 | TPIU_PIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | ||||||
| Reset value | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | ||||||||||||||||||||||||||
Table 622. TPIU register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFEC | TPIU_PIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND [3:0] | CMOD[3:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF0 | TPIU_CIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFF4 | TPIU_CIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| Reset value | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | TPIU_CIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFFC | TPIU_CIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
59.10.6 Microprocessor debug unit (DBGMCU)
The DBGMCU is a component containing a number of registers which control the power and clock behavior in debug mode. Specifically it allows the debugger, or debug software, to:
- – maintain the clock and power to the processor when in low power modes (Sleep, Stop or Standby)
- – maintain the clock and power to the system debug and trace components when in low power modes
- – stop the clock to certain peripherals (CAN, SMBUS timeout, Watchdogs, Timers, RTC) when the processor is stopped in debug mode
Low power mode emulation in debug
When entering a low power mode (CSleep, Stop, LP-Stop, LPLV-Stop, LPLV-Stop2 or Standby), the clock to the processor, the subsystem clocks or, in the case of Standby mode, the core power supply may be switched off. This prevents any debug accesses to the unclocked domains. To simplify debugging of applications which use these power saving features, the clock and power can be maintained or not according to the setting of the DBGLP bit in the DBGMCU_CR register. This bit can be accessed directly by the debugger or by debug software, meaning that the application software does not need to be modified.
If the system enters one of the power saving modes, and the corresponding register bit is set, the system enters and exits the low power state as normal. However the clock and power remain active, allowing the debugger full access.
Note: If the trace port interface (TPIU) is used, loss of trace data can occur if the system goes into Standby mode and switches off the core power before the TPIU FIFO is empty. The software can check the state of the FIFO to avoid this. However if the DBGLP bit is set while
using the trace port, the trace continues to flush during Standby mode and no specific software action is required.
Peripheral clock “freeze” in debug
When the processor is halted in debug state, by default the peripherals continue to operate. This means that the system state at the moment the breakpoint was taken is overwritten and can not be recovered. Furthermore, certain peripherals require software intervention on a regular basis, without which they may time out and generate a reset (watchdogs, for example).
By setting the corresponding bits in the DBGMCU Peripheral Freeze registers, certain peripheral clocks can be stopped automatically as soon as the processor enters debug state. The clocks remain stopped until the processor is restarted.
The following peripherals support this feature:
- • All timers (TIMn, LPTIMn)
- • All I2C peripherals (to prevent SMBus timeout)
- • All watchdog timers (IWDGn)
- • Real time clock (RTC)
There is a freeze register for each peripheral bus (APB), to control the peripherals on that bus. It controls whether the peripheral is sensitive to the Cortex®-A7 debug state.
When the CA7 core enters debug and the corresponding bit in the Peripheral Freeze register is set, then the peripheral clock will be frozen.
The accessibility of the freeze register bits by the debugger depends on the state of the authentication signal SPIDEN.
When SPIDEN = 1 (secure privilege debug enabled), all bits can be modified and read.
When SPIDEN = 0 (secure privilege debug disabled), only bits corresponding to non-secure peripherals can be modified. All bits can be read.
The security status of the peripherals is signaled by the corresponding DECPROTn(1:0) signals from the ETZPC, with the exception of the RTC/TAMP peripheral which is secure if at least one function of the RTC/TAMP is configured as secure via the RTC_SECCFGR register.
Microprocessor debug unit registers
The DBGMCU registers are not reset by a system reset nreset, only by a power on reset vcore_rst, by the debugger using CDBGSTREQ/ACK, or by dbg_rstn which is set by writing to the bit DBGRST of RCC Debug Configuration register (RCC_DBGCFGR). They are accessible to the debugger via the debug APB bus at base address 0xE0081000. They are also accessible by the processor at base address 0x50081000
DBGMCU identity code register (DBGMCU_IDC)
Address offset: 0x000
Reset value: 0xXXXX 6501
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| REV_ID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | DEV_ID[11:0] | |||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
Bits 31:16 REV_ID[15:0]: revision
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:0 DEV_ID[11:0]: device ID
0x501: STM32MP13xx
DBGMCU configuration register (DBGMCU_CR)
Address offset: 0x004
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DBGLP | Res. | Res. |
| rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DBGLP: Low power mode debug enable
0: normal operation. In Stop, LP-Stop, LPLV-Stop, LPLV-Stop2 and Standby mode, debug access is lost.
1: automatic clock stop/power down disabled. All active clocks and oscillators continue to run during low power mode, and the \(V_{DDCORE}\) and \(V_{DDCPU}\) supplies are maintained, allowing full debug capability. On exit from Standby or LPLV-Stop2 modes, the Cortex®-A7 is reset.
Bits 1:0 Reserved, must be kept at reset value.
DBGMCU APB4 peripheral freeze register (DBGMCU_APB4FZ)
Address offset: 0x02C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG2 | Res. | Res. |
| rw |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 IWDG2: IWDG2 stop in debug
- 0: normal operation. IWDG2 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. IWDG2 is frozen while Cortex®-A7 core is in debug mode. No accesses are allowed on its APB interface.
Bits 1:0 Reserved, must be kept at reset value.
DBGMCU APB1 peripheral freeze register (DBGMCU_APB1FZ)
Address offset: 0x034
Reset value: 0x0000 0000
| Bit Number | Bit Name | Description | Reserved | Read/Write | Bit Number | Bit Name | Description | Reserved | Read/Write | Bit Number | Bit Name | Description | Reserved | Read/Write | Bit Number |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I2C2 rw | I2C1 rw | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. LPTIM1 | Res. | Res. | Res. | TIM7 | TIM6 | TIM5 | TIM4 | TIM3 | TIM2 | |
| rw | rw | rw | rw | rw | rw | rw | |||||||||
| Bit 19 | I2C2 : I2C2 SMBUS timeout stop in debug | ||||||||||||||
| Bit 18 | I2C1 : I2C1 SMBUS timeout stop in debug | ||||||||||||||
| Bit 9 | LPTIM1 | : LPTIM1 stop in debug | |||||||||||||
| 0: normal operation. LPTIM1 | continues to operate while Cortex | ®-A7 is in debug mode. | |||||||||||||
| Bit 5 | TIM7 : TIM7 stop in debug | ||||||||||||||
| 0: normal operation. TIM7 | continues to operate while Cortex | ®-A7 is in debug mode. | |||||||||||||
| Bit 4 | TIM6 : TIM6 stop in debug | ||||||||||||||
| 0: normal operation. TIM6 | continues to operate while Cortex | ®-A7 is in debug mode. | |||||||||||||
| Bit 3 | TIM5 : TIM5 stop in debug | ||||||||||||||
| 0: normal operation. TIM5 | continues to operate while Cortex | ®-A7 is in debug mode. |
Bits 31:20 Reserved, must be kept at reset value.
Bit 19 I2C2: I2C2 SMBUS timeout stop in debug
- 0: normal operation. I2C2 SMBUS timeout continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. I2C2 SMBUS timeout is frozen while the Cortex®-A7 core is in debug mode.
Bit 18 I2C1: I2C1 SMBUS timeout stop in debug
- 0: normal operation. I2C1 SMBUS timeout continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. I2C1 SMBUS timeout is frozen while the Cortex®-A7 core is in debug mode.
Bits 17:10 Reserved, must be kept at reset value.
Bit 9 LPTIM1: LPTIM1 stop in debug
- 0: normal operation. LPTIM1 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. LPTIM1 is frozen while the Cortex®-A7 core is in debug mode.
Bits 8:6 Reserved, must be kept at reset value.
Bit 5 TIM7: TIM7 stop in debug
- 0: normal operation. TIM7 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM7 is frozen while the Cortex®-A7 core is in debug mode.
Bit 4 TIM6: TIM6 stop in debug
- 0: normal operation. TIM6 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM6 is frozen while the Cortex®-A7 core is in debug mode.
Bit 3 TIM5: TIM5 stop in debug
- 0: normal operation. TIM5 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM5 is frozen while the Cortex®-A7 core is in debug mode.
Bit 2 TIM4: TIM4 stop in debug
- 0: normal operation. TIM4 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM4 is frozen while the Cortex®-A7 core is in debug mode.
Bit 1 TIM3: TIM3 stop in debug
- 0: normal operation. TIM3 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM3 is frozen while the Cortex®-A7 core is in debug mode.
Bit 0 TIM2: TIM2 stop in debug
- 0: Normal operation. TIM2 continues to operate while Cortex®-A7 is in debug mode.
- 1: Stop in debug. TIM2 is frozen while the Cortex®-A7 core is in debug mode.
DBGMCU APB2 peripheral freeze register (DBGMCU_APB2FZ)
Address offset: 0x03C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FDCAN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM8 | TIM1 |
| rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 FDCAN: FDCAN stop in debug
- 0: normal operation. FDCAN continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. FDCAN is frozen while Cortex®-A7 core is in debug mode.
Bits 14:9 Reserved, must be kept at reset value.
Bits 8:2 Reserved, must be kept at reset value.
Bit 1 TIM8: TIM8 stop in debug
- 0: normal operation. TIM8 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM8 is frozen while the Cortex®-A7 core is in debug mode.
Bit 0 TIM1: TIM1 stop in debug
- 0: normal operation. TIM1 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM1 is frozen while the Cortex®-A7 core is in debug mode.
DBGMCU APB3 peripheral freeze register (DBGMCU_APB3FZ)
Address offset: 0x044
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPTIM5 | LPTIM4 | LPTIM3 | LPTIM2 | Res. |
| rw | rw | rw | rw |

Bits 31:5 Reserved, must be kept at reset value.
Bit 4 LPTIM5: LPTIM5 stop in debug
- 0: normal operation. LPTIM5 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. LPTIM5 is frozen while the Cortex®-A7 core is in debug mode.
Bit 3 LPTIM4: LPTIM4 stop in debug
- 0: normal operation. LPTIM4 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. LPTIM4 is frozen while the Cortex®-A7 core is in debug mode.
Bit 2 LPTIM3: LPTIM3 stop in debug
- 0: normal operation. LPTIM3 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. LPTIM3 is frozen while the Cortex®-A7 core is in debug mode.
Bit 1 LPTIM2: LPTIM2 stop in debug
- 0: normal operation. LPTIM2 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. LPTIM2 is frozen while the Cortex®-A7 core is in debug mode.
Bit 0 Reserved, must be kept at reset value.
DBGMCU APB5 peripheral freeze register (DBGMCU_APB5FZ)
Address offset: 0x04C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | RTC | IWDG1 | Res. | Res. | Res. |
| rw | rw |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 RTC: RTC stop in debug
- 0: normal operation. RTC continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. RTC is frozen while the Cortex®-A7 core is in debug mode.
Bit 3 IWDG1: independent watchdog 1 stop in debug
- 0: normal operation. Watchdog continues to count while Cortex®-A7 is in debug mode.
- 1: stop in debug. IWDG1 is frozen while the Cortex®-A7 core is in debug mode. No accesses are allowed on its APB interface.
Bits 2:0 Reserved, must be kept at reset value.
DBGMCU APB6 peripheral freeze register (DBGMCU_APB6FZ)
Address offset: 0x054
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | TIM17 | TIM16 | TIM15 | TIM14 | TIM13 | TIM12 | I2C5 | I2C4 | I2C3 | Res. | Res. | Res. | Res. |
| rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:13 Reserved, must be kept at reset value.
Bit 12 TIM17: TIM17 stop in debug
- 0: normal operation. TIM17 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM17 is frozen while Cortex®-A7 is in debug mode.
Bit 11 TIM16: TIM16 stop in debug
- 0: normal operation. TIM16 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM16 is frozen while Cortex®-A7 is in debug mode.
Bit 10 TIM15: TIM15 stop in debug
- 0: normal operation. TIM15 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM15 is frozen while Cortex®-A7 is in debug mode.
Bit 9 TIM14: TIM14 stop in debug
- 0: normal operation. TIM14 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM14 is frozen while Cortex®-A7 is in debug mode.
Bit 8 TIM13: TIM13 stop in debug
- 0: normal operation. TIM13 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM13 is frozen while Cortex®-A7 is in debug mode.
Bit 7 TIM12: TIM12 stop in debug
- 0: normal operation. TIM12 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. TIM12 is frozen while Cortex®-A7 is in debug mode.
Bit 6 I2C5: I2C5 SMBUS stop in debug
- 0: normal operation. I2C5 SMBUS timeout continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. I2C5 SMBUS timeout is frozen while Cortex®-A7 is in debug mode.
Bit 5 I2C4: I2C4 SMBUS stop in debug
- 0: normal operation. I2C4 SMBUS timeout continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. I2C4 SMBUS timeout is frozen while Cortex®-A7 is in debug mode.
Bit 4 I2C3: I2C3 SMBUS stop in debug
- 0: normal operation. I2C3 SMBUS timeout continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. I2C3 SMBUS timeout is frozen while Cortex®-A7 is in debug mode.
Bits 3:0 Reserved, must be kept at reset value.
DBGMCU peripheral ID4 register (DBGMCU_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0000
This register belongs to the set of peripheral identification registers. It contains part of the designer identity and the memory footprint indicator.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | DES_2[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0]: component memory size indicator
Indicates the total contiguous size of the memory window used by the component in powers of two from the standard 4 Kbytes. If a component only requires the standard 4 Kbytes, this bit field must read as 0x0. For 8 Kbytes it is set to 0x1. For 16 Kbytes it set to 0x2. For 32 Kbytes it is set to 0x3, and similarly for larger memory windows.
0x0: the device only occupies 4 Kbytes of memory
Bits 3:0 DES_2[3:0]: JEDEC continuation code
Indicates the designer of the component, together with the identity code.
0x0: indicates that STMicroelectronics JEDEC identity code is on the 1st bank
DBGMCU peripheral ID0 register (DBGMCU_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0000
This register belongs to the set of peripheral identification registers. It contains part of the designer specific part number.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PART_0[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PART_0[7:0]: bits [7:0] of the component part number
This field is specified by the designer of the component.
0x00: CoreSight™ DBGMCU Part Number[7:0]. Eight least significant bits of the part number (0x000).
DBGMCU peripheral ID1 register (DBGMCU_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 0000
This register belongs to the set of peripheral identification registers. It contains part of the designer specific part number and part of the designer identity.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DES_0[3:0] | PART_1[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 DES_0[3:0]: bits [3:0] of the JEDEC identity code
Indicates the designer of the component, together with the continuation code.
0x0: least significant four bits of the JEP106 identity code (0x20 = STMicroelectronics)
Bits 3:0 PART_1[3:0]: bits [11:8] of the component part number
Specified by the designer of the component.
0x0: CoreSight™ DBGMCU part number[11:8]. Most significant four bits of the part number (0x000).
DBGMCU peripheral ID2 register (DBGMCU_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 000A
This register belongs to the set of peripheral identification registers. It contains part of the designer identity and the product revision.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | DES_1[2:0] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: incremental component design version
An incremental value starting from 0x0 for the first design of this component. The value increases by one at both major and minor revisions and is used as a look-up to establish the exact major and minor revisions.
0x0: this component is at rev0
Bit 3 JEDEC: JEDEC assigned value usage
Indicates the use of a JEDEC assigned value. This bit is always set.
1: the designer ID is specified by JEDEC (refer to http://www.jedec.org)
Bits 2:0 DES_1[2:0]: bits [6:4] of the JEDEC identity code
Indicates the designer of the component, together with the continuation code.
0x2: most significant three bits of the JEP106 identity code (0x20 = STMicroelectronics)
DBGMCU peripheral ID3 register (DBGMCU_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000
This register belongs to the set of peripheral identification registers. It contains the RevAnd and Customer_Modified bit fields.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: minor fix indicator
Indicates minor errata fixes specific to the design, for example metal fixes after implementation. In most cases this field is 0x0. Arm® recommends that the component designers ensure that the bit field can be changed by a metal fix if required, for example by driving the bit field from registers that reset to zero.
0x0: no metal fix in the component
Bits 3:0 CMOD[3:0]: customer modification indicator
When the component is a reusable IP, this value indicates if the customer has modified the behavior of the component. In most cases this field is 0x0.
0x0: no modification made
DBGMCU component ID0 register (DBGMCU_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRMBL_0[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PRMBL_0[7:0]: bits [31:24] of component identification
Component identification register, that indicates that the identification registers are present.
0x0D: identification value
DBGMCU component ID1 register (DBGMCU_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 00F0
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PRMBL_1[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: component class
Indicates the class of the component, for example, ROM table or CoreSight™ component.
0xF: indicates that the component is a non-CoreSight™ component
Bits 3:0 PRMBL_1[3:0]: bits [19:16] of component identification.
Component identification register, that indicates that the identification registers are present.
0x0: identification value
DBGMCU component ID2 register (DBGMCU_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRMBL_2[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PRMBL_2[7:0]: bits [15:8] of component identification
Component identification register, that indicates that the identification registers are present.
0x05: identification value
DBGMCU component ID3 register (DBGMCU_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRMBL_3[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PRMBL_3[7:0]: bits [7:0] of component identification
Component identification register, that indicates that the identification registers are present.
0xB1: identification value
Microprocessor controller debug unit registers map
Table 623. DBGMCU registers map and reset values
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | DBGMCU_IDC | REV_ID[15:0] | Res | Res | Res | Res | DEV_ID[11:0] | ||||||||||||||||||||||||||
| Reset value | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | ||||||
| 0x004 | DBGMCU_CR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x008 to 0x028 | Reserved | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| 0x02C | DBGMCU_APB4FZ | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x030 | Reserved | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| 0x034 | DBGMCU_APB1FZ | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x038 | Reserved | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| 0x03C | DBGMCU_APB2FZ | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x040 | Reserved | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| 0x044 | DBGMCU_APB3FZ | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x048 | Reserved | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| 0x04C | DBGMCU_APB5FZ | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x050 | Reserved | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| 0x054 | DBGMCU_APB6FZ | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||

Table 623. DBGMCU registers map and reset values (continued)
| RM0475 | column_2 | Debug support (DBG) |
|---|---|---|
| Offset Register name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 | 18 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0 | |
| 0x058- R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | |
| DBGMCU_PIDR4 R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. SIZE[3:0] DES_2[3:0] | |
| 0xFD4- R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R | e s. | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| DBGMCU_PIDR1 R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. DES_0[3:0] PART_1[3:0 | |
| VISIO R E N[3:0] | ||
| S D E _1[2:0] | ||
| R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. | |
| C JE D E | ||
| R E V A N D[3:0] | ||
| R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. | |
| C O M D[3:0] | ||
| DBGMCU_CIDR0 R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. PRMBL_0[7:0] | |
| _1[3:0] P R M B L | ||
| CLA S S[3:0] | ||
| R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. | |
| DBGMCU_CIDR2 R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. PRMBL_2[7:0] | |
| DBGMCU_CIDR3 R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s . R e s. PRMBL_3[7:0] |
59.11 Cortex®-A7 debug features
The Cortex®-A7 subsystem integrates the following CoreSight™ components:
- – Debug unit (DBG)
- – Performance Monitoring Unit (PMU)
- – Embedded Trace Macrocell (ETM)
- – Cross Trigger Interface (CTI)
These components are accessible by the debugger via the APB-AP and its associated debug APB bus. They are also accessible by the Cortex®-A7 via the system interconnect.
59.11.1 Cortex®-A7 debug unit
The debug unit enables the debugger to access the debug features built into the Cortex®-A7 MPCore. The debug features allow an external debugger to:
- – Stop program execution
- – Examine and alter process and coprocessor state
- – Examine and alter memory and input/output peripheral state
- – Restart the processor
For detailed information on the debug unit, refer to the Cortex®-A7 MPCore Technical Reference Manual [6].
Debug unit registers
The debug unit comprises a number of registers accessible to the debugger via the debug APB at address range 0xE00D 0000 to 0xE00D 0FFC. The same registers are accessible to software at address range 0x500D 0000 to 0x500D 0FFC.
The Cortex®-A7 core can access certain of its own debug unit registers via the CP14 (baseline and extended) registers, using MCR, MRC, MCCR and MRRC instructions.
DBG identification register (DBG_DIDR)
Address offset: 0x000
Reset value: 0x3515 F005
Specifies which version of debug architecture is implemented and what features.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| WRPS[3:0] | BRPS[3:0] | CTX_CMPS[3:0] | VERSION[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DEVIDI MP | NSUH DIMP | PCSRI MP | SEIMP | Res. | Res. | Res. | Res. | VARIANT[3:0] | REVISION[3:0] | ||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
Bits 31:28 WRPS[3:0]: Watchpoint Registers Pairs.
Indicates the number of watchpoint register pairs implemented.
0x3: The processor implements 4 WRPs
Bits 27:24 BRPS[3:0]: Breakpoint Registers Pairs.
Indicates the number of breakpoint register pairs implemented.
0x5: The processor implements 6 BRPs
Bits 23:20 CTX_CMPS[3:0]: Context ID comparators.
Indicates the number of BRPs that can be used for Context ID comparison.
0x1: The processor implements 2 breakpoints with context ID comparison
Bits 19:16 VERSION[3:0]: Debug Architecture version.
0x5: Arm®v7.1 debug architecture
- Bit 15 DEVIDIMP: Debug Device ID register (DBGDEVID) implemented.
1: Implemented - Bit 14 NSUHDIMP: Secure User Halting Debug implemented.
1: Not implemented - Bit 13 PCSRIMP: Program Counter Sampling Register (DBGPCSR) implemented as register 33.
1: Implemented - Bit 12 SEIMP: Security Extensions implemented.
1: Implemented - Bits 11:8 Reserved, must be kept at reset value.
- Bits 7:4 VARIANT[3:0]: Processor Variant number.
This number is incremented on functional changes. This field matches bits [23:20] of the CP15 Main ID register.
0x0: Variant = 0 - Bits 3:0 REVISION[3:0]: Processor Revision number.
This number is incremented on bug fixes. This field matches bits [3:0] of the CP15 Main ID register.
0x5: Revision = 5
DBG watchpoint fault address register (DBG_WFAR)
Address offset: 0x018
Reset value: 0x0000 0000
Returns information about the address of the instruction that accessed a watchpointed address. Not used in this version of debug architecture.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ADDRESS[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ADDRESS[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:0 ADDRESS[31:0]: Instruction address.
This register is unused.
DBG vector catch register (DBG_VCR)
Address offset: 0x01C
Reset value: 0x0000 0000
Controls Vector catch debug events.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NSF | NSI | Res. | NSD | NSP | NSC | NSU | Res. | NSHF | NSHI | NSHE | NSHD | NSHP | NSHC | NSHU | Res. |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MF | MI | Res. | MD | MP | MS | Res. | Res. | SF | SI | Res. | SD | SP | SS | SU | R |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
- Bit 31 NSF: FIQ interrupt exception non-secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 30 NSI: IRQ interrupt exception non-secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 29 Reserved, must be kept at reset value.
- Bit 28 NSD: Data Abort exception non-secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 27 NSP: Prefetch Abort exception non-secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 26 NSC: Supervisor Call exception non-secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 25 NSU: Undefined Instruction exception non-secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 24 Reserved, must be kept at reset value.
- Bit 23 NSHF: FIQ interrupt exception non-secure Hyp Vector catch enable.
0: Disabled
1: Enabled - Bit 22 NSHI: IRQ interrupt exception non-secure Hyp Vector catch enable.
0: Disabled
1: Enabled - Bit 21 NSHE: Hyp Trap or Hyp mode entry exception non-secure Hyp Vector catch enable.
0: Disabled
1: Enabled - Bit 20 NSHD: Data Abort exception non-secure Hyp Vector catch enable.
0: Disabled
1: Enabled - Bit 19 NSHP: Prefetch Abort exception non-secure Hyp Vector catch enable.
0: Disabled
1: Enabled
- Bit 18 NSHC: Hypervisor Call exception non-secure Hyp Vector catch enable.
0: Disabled
1: Enabled - Bit 17 NSHU: Undefined Instruction exception non-secure Hyp Vector catch enable.
0: Disabled
1: Enabled - Bit 16 Reserved, must be kept at reset value.
- Bit 15 MF: FIQ interrupt exception secure monitor mode Vector catch enable.
0: Disabled
1: Enabled - Bit 14 MI: IRQ interrupt exception secure monitor mode Vector catch enable.
0: Disabled
1: Enabled - Bit 13 Reserved, must be kept at reset value.
- Bit 12 MD: Data Abort exception secure monitor mode Vector catch enable.
0: Disabled
1: Enabled - Bit 11 MP: Prefetch Abort exception secure monitor mode Vector catch enable.
0: Disabled
1: Enabled - Bit 10 MS: Secure Monitor Call exception Vector catch enable.
0: Disabled
1: Enabled - Bits 9:8 Reserved, must be kept at reset value.
- Bit 7 SF: FIQ interrupt exception secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 6 SI: IRQ interrupt exception secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 5 Reserved, must be kept at reset value.
- Bit 4 SD: Data Abort exception secure local Vector catch enable.
0: Disabled
1: Enabled - Bit 3 SP: Prefetch Abort exception secure local Vector catch enable.
0: Disabled
1: Enabled
Bit 2 SS: Supervisor Call exception secure local Vector catch enable.
0: Disabled
1: Enabled
Bit 1 SU: Undefined Instruction exception secure local Vector catch enable.
0: Disabled
1: Enabled
Bit 0 R: Reset Vector catch enable.
0: Disabled
1: Enabled
DBG event catch register (DBG_ECR)
Address offset: 0x024
Reset value: 0x0000 0000
Configures the debug logic to generate the OS Unlock catch debug event when the OS Lock is cleared.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OSUC E |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 OSUCE: OS Unlock Catch enable.
An OS Unlock catch debug event is generated when the OS Lock is cleared by writing to the DBGOSLAR.
0: Disabled
1: Enabled
DBG host to target data transfer register (DBG_DTRRX)
Address offset: 0x080
Reset value: 0x0000 0000
Transfers data from an external host to the Arm® processor. For example it is used by a debugger transferring commands and data to a debug target. It is a component of the Debug Communication Channel (DCC).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DATA[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |

Bits 31:0 DATA[31:0]: Host to Target Data.
One word of data for transfer from the debug host to the debug target.
DBG instruction transfer register (DBG_ITR)
Address offset: 0x084
Reset value: 0x0000 0000
When the processor is in Debug state, transfers an Arm® instruction to the processor for execution.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| INSTRUCTION[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| INSTRUCTION[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 INSTRUCTION[31:0]: Instruction.
32-bit encoded Arm® instruction to execute on the processor
DBG status and control register (DBG_DSCR)
Address offset: 0x088
Reset value: 0x0000 0000
The main control register for debug.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | RXFUL L | TXFUL L | Res. | RXFUL L_L | TXFUL L_L | PIPEA DV | INSTR COMP L_L | Res. | Res. | EXTDCCMODE[ 1:0] | ADADI SCARD | NS | SPNID DIS | SPIDDI S | |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MDBG EN | HDBG EN | ITREN | UDCC DIS | INTDIS | DBGA CK | FS | UND_L | ADABO RT_L | SDABO RT_L | MOE[3:0] | RESTA RTED | HALTE D | |||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bit 31 Reserved, must be kept at reset value.
Bit 30 RXFULL: DBGDTRRX register full.
0: Register empty
1: Register full
Bit 29 TXFULL: DBGDTRTX register full.
0: Register empty
1: Register full
Bit 28 Reserved, must be kept at reset value.
- Bit 27 RXFULL_L: Latched RXfull.
This controls the behavior of the processor on writes to DBGDTRRX in non-blocking mode (DBGDSCR.EXTDCCMODE = 0x0)
0: Writes to DBGDTRRX execute and set the RXFULL and RXFULL_L bits to 1
1: Writes to DBGDTRRX are ignored - Bit 26 TXFULL_L: Latched TXfull.
This controls the behavior of the processor on reads to DBGDTRTX in non-blocking mode (DBGDSCR.EXTDCCMODE = 0x0)
0: Reads to DBGDTRTX return an undefined value
1: Reads to DBGDTRTX return the register contents and reset the TXFULL and TXFULL_L bits to 0 - Bit 25 PIPEADV: Sticky Pipeline Advance (Read only).
This bit is set to 1 whenever the processor pipeline advances by retiring one or more instructions. It is cleared to 0 only by a write to DBGDRCR.CSPA. This bit enables a debugger to detect that the processor is idle. In some situations this might indicate that the processor is deadlocked. - Bit 24 INSTRCOMPL_L: Latched Instruction Complete (Read Only).
This is a copy of the internal InstrCompl flag, taken on each read of DBGDSCR InstrCompl signals whether the processor has completed execution of an instruction issued through DBGITR. InstrCompl is not visible directly in any register. On a read of DBGDSCR when the processor is in Debug state, InstrCompl_L always returns the current value of InstrCompl. The meanings of the values of InstrCompl_L are:
0: An instruction previously issued through the DBGITR has not completed its changes to the architectural state of the processor.
1: All instructions previously issued through the DBGITR have completed their changes to the architectural state of the processor. - Bits 23:22 Reserved, must be kept at reset value.
- Bits 21:20 EXTDCCMODE[1:0]: External DCC Access Mode.
This field controls the access mode for the DCC registers and the DBG_ITR.
0x0: Non-blocking mode. Accesses always complete without stalling the bus.
0x1: Stall mode. Accesses stall the bus until they can complete successfully.
0x2: Fast mode. Allows an instruction to be latched in the DBG_ITR and executed repeatedly by successive read accesses to DBG_DTRTX, or write accesses to DBG_DTRRX
0x3: Reserved - Bit 19 ADADISCARD: Asynchronous Aborts Discarded.
0: Asynchronous aborts handled normally
1: On an asynchronous abort to which this bit applies, the processor sets the Sticky Asynchronous Abort bit, ADABORT_L, to 1 but otherwise discards the abort. - Bit 18 NS: Non-Secure state status (Read Only).
0: Processor is in Secure state
1: Processor is in Non-Secure state - Bit 17 SPNIDDIS: Secure PL1 Non-Invasive Debug Disabled (Read Only).
This bit shows if non-invasive debug is permitted in Secure PL1 modes.
0: Non-invasive debug permitted in Secure PL1 modes
1: Non-invasive debug not permitted in Secure PL1 modes
- Bit 16 SPIDDIS: Secure PL1 Invasive Debug Disabled (Read Only).
This bit shows if invasive debug is permitted in Secure PL1 modes.
0: Invasive debug permitted in Secure PL1 modes
1: Invasive debug not permitted in Secure PL1 modes - Bit 15 MDBGGEN: Monitor Debug mode enable.
0: Monitor debug mode disabled
1: Monitor debug mode enabled - Bit 14 HDBGGEN: Halting Debug mode enable.
0: Halting debug mode disabled
1: Halting debug mode enabled - Bit 13 ITREN: Enable Arm® instruction execution.
This bit enables the execution of Arm® instructions through the DBGITR. This bit should always be written low when the processor is not in debug state.
0: ITR mechanism disabled
1: ITR mechanism enabled - Bit 12 UDCCDIS: User mode access to Debug Communications Channel (DCC) disable.
0: DCC access in User mode enabled
1: User mode acces to any DCC register via CP14 will generate an undefined instruction exception - Bit 11 INTDIS: Interrupt disable.
0: FIQ and IRQ enabled
1: FIQ and IRQ masked - Bit 10 DBGACK: Force Debug Acknowledge.
This allows the debugger to simulate debug mode entry via the cross-trigger while the core remains in non-debug mode.
0: Normal operation
1: DBGACK asserted - Bit 9 FS: Fault Status (Read Only).
This bit is updated when a data abort exception is generated in debug state. It indicates where the fault information is held.
0: Fault status information may be held in PL1 fault reporting registers (DFSR and DFAR) or PL2 fault syndrome registers (HSR, HDFAR) according to current state, mode and the HCR.TGE register value
1: Fault status information was written to the PL2 fault syndrome registers - Bit 8 UND_L: Sticky Undefined Instruction (Read Only).
This bit is set to 1 by any Undefined Instruction exceptions generated by instructions issued to the processor while in Debug state.
0: No Undefined Instruction exception has been generated since the last time this bit was cleared
1: An Undefined Instruction exception has been generated since the last time this bit was cleared - Bit 7 ADABORT_L: Sticky Asynchronous Abort (Read Only).
This bit is set to 1 by any asynchronous abort that occurs while in Debug state, if ADADISCARD bit is set to 1.
0: No Asynchronous Abort has been generated since the last time this bit was cleared
1: An Asynchronous Abort has been generated since the last time this bit was cleared
Bit 6 SDABORT_L: Sticky Synchronous Data Abort (Read Only).
This bit is set to 1 by any synchronous data abort exception generated while in Debug state.
0: No synchronous Data Abort has been generated since the last time this bit was cleared
1: A synchronous Data Abort has been generated since the last time this bit was cleared
Bits 5:2 MOE[3:0]: Method of Debug Entry (Read Only).
Indicates the debug event which caused the processor to enter into debug mode.
0x0: Halt request
0x1: Breakpoint
0x2: Asynchronous watchpoint
0x3: BKPT instruction
0x4: External debug request
0x5: Vector catch
0x6 to 0x7: Reserved
0x8: OS unlock catch
0x9: Reserved
0xA: Synchronous watchpoint
0xB to 0xF: Reserved
Bit 1 RESTARTED: Processor Restarted (Read Only).
After making a restart request, the debugger can poll this bit until it is set to 1. At that point it knows that the restart request has taken effect and the processor has exited Debug state.
0: The processor is exiting Debug state. This bit only reads as 0 between receiving a restart request, and restarting Non-debug state operation
1: The processor has exited Debug state. This bit remains set to 1 if the processor re-enters Debug state.
Bit 0 HALTED: Processor Halted (Read Only).
After programming a debug event, the external debugger can poll this bit until it is set to 1. At that point it knows that the processor has entered Debug state.
0: The processor is in Non-debug state
1: The processor is in Debug state
DBG target to host data transfer register (DBG_DTRTX)
Address offset: 0x08C
Reset value: 0x0000 0000
Transfers data from the Arm® processor to an external host. For example it is used by a debug target to transfer commands and data to a debugger. It is a component of the Debug Communication Channel (DCC).
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DATA[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 DATA[31:0]: Target to Host Data.
One word of data for transfer from the debug target to the debug host.
DBG run control register (DBG_DRCR)
Address offset: 0x090
Reset value: 0x0000 0000
Software uses this register to request the processor to enter or exit Debug state, and to clear the sticky exception bits in the DBG_DSCR.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CBRR Q | CSPA | CSE | RRQ | HRQ |
| rw | rw | rw | rw | rw |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 CBRRQ: Cancel Bus Requests.
0: No action
1: Request cancel of pending accesses
Bit 3 CSPA: Clear Sticky Pipeline Advance bit.
0: No action
1: Reset the DBG_DSCR.PIPEADV bit to 0
Bit 2 CSE: Clear Sticky Exception bits..
0: No action
1: Resets the DBG_DSCR[8:6] bits to 0
Bit 1 RRQ: Restart Request.
This request is held until the processor exits Debug state. After the request has been made, the debugger can poll the DBG_DSCR.RESTARTED bit until it reads as 1.
0: No action
1: Request exit from debug mode.
Bit 0 HRQ: Halt Request.
This request is held until the processor enters Debug state. After the request has been made, the debugger can poll the DBG_DSCR.HALTED bit until it reads as 1.
0: No action
1: Request entry from debug mode.
DBG external auxiliary control register (DBG_EACR)
Address offset: 0x094
Reset value: 0x0000 0000
Provides implementation-defined configuration and control options.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CDRSTAT | Res. | Res. | Res. |
| r |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 CDRSTAT: Core Debug Reset Status (Read Only).
Reflects the current reset state of the debug logic in the CPU power domain.
0: Debug logic in CPU power domain is not in reset state
1: Debug logic in CPU power domain is in reset state
Bits 2:0 Reserved, must be kept at reset value.
DBG program counter sampling register (DBG_PCSR)
Address offset: 0x0A0
Reset value: 0x0000 0000
This register provides implementation-defined configuration and control options.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PCS[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PCS[15:1] | T | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:1 PCS[31:1]: Program Counter Sample value.
The sampled value of bits[31:1] of the PC. The sampled value is either the virtual address of an instruction, or the virtual address of an instruction address plus an offset that depends on the processor instruction set state. DBG_DEVID1.PCSROFFSET indicates whether an offset is applied to the sampled addresses.
Bit 0 T: Thumb instruction.
This bit indicates whether the sampled address is an Arm® instruction, or a Thumb or ThumbEE instruction:
0: Arm® instruction
1: Thumb or ThumbEE instruction
DBG context ID sampling register (DBG_CIDSR)
Address offset: 0x0A4
Reset value: 0x0000 0000
Samples the CONTEXTIDR whenever the DBG_PCSR samples the program counter. This enables a debugger to associate a program counter sample with the process running on the processor.

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| CONTEXTIDR[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CONTEXTIDR[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 CONTEXTIDR[31:0]: Context ID Register sample value.
The value of the Context ID Register, CONTEXTIDR, associated with the last PC sample read from DBG_PCSR.
DBG virtualisation id sampling register (DBG_VIDSR)
Address offset: 0x0A8
Reset value: 0x0000 0000
Samples the VMID, Hyp mode status, and NS state whenever the DBGPCSR samples the program counter. This enables a debugger to associate a program counter sample with the virtual machine running on the processor.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| NS | H | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMID[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bit 31 NS: Sampled NS state.
Indicates the Secure or Non-secure state associated with the last PC sample read from DBGPCSR.
0: Secure state
1: Non-secure state
Bit 30 H: Sampled Hyp mode. Indicates whether the last PC sample read from DBG_PCSR was associated with Hyp mode.
0: Not Hyp mode
1: Hyp mode
Bits 29:8 Reserved, must be kept at reset value.
Bits 7:0 VMID[7:0]: VMID sample.
The value of the VMID field from the VTTBR, associated with the last PC sample read from DBG_PCSR.
DBG breakpoint value x register (DBG_BVRx)
Address offset: 0x100 + 0x4 * x, (x = 0 to 5)
Reset value: 0x0000 0000
Holds a value for use in breakpoint matching, either an instruction address or a Context ID. Each DBG_BVR is associated with a DBG_BCR to form a Breakpoint Register Pair (BRP) ie. DBG_BVR[n] is associated with DBG_BCR[n] to form breakpoint n.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ADDRESSCONTEXTID[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ADDRESSCONTEXTID[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 ADDRESSCONTEXTID[31:0]: Instruction Address or Context ID.
If the register is being used for address comparison, this field contains the instruction address to be matched (bits 31:2; bits 1:0 must be set to zero). If the register is being used for context ID comparison, this field contains the Context ID to be matched.
DBG breakpoint control x register (DBG_BCRx)
Address offset: 0x140 + 0x4 * x, (x = 0 to 5)
Reset value: 0x0000 0000
Holds control information for breakpointing. Each DBG_BCR is associated with a DBG_BVR to form a Breakpoint Register Pair (BRP) ie. DBG_BCR[n] is associated with DBG_BVR[n] to form breakpoint n.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BT[3:0] | LBN[3:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SSC[1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | Res. | Res. | PMC[1:0] | E | |||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:20 BT[3:0]: Breakpoint Type.
Determines the type of comparison made by the breakpoint.
0x0: Unlinked instruction address match
0x1: Linked instruction address match
0x2: Unlinked Context ID match
0x3: Linked Context ID match
0x4: Unlinked instruction address mismatch
0x5: Linked instruction address mismatch
0x6-0x7: Reserved
0x8: Unlinked VMID match
0x9: Linked VMID match
0xA: Unlinked VMID match and Context ID match
0xB: Linked VMID match and Context ID match
0xC-0xF: Reserved
Bits 19:16 LBN[3:0]: Linked Breakpoint Number.
If this breakpoint is programmed for Linked instruction address match or mismatch then this field must be programmed with the number of the breakpoint that holds the Context match to be used in the combined instruction address and Context comparison. Otherwise, this field must be programmed to 0.
Bits 15:14 SSC[1:0]: Security State Control.
This field enables the breakpoint to be conditional on the security state of the processor. This field must be programmed to 0 if DBG_BCR.BT is programmed for Linked Context ID match.
- 0: Secure and Non-secure state
- 1: Non-secure state only
- 2: Secure state only
- 3: Hyp mode only (with HMC=1 and PMC = 0)
Bit 13 HMC: Hyp Mode Control.
This field controls whether the breakpoint matches in Hyp mode.
This field must be programmed to 0 if DBG_BCR.BT is programmed for Linked Context ID match.
- 0: Breakpoint does not match in Hyp mode
- 1: Breakpoint can match in Hyp mode
Bits 12:9 Reserved, must be kept at reset value.
Bits 8:5 BAS[3:0]: Byte Address Select.
This field enables match or mismatch comparisons on only certain bytes of the word address held in the DBG_BVR. The operation of this field depends also on:
- The breakpoint type field being programmed for instruction address match or mismatch.
- The instruction set state of the processor, indicated by the CPSR.J and CPSR.T bits.
- This field must be programmed to 0xF if the DBG_BVR.BT is programmed for Linked or Unlinked Context ID match.
Bits 4:3 Reserved, must be kept at reset value.
Bits 2:1 PMC[1:0]: Privileged Mode Control.
This field enables the breakpoint to be conditional on the mode of the processor. This field must be programmed to 3 if DBG_BCR.BT is programmed for Linked Context ID match.
- 0: PL0, Supervisor and System modes only
- 1: PL1 and PL2 modes only
- 2: PL0 mode only
- 3: All modes
Bit 0 E: Breakpoint Enable.
- 0: Breakpoint disabled
- 1: Breakpoint enabled
DBG watchpoint value x register (DBG_WVRx)
Address offset: 0x180+0x4*x, (x = 0 to 3)
Reset value: 0x0000 0000
Holds a value for use in Watchpoint matching, The address used must be the virtual address of the data. Each DBG_WVR is associated with a DBG_WCR to form a Breakpoint Register Pair (BRP) ie. DBG_WVR[n] is associated with DBG_WCR[n] to form breakpoint n.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ADDRESS[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ADDRESS[15:2] | Res. | Res. | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
Bits 31:2 ADDRESS[31:2]: Data Address.
This field indicates bits[31:2] of the address value for comparison.
Bits 1:0 Reserved, must be kept at reset value.
DBG watchpoint control xregister (DBG_WCRx)
Address offset: 0x1C0+0x4*x (x = 0 to 3)
Reset value: 0x0000 0000
Holds control information for watchpoint. Each DBG_WCR is associated with a DBG_WVR to form a Breakpoint Register Pair (BRP) ie. DBG_WCR[n] is associated with DBG_WVR[n] to form breakpoint n.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | MASK[4:0] | Res. | Res. | Res. | WT | LBN[3:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SSC[1:0] | HMC | BAS[7:0] | LSC[1:0] | PAC[1:0] | E | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:29 Reserved, must be kept at reset value.
Bits 28:24 MASK[4:0]: Address Mask.
This field can be used to set a watchpoint on a range of addresses by masking lower order address bits out of the watchpoint comparison. The value of this field is the number of low order bits of the address that are masked off, except that values of 1 and 2 are reserved.
0x0: No mask
0x1: Reserved
0x2: Reserved
0x3: Three bits masked (data address mask = 0x00000007)
0x4: Four bits masked (data address mask = 0x0000000F)
0x5: Five bits masked (data address mask = 0x0000001F)
..
0x1F: 31 bits masked (data address mask = 0x7FFFFFFF)
Bits 23:21 Reserved, must be kept at reset value.
Bit 20 WT: Watchpoint Type.
This bit is set to 1 to link the watchpoint to a breakpoint to create a linked watchpoint that requires both data address matching and Context ID matching. The linked breakpoint number field indicates the breakpoint to which this watchpoint is linked.
0: Linking disabled.
1: Linking enabled.
Bits 19:16 LBN[3:0]: Linked Breakpoint Number.
If this watchpoint is programmed with watchpoint type set to linking enabled, then this field must be programmed with the number of the breakpoint that defines the Context match to be combined with data address comparison. Otherwise, this field must be programmed to 0.
Bits 15:14 SSC[1:0]: Security State Control.
This field enables the watchpoint to be conditional on the security state of the processor.
- 0: Secure and Non-secure state
- 1: Non-secure state only
- 2: Secure state only
- 3: Hyp mode only (with HMC=1 and PAC = 0)
Bit 13 HMC: Hyp Mode Control.
This field controls whether the watchpoint matches in Hyp mode.
- 0: Watchpoint does not match in Hyp mode
- 1: Watchpoint can match in Hyp mode
Bits 12:5 BAS[7:0]: Byte Address Select.
A DBG_WVR is programmed with a word-aligned address. This field enables the watchpoint to hit only if certain bytes of the addressed word are accessed. The watchpoint hits if an access hits any byte being watched, even if:
The access size is larger than the size of the region being watched.
The access is unaligned, and the base address of the access is not in the same word of memory as the address in the DBG_WVR.
Watched bytes should be contiguous within a word ie. 11100001 should not be programmed.
Example values for BAS:
- 00000001: Watch byte 0
- 00000011: Watch bytes 1 and 0
- 00000010: Watch byte 1
- 00000111: Watch bytes 2, 1 and 0
- 11110000: Watch bytes 7,6,5 and 4
- etc.
Bits 4:3 LSC[1:0]: Load/store access control.
This field enables watchpoint matching conditional on the type of access being made.
- 0: Reserved
- 1: Match on any Load, Load-Exclusive or Swap
- 2: Match on any Store, Store-Exclusive, or Swap
- 3: Match on either type of access
Bits 2:1 PAC[1:0]: Privileged Access Control.
This field enables watchpoint matching conditional on the mode of the processor.
- 0: PL0, Supervisor and System modes only
- 1: PL1 and PL2 modes only
- 2: PL0 mode only
- 3: All modes
Bit 0 E: Watchpoint Enable.
- 0: Watchpoint disabled
- 1: Watchpoint enabled
DBG breakpoint extended value x register (DBG_BXVRx)
Address offset: 0x250+0x4*x, (x = 0 to 1)
Reset value: 0x0000 0000
Holds a value for use in VMID matching for BRP that supports Context ID comparison. Each DBG_BXVR is associated with a DBG_BCR/DBG_BVR Breakpoint Register Pair (BRP) ie. DBG_BXVR[n] is associated with DBG_BCR[n] and DBG_BVR[n] to form breakpoint n.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMID[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 VMID[7:0]: Virtual Machine ID.
Used to compare with the Virtual Machine ID (VMID) field, held in the Virtualization Translation Table Base Register (VTTBR).
DBG OS lock access register (DBG_OSLAR)
Address offset: 0x300
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| OSLOCKACCESS[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| OSLOCKACCESS[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 OSLOCKACCESS[31:0]: DBG registers lock access
0xC5ACCE55: Disable access
Other values: Enable access
DBG OS lock status register (DBG_OLSLR)
Address offset: 0x304
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OSLM [1] | NTT | OSLK | OSLM [0] |
| r | r | r | r |
Bits 31:4 Reserved, must be kept at reset value.

Bit 2 NTT: Need 32-bit.
0: 32-bit access is needed to write the key to the OS Lock Access Register.
Bit 1 OSLK: OS lock status
0: LOCK not set.
1: LOCK set. Access to DBG registers disabled
Bits 3, 0 OSLM[1:0]: OS lock model
This field identifies the form of OS Save and Restore mechanism implemented:
10: The processor implements the OS Lock Model but does not implement DBGOSRR
Others: Reserved
DBG device power-down and reset control register (DBG_PRCR)
Address offset: 0x310
Reset value: 0x0000 0000
| Bit Number | Bit Name | Description | Reserved | Read/Write | Bit Number | Bit Name | Description | Reserved | Read/Write | Bit Number | Bit Name | Description | Reserved | Read/Write | Bit Number |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 CORE |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CORE PURQ | NPDR Q | ||
| rw | rw | rw | rw | ||||||||||||
| Bit 3 COREPURQ | : Power-up request | ||||||||||||||
| Bit 2 HCWR | : Hold reset | ||||||||||||||
| Bit 1 CWRR | : Reset request | ||||||||||||||
| Bit 0 CORENPDRQ | : Hold power-up request |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 COREPURQ: Power-up request
This bit enables a debugger to request that the power controller powers up the processor, enabling access to debug registers in the processor power domain:
0: DBGPWRUPREQ is low
1: DBGPWRUPREQ is high
Bit 2 HCWR: Hold reset
0: Do not hold the non-debug logic reset on power-up or warm reset.
1: Hold the non-debug logic of the processor in reset on power-up or warm reset. The processor is held in this state until this bit is set to 0
Bit 1 CWRR: Reset request
0: No action
1: Request internal reset using the memory mapped interface or CP14
Bit 0 CORENPDRQ: Hold power-up request
0: DBGNOPWRDWN is low
1: DBGNOPWRDWN is high
DBG device power-down and reset status register (DBG_PRSR)
Address offset: 0x314
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DLK | OSLK | HALTED | SR | R | SPD | PU |
| r | r | r | r | r | r | r |
Bits 31:7 Reserved, must be kept at reset value.
Bit 6 DLK: OS double lock status
- 0: OS double lock not set
- 1: OS double lock set
Bit 5 OSLK: OS lock status
- 0: OS lock not set
- 1: OS lock set
Bit 4 HALTED: Halted state
- 0: Processor is in non-debug state
- 1: Processor is in debug state
Bit 3 SR: Sticky reset
- 0: The non-debug logic of the processor has not been reset since the last time this register was read.
- 1: The non-debug logic of the processor has been reset since the last time this register was read.
Bit 2 R: Reset
- 0: The non-debug logic is not currently held in reset
- 1: The non-debug logic is currently held in reset
Bit 1 SPD: Sticky power-down status
- 0: The core power domain has not powered down since the last time this register was read
- 1: The core power domain has powered down since the last time this register was read
Bit 0 PU: Power-up status
- 0: The core power domain is powered down
- 1: The core power domain is powered up
DBG processor main ID register (DBG_MIDR)
Address offset: 0xD00
Reset value: 0x410F C075
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IMPLEMENTER[7:0] | VARIANT[3:0] | ARCH[3:0] | |||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PART[11:0] | REVISION[3:0] | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:24 IMPLEMENTER[7:0]: Implementer code
0x41: Arm® Limited - Bits 23:20 VARIANT[3:0]: Variant (major revision number)
0x0: r0pn - Bits 19:16 ARCH[3:0]: Architecture
0xF: Arm® v7 - Bits 15:4 PART[11:0]: Primary part number
0xC07: Cortex-A7 MPCore - Bits 3:0 REVISION[3:0]: Revision (minor revision number)
0x5: rnp5
DBG processor cache type register (DBG_CTR)
Address offset: 0xD04
Reset value: 0x8444 8003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| FORMAT[2:0] | Res. | CWG[3:0] | ERG[3:0] | DMINLINE[3:0] | |||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| L1IP[1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IMINLINE[3:0] | ||||
| r | r | r | r | r | r | ||||||||||
- Bits 31:29 FORMAT[2:0]: CTR format
0x4: Arm®v7 format - Bit 28 Reserved, must be kept at reset value.
- Bits 27:24 CWG[3:0]: Cache write-back granule
Number of words of the maximum size of memory that can be overwritten as a result of the eviction of a cache entry that has had a memory location in it modified.
0x4: 16 words - Bits 23:20 ERG[3:0]: Exclusives reservation granule.
Number of words of the maximum size of the reservation granule that has been implemented for the Load-Exclusive and Store-Exclusive instructions.
0x4: 16 words - Bits 19:16 DMINLINE[3:0]: Minimum data cache line.
Number of words in the smallest cache line of all the data and unified caches that the processor controls.
0x4: 16 words

Bits 15:14 L1IP[1:0]: L1 instruction cache policy
Indicates the indexing and tagging policy for the L1 instruction cache.
0x2: Virtually Indexed Physically Tagged (VIPT)
Bits 13:4 Reserved, must be kept at reset value.
Bits 3:0 IMINLINE[3:0]: Minimum instruction cache line.
Number of words in the smallest cache line of all the instruction caches that the processor controls.
0x3: 8 words
DBG processor TLB type register (DBG_TLBTR)
Address offset: 0xD0C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NU |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 NU: Unified TLB.
0: Processor has a unified TLB
DBG processor multi-processor affinity register (DBG_MPIDR)
Address offset: 0xD14
Reset value: 0x8000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | U | Res. | Res. | Res. | Res. | Res. | MT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | CLUSTERID[3:0] | Res. | Res. | Res. | Res. | Res. | Res. | CPUID[1:0] | ||||
| r | r | r | r | r | r | ||||||||||
Bit 31 Reserved, must be kept at reset value.
Bit 30 U: Uniprocessor system
0: Processor is part of a multi-processor system
Bits 29:25 Reserved, must be kept at reset value.
Bit 24 MT: Multi-threading.
Indicates whether the lowest level of affinity consists of logical processors that are implemented using a multi-threading type approach.
0: Processor is part of a multi-processor system
Bits 23:12 Reserved, must be kept at reset value.

Bits 11:8 CLUSTERID[3:0]: CLUSTERID configuration.
Indicates the value read in the CLUSTERID configuration pin. It identifies each Cortex-A7 MPCore processor in a system with more than one processor present.
Bits 7:2 Reserved, must be kept at reset value.
Bits 1:0 CPUID[1:0]: Processor number.
For one processor, the CPU ID is 0x0.
DBG revision ID register (DBG_REVIDR)
Address offset: 0xD18
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ID[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 ID[31:0]: Implementation-specific revision information.
DBG processor feature 0 register (DBG_PFR0)
Address offset: 0xD20
Reset value: 0x0000 1131
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| STATE3[3:0] | STATE2[3:0] | STATE1[3:0] | STATE0[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:12 STATE3[3:0]: Support for Thumb execution environment (ThumbEE) instruction set.
1: ThumbEE instruction set implemented
Bits 11:8 STATE2[3:0]: Support for Jazelle extension.
1: Processor supports trivial implementation of Jazelle extension
Bits 7:4 STATE1[3:0]: Support for Thumb instruction set.
3: Processor supports Thumb encoding after the introduction of Thumb-2 technology, and for all 16-bit and 32-bit Thumb basic instructions.
Bits 3:0 STATE0[3:0]: Support for Arm® instruction set.
1: Processor supports Arm® instruction set

DBG processor feature 1 register (DBG_PFR1)
Address offset: 0xD24
Reset value: 0x0001 1011
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GENTIMEXT[3:0] | |||
| r | r | r | r | ||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VIRTEXT[3:0] | MPPM[3:0] | SECEXT[3:0] | PROGMOD[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:20 Reserved, must be kept at reset value.
Bits 19:16 GENTIMEXT[3:0] : Generic timer.1: Processor supports generic timer
Bits 15:12 VIRTEXT[3:0] : Virtualisation extensions.1: Processor supports virtualisation extensions
Bits 11:8 MPPM[3:0] : M profile programmers model.0: Processor does not support microprocessor programmers model
Bits 7:4 SECEXT[3:0] : Security extensions.1: Processor supports security extensions
Bits 3:0 PROGMOD[3:0] : Programmers model.1: Processor supports the standard programmers model for Arm ® v4 and laterDBG feature 0 register (DBG_DFR0)
Address offset: 0xD28
Reset value: 0x0201 0555
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | PMUEXT[3:0] | MPDBGMOD[3:0] | MMTMOD[3:0] | |||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CTMOD[3:0] | MMDBGMOD[3:0] | CSDBGMOD[3:0] | CDBGMOD[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 PMUEXT[3:0] : Performance monitor model.2: Processor supports Performance monitor unit version 2 (PMUv2) architecture
Bits 23:20 MPDBGMOD[3:0] : Debug model, M profile.0: Processor does not support M profile debug architecture
Bits 19:16 MMTMOD[3:0] : Memory mapped trace model.1: Processor supports Arm ® trace architecture, with memory mapped accessBits 15:12 CTMOD[3:0] : Coprocessor trace model0: Processor does not support Arm ® trace architecture, with CP14 access- Bits 11:8 MMDBGMOD[3:0]: Memory mapped debug model.
5: Processor supports v7.1 debug architecture, with memory mapped access - Bits 7:4 CSDBGMOD[3:0]: Coprocessor secure debug model.
1: Processor supports v7.1 debug architecture, with CP14 access - Bits 3:0 CDBGMOD[3:0]: Coprocessor debug model.
1: Processor supports v7.1 debug architecture, with CP14 access
DBG processor memory model feature 0 register (DBG_MMFR0)
Address offset: 0xD30
Reset value: 0x1010 1105
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| INNERSH[3:0] | FCSE[3:0] | AUXREGS[3:0] | TCM[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SHLVLS[3:0] | OUTERSH[3:0] | PMSA[3:0] | VMSA[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:28 INNERSH[3:0]: Innermost shareability.
1: Processor implements hardware coherency support - Bits 27:24 FCSE[3:0]: Fast context switch extension.
0: Processor does not support FCSE - Bits 23:20 AUXREGS[3:0]: Auxiliary registers.
1: Processor supports the auxiliary control register only - Bits 19:16 TCM[3:0]: TCM and associated DMA.
0: Processor does not support TCM - Bits 15:12 SHLVLS[3:0]: Shareability levels
1: Processor implements two levels of shareability - Bits 11:8 OUTERSH[3:0]: Outermost shareability
1: Processor supports hardware coherency - Bits 7:4 PMSA[3:0]: Protected memory system architecture.
1: Processor does not support PMSA - Bits 3:0 VMSA[3:0]: Virtual memory system architecture.
1: Processor supports: VMSAv7 with support for remapping and the access flag; Privileged execute never (PXN) within the first level descriptors; 64-bit address translation descriptors
DBG processor memory model feature 1 register (DBG_MMFR1)
Address offset: 0xD34
Reset value: 0x4000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| BCHPRED[3:0] | L1CTSTCLN[3:0] | L1UNIC[3:0] | L1HVDC[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| L1UNICSW[3:0] | L1HVDCSW[3:0] | L1UNICVA[3:0] | L1HVDCVA[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:28 BCHPRED[3:0]: Branch predictor management requirements.
4: Branch predictor requires no flushing at any time
Bits 27:24 L1CTSTCLN[3:0]: L1 cache test and clean operations supported.
0: Not supported
Bits 23:20 L1UNIC[3:0]: L1 unified cache maintenance operations.
0: Not supported
Bits 19:16 L1HVDC[3:0]: L1 Harvard cache maintenance operations.
0: Not supported
Bits 15:12 L1UNICSW[3:0]: L1 unified cache set/way line maintenance operations.
0: Not supported
Bits 11:8 L1HVDCSW[3:0]: L1 Harvard cache set/way line maintenance operations.
0: Not supported
Bits 7:4 L1UNICVA[3:0]: L1 unified cache line maintenance operations by MVA
0: Not supported
Bits 3:0 L1HVDCVA[3:0]: L1 Harvard cache line maintenance operations by MVA
0: Not supported
DBG processor memory model feature 2 register (DBG_MMFR2)
Address offset: 0xD38
Reset value: 0x0124 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| HWACFLG[3:0] | WFISTALL[3:0] | MEMBARR[3:0] | UNIFTLB[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| HVDTLB[3:0] | L1HRANGE[3:0] | L1HBGFTCH[3:0] | L1HFGFTCH[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:28 HWACFLG[3:0]: Hardware access flag.
0: Not supported
Bits 27:24 WFISTALL[3:0]: Wait for interrupt stalling.
1: Processor supports WFI stalling
Bits 23:20 MEMBARR[3:0]: Memory barrier.
2: Processor supports: Data synchronisation barrier (DSB); Instruction synchronisation barrier (ISB); Data memory barrier (DMB)
- Bits 19:16 UNIFTLB[3:0]: Unified TLB maintenance operations.
4: Processor supports: Invalidate all entries in TLB; Invalidate TLB entry by MVA; Invalidate TLB entries by ASID match; Invalidate TLB entries by MVA all ASID; Invalidate unified hyp TLB entry by MVA; Invalidate entire non-secure non-hyp unified TLB; Invalidate entire hyp unified TLB - Bits 15:12 HVDTLB[3:0]: Harvard TLB maintenance operations.
0: Not supported - Bits 11:8 L1HRANGE[3:0]: L1 Harvard cache maintenance operation range
0: Not supported - Bits 7:4 L1HBGFTCH[3:0]: L1 Harvard cache background prefetch operations
0: Not supported - Bits 3:0 L1HFGFTCH[3:0]: L1 Harvard cache foreground prefetch operations
DBG processor memory model feature 3 register (DBG_MMFR3)
Address offset: 0xD3C
Reset value: 0x0210 2211
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SUPERSECT[3:0] | CMEMSIZE[3:0] | COHWALK[3:0] | Res. | Res. | Res. | Res. | |||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MAINTBCST[3:0] | BPMAINT[3:0] | CMAINTSW[3:0] | CMAINTMVA[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:28 SUPERSECT[3:0]: Supersection support.
0: Processor supports supersections - Bits 27:24 CMEMSIZE[3:0]: Cache physical memory size.
2: Caches support 40-bit memory address - Bits 23:20 COHWALK[3:0]: Coherent walk.
1: Updates to the translation tables do not require a clean to the point of unification to ensure visibility by subsequent translation table walks. - Bits 19:16 Reserved, must be kept at reset value.
- Bits 15:12 MAINTBCST[3:0]: Maintenance broadcast
2: Cache, TLB and branch predictor operations affect structures according to shareability and defined behavior of instructions. - Bits 11:8 BPMAINT[3:0]: Branch predictor maintenance.
2: Processor supports: Invalidate entire branch predictor array; Invalidate branch predictor by MVA. - Bits 7:4 CMAINTSW[3:0]: Cache maintenance by set/way.
1: Processor supports: Invalidate data cache by set/way; Clean data cache by set/way; Clean and invalidate data cache by set/way. - Bits 3:0 CMAINTMVA[3:0]: Cache maintenance by MVA
1: Processor supports: Invalidate data cache by MVA; Clean data cache by MVA; Clean and invalidate data cache by MVA; Invalidate instruction cache by MVA; Invalidate all instruction cache entries.
DBG processor instruction set attribute 0 register (DBG_ISAR0)
Address offset: 0xD40
Reset value: 0x0210 1110
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | DIVINST[3:0] | DBGINST[3:0] | COPROINST[3:0] | |||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CMPBRINST[3:0] | BITFLDINST[3:0] | BITCNTINST[3:0] | SWAPINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
1: Processor supports BKPT instruction
Bits 19:16 COPROINST[3:0] : Coprocessor instructions.0: None supported, except for separately attributed architectures including CP15, CP14, and Advanced SIMD and VFP.
Bits 15:12 CMPBRINST[3:0] : Combined compare and branch instructions.1: Processor supports CBNZ and CBZ instructions
Bits 11:8 BITFLDINST[3:0] : Bit field instructions.1: Processor supports BFC, BFI, SBFX and UBFX instructions
Bits 7:4 BITCNTINST[3:0] : Bit count instructions.1: Processor supports CLZ instruction
Bits 3:0 SWAPINST[3:0] : Swap instructions.0: SWP and SWPB instructions supported fractionally
DBG processor instruction set attribute 1 register (DBG_ISAR1)
Address offset: 0xD44
Reset value: 0x1311 2111
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| JAZINST[3:0] | INTWKINST[3:0] | IMMINST[3:0] | IFTHENINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| EXTNDINST[3:0] | EXCARINST[3:0] | EXCINST[3:0] | ENDIANINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:28 JAZINST[3:0]: Jazelle extension instructions.
1: Processor supports: BXJ instruction, and the J bit in the PSR - Bits 27:24 INTWKINST[3:0]: Interworking instructions.
3: Processor supports: BX instruction, and the T bit in the PSR; BLX instruction, and PC loads have BX-like behavior; Data-processing instructions in the Arm® instruction set with the PC as the destination and the S bit cleared to 0, have BX-like behavior - Bits 23:20 IMMINST[3:0]: Immediate instructions.
1: Processor supports: MOVT instruction; MOV instruction encodings with zero-extended 16-bit immediates; Thumb ADD and SUB instruction encodings with zero-extended 12-bit immediates, and other ADD, ADR, and SUB encodings cross-referenced by the pseudocode for those encodings. - Bits 19:16 IFTHENINST[3:0]: Thumb If-then instructions.
1: Processor supports the IT instructions, and the IT bits in the PSRs - Bits 15:12 EXTNDINST[3:0]: Extend instructions.
2: Processor supports: SXTB, SXTH, UXTB, and UXTH instructions; SXTB16, SXTAB, SXTAB16, SXTAH, UXTB16, UXTAB, UXTAB16, and UXTAH instructions - Bits 11:8 EXCARINST[3:0]: A and R profile exception-handling instructions.
1: Processor supports SRS, RFE and CPS instructions - Bits 7:4 EXCINST[3:0]: Exception-handling instructions.
1: Processor supports LDM (exception return), LDM (user registers), and STM (user registers) instructions - Bits 3:0 ENDIANINST[3:0]: Endian instructions.
1: Processor supports SETEND instruction, and the E bit in the PSRs
DBG processor instruction set attribute 2 register (DBG_ISAR2)
Address offset: 0xD48
Reset value: 0x2123 2041
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| REVSALINST[3:0] | PSRINST[3:0] | MULTUINST[3:0] | MULTSINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MULTINST[3:0] | MULACINST[3:0] | MEMHTINST[3:0] | LDSTRINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:28 REVSALINST[3:0]: Reversal instructions.
2: Processor supports REV, REV16, REVSH and RBIT instructions - Bits 27:24 PSRINST[3:0]: PSR instructions.
1: Processor supports MRS and MSR instructions, and the exception return forms of data-processing instructions - Bits 23:20 MULTUINST[3:0]: Advanced unsigned multiply instructions.
2: Processor supports UMULL, UMLAL, and UMAAL instructions
- Bits 19:16 MULTSINST[3:0]: Advanced signed multiply instructions.
- 3: Processor supports: SMULL and SMLAL instructions; SMLABB, SMLABT, SMLALBB, SMLALBT, SMLALTB, SMLALTT, SMLATB, SMLATT, SMLAWB, SMLAWT, SMULBB, SMULBT, SMULTB, SMULTT, SMULWB, SMULWT instructions, and the Q bit in the PSRs; SMLAD, SMLADX, SMLALD, SMLALDX, SMLSD, SMLSDX, SMLSLD, SMLSLDX, SMMLA, SMMLAR, SMMLS, SMMLSR, SMMUL, SMMULR, SMUAD, SMUADX, SMUSD, and SMUSDX instructions
- Bits 15:12 MULTINST[3:0]: Additional multiply instructions.
- 2: Processor supports MUL, MLA and MLS instructions
- Bits 11:8 MULACINST[3:0]: Interruptible multi-access instructions.
- 0: None supported. This means that the processor does not support interruptible LDM and STM instructions
- Bits 7:4 MEMHTINST[3:0]: Memory hint instructions.
- 4: Processor supports PLD, PLI (NOP), and PLDW instructions
- Bits 3:0 LDSTRINST[3:0]: Additional load/store instructions.
- 1: Processor supports LDRD and STRD instructions
DBG processor instruction set attribute 3 register (DBG_ISAR3)
Address offset: 0xD4C
Reset value: 0x1111 2131
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| TEEXTINST[3:0] | TRNOPINST[3:0] | THCPYINST[3:0] | TABBRINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SYNPRIINST[3:0] | SVCINST[3:0] | SIMDINST[3:0] | SATINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:28 TEEXTINST[3:0]: Thumb Execution Environment (ThumbEE) instructions.
- 1: Processor supports ENTERX and LEAVEX instructions, and modifies the load behavior to include null checking
- Bits 27:24 TRNOPINST[3:0]: True NOP instructions.
- 1: Processor supports true NOP instructions in both the Arm® and Thumb instruction sets, and the capability for additional NOP-compatible hints
- Bits 23:20 THCPYINST[3:0]: Thumb copy instructions.
- 1: Processor supports Thumb instruction set encoding T1 of the MOV (register) instruction, copying from a low register to a low register
- Bits 19:16 TABBRINST[3:0]: Table branch instructions.
- 1: Processor supports TBB and TBH instructions
- Bits 15:12 SYNPRIINST[3:0]: Synchronisation primitive instructions.
- 2: Processor supports: LDREX and STREX instructions; CLREX, LDREXB, LDREXH, STREXB, and STREXH instructions; LDREXD and STREXD instructions

Bits 11:8 SVCINST[3:0]: SVC instructions.
1: Processor supports SVC instruction
Bits 7:4 SIMDINST[3:0]: Single instruction multiple data (SIMD) instructions.
3: Processor supports: SSAT and USAT instructions, and the Q bit in the PSRs; PKHBT, PKHTB, QADD16, QADD8, QASX, QSUB16, QSUB8, QSAX, SADD16, SADD8, SASX, SEL, SHADD16, SHADD8, SHASX, SHSUB16, SHSUB8, SHSAX, SSAT16, SSUB16, SSUB8, SSAX, SXTAB16, SXTB16, UADD16, UADD8, UASX, UHADD16, UHADD8, UHASX, UHSUB16, UHSUB8, UHSAX, UQADD16, UQADD8, UQASX, UQSUB16, UQSUB8, UQSAX, USAD8, USADA8, USAT16, USUB16, USUB8, USAX, UXTAB16, UXTB16 instructions, and the GE[3:0] bits in the PSRs
Bits 3:0 SATINST[3:0]: Saturate instructions.
1: Processor supports QADD, QDADD, QDSUB, QSUB and the Q bit in the PSRs
DBG processor instruction set attribute 4 register (DBG_ISAR4)
Address offset: 0xD50
Reset value: 0x1001 1142
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SWPFRAC[3:0] | PSRMINST[3:0] | SPINSFRAC[3:0] | BARRINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SMCINST[3:0] | WRBKINST[3:0] | WSHFTINST[3:0] | UNPRIVINST[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:28 SWPFRAC[3:0]: Support for the memory system locking the bus for SWP or SWPB instructions:.
1: Processor supports SWP and SWPB instruction but only in a uniprocessor context. SWP and SWPB do not guarantee whether memory accesses from other masters can come between the load memory access and the store memory access of the SWP or SWPB instruction
Bits 27:24 PSRMINST[3:0]: M profile instructions to modify the PSRs.
0: None supported
Bits 23:20 SPINSFRAC[3:0]: Synchronisation primitive instructions.
0: Processor supports: LDREX and STREX instructions; CLREX, LDREXB, LDREXH, STREXB, and STREXH instructions; LDREXD and STREXD instructions
Bits 19:16 BARRINST[3:0]: Barrier instructions.
1: Processor supports DMB, DSB and ISB instructions
Bits 15:12 SMCINST[3:0]: SMC instructions.
1: Processor supports SMC instruction
- Bits 11:8 WRBKINST[3:0]: Write-back addressing modes.
- 1: Processor supports all Write-Back addressing modes defined in Arm®v7 architecture
- Bits 7:4 WSHFTINST[3:0]: Instructions with shifts.
- 4: Processor supports: Shifts of loads and stores over the range LSL 0-3; Constant shift options, both on load/store and other instructions; Register-controlled shift options.
- Bits 3:0 UNPRIVINST[3:0]: Unprivileged instructions.
- 2: Processor supports: LDRBT, LDRT, STRBT, and STRT instructions; LDRHT, LDRSBT, LDRSHT, and STRHT instructions.
DBG claim tag set register (DBG_CLAIMSET)
Address offset: 0xFA0
Reset value: 0x0000 00FF
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SET[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
- Bits 31:8 Reserved, must be kept at reset value.
- Bits 7:0 SET[7:0]: Set claim tag bits
- Write:
- 00000000: No effect
- xxxxxxx1: Set bit 0
- xxxxxx1x: Set bit 1
- xxxxx1xx: Set bit 2
- ...etc.
- Read:
- 0xFF: Indicates there are eight bits in claim tag
DBG claim tag clear register (DBG_CLAIMCLR)
Address offset: 0xFA4
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLR[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||

Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 CLR[7:0]: Reset claim tag bits
Write:
00000000: No effect
xxxxxxx1: Clear bit 0
xxxxxx1x: Clear bit 1
xxxxx1xx: Clear bit 2
xxxx1xxx: Clear bit 3
...etc.
Read: Returns current value of claim tag
DBG lock access register (DBG_LAR)
Address offset: 0xFB0
Reset value: 0xXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| KEY[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| KEY[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 KEY[31:0]: DBG register write access
Enables write access to some DBG registers by processor cores (debuggers do not need to unlock the component)
0xC5ACCE55: Enable write access
Other values: Disable write access
DBG lock status register (DBG_LSR)
Address offset: 0xFB4
Reset value: 0x0000 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NTT | SLK | SLI |
| r | r | r |
Bits 31:3 Reserved, must be kept at reset value.

Bit 2 NTT: Size of the DBG_LAR register
0: 32-bit
Bit 1 SLK: Current status of lock
This bit always returns zero when read by an external debugger.
0: Write access is permitted
1: Write access is blocked. Only read access is permitted.
Bit 0 SLI: Existence of lock control mechanism
The bit indicates whether a lock control mechanism exists. It always returns zero when read by an external debugger.
0: No lock control mechanism exists
1: Lock control mechanism is implemented
DBG authentication status register (DBG_AUTHSTAT)
Address offset: 0xFB8
Reset value: 0x0000 000A
| column_1 | Debug support (DBG) | Bit 2 Bit 1 Bit 0 | NTT : Size of the DBG_LAR register 0: 32-bit SLK : Current status of lock 0: Write access is permitted SLI by an external debugger. Address offset: 0xFB8 Reset value: 0x0000 000A | column_5 | column_6 | column_7 | column_8 | column_9 | RM0475 |
|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 27 26 25 24 23 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. Res. Res. Res. Res. Res. Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 11 10 9 8 7 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. Res. Res. Res. Res. SNI SNE | SI | SE | NSNI NSNE | NSI | NSE | |
| r r | r | r | r | r | r | r | |||
| Bit 7 | SNI : Secure non-invasive debug | ||||||||
| Bit 6 | SNE : Secure non-invasive debug enabled | ||||||||
| Bit 5 | SI : Secure invasive debug | ||||||||
| Bit 4 | SE : Secure invasive debug enabled | ||||||||
| Bit 3 | NSNI : Non-secure non-invasive debug | ||||||||
| Bit 2 | NSNE : Non-secure non-invasive debug enabled | ||||||||
| Bit 1 | NSI : Non-secure invasive debug | ||||||||
| Bit 0 | NSE : Non-secure invasive debug enabled |
Bits 31:8 Reserved, must be kept at reset value.
Bit 7 SNI: Secure non-invasive debug
1: Secure non-invasive debug features implemented
Bit 6 SNE: Secure non-invasive debug enabled
0: Non-invasive debug is not permitted in secure PL1 modes
1: Non-invasive debug is permitted in secure PL1 modes
Bit 5 SI: Secure invasive debug
1: Secure invasive debug features implemented
Bit 4 SE: Secure invasive debug enabled
0: Invasive halting debug is not permitted in secure PL1 modes
1: Invasive halting debug is permitted in secure PL1 modes
Bit 3 NSNI: Non-secure non-invasive debug
1: Non-secure non-invasive debug features implemented
Bit 2 NSNE: Non-secure non-invasive debug enabled
0: Non-secure non-invasive debug is not permitted
1: Non-secure non-invasive debug is permitted
Bit 1 NSI: Non-secure invasive debug
1: Non-secure invasive debug features implemented
Bit 0 NSE: Non-secure invasive debug enabled
0: Non-secure invasive debug is not permitted
1: Non-secure invasive debug is permitted
DBG CoreSight device ID 1 register (DBG_DEVID1)
Address offset: 0xFC4
Reset value: 0x0000 0001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PCSROFFSET[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PCSROFFSET[7:0] : DBGPCSR offset0x1: No offset applied
DBG Coresight device configuration register (DBG_DEVID)
Address offset: 0xFC8
Reset value: 0x0111 0F13
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| CIDMASK[3:0] | AUXREGS[3:0] | DOUBLELOCK[3:0] | VIREXTNS[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VECTORCATCH[3:0] | BPADDRMASK[3:0] | WPADDRMASK[3:0] | PCSAMPLE[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
0x0: Not implemented
Bits 27:24 AUXREGS[3:0] : Debug external auxiliary control register.0x1: The processor supports debug external auxiliary control register
Bits 23:20 DOUBLELOCK[3:0] : Debug OS double lock register.0x1: The processor supports debug OS double lock register
Bits 19:16 VIREXTNS[3:0] : Virtualisation extensions.0x1: The processor implements the Virtualization Extensions to the Debug architecture
Bits 15:12 VECTORCATCH[3:0] : Vector catch event.0x0: The processor implements address matching form of vector catch
Bits 11:8 BPADDRMASK[3:0] : Immediate Virtual Address (IVA) matching breakpoint masking.0xF: Not implemented
Bits 7:4 WPADDRMASK[3:0] : DVA matching watchpoint masking.0x1: Watchpoint address mask implemented
Bits 3:0 PCSAMPLE[3:0] : Program Counter sampling using debug registers 40, 41, and 42.0x3: DBGPCSR, DBGCIDSR and DBGVIDSR are implemented as debug registers 40, 41 and 42
DBG CoreSight device type register (DBG_DEVTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0015
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE[3:0] | MAJORTYPE[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SUBTYPE[3:0] : Device sub-type identifier0x1: Processor
Bits 3:0 MAJORTYPE[3:0] : Device main type identifier0x5: Debug logic
DBG CoreSight peripheral identity register 4 (DBG_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0] : Register file size0x0: Register file occupies a single 4 Kbyte region
Bits 3:0 JEP106CON[3:0] : JEP106 continuation code0x4: Arm ® JEDEC codeDBG CoreSight peripheral identity register 0 (DBG_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0007
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PARTNUM[7:0]: Part number field, bits [7:0]
0x07: DBG part number
DBG CoreSight peripheral identity register 1 (DBG_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00BC
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 JEP106ID[3:0]: JEP106 identity code field, bits [3:0]
0xB: Arm® JEDEC code
Bits 3:0 PARTNUM[11:8]: Part number field, bits [11:8]
0xC: DBG part number
DBG CoreSight peripheral identity register 2 (DBG_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 005B
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: Component revision number
0x5: r0p5
Bit 3 JEDEC: JEDEC assigned value
1: Designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4]: JEP106 identity code field, bits [6:4]
0x3: Arm® JEDEC code
DBG CoreSight peripheral identity register 3 (DBG_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: Metal fix version
0x0: No metal fix
Bits 3:0 CMOD[3:0]: Customer modified
0x0: No customer modifications
DBG CoreSight component identity register 0 (DBG_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[7:0]: Component ID field, bits [7:0]
0x0D: Common ID value
DBG CoreSight component identity register 1 (DBG_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 0090
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: Component ID field, bits [15:12] - component class
0x9: Debug component
Bits 3:0 PREAMBLE[11:8]: Component ID field, bits [11:8]
0x0: Common ID value
DBG CoreSight component identity register 2 (DBG_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[19:12] : Component ID field, bits [23:16]0x05: Common ID value
DBG CoreSight component identity register 3 (DBG_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[27:20] : Component ID field, bits [31:24]0xB1: Common ID value
Debug unit registers map
Table 624. Debug unit register map and reset values| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | DBG_DIDR | WRPS[3:0] | BRPS[3:0] | CTX_CMPS[3:0] | VERSION[3:0] | DEV/DIMP | NSUHDIMP | PCSRIMP | SEIMP | Res. | Res. | Res. | Res. | VARIANT[3:0] | REVISION[3:0] | ||||||||||||||||||
| Reset value | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||
| 0x018 | DBG_WFAR | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x01C | DBG_VCR | NSF | NSI | Res. | NSD | NSP | NSC | NSU | Res. | NSHF | NSHI | NSHE | NSHD | NSHP | NSHC | NSHU | Res. | MF | MI | Res. | MD | MP | MS | Res. | Res. | SF | SI | Res. | SD | SP | SS | SU | R |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||
Table 624. Debug unit register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x024 | DBG_ECR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OSUCE |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x080 | DBG_DTRRX | DATA[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x084 | DBG_ITR | INSTRUCTION[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x088 | DBG_DSCR | Res. | RXFULL | TXFULL | Res. | RXFULL_L | TXFULL_L | PIPEADV | INSTRCOMPL_L | Res. | Res. | EXTDCCMODE[1:0] | ADADISCARD | NS | SPNIDDIS | SPIDDIS | MDBGEN | HDBGEN | ITREN | UDCCDIS | INTDIS | DBGACK | FS | UND_I | ADABORT_I | SDABORT_I | MOE[3:0] | RESTARTED | HALTED | ||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 0x08C | DBG_DTRTX | DATA[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x090 | DBG_DRCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CBRRQ | CSPA | CSE | RRQ | HRQ |
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x094 | DBG_DEACR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CDRSTAT | Res. | Res. | Res. |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0x0A0 | DBG_PCSR | PCS[31:1] | T | ||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x0A4 | DBG_CIDSR | CONTEXTIDR[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x0A8 | DBG_VIDSR | NS | H | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMID[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||
| 0x100 | DBG_BVR0 | ADDRESSCONTEXTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x104 | DBG_BVR1 | ADDRESSCONTEXTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x108 | DBG_BVR2 | ADDRESSCONTEXTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x10C | DBG_BVR3 | ADDRESSCONTEXTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x110 | DBG_BVR4 | ADDRESSCONTEXTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x114 | DBG_BVR5 | ADDRESSCONTEXTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Table 624. Debug unit register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x140 | DBG_BCR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BT[3:0] | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | Res. | Res. | PMC [1:0] | E | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x144 | DBG_BCR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BT[3:0] | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | Res. | Res. | PMC [1:0] | E | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x148 | DBG_BCR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BT[3:0] | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | Res. | Res. | PMC [1:0] | E | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x14C | DBG_BCR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BT[3:0] | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | Res. | Res. | PMC [1:0] | E | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x150 | DBG_BCR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BT[3:0] | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | Res. | Res. | PMC [1:0] | E | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x154 | DBG_BCR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BT[3:0] | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | Res. | Res. | PMC [1:0] | E | |||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x180 | DBGWVR0 | ADDRESS[31:0] | Res. | Res. | |||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x184 | DBGWVR1 | ADDRESS[31:0] | Res. | Res. | |||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x188 | DBGWVR2 | ADDRESS[31:0] | Res. | Res. | |||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x18C | DBGWVR3 | ADDRESS[31:0] | Res. | Res. | |||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x1C0 | DBG_WCR0 | Res. | Res. | Res. | MASK[4:0] | Res. | Res. | Res. | Res. | WT | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | LSC [1:0] | PAC [1:0] | E | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||
| 0x1C4 | DBG_WCR1 | Res. | Res. | Res. | MASK[4:0] | Res. | Res. | Res. | Res. | WT | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | LSC [1:0] | PAC [1:0] | E | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||
| 0x1C8 | DBG_WCR2 | Res. | Res. | Res. | MASK[4:0] | Res. | Res. | Res. | Res. | WT | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | LSC [1:0] | PAC [1:0] | E | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||
| 0x1CC | DBG_WCR3 | Res. | Res. | Res. | MASK[4:0] | Res. | Res. | Res. | Res. | WT | LBN[3:0] | SSC [1:0] | HMC | Res. | Res. | Res. | Res. | BAS[3:0] | LSC [1:0] | PAC [1:0] | E | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
| 0x250 | DBG_BXVR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMID[7::0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x254 | DBG_BXVR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMID[7::0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x300 | DBG_OSLAR | OSLOCKACCESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Table 624. Debug unit register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x304 | DBG_OSLSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OSLM[1] | NTT | OSLK | OSLM[0] |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x310 | DBG_PRCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | COREPURQ | HCWR | CWRR | CORENPDRQ |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x314 | DBG_PRSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DLK | OSLK | HALTED | SR | R | SPD | PU |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0xD00 | DBG_MIDR | IMPLEMENTER[7:0] | VARIANT [3:0] | ARCH[3:0] | PART[11:0] | REVISION [3:0] | |||||||||||||||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | |
| 0xD04 | DBG_CTR | FORMAT [2:0] | Res. | CWG[3:0] | ERG[3:0] | DMINLINE [3:0] | L1IP [1:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IMINLINE [3:0] | |||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | ||||||||||||
| 0xD0C | DBG_TLBTR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NU |
| Reset value | 0 | ||||||||||||||||||||||||||||||||
| 0xD14 | DBG_MPIDR | Res. | U | Res. | Res. | Res. | Res. | Res. | Res. | MT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLUSTERID [3:0] | Res. | Res. | Res. | Res. | Res. | Res. | CPUID [1:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xD18 | DBG_REVIDR | ID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0xD20 | DBG_PFR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STATE3[3:0] | STATE2[3:0] | STATE1[3:0] | STATE0[3:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||
| 0xD24 | DBG_PFR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | GENTIMEXT [3:0] | VIRTEXT [3:0] | MPPM [3:0] | SECEXT [3:0] | PROGMOD [3:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | |||||||||||||
| 0xD28 | DBG_DFR0 | Res. | Res. | Res. | Res. | PMUEXT [3:0] | MPDBGMOD[ 3:0] | MMTMOD [3:0] | CTMOD [3:0] | MMDBGMOD [3:0] | CSDBGMOD [3:0] | CDBGMOD [3:0] | |||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | |||||
| 0xD30 | DBG_MMFR0 | INNERSH [3:0] | FCSE [3:0] | AUXREGS [3:0] | TCM [3:0] | SHLVLS [3:0] | OUTERSH [3:0] | PMSA [3:0] | VMSA [3:0] | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |
| 0xD34 | DBG_MMFR1 | BCHPRED [3:0] | L1CTSTCLN [3:0] | L1UNIC[3:0] | L1HVDC[3:0] | L1UNICSW [3:0] | L1HVDCSW [3:0] | L1UNICVA [3:0] | L1HVDCVA [3:0] | ||||||||||||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0xD38 | DBG_MMFR2 | HWACFLG [3:0] | WFISTALL [3:0] | MEMBARR [3:0] | UNIFTLB [3:0] | HVDTLB [3:0] | L1HRANGE [3:0] | L1HBGFTCH [3:0] | L1HFGFTCH[ 3:0] | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0xD3C | DBG_MMFR3 | SUPERSECT[ 3:0] | CMEMSIZE [3:0] | COHWALK [3:0] | Res. | Res. | Res. | Res. | MAINTBCST [3:0] | BPMAINT [3:0] | CMAINTSW [3:0] | CMAINTMVA [3:0] | |||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | |||||
| 0xD40 | DBG_ISAR0 | Res. | Res. | Res. | Res. | DIVINST [3:0] | DBGINST [3:0] | COPROINST [3:0] | CMPBRINST [3:0] | BITFLDINST [3:0] | BITCNTINST [3:0] | SWAPINST [3:0] | |||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||
Table 624. Debug unit register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xD44 | DBG_ISAR1 | JAZINST [3:0] | INTWKINST [3:0] | IMMINST [3:0] | IFTHENINST [3:0] | EXTNDINST [3:0] | EXCARINST [3:0] | EXCINST [3:0] | ENDIANINST [3:0] | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | |
| 0xD48 | DBG_ISAR2 | REVSALINST [3:0] | PSRMINST [3:0] | MULTUINST [3:0] | MULTSINST [3:0] | MULTINST [3:0] | MULACINST [3:0] | MEMHTINST [3:0] | LDSTRINST [3:0] | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | |
| 0xD4C | DBG_ISAR3 | TEEXTINST [3:0] | TRNOPINST [3:0] | THCPYINST [3:0] | TABBRINST [3:0] | SYNPRIINST [3:0] | SVCINST [3:0] | SIMDINST [3:0] | SATINST [3:0] | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |
| 0xD50 | DBG_ISAR4 | SWPFRAC [3:0] | PSRMINST [3:0] | SPINSFRAC [3:0] | BARRINST [3:0] | SMCINST [3:0] | WRBKINST [3:0] | WSHFTINST [3:0] | UNPRIVINST [3:0] | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | |
| 0xFA0 | DBG_CLAIMSET | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SET[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0xFA4 | DBG_CLAIMCLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLR[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0xFB0 | DBG_LAR | KEY[31:0] | |||||||||||||||||||||||||||||||
| Reset value | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | |
| 0xFB4 | DBG_LSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | 0 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFB8 | DBG_AUTHSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNI | SNE | SI | SE | NSNI | NSNE | NTT | SLK |
| Reset value | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | |||||||||||||||||||||||||
| 0xFC4 | DBG_DEVID1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PCSROFFSET [3:0] | ||||
| Reset value | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||||||
| 0xFC8 | DBG_DEVID | CIDMASK [3:0] | AUXREGS [3:0] | DOUBLELOCK [3:0] | VIREXTNS [3:0] | VECTORCATCH [3:0] | BPADDRMASK [3:0] | WPADDRMASK [3:0] | PCSAMPLE [3:0] | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | |
| 0xFCC | DBG_DEVTYPE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE [3:0] | MAJORTYPE [3:0] | |||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFD0 | DBG_PIDR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE [3:0] | JEP106CON [3:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||||||||||||||||||||||||
| 0xFD4 | DBG_PIDR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFD8 | DBG_PIDR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFDC | DBG_PIDR7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||

Table 624. Debug unit register map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFE0 | DBG_PIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM [7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | |||||||||||||||||||||||||
| 0xFE4 | DBG_PIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID [3:0] | PARTNUM [11:8] | ||||||
| Reset value | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | |||||||||||||||||||||||||
| 0xFE8 | DBG_PIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION [3:0] | JEDEC | JEP106ID [6:4] | |||||
| Reset value | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | |||||||||||||||||||||||||
| 0xFEC | DBG_PIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF0 | DBG_CIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE | |||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFF4 | DBG_CIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE | ||||||
| Reset value | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | DBG_CIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFFC | DBG_CIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE | |||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
For the debug unit register descriptions, refer to the Cortex®-A7 MPCore Technical Reference Manual [6].
59.11.2 Cortex®-A7 performance monitoring unit (PMU)
The Performance Monitoring Unit contains four 32-bit event counters, and one processor clock cycle counter. The event counters can be configured to increment every time a specified event occurs. Examples of events that can be counted include:
- – Cache hit/miss
- – Data load/store
- – Bus access
- – Interrupt exception
- – ETM external trigger output
- – Snoop transaction
- – Software increment
When a counter wraps, it can generate an interrupt on PMUIRQ. This interrupt is connected to the CTI so can halt the processor(s), start or stop trace, etc.
Most of the events are connected to the ETM via the PMUEVENTS bus. This allows the resources of the ETM to be used to filter the events. The filtered events are returned to the PMU via the two EXTOUT outputs of the ETM.
For a list of PMU events and the corresponding line of the PMUEVENTS bus, refer to the Cortex®-A7 MPCore Technical Reference Manual [6].

Performance monitoring unit registers
The Performance Monitoring Unit registers are accessed by the debugger via the debug APB, at address 0xE00D 1000 to 0xE00D 1FFC. The same registers are accessible by software at addresses 0x500D 1000 to 0x500D 1FFC.
The CPU can also access the registers of its own PMU via CP15 registers.
For the PMU register descriptions, refer to the Cortex®-A7 MPCore Technical Reference Manual [6].
PMU event count x register (PM_XEVCNTRx)
Address offset: 0x000 + 0x4 *x, (x = 0 to 3)
Reset value: 0xXXXX XXXX
Read or write the value of the selected event counter, PMNn, where n = 0..3.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PMN[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PMN[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 PMN[31:0]: Event counter value.
PMU cycle count register (PM_CCNTR)
Address offset: 0x07C
Reset value: 0x0000 0000
Holds the value of the processor cycle counter.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| CCNT[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CCNT[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 CCNT[31:0]: Cycle count.
Cycle count. Depending on the value of PM_CR.D, this field increments either once every processor clock cycle or once every 64 processor clock cycles.
PMU event type select x register (PM_XEVTYPEx)
Address offset: 0x400 + 0x4 * x, (x = 0 to 3)
Reset value: 0x0XXX XXXX
Controls which events increment the corresponding event counter, and in which modes.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| P | U | NSK | NSU | NSH | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EVTCOUNT[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bit 31 P: Privileged execution filtering.
- 0: Count events when executing at PL1
- 1: Do not count events when executing at PL1
Bit 30 U: Unprivileged execution filtering.
- 0: Count events when executing at PL0
- 1: Do not count events when executing at PL0
Bit 29 NSK: Non-secure PL1 control bit.
Controls counting when executing in Non-secure state at PL1. The behavior depends on the combined values of the P and NSK bits:
- P=NSK: In Non-secure state, count events when executing at PL1
- P!=NSK: In Non-secure state, do not count events when executing at PL1
Bit 28 NSU: Non-secure unprivileged control bit.
Controls counting in when executing in Non-secure at PL0. The behavior depends on the combined values of the U and NSU bits:
- U=NSU: In Non-secure state, count events when executing at PL0
- U!=NSU: In Non-secure state, do not count events when executing at PL0
Bit 27 NSH: Non-secure PL2 enable.
- 0: In Non-secure state, do not count events when executing at PL2
- 1: In Non-secure state, count events when executing at PL2
Bits 26:8 Reserved, must be kept at reset value.
Bits 7:0 EVTCOUNT[7:0]: Event to count.
The event number of the event that is counted by the corresponding event counter, PMNn where n = 0..3
PMU event type select 31 register (PM_XEVTYPER31)
Address offset: 0x47C
Reset value: 0x0XXX XXXX
Controls in which modes the cycle counter increments.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| P | U | NSK | NSU | NSH | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
- Bit 31 P: Privileged execution filtering.
0: Count cycles when executing at PL1
1: Do not count cycles when executing at PL1 - Bit 30 U: Unprivileged execution filtering.
0: Count cycles when executing at PL0
1: Do not count cycles when executing at PL0 - Bit 29 NSK: Non-secure PL1 control bit.
Controls counting when executing in Non-secure state at PL1. The behavior depends on the combined values of the P and NSK bits:
P=NSK: In Non-secure state, count cycles when executing at PL1
P!=NSK: In Non-secure state, do not count cycles when executing at PL1 - Bit 28 NSU: Non-secure unprivileged control bit.
Controls counting in when executing in Non-secure at PL0. The behavior depends on the combined values of the U and NSU bits:
U=NSU: In Non-secure state, count cycles when executing at PL0
U!=NSU: In Non-secure state, do not count cycles when executing at PL0 - Bit 27 NSH: Non-secure PL2 enable.
0: In Non-secure state, do not count cycles when executing at PL2
1: In Non-secure state, count cycles when executing at PL2
Bits 26:0 Reserved, must be kept at reset value.
PMU count enable set register (PM_CNTENSET)
Address offset: 0xC00
Reset value: 0xXXXX XXXX
Enables the cycle counter and event counters, PMN0..3.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | P3 | P2 | P1 | P0 |
| rw | rw | rw | rw |
- Bit 31 C: Cycle counter enable.
0: disabled (read), no effect (write)
1: enabled (read), enable cycle counter (write) - Bits 30:4 Reserved, must be kept at reset value.
- Bit 3 P3: Event counter 3 enable.
0: disabled (read), no effect (write)
1: enabled (read), enable event counter (write) - Bit 2 P2: Event counter 2 enable.
0: disabled (read), no effect (write)
1: enabled (read), enable event counter (write)
- Bit 1 P1: Event counter 1 enable.
0: disabled (read), no effect (write)
1: enabled (read), enable event counter (write) - Bit 0 P0: Event counter 0 enable.
0: disabled (read), no effect (write)
1: enabled (read), enable event counter (write)
PMU count enable clear register (PM_CNTLCLR)
Address offset: 0xC20
Reset value: 0XXXXX XXXX
Disables the cycle counter and event counters, PMN0..3.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | P3 | P2 | P1 | P0 |
| rw | rw | rw | rw |
- Bit 31 C: Cycle counter disable.
0: disabled (read), no effect (write)
1: enabled (read), disable cycle counter (write) - Bits 30:4 Reserved, must be kept at reset value.
- Bit 3 P3: Event counter 3 disable.
0: disabled (read), no effect (write)
1: enabled (read), disable event counter (write) - Bit 2 P2: Event counter 2 disable.
0: disabled (read), no effect (write)
1: enabled (read), disable event counter (write) - Bit 1 P1: Event counter 1 disable.
0: disabled (read), no effect (write)
1: enabled (read), disable event counter (write) - Bit 0 P0: Event counter 0 disable.
0: disabled (read), no effect (write)
1: enabled (read), disable event counter (write)
PMU interrupt enable set register (PM_INTENSET)
Address offset: 0xC40
Reset value: 0XXXXX XXXX
Enables generation of interrupt request by the cycle counter and event counters, PMN0..3.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | P3 | P2 | P1 | P0 |
| rw | rw | rw | rw |
Bit 31 C: Cycle counter interrupt request enable.
0: disabled (read), no effect (write)
1: enabled (read), enable interrupt request on cycle counter overflow (write)
Bits 30:4 Reserved, must be kept at reset value.
Bit 3 P3: Event counter 3 interrupt request enable.
0: disabled (read), no effect (write)
1: enabled (read), enable interrupt request on event counter overflow (write)
Bit 2 P2: Event counter 2 interrupt request enable.
0: disabled (read), no effect (write)
1: enabled (read), enable interrupt request on event counter overflow (write)
Bit 1 P1: Event counter 1 interrupt request enable.
0: disabled (read), no effect (write)
1: enabled (read), enable interrupt request on event counter overflow (write)
Bit 0 P0: Event counter 0 interrupt request enable.
0: disabled (read), no effect (write)
1: enabled (read), enable interrupt request on event counter overflow (write)
PMU interrupt enable clear register (PM_INTENCLR)
Address offset: 0xC60
Reset value: 0XXXXX XXXX
Disables generation of interrupt requests by the cycle counter and event counters, PMN0..3.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | P3 | P2 | P1 | P0 |
| rw | rw | rw | rw |
Bit 31 C: Cycle counter interrupt disable.
0: disabled (read), no effect (write)
1: enabled (read), disable interrupt request on cycle counter overflow (write)
Bits 30:4 Reserved, must be kept at reset value.
Bit 3 P3: Event counter 3 interrupt disable.
0: disabled (read), no effect (write)
1: enabled (read), disable interrupt request on event counter overflow (write)
- Bit 2 P2: Event counter 2 interrupt disable.
- 0: disabled (read), no effect (write)
- 1: enabled (read), disable interrupt request on event counter overflow (write)
- Bit 1 P1: Event counter 1 interrupt disable.
- 0: disabled (read), no effect (write)
- 1: enabled (read), disable interrupt request on event counter overflow (write)
- Bit 0 P0: Event counter 0 interrupt disable.
- 0: disabled (read), no effect (write)
- 1: enabled (read), disable interrupt request on event counter overflow (write)
PMU overflow flag status register (PM_OVSR)
Address offset: 0xC80
Reset value: 0XXXXX XXXX
Holds the status of the overflow bits for the cycle counter and event counters, PMN0..3.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| C | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | P3 | P2 | P1 | P0 |
| rw | rw | rw | rw |
- Bit 31 C: Cycle counter overflow.
- 0: no overflow occurred (read), no effect (write)
- 1: overflow occurred (read), reset overflow bit (write)
- Bits 30:4 Reserved, must be kept at reset value.
- Bit 3 P3: Event counter 3 overflow.
- 0: no overflow occurred (read), no effect (write)
- 1: overflow occurred (read), reset overflow bit (write)
- Bit 2 P2: Event counter 2 overflow.
- 0: no overflow occurred (read), no effect (write)
- 1: overflow occurred (read), reset overflow bit (write)
- Bit 1 P1: Event counter 1 overflow.
- 0: no overflow occurred (read), no effect (write)
- 1: overflow occurred (read), reset overflow bit (write)
- Bit 0 P0: Event counter 0 overflow.
- 0: no overflow occurred (read), no effect (write)
- 1: overflow occurred (read), reset overflow bit (write)
PMU software increment register (PM_SWINC)
Address offset: 0xCA0
Reset value: 0XXXXX XXXX
Increments a counter that is configured to count the software increment event, event 0x00.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | P3 | P2 | P1 | P0 |
| w | w | w | w |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 P3: Event counter 3 increment.
0: No effect
1: Increment counter by 1
Bit 2 P2: Event counter 2 increment.
0: No effect
1: Increment counter by 1
Bit 1 P1: Event counter 1 increment.
0: No effect
1: Increment counter by 1
Bit 0 P0: Event counter 0 increment.
0: No effect
1: Increment counter by 1
PMU configuration register (PM_CFGR)
Address offset: 0xE00
Reset value: 0xXXX9 DF04
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | UEN | Res. | Res. | EX |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CCD | CC | SIZE[5:0] | N[7:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:20 Reserved, must be kept at reset value.
Bit 19 UEN: User-mode enable register.
1: User-mode enable register implemented
Bits 18:17 Reserved, must be kept at reset value.
Bit 16 EX: Export.
1: Export is supported
Bit 15 CCD: Cycle counter divider.
1: Cycle counter divider implemented
- Bit 14 CC: Cycle counter.
- 1: Cycle counter implemented
- Bits 13:8 SIZE[5:0]: Counter size.
- 0x1F: 32-bit counters
- Bits 7:0 N[7:0]: Number of event counters.
- 0x04: Four event counters
PMU control register (PM_CR)
Address offset: 0xE04
Reset value: 0x4107 2000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| IMP[7:0] | IDCODE[7:0] | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| N[4:0] | Res. | Res. | Res. | Res. | Res. | DP | X | D | C | P | E | ||||
| r | r | r | r | r | rw | rw | rw | w | w | rw | |||||
- Bits 31:24 IMP[7:0]: Implementer code.
- 0x41: Arm®
- Bits 23:16 IDCODE[7:0]: Identification code.
- 0x07: Cortex-A7 MP core
- Bits 15:11 N[4:0]: Number of event counters.
- In Secure state and Hyp mode, this field returns 0x4 that indicates the number of counters implemented.
- In Non-secure modes other than Hyp mode, this field reads the value of the processor HDCR.HPMN register field.
- Bits 10:6 Reserved, must be kept at reset value.
- Bit 5 DP: Disable cycle counter in prohibited regions.
- 0: Counter is enabled in prohibited regions
- 1: Counter is disabled in prohibited regions
- Bit 4 X: Export enable.
- This bit permits events to be exported to another debug device, such as a trace macrocell, over an event bus:
- 0: Export of events is disabled
- 1: Export of events is enabled
- Bit 3 D: Clock divider.
- 0: Cycle counter counts every clock cycle
- 1: Cycle counter counts once every 64 clock cycles

Bit 2 C: Clock counter reset.
0: No effect
1: Reset cycle counter to 0
Bit 1 P: Event counter reset.
0: No effect
1: Reset all event counters to 0
Bit 0 E: Enable.
0: All counters, including the cycle counter, are disabled
1: All counters are enabled
PMU user enable register (PM_USERENR)
Address offset: 0xE08
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EN |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 EN: User mode access enable.
0: User mode access is disabled
1: User mode access is enabled
PMU common event ID 0 register (PM_CEID0)
Address offset: 0xE20
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | EVENT ID29 | EVENT ID28 | EVENT ID27 | EVENT ID26 | EVENT ID25 | EVENT ID24 | EVENT ID23 | EVENT ID22 | EVENT ID21 | EVENT ID20 | EVENT ID19 | EVENT ID18 | EVENT ID17 | EVENT ID16 |
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | ||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| EVENT ID15 | EVENT ID14 | EVENT ID13 | EVENT ID12 | EVENT ID11 | EVENT ID10 | EVENT ID9 | EVENT ID8 | EVENT ID7 | EVENT ID6 | EVENT ID5 | EVENT ID4 | EVENT ID3 | EVENT ID2 | EVENT ID1 | EVENT ID0 |
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:30 Reserved, must be kept at reset value.
Bit 29 EVENTID29: Event ID 0x1D user mode access enable
Event number 0x1D corresponds to event:
“Bus cycle”.
0: Event implemented
1: Event not implemented
Bit 28 EVENTID28: Event ID 0x1C user mode access enable
Event number 0x1C corresponds to event:
“Instruction architecturally executed, condition code check pass, write to TTBR”.
0: Event implemented
1: Event not implemented
Bit 27 EVENTID27: Event ID 0x1B user mode access enable
Event number 0x1B corresponds to event:
“Instruction speculatively executed”.
0: Event implemented
1: Event not implemented
Bit 26 EVENTID26: Event ID 0x1A user mode access enable
Event number 0x1A corresponds to event:
“Local memory error”.
0: Event implemented
1: Event not implemented
Bit 25 EVENTID25: Event ID 0x19 user mode access enable
Event number 0x19 corresponds to event:
“Bus access”.
0: Event implemented
1: Event not implemented
Bit 24 EVENTID24: Event ID 0x18 user mode access enable
Event number 0x18 corresponds to event:
“Level 2 data cache write-back”.
0: Event implemented
1: Event not implemented
Bit 23 EVENTID23: Event ID 0x17 user mode access enable
Event number 0x17 corresponds to event:
“Level 2 data cache refill”.
0: Event implemented
1: Event not implemented
Bit 22 EVENTID22: Event ID 0x16 user mode access enable
Event number 0x16 corresponds to event:
“Level 2 data cache access”.
0: Event implemented
1: Event not implemented
Bit 21 EVENTID21: Event ID 0x15 user mode access enable
Event number 0x15 corresponds to event:
“Level 1 data cache write-back”.
0: Event implemented
1: Event not implemented
- Bit 20 EVENTID20: Event ID 0x14 user mode access enable
Event number 0x14 corresponds to event:
“Level 1 instruction cache access”.
0: Event implemented
1: Event not implemented - Bit 19 EVENTID19: Event ID 0x13 user mode access enable
Event number 0x13 corresponds to event:
“Data memory access”.
0: Event implemented
1: Event not implemented - Bit 18 EVENTID18: Event ID 0x12 user mode access enable
Event number 0x12 corresponds to event:
“Predictable branch speculatively executed”.
0: Event implemented
1: Event not implemented - Bit 17 EVENTID17: Event ID 0x11 user mode access enable
Event number 0x11 corresponds to event:
“Cycle”.
0: Event implemented
1: Event not implemented - Bit 16 EVENTID16: Event ID 0x10 user mode access enable
Event number 0x10 corresponds to event:
“Mispredicted or not predicted branch speculatively executed”.
0: Event implemented
1: Event not implemented - Bit 15 EVENTID15: Event ID 0xF user mode access enable
Event number 0xF corresponds to event:
“Instruction architecturally executed, condition code check pass, unaligned load or store”.
0: Event implemented
1: Event not implemented - Bit 14 EVENTID14: Event ID 0xE user mode access enable
Event number 0xE corresponds to event:
“Instruction architecturally executed, condition code check pass, procedure return”.
0: Event implemented
1: Event not implemented - Bit 13 EVENTID13: Event ID 0xD user mode access enable
Event number 0xD corresponds to event:
“Instruction architecturally executed, immediate branch”.
0: Event implemented
1: Event not implemented - Bit 12 EVENTID12: Event ID 0xC user mode access enable
Event number 0xC corresponds to event:
“Instruction architecturally executed, condition code check pass, software change of the PC”.
0: Event implemented
1: Event not implemented
- Bit 11 EVENTID11: Event ID 0xB user mode access enable
Event number 0xB corresponds to event:
“Instruction architecturally executed, condition code check pass, write to CONTEXTIDR”.
0: Event implemented
1: Event not implemented - Bit 10 EVENTID10: Event ID 0xA user mode access enable
Event number 0xA corresponds to event:
“Instruction architecturally executed, condition code check pass, exception return”.
0: Event implemented
1: Event not implemented - Bit 9 EVENTID9: Event ID 0x9 user mode access enable
Event number 0x9 corresponds to event:
“Exception taken”.
0: Event implemented
1: Event not implemented - Bit 8 EVENTID8: Event ID 0x8 user mode access enable
Event number 0x8 corresponds to event:
“Instruction architecturally executed”.
0: Event implemented
1: Event not implemented - Bit 7 EVENTID7: Event ID 0x7 user mode access enable
Event number 0x7 corresponds to event:
“Instruction architecturally executed, condition code check pass, store”.
0: Event implemented
1: Event not implemented - Bit 6 EVENTID6: Event ID 0x6 user mode access enable
Event number 0x6 corresponds to event:
“Instruction architecturally executed, condition code check pass, load”.
0: Event implemented
1: Event not implemented - Bit 5 EVENTID5: Event ID 0x5 user mode access enable
Event number 0x5 corresponds to event:
“Level 1 data TLB refill”.
0: Event implemented
1: Event not implemented - Bit 4 EVENTID4: Event ID 0x4 user mode access enable
Event number 0x4 corresponds to event:
“Level 1 data cache access”.
0: Event implemented
1: Event not implemented - Bit 3 EVENTID3: Event ID 0x3 user mode access enable
Event number 0x3 corresponds to event:
“Level 1 data cache refill”.
0: Event implemented
1: Event not implemented
Bit 2 EVENTID2: Event ID 0x2 user mode access enable
Event number 0x2 corresponds to event:
“Level 1 instruction TLB refill”.
0: Event implemented
1: Event not implemented
Bit 1 EVENTID1: Event ID 0x1 user mode access enable
Event number 0x1 corresponds to event:
“Level 1 instruction cache refill”.
0: Event implemented
1: Event not implemented
Bit 0 EVENTID0: Event ID 0x0 user mode access enable
Event number 0x0 corresponds to event:
“Instruction architecturally executed, condition code check pass, software increment”.
0: Event implemented
1: Event not implemented
PMU lock access register (PM_LAR)
Address offset: 0xFB0
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| KEY[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| KEY[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 KEY[31:0]: PMU register write access
Enables write access to some PMU registers by processor cores
0xC5ACCE55: Enable write access
Other values: Disable write access
PMU lock status register (PM_LSR)
Address offset: 0xFB4
Reset value: 0x0000 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NTT | SLK | SLI |
| r | r | r |

Bits 31:3 Reserved, must be kept at reset value.
Bit 2 NTT: Size of the PM_LAR register
0: 32-bit
Bit 1 SLK: Current status of lock
0: Write access is permitted
1: Write access is blocked. Only read access is permitted.
Bit 0 SLI: Existence of lock control mechanism
The bit indicates whether a lock control mechanism exists.
0: No lock control mechanism exists
1: Lock control mechanism is implemented
PMU authentication status register (PM_AUTHSTAT)
Address offset: 0xFB8
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNI | SNE | SI | SE | NSNI | NSNE | NSI | NSE |
| r | r | r | r | r | r | r | r |
Bits 31:8 Reserved, must be kept at reset value.
Bit 7 SNI: Secure non-invasive debug
1: Secure non-invasive debug features implemented
Bit 6 SNE: Secure non-invasive debug enabled
0: Non-invasive debug is not permitted in secure PL1 modes
1: Non-invasive debug is permitted in secure PL1 modes
Bit 5 SI: Secure invasive debug
0: Secure invasive debug features not implemented
Bit 4 SE: Secure invasive debug enabled
0: Invasive halting debug is not permitted in secure PL1 modes
Bit 3 NSNI: Non-secure non-invasive debug
1: Non-secure non-invasive debug features implemented
Bit 2 NSNE: Non-secure non-invasive debug enabled
0: Non-secure non-invasive debug is not permitted
1: Non-secure non-invasive debug is permitted
Bit 1 NSI: Non-secure invasive debug
0: Non-secure invasive debug features not implemented
Bit 0 NSE: Non-secure invasive debug enabled
0: Non-secure invasive debug is not permitted
PMU CoreSight device type register (PM_DEVTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0016
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE[3:0] | MAJORTYPE[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SUBTYPE[3:0]: Device sub-type identifier0x1: Processor
Bits 3:0 MAJORTYPE[3:0]: Device main type identifier0x6: Performance monitors
PMU CoreSight peripheral identity register 4 (PM_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0]: Register file size0x0: Register file occupies a single 4 Kbyte region
Bits 3:0 JEP106CON[3:0]: JEP106 continuation code 0x4: Arm ® JEDEC codePMU CoreSight peripheral identity register 0 (PM_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 00A7
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PARTNUM[7:0]: Part number field, bits [7:0]
0xA7: PMU part number
PMU CoreSight peripheral identity register 1 (PM_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B9
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 JEP106ID[3:0]: JEP106 identity code field, bits [3:0]
0xB: Arm® JEDEC code
Bits 3:0 PARTNUM[11:8]: Part number field, bits [11:8]
0x9: PMU part number
PMU CoreSight peripheral identity register 2 (PMU_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 005B
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: Component revision number
0x5: r0p5
Bit 3 JEDEC: JEDEC assigned value
1: Designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4]: JEP106 identity code field, bits [6:4]
0x3: Arm® JEDEC code
PMU CoreSight peripheral identity register 3 (PMU_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: Metal fix version
0x0: No metal fix
Bits 3:0 CMOD[3:0]: Customer modified
0x0: No customer modifications
PMU CoreSight component identity register 0 (PMU_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[7:0]: Component ID field, bits [7:0]
0x0D: Common ID value
PMU CoreSight component identity register 1 (PMU_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 0090
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: Component ID field, bits [15:12] - component class
0x9: PMU component
Bits 3:0 PREAMBLE[11:8]: Component ID field, bits [11:8]
0x0: Common ID value
PMU CoreSight component identity register 2 (PMU_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[19:12]: Component ID field, bits [23:16] 0x05: Common ID value
PMU CoreSight component identity register 3 (PMU_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[27:20]: Component ID field, bits [31:24] 0xB1: Common ID value
PMU registers map
Table 625. Performance monitoring unit registers map and reset values
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | PM_XEVCNTR0 | PMN[31:0] | |||||||||||||||||||||||||||||||
| Reset value | |||||||||||||||||||||||||||||||||
| 0x004 | PM_XEVCNTR1 | PMN[31:0] | |||||||||||||||||||||||||||||||
| Reset value | |||||||||||||||||||||||||||||||||
| 0x008 | PM_XEVCNTR2 | PMN[31:0] | |||||||||||||||||||||||||||||||
| Reset value | |||||||||||||||||||||||||||||||||
| 0x00C | PM_XEVCNTR3 | PMN[31:0] | |||||||||||||||||||||||||||||||
| Reset value | |||||||||||||||||||||||||||||||||

Table 625. Performance monitoring unit registers map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x07C | PM_CCNTR | CCNT[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x400 | PM_XEVTYPER0 | P | U | NSK | NSU | NSH | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | EVTCOUNT[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x404 | PM_XEVTYPER1 | P | U | NSK | NSU | NSH | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | EVTCOUNT[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x408 | PM_XEVTYPER2 | P | U | NSK | NSU | NSH | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | EVTCOUNT[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x40C | PM_XEVTYPER3 | P | U | NSK | NSU | NSH | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | EVTCOUNT[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x47C | PM_XEVTYPER31 | P | U | NSK | NSU | NSH | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res |
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0xC00 | PM_CNTENSET | C | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | P3 | P2 | P1 | P0 | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xC20 | PM_CNTENCLR | C | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | P3 | P2 | P1 | P0 | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xC40 | PM_INTENSET | C | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | P3 | P2 | P1 | P0 | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xC60 | PM_INTENCLR | C | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | P3 | P2 | P1 | P0 | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xC80 | PM_OVSR | C | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | P3 | P2 | P1 | P0 | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xCA0 | PM_SWINC | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | P3 | P2 | P1 | P0 |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xE00 | PM_CFGR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | UEN | Res | EX | CCD | CC | SIZE[5:0] | N[7:0] | |||||||||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||||||||||||||
| 0xE04 | PM_CR | IMP[7:0] | IDCODE[7:0] | N[4:0] | Res | Res | Res | Res | Res | DP | X | D | C | P | E | ||||||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | |||||
| 0xE08 | PM_USERENR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | EN | ||
| Reset value | |||||||||||||||||||||||||||||||||
| 0xE20 | PM_CEID0 | EVENTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||
Table 625. Performance monitoring unit registers map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFB0 | PM_LAR | KEY[31:0] | |||||||||||||||||||||||||||||||
| Reset value | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | ||
| 0xFB4 | PM_LSR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | NTT | SLK | SLI |
| Reset value | 0 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFB8 | PM_AUTHSTAT | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | SNI | SNE | SI | SE | NSNI | NSNE | NSI | NSE |
| Reset value | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFCC | PM_DEVTYPE | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | SUBTYPE [3:0] | MAJORTYP E[3:0] | |||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | |||||||||||||||||||||||||
| 0xFD0 | PM_PIDR4 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | SIZE[3:0] | JEP106CO N[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||||||||||||||||||||||||
| 0xFD4 | PM_PIDR5 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFD8 | PM_PIDR6 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFDC | PM_PIDR7 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFE0 | PM_PIDR0 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | PARTNUM [7:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | |||||||||||||||||||||||||
| 0xFE4 | PM_PIDR1 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | JEP106ID [3:0] | PARTNUM [11:8] | ||||||
| Reset value | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | |||||||||||||||||||||||||
| 0xFE8 | PM_PIDR2 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | REVISION [3:0] | JEDEC | JEP106 ID[6:4] | |||||
| Reset value | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | |||||||||||||||||||||||||
| 0xFEC | PM_PIDR3 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | REVAND [3:0] | CMOD[3:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF0 | PM_CIDR0 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | PREAMBLE | |||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFF4 | PM_CIDR1 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | CLASS[3:0] | PREAMBLE | ||||||
| Reset value | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | PM_CIDR2 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | PREAMBLE | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFFC | PM_CIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE | |||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
59.11.3 Embedded trace macrocell (ETM)
The Cortex®-A7 ETM is a CoreSight™ component closely coupled to the CPU. The ETM generates trace packets that allow the execution of the Cortex®-A7 core to be traced. Both instruction execution and data accesses can be traced.
The ETM receives information from the CPU over the processor trace interface, including:
- – The number of instructions executed in the same cycle
- – Changes in program flow
- – The current processor instruction state
- – The addresses of memory locations accessed by load and store instructions
- – The type, direction and size of a transfer
- – Condition code information
- – Exception information
- – Wait for interrupt state information
For more information, refer to the Arm® CoreSight™ ETM™-A7 technical reference manual [5].
Embedded trace macrocell registers
The ETM registers are accessed by the debugger via the debug APB, at address range 0xE00D C000 to 0xE00D CFFC. They are accessible by software at address range 0x500D C000 to 0x500D CFFC.
For the ETM register descriptions, refer to the Arm® CoreSight™ ETM™-A7 technical reference manual [5].
ETM control register (ETM_CR)
Address offset: 0x000
Reset value: 0x0000 0461
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | VMIDT RCEN | Res. | TSEN | PROCSEL[2:0] | Res. | Res. | Res. | PORT SIZE[3] | DATAO NLY | FILTER CPRT | SUPPD ATA | PORTMODE[1:0 ] | |||
| rw | rw | rw | rw | rw | r | rw | rw | rw | rw | rw | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CONTXTIDSIZE[ 1:0] | PORT MODE [2] | CYCLE ACC | ETMP ORTSE L | ETMPR OG | DBGR QCTL | BRANC HOUTP UT | Res. | PORTSIZE[2:0] | DATAACC[1:0] | MONIT ORCP RT | ETMPD N | ||||
| rw | rw | rw | rw | rw | rw | rw | rw | r | r | r | rw | rw | rw | rw | |
- Bit 31 Reserved, must be kept at reset value.
- Bit 30 VMIDTRCEN: VMID trace enable
- 0: VMID tracing disabled
- 1: VMID tracing enabled
- Bit 29 Reserved, must be kept at reset value.
- Bit 28 TSEN: Timestamping enable
- 0: Timestamping disabled
- 1: Timestamping enabled
- Bits 27:25 PROCSEL[2:0]: Processor select.
- 0: Select CPU0 to trace
- 1: Select CPU1 to traceReserved
- 2: Reserved
- 3: Reserved
- Bits 24:22 Reserved, must be kept at reset value.
- Bit 20 DATAONLY: Data-only mode
- 0: Instruction trace enabled
- 1: Data-only tracing enabled
- Bit 19 FILTERCPRT: Filter co-processor register transfers
- If MONITORCPRT = 0, this bit should be set to 0.
- If MONITORCPRT = 1, this bit has the following effect:
- 0: All CPRT's traced
- 1: CPRT's only traced when ViewData is active.
- Bit 18 SUPPDATA: Enable data suppression
- 0: Do not suppress data
- 1: Suppress data when FIFO empty count < ETMFFLR.FIFOFULLLVL
- Bits 15:14 CONXTIDSIZE[1:0]: Context ID size.
- 0: No context ID tracing
- 1: Context ID bits [7:0] traced
- 2: Context ID bits [15:0] traced
- 3: Context ID bits [31:0] traced
- Bits 13, 17:16 PORTMODE[2:0]: Set trace port clocking mode
- Setting PORTMODE[2:0] to any value selects dynamic mode.
- Bit 12 CYCLEACC: Cycle accurate tracing
- 0: Disabled
- 1: Enabled. Include a precise cycle count of executed instructions
- Bit 11 ETMPORTSEL: Control state of ETMEN output
- 0: ETMEN is low
- 1: ETMEN is high
- This bit must be set to 1 to enable trace output
- Bit 10 ETMPROG: ETM programming
- This bit must be set to 1 before programming the ETM. Tracing is prevented while this bit is set to 1.
- 0: ETM operational
- 1: ETM in programming state
Bit 9 DBGRQCTL: Debug request control.
0: DBGRQ output is not set on a trigger event.
1: DBGRQ output is set on a trigger event to force the processor into debug state
Bit 8 BRANCHOUTPUT: Branch output
0: Branch addresses not traced
1: All branch addresses are output, even if the branch was because of a direct branch instruction. Setting this bit enables reconstruction of the program flow without having access to the memory image of the code being executed
Bit 7 Reserved, must be kept at reset value.
Bits 21, 6:4 PORTSIZE[3:0]: Port size
Setting PORTSIZE[3:0] to any value selects 64-bit port size.
Bits 3:2 DATAACC[1:0]: Data access tracing mode.
0: No data tracing
1: Trace only the data portion of the access
2: Trace only the address portion of the access
3: Trace both the address and data of the access
Bit 1 MONITORCPRT: Monitor co-processor register transfers
0: CPRT's not traced
1: CPRT's traced. If FILTERCPRT = 1, CPRT's are only traced when ViewData is active.
Bit 0 ETMPDN: ETM power down
0: ETM tracing is enabled
1: ETM tracing is disabled, and ETM is in low power mode
ETM configuration code register (ETM_CCR)
Address offset: 0x004
Reset value: 0x8D29 4024
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IDREG | Res. | Res. | Res. | SWAC C | START STOP | CONTXTIDCMP [1:0] | FIFO ULL | Res. | EXTOUTPUTS [1:0] | EXTINPUTS[2:0] | SEQUE NCER | ||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| COUNTERS[2:0] | MMAPDECS[4:0] | DATACOMPS[3:0] | ADCOMPPRS[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bit 31 IDREG: ETM ID register present
1: ETMIDR register is present and defines the ETM architecture version in use
Bits 30:28 Reserved, must be kept at reset value.
Bit 27 SWACC: Co-processor and memory access
1: Memory-mapped access to registers is supported
Bit 26 STARTSTOP: Trace start/stop block present
1: Trace start/stop block is present
Bits 25:24 CONTXTIDCMP[1:0]: Number of context ID comparators
0x1: One context ID comparator implemented
- Bit 23 FIFOFULL: FIFOFULL logic present
0: FIFOFULL logic is not present in the ETM - Bit 22 Reserved, must be kept at reset value.
- Bits 21:20 EXTOUTPUTS[1:0]: Number of external outputs
0x2: Two external outputs are supported - Bits 19:17 EXTINPUTS[2:0]: Number of external inputs
0x4: Four external inputs are supported - Bit 16 SEQUENCER: Sequencer present
1: The sequencer is present in the ETM. - Bits 15:13 COUNTERS[2:0]: Number of counters
0x2: Two counters are implemented - Bits 12:8 MMAPDECS[4:0]: Number of memory map decoders
0x0: No memory map decoder inputs are implemented. - Bits 7:4 DATACOMPS[3:0]: Number of data value comparators
0x2: Two data value comparators are implemented. - Bits 3:0 ADCOMPPRS[3:0]: Number of address comparator pairs
0x4: Four address comparator pairs are implemented.
ETM trigger register (ETM_TRIGGER)
Address offset: 0x008
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
- Bits 31:17 Reserved, must be kept at reset value.
- Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
0x0: A
0x1: NOT A
0x2: A AND B
0x3: NOT A AND B
0x4: NOT A AND NOT B
0x5: A OR B
0x6: NOT A OR B
0x7: NOT A OR NOT B - Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.

Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM status register (ETM_SR)
Address offset: 0x010
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIG | STSTP RESST AT | PROG BIT | UNTRC DOVFL |
| rw | rw | r | r |

Bits 31:4 Reserved, must be kept at reset value.
Bit 3 TRIG: Trigger flag
Set when the trigger occurs, and prevents the trigger from being output until the ETM is programmed again.
Bit 2 STSTPRESSTAT: Trigger start/stop resource status
Holds the current status of the trace start/stop resource. If set to 1, it indicates that a trace on address has been matched, without a corresponding trace off address match.
Bit 1 PROGBIT: Programming bit value (read-only)
The current effective value of the ETM Programming bit, bit [10] of the ETM_CR. Set the programming bit to 1 and wait for this bit to go to 1 before programming the ETM.
This bit remains at 0 until the FIFO is empty, or if OS lock is set in the ETM_OSLSR register.
Bit 0 UNTRCDOVFL: Untraced overflow (read-only)
If set to 1, there is an overflow that has not yet been traced. This bit is cleared to 0 when trace is restarted, or when the ETM power-down bit (bit [0] of the ETM_CR register) is set to 1.
ETM configuration register (ETM_SCR)
Address offset: 0x014
Reset value: 0x0002 0D09
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NOFTCHCOMP | Res. |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | SUPPROC[2:0] | PM SUPP | PS SUPP | MAXPS [3] | FF SUPP | Res. | Res. | Res. | Res. | Res. | MAXPS[2:0] | ||||
| r | r | r | r | r | r | r | r | r | r | ||||||
Bits 31:18 Reserved, must be kept at reset value.
Bit 17 NOFTCHCOMP: No fetch comparisons
1: Fetch comparisons are not implemented
Bits 16:15 Reserved, must be kept at reset value.
Bits 14:12 SUPPROC[2:0]: Number of supported processors
0x0: One processor supported
Bit 11 PMSUPP: Port mode support
0: Current selected port mode is not supported
1: Current selected port mode is supported
Bit 10 PSSUPP: Port size support
0: Current selected port size is not supported
1: Current selected port size is supported
Bit 8 FFSUPP: FIFOFULL support
0: FIFOFULL is not supported
Bits 7:3 Reserved, must be kept at reset value.
Bits 9, 2, 1, 0 MAXPS[3:0]: Maximum ETM port size field
These bits indicate the maximum ETM port size supported.
0x4: Maximum port size = 4
Others: Reserved
ETM trace enable start/stop control register (ETM_SSCR)
Address offset: 0x018
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| STOPADDRCOMPSEL[16:1] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| STARTADDRCOMPSEL[16:1] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 STOPADDRCOMPSEL[16:1]: Stop address comparator select bits
When bit n is set to 1, it selects single address comparator n as stop address.
Bits 15:0 STARTADDRCOMPSEL[16:1]: Start address comparator select bits
When bit n is set to 1, it selects single address comparator n as start address.
ETM trace enable control 2 register (ETM_TECR2)
Address offset: 0x01C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| INCEXCCTLCOMPSEL[16:1] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 INCEXCCTLCOMPSEL[16:1]: Include/exclude control comparator select bits
When bit n is set to 1, it selects single address comparator n for include/exclude control.
ETM trace enable event register (ETM_TEEVR)
Address offset: 0x020
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
- 0x0: A
- 0x1: NOT A
- 0x2: A AND B
- 0x3: NOT A AND B
- 0x4: NOT A AND NOT B
- 0x5: A OR B
- 0x6: NOT A OR B
- 0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.

Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM trace enable control 1 register (ETM_TECR1)
Address offset: 0x024
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | TSSEN | INCEX CCTL | INCEXCMMDSSEL[16:9] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| INCEXCMMDSSEL[8:1] | INCEXCADCOMPSEL[8:1] | ||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |

Bits 31:26 Reserved, must be kept at reset value.
Bit 25 TSSEN: Trace start/stop trace enable control
0: Trace start/stop block does not control trace enable
1: Trace enable is controlled by the trace start/stop block
Bit 24 INCEXCCTL: Trace start/stop trace enable control
0: Include. The specified resources indicate the regions where tracing can occur. When outside this region tracing is prevented
1: Exclude. The resources specified in bits 23:0 and in the ETMTECR2 register indicate regions to be excluded from the trace. When outside an exclude region, tracing can occur.
Bits 23:8 INCEXCMMDSSEL[16:1]: Memory map decode select bits for include/exclude control.
Not used, there are no memory map decoders
Bits 7:0 INCEXCADCOMPSEL[8:1]: Address comparator select bits for include/exclude control.
When bit n is set to 1, it selects address range comparator n for include/exclude control
ETM FIFOFULL level register (ETM_FFLR)
Address offset: 0x028
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FIFOFULLLVL[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 FIFOFULLLVL[7:0]: Threshold for FIFOFULL signal
The number of bytes left in the FIFO, below which the SuppressData signal is asserted. For example, setting this value to 15 causes data trace suppression, if enabled, when there are less than 15 free bytes in the FIFO.
ETM view data event register (ETM_VDEVR)
Address offset: 0x030
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.

Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
0x0: A
0x1: NOT A
0x2: A AND B
0x3: NOT A AND B
0x4: NOT A AND NOT B
0x5: A OR B
0x6: NOT A OR B
0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.
Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM view data control 1 register (ETM_VDCR1)
Address offset: 0x034
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| VDEXSADCOMPSEL[16:1] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VDINCSADCOMPSEL[16:1] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 VDEXSADCOMPSEL[16:1]: Single address comparator select bits for ViewData exclude control
When bit n is set to 1, it selects single address comparator n for exclude control.
Bits 15:0 VDINCSADCOMPSEL[16:1]: Single address comparator select bits for ViewData include control
When bit n is set to 1, it selects single address comparator n for include control.
ETM view data control 3 register (ETM_VDCR3)
Address offset: 0x03C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EXCO NLY |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VDEXCADCOMPSEL[8:1] | VDINCADCOMPSEL[8:1] | ||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bit 16 EXCONLY: Exclude only
0: Mixed mode. ViewData operates in a mixed mode, and both include and exclude resources can be programmed
1: Exclude-only mode. ViewData is programmed only in an excluding mode. If none of the excluding resources match, tracing can occur
Bits 15:8 VDEXCADCOMPSEL[8:1]: Address range comparator select bits for ViewData exclude control
When bit n is set to 1, it selects address range comparator n for exclude control.
Bits 7:0 VDINCADCOMPSEL[8:1]: Address range comparator select bits for ViewData include control
When bit n is set to 1, it selects single address comparator n for include control.
ETM address comparator value x register (ETM_ACVRx)
Address offset: 0x040+0x4*(x-1), (x = 1 to 8)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ADDRESS[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ADDRESS[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
ETM address comparator type x register (ETM_ACTRx)
Address offset: 0x080+0x4*(x-1), (x = 1 to 8)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VMID COMP | HYP MODE | STMODE[3:0] | CTXIDCOMP [1:0] | EXACT MATCH | DCOMP[1:0] | COMPACCSIZE [1:0] | ACCTYPE[2:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bit 15 VMIDCOMP : Virtual machine ID (VMID) comparison enableA value of 1 means that the address comparator matches only if the current VMID matches the value stored in the ETM_VMIDCVR register
Bit 14 HYPMODE : Hyp mode comparison enableA value of 1 means that the address comparator also matches if the processor is operating in Hyp mode
Bits 13:10 STMODE[3:0] : State and mode comparison controlBits [3,1] control non-secure state comparison. Bits [2,0] control secure state comparison.
X0X0: Match in all modes in secure state
X0X1: Do not match in any modes in secure state
X1X0: Match in all modes except User mode in secure state
X1X1: Match only in User mode in secure state
0X0X: Match in all modes in non-secure state
0X1X: Do not match in any modes in non-secure state
1X0X: Match in all modes except User mode in non-secure state
1X1X: Match only in User mode in non-secure state
Bits 9:8 CTXTIDCOMP[1:0]: Context ID comparator control.
- 0: Ignore context ID comparator
- 1: Address comparator matches only if context ID comparator value 1 matches
- 2: Address comparator matches only if context ID comparator value 2 matches
- 3: Address comparator matches only if context ID comparator value 3 matches
Bit 7 EXACTMATCH: Exact match
- 0: Comparator matches even for cancelled instructions, data transfer aborts or failed stores
- 1: Comparator does not match for cancelled instructions, data transfer aborts or failed stores
Bits 6:5 DCOMP[1:0]: Data value comparison control.
- 0: No data value comparison is made
- 1: Comparator can match only if data value matches
- 2: Reserved
- 3: Comparator can match only if data value does not match
Bits 4:3 COMPACCSIZE[1:0]: Comparison access size.
- 0: Java instruction or byte data
- 1: Thumb instruction or halfword data
- 2: Reserved
- 3: Arm instruction or word data
Bits 2:0 ACCTYPE[2:0]: Access type
- 0: Instruction fetch (not supported)
- 1: Instruction execute
- 2: Instruction executed and passed condition code test
- 3: Instruction executed and failed condition code test
- 4: Data load or store
- 5: Data load
- 6: Data store
- 7: Reserved
ETM data comparator value x register (ETM_DCVRx)
Address offset: 0x0C0+0x4*(x-1), (x = 1 to 3)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DATA[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 DATA[31:0]: Data value for comparison
ETM data comparator mask x register (ETM_DCMRx)
Address offset: 0x100+0x4*(x-1), (x = 1 to 3)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| MASK[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MASK[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
When a data mask bit is set to 1, the corresponding bit in the ETM_DCVRn register is disregarded in the comparison and must be set to zero
ETM counter reload value x register (ETM_CNTRLDVRx)
Address offset: 0x140+0x4*(x-1), (x = 1 to 2)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| INITIALCOUNT[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 INITIALCOUNT[15:0] : Initial countSpecifies the counter reload value.
ETM counter enable x register (ETM_CNTENRx)
Address offset: 0x150+0x4*(x-1), (x = 1 to 2)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
0x0: A
0x1: NOT A
0x2: A AND B
0x3: NOT A AND B
0x4: NOT A AND NOT B
0x5: A OR B
0x6: NOT A OR B
0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.
Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM counter reload event x register (ETM_CNTRLDEVRx)
Address offset: 0x160 + 0x4 * (x - 1), (x = 1 to 2)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
- 0x0: A
- 0x1: NOT A
- 0x2: A AND B
- 0x3: NOT A AND B
- 0x4: NOT A AND NOT B
- 0x5: A OR B
- 0x6: NOT A OR B
- 0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.

Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
- 0x00: Single address comparator 1
- ...
- 0x0F: Single address comparator 16
- 0x10: Address range comparator 1
- ...
- 0x17: Address range comparator 8
- 0x18: Instrumentation resource 1
- 0x19: Instrumentation resource 2
- 0x1A: Instrumentation resource 3
- 0x1B: Instrumentation resource 4
- 0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
- ...
- 0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
- 0x40: Counter 1 at zero
- 0x41: Counter 2 at zero
- 0x42: Counter 3 at zero
- 0x43: Counter 4 at zero
- 0x50: Sequencer in states 1
- 0x51: Sequencer in states 2
- 0x52: Sequencer in states 3
- 0x58: Context ID comparator 1
- 0x5B: VMID comparator
- 0x5F: Trace start/stop resource
- 0x60: External inputs 1
- 0x61: External inputs 2
- 0x62: External inputs 3
- 0x63: External inputs 4
- 0x6D: Processor is in non-secure state
- 0x6E: Trace prohibited by processor
- 0x6F: Hard-wired input, always true
- Others: Reserved
ETM counter value x register (ETM_CNTVRx)
Address offset: 0x170 + 0x4 * (x - 1), (x = 1 to 2)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| INITIALCOUNT[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |

Bits 31:16 Reserved, must be kept at reset value.
Bits 15:0 INITIALCOUNT[15:0]: Initial count
Specifies the counter reload value.
ETM sequencer state 1-2 transition event register (ETM_SQ12EVR)
Address offset: 0x180
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
0x0: A
0x1: NOT A
0x2: A AND B
0x3: NOT A AND B
0x4: NOT A AND NOT B
0x5: A OR B
0x6: NOT A OR B
0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.

Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
- 0x00: Single address comparator 1
- ...
- 0x0F: Single address comparator 16
- 0x10: Address range comparator 1
- ...
- 0x17: Address range comparator 8
- 0x18: Instrumentation resource 1
- 0x19: Instrumentation resource 2
- 0x1A: Instrumentation resource 3
- 0x1B: Instrumentation resource 4
- 0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
- ...
- 0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
- 0x40: Counter 1 at zero
- 0x41: Counter 2 at zero
- 0x42: Counter 3 at zero
- 0x43: Counter 4 at zero
- 0x50: Sequencer in states 1
- 0x51: Sequencer in states 2
- 0x52: Sequencer in states 3
- 0x58: Context ID comparator 1
- 0x5B: VMID comparator
- 0x5F: Trace start/stop resource
- 0x60: External inputs 1
- 0x61: External inputs 2
- 0x62: External inputs 3
- 0x63: External inputs 4
- 0x6D: Processor is in non-secure state
- 0x6E: Trace prohibited by processor
- 0x6F: Hard-wired input, always true
- Others: Reserved
ETM sequencer state 2-1 transition event register (ETM_SQ21EVR)
Address offset: 0x184
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.

Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
0x0: A
0x1: NOT A
0x2: A AND B
0x3: NOT A AND B
0x4: NOT A AND NOT B
0x5: A OR B
0x6: NOT A OR B
0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.
Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM sequencer state 2-3 transition event register (ETM_SQ23EVR)
Address offset: 0x188
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
- 0x0: A
- 0x1: NOT A
- 0x2: A AND B
- 0x3: NOT A AND B
- 0x4: NOT A AND NOT B
- 0x5: A OR B
- 0x6: NOT A OR B
- 0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.

Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM sequencer state 3-1 transition event register (ETM_SQ31EVR)
Address offset: 0x18C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
0x0: A
0x1: NOT A
0x2: A AND B
0x3: NOT A AND B
0x4: NOT A AND NOT B
0x5: A OR B
0x6: NOT A OR B
0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.
Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM sequencer state 3-2 transition event register (ETM_SQ32EVR)
Address offset: 0x190
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
- 0x0: A
- 0x1: NOT A
- 0x2: A AND B
- 0x3: NOT A AND B
- 0x4: NOT A AND NOT B
- 0x5: A OR B
- 0x6: NOT A OR B
- 0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.

Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
- 0x00: Single address comparator 1
- ...
- 0x0F: Single address comparator 16
- 0x10: Address range comparator 1
- ...
- 0x17: Address range comparator 8
- 0x18: Instrumentation resource 1
- 0x19: Instrumentation resource 2
- 0x1A: Instrumentation resource 3
- 0x1B: Instrumentation resource 4
- 0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
- ...
- 0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
- 0x40: Counter 1 at zero
- 0x41: Counter 2 at zero
- 0x42: Counter 3 at zero
- 0x43: Counter 4 at zero
- 0x50: Sequencer in states 1
- 0x51: Sequencer in states 2
- 0x52: Sequencer in states 3
- 0x58: Context ID comparator 1
- 0x5B: VMID comparator
- 0x5F: Trace start/stop resource
- 0x60: External inputs 1
- 0x61: External inputs 2
- 0x62: External inputs 3
- 0x63: External inputs 4
- 0x6D: Processor is in non-secure state
- 0x6E: Trace prohibited by processor
- 0x6F: Hard-wired input, always true
- Others: Reserved
ETM sequencer state 1-3 transition event register (ETM_SQ13EVR)
Address offset: 0x194
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.

Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
0x0: A
0x1: NOT A
0x2: A AND B
0x3: NOT A AND B
0x4: NOT A AND NOT B
0x5: A OR B
0x6: NOT A OR B
0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.
Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM current sequencer state register (ETM_SQR)
Address offset: 0x19C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SQSTATE[1:0] | |
| r | r | ||||||||||||||
Bits 31:2 Reserved, must be kept at reset value.
- Bits 1:0 SQSTATE[1:0]: Current sequencer state
- 0: state 1
- 1: state 2
- 2: state 3
- 3: Reserved
ETM external output event x register (ETM_EXTOUTEVRx)
Address offset: 0x1A0 + 0x4 * (x - 1), (x = 1 to 2)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
- Bits 16:14 FCN[2:0]: Boolean function
- If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
- 0x0: A
- 0x1: NOT A
- 0x2: A AND B
- 0x3: NOT A AND B
- 0x4: NOT A AND NOT B
- 0x5: A OR B
- 0x6: NOT A OR B
- 0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.

Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM context ID comparator value 1 register (ETM_CIDCVR1)
Address offset: 0x1B0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CONTEXTID[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CONTEXTID[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 CONTEXTID[31:0]: Context ID value for comparison
ETM context ID comparator mask register (ETM_CIDCMR)
Address offset: 0x1BC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| MASK[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MASK[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
When a mask bit is set to 1, the corresponding bit in the ETM_CIDCVR1 register is disregarded in the comparison and must be set to zero
ETM synchronization frequency register (ETM_SYNCFR)
Address offset: 0x1E0
Reset value: 0x0000 0400
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | FREQUENCY[11:0] | |||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:0 FREQUENCY[11:0] : Synchronisation frequency.This value is the time in bytes between synchronization points in the trace, used by ETM (the tools can start decompressing only at synchronization points).
ETM ID register (ETM_IDR)
Address offset: 0x1E4
Reset value: 0x410C F250
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| IMPLEMENTER[7:0] | Res. | Res. | Res. | BPENC | SECEX T | T32 | Res. | LDPC1 ST | |||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PROCFAM[3:0] | ARCHVMAJ[3:0] | ARCHVMIN[3:0] | REVISION[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:24 IMPLEMENTER[7:0]: Implementer code
0x41: Arm® - Bits 23:21 Reserved, must be kept at reset value.
- Bit 20 BPENC: Branch packet encoding support
0: Supports the original branch packet encoding - Bit 19 SECEXT: Security extensions support
1: Supports security extensions - Bit 18 T32: 32-bit Thumb instruction tracing
1: Supports 32-bit Thumb instructions - Bit 17 Reserved, must be kept at reset value.
- Bit 16 LDPC1ST: Load PC first
0: If an LSM load operation with the PC, PC is not loaded first in the list - Bits 15:12 PROCFAM[3:0]: Processor family
0xF: Processor family is not identified in this register - Bits 11:8 ARCHVMAJ[3:0]: Major ETM architecture version
0x2: Version 3.x - Bits 7:4 ARCHVMIN[3:0]: Minor ETM architecture version
0x5: Version x.5 - Bits 3:0 REVISION[3:0]: Implementation revision
0x0: Revision r0p0
ETM configuration code extension register (ETM_CCER)
Address offset: 0x1E8
Reset value: 0x3440 08F2
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | TSSIZE | TSENC | CNTFNC | VIRTEXT | Res. | Res. | Res. | TIMSTMP | ETMEIBCR | TSSUWP | EMBICEWPS[3:0] | |||
| r | r | r | r | r | r | r | r | r | r | r | |||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| INSTRES[2:0] | DACOMPS | ARR | PMUEVENTREGS[7:0] | EEISELS[2:0] | |||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
- Bits 31:30 Reserved, must be kept at reset value.
- Bit 29 TSSIZE: Timestamp size
1: 64 bits. - Bit 28 TSENC: Timestamp encoding
1: Timestamp is encoded as a natural binary number - Bit 27 CNTFNC: Counter function
0: Counter is a full function counter - Bit 26 VIRTEXT: Virtual extensions
1: Virtual extensions supported
Bits 25:23 Reserved, must be kept at reset value.
Bit 22 TIMSTMP: Timestamping
1: Timestamping supported
Bit 21 ETMEIBCR: EmbeddedICE behavior control implemented
0: Not implemented
Bit 20 TSSUWP: Trace start/stop uses Embedded ICE watchpoint inputs
0: No embeddedICE watchpoint inputs supported
Bits 19:16 EMBICEWPS[3:0]: Embedded ICE watchpoint inputs
0: No embeddedICE watchpoint inputs supported
Bits 15:13 INSTRES[2:0]: Instrumentation resources
0: None
Bit 12 DACOMPS: Data address comparison support
0: No data address comparisons are supported
Bit 11 ARR: Readable registers
1: All registers are readable
Bits 10:3 PMUEVENTREGS[7:0]: Number of PMU event registers available
0x1E: 30 registers
Bits 2:0 EEISELS[2:0]: Number of extended external input selectors
0x2: 2 selectors
ETM extended external input selection register (ETM_EXTINSELR)
Address offset: 0x1EC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| EXTINSEL2[7:0] | EXTINSEL1[7:0] | ||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:16 Reserved, must be kept at reset value.
Bits 15:8 EXTINSEL2[7:0]: Extended external input selector 2
Bits 7:0 EXTINSEL1[7:0]: Extended external input selector 1
ETM timestamp event register (ETM_TSEVR)
Address offset: 0x1F8
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2] |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FCN[1:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:14 FCN[2:0]: Boolean function
If A is defined as the first resource match and B as the second match, an event is defined as a function of A and B.
- 0x0: A
- 0x1: NOT A
- 0x2: A AND B
- 0x3: NOT A AND B
- 0x4: NOT A AND NOT B
- 0x5: A OR B
- 0x6: NOT A OR B
- 0x7: NOT A OR NOT B
Bits 13:7 RESOURCEB[6:0]: Second resource identifier
See RESOURCEA[6:0] field for bit description.

Bits 6:0 RESOURCEA[6:0]: First resource identifier
Bits [6:4] defines the resource type and bits [3:0] the index. The supported resource identifiers are listed below. Programming any other values may result in unpredictable behavior.
0x00: Single address comparator 1
...
0x0F: Single address comparator 16
0x10: Address range comparator 1
...
0x17: Address range comparator 8
0x18: Instrumentation resource 1
0x19: Instrumentation resource 2
0x1A: Instrumentation resource 3
0x1B: Instrumentation resource 4
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
...
0x27: Embedded-ICE watchpoint comparators 8 (from DWT)
0x40: Counter 1 at zero
0x41: Counter 2 at zero
0x42: Counter 3 at zero
0x43: Counter 4 at zero
0x50: Sequencer in states 1
0x51: Sequencer in states 2
0x52: Sequencer in states 3
0x58: Context ID comparator 1
0x5B: VMID comparator
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x62: External inputs 3
0x63: External inputs 4
0x6D: Processor is in non-secure state
0x6E: Trace prohibited by processor
0x6F: Hard-wired input, always true
Others: Reserved
ETM auxiliary control register (ETM_AUXCR)
Address offset: 0x1FC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DPKTT RCDIS | TSPKT GENS UP | DNFOV FL |
| r | r | r |

Bits 31:3 Reserved, must be kept at reset value.
Bit 2 DPKTTRCDIS: Disable tracing of data packets
0: Not disabled
1: Disabled
Bit 1 TSPKTGENSUP: Suppress generation of timestamp packets
0: Do not suppress
1: Suppress generation of timestamp packets as the result of executing an ISB instruction
Bit 0 DNFOVFL: Do not force FIFO overflow
0: Force FIFO overflow if a periodic synchronisation has not been output for two full synchronisation periods
1: Do not force FIFO overflow
ETM trace ID register (ETM_TRACEIDR)
Address offset: 0x200
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRACEID[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 TRACEID[7:0]: Trace ID to output onto the trace bus
This should be programmed with a unique value to differentiate it from other trace sources in the system.
ETM ID 2 register (ETM_IDR2)
Address offset: 0x208
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SWP TO | RFE TO |
| r | r |

Bits 31:2 Reserved, must be kept at reset value.
- Bit 1 SWPTO: SWP or SWPB instruction order
Identifies the order for a SWP or SWPB instruction.
0: The Load transfer is traced before the Store transfer - Bit 0 RFETO: RFE instruction order
Identifies the order for a RFE instruction.
0: The PC transfer is traced before the CPSR transfer
ETM VMID comparator value register (ETM_VMIDCVR)
Address offset: 0x240
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMID[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 VMID[7:0]: Virtual machine ID for comparison with current one
ETM OS lock access register (ETM_OSLAR)
Address offset: 0x300
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| KEYVALUE[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| KEYVALUE[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
- Bits 31:0 KEYVALUE[31:0]: ETM register lock access
0xC5ACCE55: Disable access
Other values: Enable access

ETM OS lock status register (ETM_OSLSR)
Address offset: 0x304
Reset value: 0x0000 000A
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ETM OSLAR | NTT | DBGRLKED | DBGRLKSUP |
| r | r | r | r |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 ETMOSLAR : ETM OS lock access register implemented1: Implemented
Bit 2 NTT : 32-bit access required0: 32-bit accesses are required to operate the ETM_OSLAR
Bit 1 DBGRLKED : Registers locked0: ETM registers are not locked
1: ETM registers are locked. Any access will return a slave-generated error response
Bit 0 DBGRLKSUP : ETM power down support0: Full support
ETM OS save & restore register (ETM_OSSRR)
Address offset: 0x308
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| VALUE[31:16] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VALUE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
On first read after locking the registers, this register contains the number of additional accesses required to save or restore the ETM registers.
Subsequent reads during an OS save return the contents of each register for storing in memory. During an OS restore, subsequent writes load the written value to each register in turn.
ETM device power-down control register (ETM_PDCR)
Address offset: 0x310
Reset value: 0x0000 0008
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRCP WREN | Res. | Res. | Res. |
| rw |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 TRCPWREN : Trace power enable1: Power to the domain containing the trace registers must be provided.
Bits 2:0 Reserved, must be kept at reset value.
ETM device power-down status register (ETM_PDSR)
Address offset: 0x314
Reset value: 0x0000 0023
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OSLOC KST | Res. | Res. | Res. | STKYR EGST | ETMP WRD |
| r | r | r |
Bits 31:6 Reserved, must be kept at reset value.
Bit 5 OSLOCKST : OS lock statusThe value of this bit is the same as the value of bit[1] of the ETM_OSLSR.
Bits 4:2 Reserved, must be kept at reset value.
Bit 1 STKYREGST : Sticky register state0: Indicates this register has been read after a reset
1: Indicates this register has never been read after a reset
Bit 0 ETMPWRD : ETM powered1: ETM powered; trace registers can be accessed.
ETM claim tag set register (ETM_CLAIMSET)
Address offset: 0xFA0
Reset value: 0x0000 00FF
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMSET[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 CLAIMSET[7:0]: Set claim tag bits
Write:
00000000: No effect
xxxxxxx1: Set bit 0
xxxxxx1x: Set bit 1
xxxxx1xx: Set bit 2
...etc.
Read:
0xFF: Indicates there are eight bits in claim tag
ETM claim tag clear register (ETM_CLAIMCLR)
Address offset: 0xFA4
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLAIMCLR[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 CLAIMCLR[7:0]: Reset claim tag bits
Write:
00000000: No effect
xxxxxxx1: Clear bit 0
xxxxxx1x: Clear bit 1
xxxxx1xx: Clear bit 2
xxxx1xxx: Clear bit 3
...etc.
Read: Returns current value of claim tag
ETM lock access register (ETM_LAR)
Address offset: 0xFB0
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| ACCESS_W[31:16] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ACCESS_W[15:0] | |||||||||||||||
| w | w | w | w | w | w | w | w | w | w | w | w | w | w | w | w |
Bits 31:0 ACCESS_W[31:0]: ETM register write access
Enables write access to some ETM registers by processor cores (debuggers do not need to unlock the component)
0xC5ACCE55: Enable write access
Other values: Disable write access
ETM lock status register (ETM_LSR)
Address offset: 0xFB4
Reset value: 0x0000 0003
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LOCK TYPE | LOCK GRANT | LOCK EXIST |
| r | r | r |
Bits 31:3 Reserved, must be kept at reset value.
Bit 2 LOCKTYPE: Size of the ETM_LAR register
0: 32-bit
Bit 1 LOCKGRANT: Current status of lock
This bit always returns zero when read by an external debugger.
0: Write access is permitted
1: Write access is blocked. Only read access is permitted.
Bit 0 LOCKEXIST: Existence of lock control mechanism
The bit indicates whether a lock control mechanism exists. It always returns zero when read by an external debugger.
0: No lock control mechanism exists
1: Lock control mechanism is implemented
ETM authentication status register (ETM_AUTHSTAT)
Address offset: 0xFB8
Reset value: 0x0000 000A
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNID[1:0] | SID[1:0] | NSNID[1:0] | NSID[1:0] | ||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:6 SNID[1:0]: Security level for secure non-invasive debug
0x: Unused
10: Secure non-invasive debug disabled
11: Secure non-invasive debug enabled
Bits 5:4 SID[1:0]: Security level for secure invasive debug
00: Not implemented
Bits 3:2 NSNID[1:0]: Security level for non-secure non-invasive debug
0x: Unused
10: Non-secure non-invasive debug disabled
11: Non-secure non-invasive debug enabled
Bits 1:0 NSID[1:0]: Security level for non-secure invasive debug
00: Not implemented
ETM Coresight device configuration register (ETM_DEVID)
Address offset: 0xFC8
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DEVICEID[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DEVICEID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 DEVICEID[31:0]: Device configuration
0x0: No configuration information
ETM CoreSight device type register (ETM_DEVTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0013
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUBTYPE[3:0] | MAJORTYPE[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||

Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SUBTYPE[3:0]: Device sub-type identifier
0x1: Processor trace
Bits 3:0 MAJORTYPE[3:0]: Device main type identifier
0x3: Trace source
ETM CoreSight peripheral identity register 4 (ETM_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0004
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE[3:0] | JEP106CON[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SIZE[3:0]: Register file size
0x0: Register file occupies a single 4 Kbyte region
Bits 3:0 JEP106CON[3:0]: JEP106 continuation code
0x4: Arm® JEDEC code
ETM CoreSight peripheral identity register 0 (ETM_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0056
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PARTNUM[7:0]: Part number field, bits [7:0]
0x56: ETM part number
ETM CoreSight peripheral identity register 1 (ETM_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B9
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID[3:0] | PARTNUM[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 JEP106ID[3:0]: JEP106 identity code field, bits [3:0]
0xB: Arm® JEDEC code
Bits 3:0 PARTNUM[11:8]: Part number field, bits [11:8]
0x9: ETM part number
ETM CoreSight peripheral identity register 2 (ETM_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 000B
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION[3:0] | JEDEC | JEP106ID[6:4] | |||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVISION[3:0]: Component revision number
0x0: r0p0
Bit 3 JEDEC: JEDEC assigned value
1: Designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4]: JEP106 identity code field, bits [6:4]
0x3: Arm® JEDEC code
ETM CoreSight peripheral identity register 3 (ETM_PIDR3)
Address offset: 0xFEC
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND[3:0] | CMOD[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 REVAND[3:0]: Metal fix version
0x0: No metal fix
Bits 3:0 CMOD[3:0]: Customer modified
0x0: No customer modifications
ETM CoreSight component identity register 0 (ETM_CIDR0)
Address offset: 0xFF0
Reset value: 0x0000 000D
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[7:0]: Component ID field, bits [7:0]
0x0D: Common ID value
ETM CoreSight component identity register 1 (ETM_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 0090
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS[3:0] | PREAMBLE[11:8] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 CLASS[3:0]: Component ID field, bits [15:12] - component class
0x9: Trace generator component
Bits 3:0 PREAMBLE[11:8]: Component ID field, bits [11:8]
0x0: Common ID value
ETM CoreSight component identity register 2 (ETM_CIDR2)
Address offset: 0xFF8
Reset value: 0x0000 0005

| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[19:12] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[19:12]: Component ID field, bits [23:16]
0x05: Common ID value
ETM CoreSight component identity register 3 (ETM_CIDR3)
Address offset: 0xFFC
Reset value: 0x0000 00B1
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE[27:20] | |||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PREAMBLE[27:20]: Component ID field, bits [31:24]
0xB1: Common ID value

Embedded trace macrocell registers map
Table 626. ETM registers map and reset values
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | ETM_CR | Res. | VMIDTRCEN | Res. | TSEN. | Res. | PROCSEL[2:0] | Res. | Res. | PORTSIZE[3] | DATAONLY | FILTERCPRT | SUPPDATA. | PORTMODE[1:0] | CONTXTIDSIZE[1:0] | PORTMODE[2] | CYCLEACC | ETMPORTSEL. | ETMPROG | DBGRQCTL | BRANCHOUTPUT | Res. | PORTSIZE[2:0] | DATAACC[1:0] | MONITORCPRT | ETMPDN | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | |
| 0x004 | ETM_CCR | IDREG | Res. | Res. | Res. | SWACC | STARTSTOP | CONTXTIDCMP[1:0] | FIFOFULL | Res. | EXTOUTPUTS[1:0] | EXTINPUTS[2:0] | SEQUENCER | COUNTERS[2:0] | MMAPDECS[4:0] | Res. | DATACOMPS[3:0] | ADCOMPPRS[3:0] | |||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | |
| 0x008 | ETM_TRIGGER | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | ||||||||||||||
| Reset value | |||||||||||||||||||||||||||||||||
| 0x010 | ETM_SR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRIG | STSTPRESSTAT | PROGBIT | UNTRCDOVFL |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x014 | ETM_SCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NOFTCHCMP | Res. | Res. | SUPPROC[2:0] | PMSUPP | PSSUPP | MAXPS[3] | FFSUPP | Res. | Res. | Res. | Res. | Res. | MAXPS[2:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | |
| 0x018 | ETM_SSCR | STOPADDRCOMPSEL[16:1] | STARTADDRCOMPSEL[16:1] | ||||||||||||||||||||||||||||||
| Reset value | |||||||||||||||||||||||||||||||||
| 0x01C | ETM_TECR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | INCEXCCTLCOMPSEL[16:1] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x020 | ETM_TEEVR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | ||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x024 | ETM_TECR1 | Res. | Res. | Res. | Res. | Res. | Res. | TSSEN | INCEXCCTL | INCEXCMMDSEL[16:1] | INCEXCADCOMPSEL[8:1] | ||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||
| 0x02C | ETM_FFLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FIFOFULLLVL[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||

Table 626. ETM registers map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x030 | ETM_VDEVR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN[2:0] | ||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x034 | ETM_VDCR1 | VDEXCSADCOMPSEL[16:1] | VDINCSADCOMPSEL[16:1] | ||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x03C | ETM_VDCR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EXCONLY | VDEXCADCOMPSEL[8:1] | VDINCADCOMPSEL[8:1] | ||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x040 | ETM_ACVR1 | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x044 | ETM_ACVR2 | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x048 | ETM_ACVR3 | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x04C | ETM_ACVR4 | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x050 | ETM_ACVR5 | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x054 | ETM_ACVR6 | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x058 | ETM_ACVR7 | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x05C | ETM_ACVR8 | ADDRESS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x080 | ETM_ACTR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMIDCOMP | HYPMODE | STMODE[3:0] | CTXIDCOMP[1:0] | EXACTMATCH | DCOMP[1:0] | COMPACCSIZE[1:0] | ACCTYPE | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x084 | ETM_ACTR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMIDCOMP | HYPMODE | STMODE[3:0] | CTXIDCOMP[1:0] | EXACTMATCH | DCOMP[1:0] | COMPACCSIZE[1:0] | ACCTYPE[2:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
Table 626. ETM registers map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x088 | ETM_ACTR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMIDCOMP | HYPMODE | STMODE[3:0] | CTXTIDCOMP[1:0] | EXACTMATCH | DCOMP[1:0] | COMPACCSIZE[1:0] | ACCTYPE | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x08C | ETM_ACTR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMIDCOMP | HYPMODE | STMODE[3:0] | CTXTIDCOMP[1:0] | EXACTMATCH | DCOMP[1:0] | COMPACCSIZE[1:0] | ACCTYPE | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x090 | ETM_ACTR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMIDCOMP | HYPMODE | STMODE[3:0] | CTXTIDCOMP[1:0] | EXACTMATCH | DCOMP[1:0] | COMPACCSIZE[1:0] | ACCTYPE | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x094 | ETM_ACTR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMIDCOMP | HYPMODE | STMODE[3:0] | CTXTIDCOMP[1:0] | EXACTMATCH | DCOMP[1:0] | COMPACCSIZE[1:0] | ACCTYPE | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x098 | ETM_ACTR7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMIDCOMP | HYPMODE | STMODE[3:0] | CTXTIDCOMP[1:0] | EXACTMATCH | DCOMP[1:0] | COMPACCSIZE[1:0] | ACCTYPE | ||||||||
| Reset value | |||||||||||||||||||||||||||||||||
| 0x09C | ETM_ACTR8 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMIDCOMP | HYPMODE | STMODE[3:0] | CTXTIDCOMP[1:0] | EXACTMATCH | DCOMP[1:0] | COMPACCSIZE[1:0] | ACCTYPE | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x0C0 | ETM_DCVR1 | DATA[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x0C8 | ETM_DCVR3 | DATA[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |

Table 626. ETM registers map and reset values (continued)
| RM0475 | column_2 | column_3 | column_4 | column_5 | column_6 | column_7 | column_8 | column_9 | column_10 | column_11 | column_12 | column_13 | column_14 | column_15 | column_16 | column_17 | column_18 | column_19 | column_20 | column_21 | column_22 | column_23 | column_24 | column_25 | column_26 | column_27 | column_28 | column_29 | column_30 | column_31 | column_32 | column_33 | column_34 | column_35 | column_36 | column_37 | column_38 | column_39 | column_40 | column_41 | column_42 | column_43 | column_44 | column_45 | column_46 | column_47 | Table 626. ETM registers map and reset values (continued) | Debug support (DBG) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Offset Register name | 31 | 3 0 | 2 9 | 2 8 | 2 7 | 2 6 | 2 5 | 2 4 | 2 3 | 2 2 | 21 | 2 0 | 19 | 18 | 17 | 16 15 14 | 13 12 1 1 10 9 | 8 7 6 5 4 3 2 1 0 | ||||||||||||||||||||||||||||||
| ETM_DCMR1 | MASK[31:0] | |||||||||||||||||||||||||||||||||||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_DCMR3 | MASK[31:0] | |||||||||||||||||||||||||||||||||||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_CNTRLDVR1 | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R e s. | INITIALCOUNT[15:0] | ||||||||||||||||
| ETM_CNTRLDVR2 | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R e s. | INITIALCOUNT[15:0] | ||||||||||||||||
| ETM_CNTENR1 | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | FCN [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||
| Reset value | 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | FCN | ||||||||||||||||||||||||||||||||||||||||||||||
| ETM_CNTENR2 | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||
| Reset value | 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_ | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | FCN | |||||||||||||||||
| CNTRLDEVR1 | [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||||||||||||||||||||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_ | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | FCN | |||||||||||||||||
| CNTRLDEVR2 | [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||||||||||||||||||||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_CNTVR1 | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R e s. | COUNT[15:0] | ||||||||||||||||
| ETM_CNTVR2 | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R e s. | COUNT[15:0] | ||||||||||||||||
| ETM_SQ12EVR | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | FCN [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FCN | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_SQ21EVR | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FCN | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_SQ23EVR | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FCN | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_SQ31EVR | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FCN | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_SQ32EVR | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FCN | |||||||||||||||||||||||||||||||||||||||||||||||
| ETM_SQ13EVR | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | R | e s. | [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | |||||||||||||||
| Reset value | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 |
Table 626. ETM registers map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x19C | ETM_SQR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SQSTATE[1:0] | |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x1A0 | ETM_ EXTOUTEVR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | ||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x1A4 | ETM_ EXTOUTEVR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | ||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x1B0 | ETM_CIDCVR1 | CONTEXTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x1BC | ETM_CIDCMR | MASK[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x1E0 | ETM_SYNCFR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SYNCFREQ[11:0] | |||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||
| 0x1E4 | ETM_IDR | IMPLEMENTER[7:0] | Res. | Res. | Res. | BPENC | SECEXT | T32 | Res. | LDPC1ST | PROCFAM [3:0] | ARCHVMAJ [3:0] | ARCHVMIN [3:0] | REVISION [3:0] | |||||||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |||||
| 0x1E8 | ETM_CCER | Res. | Res. | TSSIZE | TSENC | CNTFNC | VIRTEXT | Res. | Res. | Res. | TIMSTMP | ETMEIBCR | TSSBLK | EMBICEWP S[3:0] | INSTRE S[2:0] | DACOMPS | ARR | PMUEVENTREGS[7:0] | EEISELS | ||||||||||||||
| Reset value | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | ||||||
| 0x1EC | ETM_EXTINSELR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EXTINSEL2[7:0] | EXTINSEL1[7:0] | ||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0x1F8 | ETM_TSEVR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN [2:0] | RESOURCEB[6:0] | RESOURCEA[6:0] | ||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
| 0x1FC | ETM_AUXCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DPKTTRCDIS | TSPKTGENSU | DNFOVFL |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x200 | ETM_TRACEIDR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRACEID[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x208 | ETM_IDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SWPTO | RFETO |
| Reset value | 0 | 0 | |||||||||||||||||||||||||||||||

Table 626. ETM registers map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x240 | ETM_VMIDCVR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VMID[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x300 | ETM_OSLAR | KEYVALUE[31:0] | |||||||||||||||||||||||||||||||
| Reset value | |||||||||||||||||||||||||||||||||
| 0x304 | ETM_OSLSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ETMOSLAR | NTT | DBGRLKED | DBGRLKSU | ||||
| Reset value | 1 | 0 | 1 | 0 | |||||||||||||||||||||||||||||
| 0x308 | ETM_OSSRR | VALUE[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0x310 | ETM_PDCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TRCPWREN | Res. | Res. | Res. | |||
| Reset value | 1 | ||||||||||||||||||||||||||||||||
| 0x314 | ETM_PDSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OSLOCKST | Res. | Res. | STKYREGST | |||
| Reset value | 1 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFA0 | ETM_CLAIMSET | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SET | |||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||
| 0xFA4 | ETM_CLAIMCLR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLR | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFB0 | ETM_LAR | KEY | |||||||||||||||||||||||||||||||
| Reset value | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | |
| 0xFB4 | ETM_LSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NTT | SLK | SLI | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFB8 | ETM_AUTHSTAT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SNID | SID | NSNID | NSID | ||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | |||||||||||||||||||||||||
| 0xFC8 | ETM_DEVID | DEVICEID | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 0xFD0 | ETM_DEVTYPE | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUB TYPE | MAJOR TYPE | ||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | |||||||||||||||||||||||||
| 0xFD0 | ETM_PIDR4 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SIZE | JEP106 CON | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||||||||||||||||||||||||
Table 626. ETM registers map and reset values (continued)
| Offset | Register name reset value | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFD4 | ETM_PIDR5 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFD8 | ETM_PIDR6 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFDC | ETM_PIDR7 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFE0 | ETM_PIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PARTNUM [7:0] | |||||||
| Reset value | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | |||||||||||||||||||||||||
| 0xFE4 | ETM_PIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106ID [3:0] | PARTNUM [11:8] | ||||||
| Reset value | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | |||||||||||||||||||||||||
| 0xFE8 | ETM_PIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVISION] | JEDEC | JEP106ID [6:4] | |||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | |||||||||||||||||||||||||
| 0xFEC | ETM_PIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | REVAND | CMOD | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF0 | ETM_CIDR0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE | |||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFF4 | ETM_CIDR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CLASS | PREAMBLE | ||||||
| Reset value | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | ETM_CIDR2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFFC | ETM_CIDR3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PREAMBLE | |||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
59.11.4 Cross trigger interface (CTI)
See Section 59.10.3.
59.12 References
- 1. IHI 0031C (ID080813) - Arm® Debug Interface Architecture Specification ADIv5.0 to ADIv5.2, Issue C, 8th Aug 2013.
- 2. DDI 0480F (ID100313) - Arm® CoreSight™ SoC-400 r3p1 Technical Reference Manual, Issue F, 26th Sept 2013.
- 3. DDI 0461B (ID010111) - Arm® CoreSight™ Trace Memory Controller r0p1 Technical Reference Manual, Issue B, 10 Dec 2010
- 4. DDI 0314H - Arm® CoreSight™ Components Technical Reference Manual, Issue H, 10 July, 2009
- 5. DDI 0468A (ID101712) - Arm® CoreSight™ ETM™-A7 r0p0, Issue A, 12 Sept 2011
- 6. DDI 0464F (ID051113) - Arm® Cortex®-A7 MPCore™ r0p5 Technical Reference Manual, Issue F, 11 April 2013
- 7. IHI 0022E (ID022613)- Arm AMBA AXI and ACE Protocol Specification, Issue E, 22 February 2013
- 8. Arm IHI 0033A - Arm AMBA 3 AHB-Lite Protocol v1.0, Issue A, 6 June 2006
- 9. Arm IHI 0024C (ID041610) - Arm AMBA Protocol v2.0, Issue C, 13 April 2010