63. Debug support (DBG)
63.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
- • AHB-AP: AHB 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
- • SWO: Serial Wire Output
- • CTI: Cross Trigger Interface
- • CTM: Cross Trigger Matrix
- • Timestamp Generator
- • STM: System Trace Macrocell
These components are described in Section 63.10 to Section 63.12. More information can be found in the Arm® documents referenced in Section 63.13.
63.2 Debug use cases
The trace and debug system has been designed to support a variety of typical use cases:
- • Low cost software trace (Cortex®-M4 only)
Limited trace capability is available over the single-wire debug output. This supports code instrumentation using “printf”, tracing of data and address watchpoints, interrupt detection and program counter sampling. - • External debugging of each core independently
All processor cores can be simultaneously and independently debugged using equipment connected to the JTAG/SWD debug port. This allows breakpoint and watchpoint setting, code stepping, memory access etc. - • Self-hosted debugging of each core independently
All processor cores can be simultaneously and independently debugged by software running on one of the cores. This allows breakpoint and watchpoint setting, code stepping, memory access etc. - • Synchronous debugging of both cores
When one core stops due to a breakpoint or a debugger stop command, the other core can be stopped as well. Similarly, the cores can be restarted at the same time. This allows debugging of loosely coupled applications which require the processors to remain synchronized. - • Tracing code execution from one or more cores via the trace port
Trace information from all cores is combined into a single trace stream and output to a trace port analyser in real time. An ID embedded in the trace allows the analyzer to identify the source of each information packet. - • Code and hardware instrumentation via the trace port
Software “printf” data from the processors, memory content via DMA, and hardware event trace information can be generated using the system trace macrocell. The information is combined with the processor trace stream and output to a trace port analyzer in real time. - • Capturing trace continuously in a circular buffer
Instead of streaming it off-chip, the combined 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 any of the processor cores, 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.
63.3 DBG block diagram
Figure 764. Block diagram of debug support infrastructure

1. Arm® CoreSight™ component
63.4 DBG pins
Table 521. 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 522. 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 523. Serial Wire Trace port pins
| Pin name | Type | Description | Pin assignment |
|---|---|---|---|
| TRACESWO | O | Trace asynchronous data out | Refer to datasheet(1) |
- 1. TRACESWO is multiplexed with JTDO. This means that single wire trace is only available when using the serial wire debug interface, not when using JTAG
Table 524. 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 | |
| DBTRGIO | I/O | External Trigger Bi-directional(1) |
- 1. DBTRGIO can be configured as an input or an output by the TRGOEN bit in the DBGMCU_CR register. If configured as an input, it is connected to DBTRGI. If an output, it is connected to DBTRGO. This is because DBTRGI and DBTRGO are not available on certain packages.
63.5 DBG power and clocking
63.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.
63.5.2 DBG clocks
Figure 765. Debug clock domains

MS49680V2
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. The same clock is used to drive the serial wire output (SWO).
Note: TRACECLK is enabled by setting TRACECKEN to 1 in RCC debug configuration register (RCC_DBGCFGR). It should be activated whenever tracing is required, even if neither the TPIU nor the SWO are active (that is when using the embedded trace FIFO as a software buffer). This is to avoid filling up the SWO FIFO which would then block the trace output from the ITM in the Cortex®-M4.
The debug and trace components included in the processors (ETM, CTI etc) are clocked with the corresponding core clock (mpu_ss_ck for the Cortex®-A7 subsystem, mcu_ss for the Cortex®-M4 subsystem).
63.5.3 Debug and low-power modes
The STM32MP151 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 63.10.8.
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 to either processor core. 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.
63.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.
63.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.
63.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 525 lists which signals are connected to which debug and trace components.
Table 525. Authentication signal connectivity
| deviceen | dbgen | spiden | niden | spniden | dbgswenable | |
|---|---|---|---|---|---|---|
| Debug APB-AP | X | - | - | - | - | X |
| Cortex®-M4 AHB-AP | X(1) | X | - | - | - | - |
| System bus AXI-AP | - | X | X | - | - | - |
| Cortex®-M4 DWT/FPB/SCS/ITM | - | X | - | - | - | - |
| Cortex®-M4 ETM | - | - | - | X | - | - |
| Cortex®-M4 CTI | - | X | - | X | - | - |
| Cortex®-A7 MPCore Debug unit | - | X | X | X | X | X |
| Cortex®-A7 MPCore ETM | - | X | - | X | - | - |
| deviceen | dbgen | spiden | niden | spniden | dbgswenable | |
|---|---|---|---|---|---|---|
| Cortex®-A7 MPCore CTI | - | X | - | X | - | - |
| STM | - | X | X | X | X | - |
1. deviceen connects to DAPEN in the Cortex®-M4
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 526. 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 526. 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. |
63.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 16-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 16-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 527.
Table 527. CLTAPC registers| Name | Address | Description | Read/Write |
|---|---|---|---|
| SECSTS | 001 | Status of the BSEC_DENABLE 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).
63.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 five I/O pins are configured by hardware in debug alternative function mode. The SWJ-DP incorporates pull-up resistors on JTDI, 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.
63.8.1 JTAG debug port
Figure 766. JTAG TAP state machine

graph TD
TLR[Test-Logic-Reset] -- JTMS=0 --> RTI[Run-Test/Idle]
RTI -- JTMS=1 --> SDR[Select-DR-Scan]
RTI -- JTMS=1 --> SIR[Select-IR-Scan]
SDR -- JTMS=1 --> CDR[Capture-DR]
CDR -- JTMS=0 --> SDR
CDR -- JTMS=1 --> SDR[Shift-DR]
SDR -- JTMS=1 --> SDR
SDR -- JTMS=0 --> E1DR[Exit1-DR]
E1DR -- JTMS=1 --> PDR[Pause-DR]
PDR -- JTMS=0 --> PDR
PDR -- JTMS=1 --> E2DR[Exit2-DR]
E2DR -- JTMS=0 --> UDR[Update-DR]
UDR -- JTMS=1 --> UDR
UDR -- JTMS=0 --> RTI
SIR -- JTMS=1 --> CIR[Capture-IR]
CIR -- JTMS=0 --> SIR
CIR -- JTMS=1 --> SIR[Shift-IR]
SIR -- JTMS=1 --> SIR
SIR -- JTMS=0 --> E1IR[Exit1-IR]
E1IR -- JTMS=1 --> PIR[Pause-IR]
PIR -- JTMS=0 --> PIR
PIR -- JTMS=1 --> E2IR[Exit2-IR]
E2IR -- JTMS=0 --> UIR[Update-IR]
UIR -- JTMS=1 --> UIR
UIR -- JTMS=0 --> RTI
UDR -- JTMS=1 --> TLR
UIR -- JTMS=1 --> TLR
MSv46858V1
The JTAG-DP implements a TAP state machine (TAPSM) based on IEEE Std 1149.1-1990. The state machine is shown in Figure 766. 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 528.
Table 528. 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 31:1 = Reserved – Bit 0 = APABORT: write 1 to generate a AP abort. |
| 1001 | (BYPASS) | 1 | Reserved: BYPASS selected |
Table 528. 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].
63.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 529. Packet request
| Bit field | Name | Description |
|---|---|---|
| 0 | Start | Must be 1 |
| 1 | APnDP | 0: DP register access - see Table 532 for a list of DP registers 1: AP register access - see Section 63.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 532) |
| 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 530. ACK response
| Bit field | Name | Description |
|---|---|---|
| 2:0 | ACK | 000: FAULT 010: WAIT 100: OK |
Table 531. 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 767 shows examples of successful write and read transfers.
Figure 767. 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 is a continuous clock signal. The SWDIO line shows the data transfer sequence.
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
MSv3977V1
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
63.8.3 Debug port registers
The SW-DP and JTAG-DP both access the debug port (DP) registers. These are listed in Table 532.
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 532).
- 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 529). The write data is sent in the data phase.
Table 532. 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. | CDBGPWRUPACK | CDBGPWRUPREQ | 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: 0x2500 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
0x2: Rev. B
Bits 27:12 TPARTNO[15:0]: target part number
0x5000: STM32MP15x
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)
0x2: AP2 - Cortex®-M4 debug access port (AHB-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.
63.9 Access ports
Figure 768. Debug and access port connections

graph LR
JTAG[ JTAG / SWD ] <--> SWDP[ SW-DP ]
SWDP <--> DAPBUS[ DAPBUS ]
DAPBUS --> AP0[ AP0 (AXI-AP) ]
DAPBUS --> AP1[ AP1 (APB-AP) ]
DAPBUS --> AP2[ AP2 (AHB-AP) ]
AP0 <--> AXI[ System interconnect (AXI) ]
AP1 <--> APB[ System debug bus (APB-D) ]
AP2 <--> Cortex[ Cortex®-M4 ]
The diagram illustrates the debug and access port connections. A JTAG / SWD interface connects to an SW-DP block. The SW-DP connects to a DAPBUS, which then branches out to three access ports: AP0 (AXI-AP), AP1 (APB-AP), and AP2 (AHB-AP). AP0 connects to the System interconnect (AXI), AP1 connects to the System debug bus (APB-D), and AP2 connects to the Cortex®-M4 processor. The reference code MSv49691V1 is located in the bottom right corner of the diagram area.
There are three 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.
- • AP2: Cortex®-M4 access port (AHB-AP). Allows access to the debug and trace features integrated in the Cortex®-M4 processor core via its PPB bus.
All three 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 536.
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 528) or of the SW-DP Packet Request (see Table 529), 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 529). 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 (Addrlnc 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].
63.9.1 Authentication
The effect of the authentication signals for each access port is shown in Table 533 to Table 535.
Table 533. 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. |
| 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. |
| deviceen(1) | dbgen | Others | Behavior |
|---|---|---|---|
| 0 | X | X | All transfers blocked. Any attempt to perform a transfer will result in an error. |
| X | 0 | All transfers blocked. Any attempt to perform a transfer will result in an error. | |
| 1 | 1 | Transfers enabled. |
1. deviceen is connected to the DAPEN input of the Cortex®-M4
63.9.2 MEM-AP registers
Table 536. 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) AP2 control/status word register (AP2_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) |
Table 536. MEM-AP registers (continued)
| Address | APBANKSEL | A(3:2) | Name | Description |
|---|---|---|---|---|
| 0xF8 | 0xF | 2 | BASE | Debug Base Address register (RO) - Refer to section AP x base address register (APx_BASE) (x = 0 to 2) |
| 0xFC | 0xF | 3 | IDR | Identification register (RO) - Refer to section AP x identification register (APx_IDR) (x = 0 to 2) |
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 [10., 11., 12.].
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] | SPSTATUS | 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 DBGGEN 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 [10., 11., 12.].
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 | |||||
Bit 31 DBGSWENABLE: software access enable
Defines whether the system debug APB can be accessed by software. This bit is anded with the dbgswenable signal from the BSEC.
0: disable software access
1: enable software access if dbgswenable signal from BSEC is also high
Bits 30:12 Reserved, must be kept at reset value.
Bits 11:8 MODE[3:0]: barrier support enabled
Defines 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 mode
Defines 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)
AP2 control/status word register (AP2_CSW)
Address offset: 0x0
Reset value: 0x2300 0040
For a detailed description of each field, refer to the Arm AMBA protocol specifications for the corresponding bus [10., 11., 12.].
AP2 (AHB-AP):
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | MASTERTYPE | Res. | Res. | Res. | HPROT1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| r | 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 | DBGSTATUS | ADDRINC[1:0] | Res. | SIZE[2:0] | ||||||
| rw | rw | rw | rw | r | r | rw | rw | r | r | r | |||||
- Bits 31:30 Reserved, must be kept at reset value.
- Bit 29 MASTERTYPE: type of master (read only)
1: debug - Bits 28:26 Reserved, must be kept at reset value.
- Bit 25 HPROT1: defines the HPROT(1) attribute of the transaction
0: user access
1: privileged access - Bits 24:12 Reserved, must be kept at reset value.
- Bits 11:8 MODE[3:0]: mode of operation
0x0: Normal download or upload
0x1-0xF: Reserved - 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 DBGSTATUS: status of the DBGGEN authentication signal (read only)
This signal determines whether the AHB bus can be accessed.
0: AHB transactions are blocked
1: AHB transactions are allowed

Bits 5:4 ADDRINC[1:0]: auto-increment mode
Defines whether address is automatically incremented after a transaction. If increment is enabled, the address wraps at 4- Kbyte address boundaries.
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.
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 is 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: byte (8 bits)
0x1: halfword (16 bits)
0x2: word (32 bits)
Others: reserved
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 |
Bits 31:0 ADDRESS[31:0]: address of the current transfer (bits 31:0)
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 |
Bits 31:0 DATA[31:0]: read/write data for current transfer
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 |
| BARTRAN[1:0] | TRGBARTRAN | ||||||||||||||
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||
| 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 2)
Address offset: 0xF8
Reset value: Block 0: 0x0000 0002
Reset value: Block 1: 0xE008 0003
Reset value: Block 2: 0xE00F F003
| 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
AP2 (Cortex®-M4): 0xE00FF
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 2)
Address offset: 0xFC
Reset value: Block 0: 0x3477 0004
Reset value: Block 1: 0x4477 0003
Reset value: Block 2: 0x2477 0011
| 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
0x2: r0p3
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
0x11: Cortex®-M4 AP
63.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)
- – Trace bus funnel (CSTF)
- – Embedded trace FIFO (ETF)
- – Serial Wire Output (SWO)
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 and Cortex®-M4 processors.
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.
63.10.1 System ROM tables
There are two 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: SWO, TSG, and the Cortex®-A7 debug components, as well as to the Trace subsystem ROM table on the debug APB. The DBG_MCU is not referenced by the table as it is not a standard CoreSight™ component. 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 537. 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 | Reserved | 0xE008 1000 | 0x5008 1000 | 0x0 1000 | 4 Kbyte | 0x0000 1002 |
| 0x004 | Timestamp generator | 0xE008 2000 | 0x5008 2000 | 0x0 2000 | 4 Kbyte | 0x0000 2003 |
| 0x008 | SWO | 0xE008 3000 | 0x5008 3000 | 0x0 3000 | 4 Kbyte | 0x0000 3003 |
| 0x00C | Trace Subsystem ROM table | 0xE009 0000 | 0x5009 0000 | 0x1 0000 | 4 Kbyte | 0x0001 0003 |
| 0x010 | STM | 0xE00A 0000 | 0x500A 0000 | 0x1 0000 | 4 Kbyte | 0x0002 0003 |
| 0x014 | C-A7 DBG | 0xE00D 0000 | 0x500D 0000 | 0x5 0000 | 4 Kbyte | 0x0005 0003 |
| 0x018 | C-A7 PMU | 0xE00D 1000 | 0x500D 1000 | 0x5 1000 | 4 Kbyte | 0x0005 1003 |
| 0x01C | Reserved | - | - | - | - | 0x0005 2002 |
| 0x020 | Reserved | - | - | - | - | 0x0005 3002 |
| 0x024 | C-A7 CTI | 0xE00D 8000 | 0x500D 8000 | 0x5 8000 | 4 Kbyte | 0x0005 8003 |
| 0x028 | Reserved | - | - | - | - | 0x0005 9002 |
| 0x02C | C-A7 ETM | 0xE00D C000 | 0x500D C000 | 0x5 C000 | 4 Kbyte | 0x0005 C003 |
| 0x030 | Reserved | - | - | - | - | 0x0005 D002 |
| 0x034 | Top of table | - | - | - | - | 0x0000 0000 |
| 0x038 to 0xFC8 | Reserved | - | - | - | - | 0x0000 0000 |
| 0xFCC to 0xFFC | ROM table registers | - | - | - | - | See Table 539 |
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 538. 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 | Trace funnel | 0xE009 1000 | 0x5009 1000 | 0x1000 | 4 Kbyte | 0x0000 1003 |
| 0x004 | ETF | 0xE009 2000 | 0x5009 2000 | 0x2000 | 4 Kbyte | 0x0000 2003 |
| 0x008 | TPIU | 0xE009 3000 | 0x5009 3000 | 0x3000 | 4 Kbyte | 0x0000 3003 |
Table 538. 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 |
|---|---|---|---|---|---|---|
| 0x00C | Trace CTI | 0xE009 4000 | 0x5009 4000 | 0x4000 | 4 Kbyte | 0x0000 4003 |
| 0x010 | Top of table | - | - | - | - | 0x0000 0000 |
| 0x018 to 0xFC8 | Reserved | - | - | - | - | 0x0000 0000 |
| 0xFCC to 0xFFC | ROM table registers | - | - | - | - | See Table 539 |
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 539.
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 769.
For more information on the use of the ROM table, refer to the Arm® Debug Interface Architecture Specification [1].
Figure 769. Debug APB CoreSight™ topology

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 539. 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. | ||
| 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. | ||
| 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. | ||
| 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. | PARTNUM[7:0] | |||||||||
| Reset value | 0 | 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 | 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. | PREAMBLE[7:0] | ||||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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. | CLASS[3:0] | PREAMBLE[11:8] | |||||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||

Table 539. 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 | |||||||||||||||||||||||||||||
63.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, ITM and STM. These components insert timestamps in the trace streams that allow the trace analyser to recover the chronological order of trace packets, which can be lost when multiple trace sources are multiplexed into one stream at the funnels.
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 and Cortex®-M4. 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 770.
Whenever the frequency of the TSGEN, Cortex®-A7 or Cortex®-M4 changes, the ETM of the respective processor receives a pulse on the TSCLKCHANGE input.
Figure 770. CoreSight™ timestamp distribution

The diagram illustrates the CoreSight™ timestamp distribution architecture. It shows the flow of timestamp data from a Debug APB through a Timestamp generator (containing a Counter [63:0]) to a Timestamp encoder. The encoder outputs a 7-bit signal that branches into three domains: STM, High frequency CPU domain, and M4 subsystem domain. Each domain contains a Timestamp decoder and specific CoreSight components (STM, ETM, ITM).
Components and Data Paths:
- Debug APB feeds into the Timestamp generator.
- Timestamp generator contains a Counter [63:0] and outputs a 64-bit signal to the Timestamp encoder.
- Timestamp encoder outputs a 7-bit signal.
- STM Domain: The 7-bit signal goes to a Timestamp decoder, which outputs a 64-bit signal to the STM component.
- High frequency CPU domain: The 7-bit signal goes to a Timestamp decoder, which outputs a 64-bit signal to the ETM component within the Cortex®-A7 block.
- M4 subsystem domain: The 7-bit signal goes to a Timestamp decoder, which outputs a 48-bit signal to both the ETM and ITM components within the Cortex®-M4 block.
Domains: The diagram is divided into the SoC domain (containing the encoder and decoders) and the High frequency CPU domain (containing the Cortex-A7). The M4 subsystem domain is also indicated.
MS49682V1
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 class0xF: 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 540. 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 | 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 540. 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. | 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. | 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 | 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 | 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 | 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 | 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 | 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 | ||||||||||||||||||||||||||
63.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 three CTI components, one in the trace subsystem, one for the Cortex®-A7, and one dedicated to the Cortex®-M4. 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. The Cortex®-M4 CTI is accessible on its private peripheral bus (PPB) via the Cortex®-M4 AHB access port.
Figure 771. Embedded cross trigger
![Figure 771. Embedded cross trigger block diagram showing connections between Cortex-A7 CTI, Trace Subsystem CTI, and Cortex-M4 CTI via CTM channels [3:0]](/RM0441-STM32MP151/9c5dce94fabcbbd0e1bb75a88f400fc4_img.jpg)
The diagram shows the Embedded cross trigger architecture consisting of three CTI modules interconnected via CTM channels [3:0]:
- Cortex-A7 CTI (APB-Debug):
- Inputs to CTI: DBGTRIGGER → TRIGIN0, COMMTX → TRIGIN4, COMMRX → TRIGIN5 (from Cortex-A7 CPU); nPMUIRQ → TRIGIN1 (from PMU); EXTOUT0 → TRIGIN2, EXTOUT1 → TRIGIN3, ETMTRIGGER → TRIGIN6 (from ETM).
- Outputs from CTI: TRIGOUT0 → EDBGRQ, TRIGOUT7 → DBGRESTART (to Cortex-A7 CPU); TRIGOUT1 → EXTIN0, TRIGOUT2 → EXTIN1, TRIGOUT3 → EXTIN2, TRIGOUT4 → EXTIN3 (to ETM); TRIGOUT6 → nCTIIRQ0 (to GIC).
- Trace Subsystem CTI (APB-Debug):
- Inputs to CTI: DBTRGI → TRIGIN0; ETFFULL → TRIGIN2, ETFACQCOMP → TRIGIN1 (from ETF); TRIGOUTSPTE → TRIGIN3, TRIGOUTSW → TRIGIN4, TRIGOUTHETE → TRIGIN5, ASYNCOUT → TRIGIN6 (from STM).
- Outputs from CTI: TRIGOUT0 → DBTRGO; TRIGOUT7 → HLTDBG (to TSGEN); TRIGOUT3 → ETFTRIG, TRIGOUT4 → ETFFLUSH (to ETF); TRIGOUT2 → TPIUTRIG, TRIGOUT1 → TPIUFLUSH (to TPIU); TRIGOUT5 → HWEVENTA, TRIGOUT6 → HWEVENTB (to STM).
- Cortex-M4 CTI (PPB-M4):
- Inputs to CTI: HALTED → TRIGIN0, ETMTRIGGER0 → TRIGIN4, ETMTRIGGER1 → TRIGIN5, ETMTRIGGER2 → TRIGIN6 (from Cortex-M4 CPU); ETMTRIGOUT → TRIGIN7 (from ETM).
- Outputs from CTI: TRIGOUT0 → EDBGRQ, TRIGOUT7 → DBGRESTART, TRIGOUT1 → nCTIIRQ1, TRIGOUT2 → nCTIIRQ2 (to Cortex-M4 CPU); TRIGOUT4 → ETMEXTIN0, TRIGOUT5 (to ETM).
Reference: MS49683V1
The CTIs allow events from various sources to trigger debug and/or trace activity. For example, a breakpoint reached in one of the processor cores can stop the other processor, or 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 541 to Table 546.
Table 541. 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 | TRIGOUTSPTE | STM | The STM asserts this signal for one clock cycle when a trigger event is detected on a match using the STMSPTER. |
| 4 | TRIGOUTSW | STM | The STM asserts this signal for one clock cycle when a trigger event is generated on writes to a TRIG location in the extended stimulus port registers. |
| 5 | TRIGOUTHETE | STM | The STM asserts this signal for one clock cycle when a trigger event is detected on a match using the STMHETER. |
| 6 | ASYNCOUT | STM | Alignment synchronization signal. The STM asserts this signal for one clock cycle when an ASYNC-VERSION-FREQ sequence is output on the ATB interface, and the ASYNCOUT signal can be used for cross-triggering. |
| 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 | HWEVENTA | STM | STM hardware event |
| 6 | HWEVENTB | STM | STM hardware event |
| 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 |
| Source signal | Source component | Comments | |
|---|---|---|---|
| 0 | HALTED | M4 CPU | CPU halted - indicates CPU is in debug mode |
| 1 | - | - | Not used |
| 2 | - | - | Not used |
| 3 | - | - | Not used |
| 4 | ETMTRIGGER0 | M4 DWT | Trace trigger - enables CPU execution trace |
| 5 | ETMTRIGGER1 | M4 DWT | Trace trigger - enables CPU execution trace |
| 6 | ETMTRIGGER2 | M4 DWT | Trace trigger - enables CPU execution trace |
| 7 | ETMTRIGOUT | M4 ETM | ETM triggered - indicates trace active |
| Source signal | Destination component | Comments | |
|---|---|---|---|
| 0 | EDBGRQ | M4 CPU | CPU halt request -puts CPU in debug mode |
| 1 | nIRQ1 | M4 NVIC | CTI interrupt |
| 2 | nIRQ2 | M4 NVIC | CTI interrupt |
| 3 | - | - | Not used |
| 4 | ETMEXTIN0 | M4 ETM | ETM external input |
| 5 | ETMEXTIN1 | M4 ETM | ETM external input |
| 6 | - | - | Not used |
| 7 | DBGRESTART | M4 ETM | 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 772. Mapping trigger inputs to outputs

The diagram illustrates the mapping of trigger inputs to outputs. It shows three main blocks: CTI x, CTM, and CTI y. Input m enters CTI x, which is controlled by the CTIINENm = p register. This input is connected to Channel p in the CTM. The CTM also contains Channels q, r, and s. Channel p is then connected to CTI y, which is controlled by the CTIOUTENn = p register, resulting in Output n. The diagram is labeled MSv46864V1.
Example configuration:
When either the MCU or the MPU hits a breakpoint, stop the other processor. Restart the two processors synchronously.
To stop both cores when either core stops requires the debug status output of each core (that is HALTED for the Cortex®-M4, DBGTRIGGER for the Cortex®-A7) to be connected to the EDBGRQ input of the opposite core.
Referring to Table 543 and Table 545, we see that the DBGTRIGGER signal from the Cortex®-A7_1 core is connected to input 0 of the Cortex®-A7_1 CTI, and the HALTED signal from the Cortex®-M4 core is connected to the same input on the Cortex®-M4
CTI. Hence we program the CTI_IEN0 register on each CTI to connect these inputs to a CTM channel (eg. channel 0).
From Table 544 and Table 546 we see that the EDBGREQ signals to the CPUs are connected to output 0 of the respective CTIs. So we program the CTI_OUTEN0 register on each CTI to connect these outputs to the same CTM channel.
To restart both cores simultaneously the debugger must use the CTI_APPPULSE register in either of the CTIs. This allows the debugger to generate a pulse on any of the four ETM channels. The channel must be connected to the DBGRESTART signal of both cores.
From Table 544 and Table 546 we see that the DBGRESTART signals to the CPUs are connected to output 1 of the respective CTIs. So we program the CTI_OUTEN1 register on each CTI to connect these outputs to an unused CTM channel (eg. channel 1).
The above configuration is illustrated in Figure 773.
Figure 773. Cross trigger configuration example

The diagram illustrates a cross-trigger configuration between two Cortex-M4 and Cortex-A7 processors. It is divided into two main sections: the top section for Cortex-M4 triggering Cortex-A7, and the bottom section for Cortex-A7 triggering Cortex-M4.
Top Section (Cortex-M4 to Cortex-A7):
- Input: Cortex-M4 sends a HALTED signal to the CTI M4 block.
- CTI M4: Configured with CTI_IEN0 = 0001. It connects the HALTED signal to Channel 0 of the CTM.
- CTM: Channel 0 output goes to the CTI C-A7 block.
- CTI C-A7: Configured with CTI_OUTEN0 = 0001. It connects the Channel 0 input to the EDBGREQ signal sent to Cortex-A7.
Bottom Section (Cortex-A7 to Cortex-M4):
- Input: Cortex-A7 sends a DBGTRIGGER signal to the CTI C-A7 block.
- CTI C-A7: Configured with CTI_IEN0 = 0001. It connects the DBGTRIGGER signal to Channel 0 of the CTM.
- CTM: Channel 0 output goes to the CTI M4 block.
- CTI M4: Configured with CTI_OUTEN0 = 0001. It connects the Channel 0 input to the EDBGREQ signal sent to Cortex-M4.
Channel 1 Configuration (for DBGRESTART):
- Top Section: CTI M4 is configured with CTI_IEN1 = 0000. CTI C-A7 is configured with CTI_OUTEN1 = 0010. The CTM Channel 1 output connects to the CTI C-A7, which then sends the DBGRESTART signal to Cortex-A7.
- Bottom Section: CTI C-A7 is configured with CTI_IEN1 = 0000. CTI M4 is configured with CTI_OUTEN1 = 0010. The CTM Channel 1 output connects to the CTI M4, which then sends the DBGRESTART signal to Cortex-M4.
MS49684V1
To force the processors to restart simultaneously, the debugger should use the following procedure:
- 1. Clear the debug request by writing 0x01, then 0x00, to the CTI_INTACK register in each CTI.
- 2. Cause a pulse on channel 1 by writing 0x02 to the CTI_APPPULSE register in either CTI. This will generate a restart request to both processors.
Note that the debugger can also force both cores to stop simultaneously by writing 0x01 to the CTI_APPPULSE register in either CTI, which generates a pulse on channel 0.
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 enable
For 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 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
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 547. 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. | APPSET[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
Table 547. 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 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. | APULSE[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. | TRIGINEN[3:0] | |||||
| Reset value | 0 | 0 | 0 | 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 | ||||||||||||||||||||||||||||||
Table 547. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 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. | 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. | Res. | TRIGOUTEN[3:0] | |||
| Reset value | 0 | 0 | 0 | 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. | 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. | 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. | 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. | Res. | TRIGOUTEN[3:0] | |||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
Table 547. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | TRIGINSTATUS[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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. | 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. | 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. | 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. | Res. | Res. | Res. | CLAIMSET[3:0] | ||||
| Reset value | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||
Table 547. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 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. | 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. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0xFC8 | CTI_DEVID | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NUMCH [3:0] | NUMTRIG[7:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EXMUXNUM[4:0] |
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 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. | Res. | SUB[3:0] | MAJOR[3:0] | |||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 1 | 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. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | JEP106CON[3:0] |
| Reset value | 0 | 0 | 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. | 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. | 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. | 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. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
Table 547. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 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. | 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. | 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. | 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. | 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. | Res. | PREAMBLE[19:12] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 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 | |||||||||||||||||||||||||
63.10.4 Trace funnel (CSTF)
The trace funnel is a CoreSight™ component that combines the ATB buses from the five trace sources into one single ATB. The CSTF has five ATB slave ports, and one ATB master port. An arbiter selects the slave ports according to a programmable priority.
The slave ports are connected as follows:
- – S0: STM
- – S1: Cortex®-A7 ETM
- – S2: Unused
- – S3: Cortex®-M4 ETM
- – S4: Cortex®-M4 ITM
The CSTF registers allow the slave ports to be individually enabled, and their priority settings to be configured. The priorities can be modified only when trace is disabled. The arbitration works as follows:
- – The arbiter selects the slave port with the highest assigned priority that has data valid
- – Up to min_hold_time transfers are passed from the selected slave to the master port, where min_hold_time is programmable in the CONTROL register.
- – A new arbitration is then performed
High priority should be assigned to slave ports connected to sources with a small amount of buffering, or where data loss can not be tolerated. Low priority should be assigned to less critical sources or those with large buffers.
For more information on the ATB Funnel CoreSight™ component, refer to the Arm® CoreSight™ SoC-400 Technical Reference Manual [2].
Trace funnel registers
CSTF control register (CSTF_CTRL)
Address offset: 0x000
Reset value: 0x0000 0300
| 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. | MIN_HOLD_TIME[3:0] | Res. | Res. | Res. | ENS4 | ENS3 | ENS2 | ENS1 | ENS0 | |||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:12 Reserved, must be kept at reset value.
Bits 11:8 MIN_HOLD_TIME[3:0]: number of transactions between each arbitration
0x0: 1 transaction
:
0xE: 15 transactions
0xF: reserved
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 ENS4: slave port S4 enable
0: disables port
1: enables port
Bit 3 ENS3: slave port S3 enable
0: disables port
1: enables port
- Bit 2 ENS2: slave port S2 enable
0: disables port
1: enables port - Bit 1 ENS1: slave port S1 enable
0: disables port
1: enables port - Bit 0 ENS0: slave port S0 enable
0: disables port
1: enables port
CSTF priority register (CSTF_PRIORITY)
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. | PRIPORT4[2:0] | PRIPORT3[2:0] | PRIPORT2[2:0] | PRIPORT1[2:0] | PRIPORT0[2:0] | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |
- Bits 31:15 Reserved, must be kept at reset value.
- Bits 14:12 PRIPORT4[2:0]: slave port S4 priority
0: highest priority
:
7: lowest priority - Bits 11:9 PRIPORT3[2:0]: slave port S3 priority
0: highest priority
:
7: lowest priority - Bits 8:6 PRIPORT2[2:0]: slave port S2 priority
0: highest priority
:
7: lowest priority - Bits 5:3 PRIPORT1[2:0]: slave port S1 priority
0: highest priority
:
7: lowest priority - Bits 2:0 PRIPORT0[2:0]: slave port S0 priority
0: highest priority
:
7: lowest priority
CSTF claim tag set register (CSTF_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 that there are four bits in claim tag
CSTF claim tag clear register (CSTF_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
CSTF lock access register (CSTF_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
CSTF lock status register (CSTF_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: CSTF_LAR register size
Indicates the size of the CSTF_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
CSTF authentication status register (CSTF_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
0x0: not implemented
Bits 1:0 NSID[1:0]: security level for non-secure invasive debug
0x0: not implemented
CSTF CoreSight device identity register (CSTF_DEVID)
Address offset: 0xFC8
Reset value: 0x0000 0024
| 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. | SCHEME[3:0] | PORTCNT[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SCHEME[3:0]: priority scheme
0x2: static priority
Bits 3:0 PORTCNT[3:0]: number of input ports connected
0x4: four input ports
CSTF CoreSight device identity register (CSTF_TYPEID)
Address offset: 0xFCC
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. | DEVTYPEID[7:0] | |||||||
| r | r | r | r | r | r | r | r | ||||||||

Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 DEVTYPEID[7:0]: device type identifier
0x12: trace funnel
CSTF CoreSight peripheral identity register 0 (CSTF_PIDR0)
Address offset: 0xFE0
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. | 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]
0x08: CSTF part number
CSTF CoreSight peripheral identity register 1 (CSTF_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: CSTF part number
CSTF CoreSight peripheral identity register 2 (CSTF_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
CSTF CoreSight peripheral identity register 3 (CSTF_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
CSTF CoreSight peripheral identity register 4 (CSTF_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
CSTF CoreSight component identity register 0 (CSTF_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
CSTF CoreSight peripheral identity register 1 (CSTF_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
CSTF CoreSight component identity register 2 (CSTF_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
CSTF CoreSight component identity register 3 (CSTF_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 funnel registers map
Table 548. CSTF 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 | CSTF_CTRL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MIN_HOLD_TIME[3:0] | Res. | Res. | Res. | Res. | ENS3 | ENS2 | ENS1 | ENS0 | |||
| Reset value | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0x004 | CSTF_PRIORITY | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRIPORT3[2:0] | PRIPORT2[2:0] | PRIPORT1[2:0] | PRIPORT0[2:0] | ||||||||
| Reset value | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |||||||||||||||||||||

Table 548. CSTF 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFA0 | CSTF_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. | CLAIMSET[3:0] | ||||
| Reset value | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||
| 0xFA4 | CSTF_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. | CLAIMCLR[3:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0xFB0 | CSTF_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 | ||
| 0xFB4 | CSTF_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. | LOCKTYPE | LOCKGRANT | LOCKEXIST | ||
| Reset value | 0 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFB8 | CSTF_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 | CSTF_DEVID | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SCHEME[3:0] | PORTCNT[3:0] | |||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 1 | 0 | ||||||||||||||||||||||||||
| 0xFCC | CSTF_TYPEID | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DEVTYPEID[7:0] | |||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 1 | ||||||||||||||||||||||||||
| 0xFD0 | CSTF_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 | CSTF_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 | CSTF_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 | CSTF_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 548. CSTF 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 | CSTF_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 | 1 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFE4 | CSTF_PIDR1 | 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 | CSTF_PIDR2 | 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 | CSTF_PIDR3 | 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 | CSTF_CIDR0 | 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 | CSTF_CIDR1 | 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 | CSTF_CIDR2 | 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 | CSTF_CIDR3 | 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 | |||||||||||||||||||||||||
63.10.5 Embedded trace FIFO (ETF)
The ETF is an 8-kbyte memory which captures trace data from five trace sources, namely the ETM of each CPU core, the ITM of the Cortex®-M4, and the STM. 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 processors.
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, 8 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(s), 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 - either 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 to the appropriate core 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
0x800: 8 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 FTEMPTTY 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-classification
0x3: 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 classification
0x2: 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 549. 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 | 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. | EMPTY | FTEMPY | READY | TRIGD | FULL | |
| Reset value | 1 | 1 | 1 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x010 | ETF_RRD | RRD[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 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 | |||||||||||||||||||||
| 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 | |||||||||||||||||||||
| 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. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TCEN | ||
| Reset value | 0 | ||||||||||||||||||||||||||||||||
Table 549. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 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. | Res. | LBUFLEVEL[11:0] | |||||||||||
| Reset value | 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. | Res. | CBUFLEVEL[11:0] | |||||||||||
| Reset value | 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. | 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. | Res. | FTSTOPPED | FLINPROG | ||||||||||
| Reset value | 1 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x304 | ETF_FFCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DRAINBUF | STPONTRGEV | STOPONFL | Res. | TRGONFL | TRGONTRGEV | TRGONTRGIN | Res. | FLUSHMAN | FONTRGEV | FONFLIN | Res. | Res. | ENI | ENFT |
| Reset value | 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. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PSCOUNT[3:0] | |||||
| Reset value | 0 | 1 | 0 | 1 | 1 | 0 | |||||||||||||||||||||||||||
| 0xFA0 | ETF_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 | 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 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
Table 549. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 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. | SNID[1:0] | SID[1:0] | NSNID[1:0] | NSID[1:0] | ||||
| Reset value | 0 | 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] | CONFGTYP[1:0] | CLKSCHEM | ATBINPORTCNT[4:0] | ||||||
| Reset value | 0 | 1 | 1 | 1 | 0 | 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 | 0 | |||||||||||||||||||||||||
| 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 | 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. | 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. | 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. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 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 | |||||||||||||||||||||||||
Table 549. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |||||||||||||||||||||||||
63.10.6 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 655360: disabled
1: enabled
Bit 3 MULT256 : multiply the trigger counter by 2560: disabled
1: enabled
Bit 2 MULT16 : multiply the trigger counter by 160: disabled
1: enabled
Bit 1 MULT4 : multiply the trigger counter by 40: disabled
1: enabled
Bit 0 MULT2 : multiply the trigger counter by 20: 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 TRIG EVT: 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 |
| LOCKTYPE | LOCKGRANT | LOCKEXIST | |||||||||||||
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |||
| 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 support
Indicates whether Serial Wire Output, UART or NRZ, is supported.
0x0: not supported
Bit 10 SWOMAN: Serial Wire Output, Manchester support
Indicates whether Serial Wire Output, Manchester encoded format, is supported.
0x0: not supported
Bit 9 TCLKDATA: trace clock plus data support
Indicates whether trace clock plus data is supported.
0x0: not supported
Bits 8:6 FIFOSIZE[2:0]: FIFO size in powers of 2
0x2: FIFO size = 4 (16 bytes)
Bit 5 CLKRELAT: ATB clock and TRACECLKIN sync
Indicates 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 multiplexing
0x0: 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 size0x0: register file occupies a single 4 Kbyte region
Bits 3:0 JEP106CON[3:0] : JEP106 continuation code0x4: Arm ® JEDEC codeTPIU 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 550. 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. | 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 | |||||||||||||||||||||||||
| 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. | Res. | TRIGCOUNT[7:0] | ||||||||
| Reset value | 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 | |||||||||||||||||||||||||||
| 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 | 1 | ||||||||||||||||||||||||||
Table 550. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 1 | 0 | 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 | ||||||||||||||||||||||||||||||
| 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] | SID[1:0] | NSNID[1:0] | NSID[1:0] | ||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
Table 550. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFC8 | TPIU_DEVID | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SWOUARTNRZ | 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. | |
| 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. | |
| 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. | |
| 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 | |||||||||||||||||||||||||
| 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 | |||||||||||||||||||||||||
Table 550. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |||||||||||||||||||||||||
63.10.7 Serial wire output (SWO)
The SWO is a CoreSight™ component that formats the trace stream from the Cortex®-M4 processor ITM and outputs it on the single wire TRACESWO output.
Compared to the TPIU, the SWO contains:
- – no formatter
- – no pattern generator
- – an 8-bit ATB input
- – no synchronous trace output (no TRACEDATA or TRACECLK pins)
- – no support for flush
- – no support for triggering
The SWO output supports Manchester encoded and UART NRZ formats.
For more information about the Serial Wire Output CoreSight™ component, refer to the Arm® CoreSight™ Components Technical Reference Manual [4].
Serial wire output registers
SWO current output divisor register (SWO_CODR)
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. | PRESCALER[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 PRESCALER[12:0]: 13-bit counter pre-load value
This register allows to scale the baud rate of the SWO output. The baud rate is the trace clock frequency divided by (PRESCALER - 1).
Note: The baud rate changes instantly; it is recommended to stop the trace source and wait until the port is idle before writing this register.
SWO selected pin protocol register (SWO_SPPR)
Address offset: 0x0F0
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. | Res. | Res. | Res. | Res. | Res. | Res. | PPROT[1:0] | |
| rw | rw | ||||||||||||||
Bits 31:2 Reserved, must be kept at reset value.
Bits 1:0 PPROT[1:0]: pin protocol
0x0: reserved
0x1: Manchester
0x2: NRZ
0x3: reserved
SWO formatter and flush status register (SWO_FFSR)
Address offset: 0x300
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. | FTNONSTOP | TCPRESENT | FTSTOPPED | FLINPROG |
| r | r | r | r |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 FTNONSTOP: no need to stop formatter to change settings
1: formatter can not be stopped
- Bit 2 TCPRESENT: TRACECTL pin presence
0: TRACECTL pin is not present on SWO - Bit 1 FTSTOPPED: formatter stopped
0: formatter stopping is not supported - Bit 0 FLINPROG: flush in progress
0: flushing is not supported
SWO claim tag set register (SWO_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
SWO claim tag clear register (SWO_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
SWO lock access register (SWO_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]: SWO register write access enable
Enables write access to some SWO registers by processor cores (debuggers do not need to unlock the component).
0xC5ACCE55: enable write access
Other values: disable write access
SWO lock status register (SWO_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: SWO_LAR register size
Indicates the size of the SWO_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
SWO authentication status register (SWO_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
SWO device configuration register (SWO_DEVID)
Address offset: 0xFC8
Reset value: 0x0000 0EA0

| 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 support
Indicates whether Serial Wire Output, UART or NRZ, is supported.
0x0: not supported
Bit 10 SWOMAN: Serial Wire Output, Manchester support
Indicates whether Serial Wire Output, Manchester encoded format, is supported.
0x0: not supported
Bit 9 TCLKDATA: trace clock plus data support
Indicates whether trace clock plus data is supported.
0x0: not supported
Bits 8:6 FIFOSIZE[2:0]: FIFO size in powers of 2
0x2: FIFO size = 4 (16 bytes)
Bit 5 CLKRELAT: ATB clock and TRACECLKIN synchronization
Indicates 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 multiplexing
0x0: none
SWO device type identifier register (SWO_DEVTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0011
| 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
SWO CoreSight peripheral identity register 4 (SWO_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 codeSWO CoreSight peripheral identity register 0 (SWO_PIDR0)
Address offset: 0xFE0
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. | 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]0x14: SWO part number
SWO CoreSight peripheral identity register 1 (SWO_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: SWO part number
SWO CoreSight peripheral identity register 2 (SWO_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
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
SWO CoreSight peripheral identity register 3 (SWO_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
SWO CoreSight component identity register 0 (SWO_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
SWO CoreSight peripheral identity register 1 (SWO_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
SWO CoreSight component identity register 2 (SWO_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
SWO CoreSight component identity register 3 (SWO_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
Serial wire output registers map
Table 551. SWO 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 | SWO_SPR | Res | Res | Res | Res | Res | Res | Res | Res | 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 | |||||||||||||||||||||||||||||||||
| 0x004 | SWO_CPR | Res | Res | Res | Res | Res | Res | Res | Res | 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 | |||||||||||||||||||||||||||||||||
| 0x010 | SWO_CODR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | PRESCALER[12:0] | ||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x0F0 | SWO_SPPR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | PPROT[1:0] | |
| Reset value | 0 | 1 | |||||||||||||||||||||||||||||||
| 0x100 | SWO_STMR | Res | Res | Res | Res | Res | Res | Res | Res | 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 | |||||||||||||||||||||||||||||||||
| 0x200 | SWO_STPR | Res | Res | Res | Res | Res | Res | Res | Res | 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 551. SWO 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x300 | SWO_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 | FTNONSTOP | TCPRESENT | FTSTOPPED | FLINPROG | |
| Reset value | 1 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x304 | SWO_FFCR | Res | Res | Res | Res | Res | Res | Res | Res | 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 | ||||||||||||||||||||||||||||||||||
| 0xFA0 | SWO_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 | CLAIMSET[3:0] | |||||
| Reset value | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFA4 | SWO_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 | CLAIMCLR[3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0xFB0 | SWO_LAR | ACCESS_W[31:0] | ||||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0xFB4 | SWO_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 | SWO_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 | Res | Res | NSID[1:0] | NSID[1:0] | NSID[1:0] | NSID[1:0] | ||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0xFC8 | SWO_DEVID | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | MUXNUM[4:0] | |||||
| Reset value | 1 | 1 | 1 | 0 | 0 | |||||||||||||||||||||||||||||
| 0xFCC | SWO_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 | Res | Res | SUBTYPE[3:0] | MAJORTYPE[3:0] | ||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 1 | |||||||||||||||||||||||||||
Table 551. SWO 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFD0 | SWO_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 | SWO_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 | SWO_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 | SWO_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 | SWO_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 | 1 | 0 | 0 | |||||||||||||||||||||||||
| 0xFE4 | SWO_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 | SWO_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 | SWO_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 | SWO_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 | SWO_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 | SWO_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 | SWO_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 | |||||||||||||||||||||||||
63.10.8 System trace macrocell (STM)
The System Trace Macrocell is a CoreSight™ component which allows instrumentation data generated by software to be incorporated in the trace output. The software writes the instrumentation data to the STM via a memory-mapped port on the AXI system interconnect. The data is formatted and time-stamped for output on the ATB trace bus, where it is merged with the trace coming from other sources (ETM, ITM).
Figure 774. System Trace Macrocell

graph LR
subgraph STM [System Trace Macrocell]
direction LR
Arbiter[Arbiter] --> PG[Packet generation]
PG --> FIFO[FIFO]
FIFO --> ATB[ATB]
Registers[Registers]
end
HE[Hardware events] --> Arbiter
AXI[AXI] --> Arbiter
TS[Timestamps] --> Arbiter
APB[APB] --> Registers
Auth[Authentication] --> STM
MSv46866V1[MSv46866V1]
The STM is configured with the following values:
- • DATA_FIFO_DEPTH = 16
- • CHN_FIFO_DEPTH = 8
- • HW_EVOBIF_PRESENT = TRUE
- • AXI_ID_WIDTH = 11
The various AXI masters can generate trace by writing to the extended stimulus ports of the STM via its AXI slave port, which is mapped in a 16-Mbyte window of address space (see memory map). A 256-byte extended stimulus port comprises 16 x 64-bit locations or registers. Writes to different locations generate different types of trace packets, as shown in Table 552. The base address for stimulus port n is the STM base address + n x 256. A master can use any number of the 65536 available stimulus ports mapped in the 16 Mbyte-window.
Table 552. STM extended stimulus port memory map
| Address offset | Name | Description |
|---|---|---|
| 0x00 | G_DMTS | Data, marked with timestamp, guaranteed |
| 0x08 | G_DM | Data, marked, guaranteed |
| 0x10 | G_DTS | Data, with timestamp, guaranteed |
| 0x18 | G_D | Data, guaranteed |
| 0x20-0x58 | - | Reserved |
| Address offset | Name | Description |
|---|---|---|
| 0x60 | G_FLAGTS | Flag with timestamp, guaranteed |
| 0x68 | G_FLAG | Flag, guaranteed |
| 0x70 | G_TRIGTS | Trigger with timestamp, guaranteed |
| 0x78 | G_TRIG | Trigger, guaranteed |
| 0x80 | I_DMTS | Data, marked with timestamp, invariant timing |
| 0x88 | I_DM | Data, marked, invariant timing |
| 0x90 | I_DTS | Data, with timestamp, invariant timing |
| 0x98 | I_D | Data, invariant timing |
| 0xA0 to 0xD8 | - | Reserved |
| 0xE0 | I_FLAGTS | Flag with timestamp, invariant timing |
| 0xE8 | I_FLAG | Flag, invariant timing |
| 0xF0 | I_TRIGTS | Trigger with timestamp, invariant timing |
| 0xF8 | I_TRIG | Trigger, invariant timing |
The trace packets contain the 8-bit identity of the master that triggered them. This identity is decoded from the non-secure master ID (NSAID) carried on the AWUSER wires of the AXI interconnect. The ID also includes the security status of the master at the time.
The ID is mapped as follows:
- • Bit [7] = 0
- • Bit [6] = secure/non-secure state
- • Bit [5:0] = master ID
A list of valid IDs and how they map to the originating master is given in Table 553.
Table 553. STM trace packet ID mapping to AXI masters| Master | Secure access ID | Non-secure access ID |
|---|---|---|
| Cortex®-A7 | 0x00 | 0x40 |
| Cortex®-M4 | 0x02 | 0x42 |
| MDMA | 0x0A | 0x4A |
| DMA1/2 | - | 0x4C |
| DAP | 0x1E | 0x5E |
The STM can also generate trace packets or triggers when certain hardware events are detected. A maximum of 64 events can be traced at any one time. An external multiplexer allows four sets of signals to be mapped onto these events. The mapping is given in Table 554 and Table 555. All events are edge sensitive.
Table 554. Hardware event mapping 0 to 3
| Bank | Event | EXTMUX(7:0) = 0 | EXTMUX(7:0) = 1 | EXTMUX(7:0) = 2 | EXTMUX(7:0) = 3 |
|---|---|---|---|---|---|
| HEBS = 0 | 0 | HWEVENTA↑ | UART4_TX_sreq | WWDG1_EWIT_irq↑ | EXTI6_irq↑ |
| 1 | HWEVENTA↓ | UART5_RX_sreq | PVD_irq↑ | EXTI7_irq↑ | |
| 2 | HWEVENTB↑ | UART5_TX_sreq | TAMP_STAMP_irq↑ | EXTI8_irq↑ | |
| 3 | HWEVENTB↓ | DAC1_sreq | RTC_WKUP_irq↑ | EXTI9_irq↑ | |
| 4 | - | DAC2_sreq | - | GPDMA2_Stream5_irq↑ | |
| 5 | - | TIM6_UP_sreq | RCC_irq↑ | GPDMA2_Stream6_irq↑ | |
| 6 | - | TIM7_UP_sreq | EXTI0_irq↑ | GPDMA2_Stream7_irq↑ | |
| 7 | - | USART6_RX_sreq | EXTI1_irq↑ | USART6_irq↑ | |
| 8 | - | USART6_TX_sreq | EXTI2_irq↑ | I2C3_EVT_irq↑ | |
| 9 | ADC1_sreq | I2C3RX_sreq | EXTI3_irq↑ | I2C3_ERR_irq↑ | |
| 10 | ADC2_sreq | I2C3TX_sreq | EXTI4_irq↑ | USB_OHCI_IT_irq↑ | |
| 11 | TIM1_CH1_sreq | DCMI_sreq | GPDMA1_Stream0_irq↑ | USB_EHCI_IT_irq↑ | |
| 12 | TIM1_CH2_sreq | CRYP2_IN_sreq | GPDMA1_Stream1_irq↑ | EXTI12_irq↑ | |
| 13 | TIM1_CH3_sreq | CRYP2_OUT_sreq | GPDMA1_Stream2_irq↑ | EXTI13_irq↑ | |
| 14 | TIM1_CH4_sreq | HASH2_IN_sreq | GPDMA1_Stream3_irq↑ | DCMI_irq↑ | |
| 15 | TIM1_UP_sreq | UART7_RX_sreq | GPDMA1_Stream4_irq↑ | CRYP1_irq↑ | |
| 16 | TIM1_TRIG_sreq | UART7_TX_sreq | GPDMA1_Stream5_irq↑ | HASH1_RNG1_irq↑ | |
| 17 | TIM1_COM_sreq | UART8_RX_sreq | GPDMA1_Stream6_irq↑ | FPU_irq↑ | |
| 18 | TIM2_CH1_sreq | UART8_TX_sreq | ADC1_irq↑ | UART7_irq↑ | |
| 19 | TIM2_CH2_sreq | SPI4_RX_sreq | - | UART8_irq↑ | |
| 20 | TIM2_CH3_sreq | SPI4_TX_sreq | - | SPI4_irq↑ | |
| 21 | TIM2_CH4_sreq | SPI5_RX_sreq | - | SPI5_irq↑ | |
| 22 | TIM2_UP_sreq | SPI5_TX_sreq | - | SPI6_irq↑ | |
| 23 | TIM3_CH1_sreq | SAI1_A_sreq | EXTI5_irq↑ | SAI1_irq↑ | |
| 24 | TIM3_CH2_sreq | SAI1_B_sreq | TIM1_BRK_irq↑ | LTDC_irq↑ | |
| 25 | TIM3_CH3_sreq | SAI2_A_sreq | TIM1_UP_irq↑ | LTDC_ER_irq↑ | |
| 26 | TIM3_CH4_sreq | SAI2_B_sreq | TIM1_TRG_COM_irq↑ | ADC2_irq↑ | |
| 27 | TIM3_UP_sreq | DFSDM5_sreq | TIM1_CC_irq↑ | SAI2_irq↑ | |
| 28 | TIM3_TRIG_sreq | DFSDM6_sreq | TIM2_irq↑ | QuadSPI_irq↑ | |
| 29 | TIM4_CH1_sreq | SPDIFRX_DT_sreq | TIM3_irq↑ | LPTIMER1_IT_irq↑ | |
| 30 | TIM4_CH2_sreq | SPDIFRX_CS_sreq | TIM4_irq↑ | CEC_irq↑ | |
| 31 | TIM4_CH3_sreq | - | I2C1_EVT_irq↑ | I2C4_EVT_irq↑ |
Table 554. Hardware event mapping 0 to 3 (continued)
| Bank | Event | EXTMUX(7:0) = 0 | EXTMUX(7:0) = 1 | EXTMUX(7:0) = 2 | EXTMUX(7:0) = 3 |
|---|---|---|---|---|---|
| HEBS = 1 | 0 | TIM4_UP_sreq | - | I2C1_ERR_irq↑ | I2C4_ERR_irq↑ |
| 1 | I2C1_RX_sreq | - | I2C2_EVT_irq↑ | SPDIFRX_irq↑ | |
| 2 | I2C1_TX_sreq | - | I2C2_ERR_irq↑ | OTG_IT_irq↑ | |
| 3 | I2C2_RX_sreq | SAI4_A_sreq | SPI1_irq↑ | - | |
| 4 | I2C2_TX_sreq | SAI4_B_sreq | SPI2_irq↑ | IPCC_RX0_IT_irq↑ | |
| 5 | SPI1_RX_sreq | DFSDM1_sreq | USART1_irq↑ | IPCC_TX0_IT_irq↑ | |
| 6 | SPI1_TX_sreq | DFSDM2_sreq | USART2_irq↑ | DMA_MUX_OVR_REQ_IT_irq↑ | |
| 7 | SPI2_RX_sreq | DFSDM3_sreq | USART3_irq↑ | IPCC_RX1_IT_irq↑ | |
| 8 | SPI2_TX_sreq | DFSDM4_sreq | EXTI10_irq↑ | IPCC_TX1_IT_irq↑ | |
| 9 | - | TIM15_CH1_sreq | RTC_Alarm_irq↑ | CRYP2_irq↑ | |
| 10 | - | TIM15_UP_sreq | EXTI11_irq↑ | HASH2_RNG2_irq↑ | |
| 11 | USART2_RX_sreq | TIM15_TRIG_sreq | TIM8_BRK_TIM12_irq↑ | I2C5_EVT_irq↑ | |
| 12 | USART2_TX_sreq | TIM15_COM_sreq | TIM8_UP_TIM13_irq↑ | I2C5ER_irq↑ | |
| 13 | USART3_RX_sreq | TIM16_CH1_sreq | TIM8_TRG_COM_TIM14_irq↑ | - | |
| 14 | USART3_TX_sreq | TIM16_UP_sreq | TIM8_CC_irq↑ | DFSDM1_IT_irq↑ | |
| 15 | TIM8_CH1_sreq | TIM17_CH1_sreq | GPDMA1_Stream7_irq↑ | DFSDM2_IT_irq↑ | |
| 16 | TIM8_CH2_sreq | TIM17_UP_sreq | FMC_irq↑ | DFSDM3_IT_irq↑ | |
| 17 | TIM8_CH3_sreq | SAI3_A_sreq | SDMMC1_irq↑ | DFSDM4_IT_irq↑ | |
| 18 | TIM8_CH4_sreq | SAI3_B_sreq | TIM5_irq↑ | SAI3_IT_irq↑ | |
| 19 | TIM8_UP_sreq | I2C5_RX_sreq | SPI3_irq↑ | - | |
| 20 | TIM8_TRIG_sreq | I2C5_TX_sreq | UART4_irq↑ | TIM15_IT_irq↑ | |
| 21 | TIM8_COM_sreq | USART1_RX_sreq | UART5_irq↑ | TIM16_IT_irq↑ | |
| 22 | USART1_TX_sreq | TIM6_DAC_irq↑ | TIM17_IT_irq↑ | ||
| 23 | TIM5_CH1_sreq | SPI6_RX_sreq | TIM7_irq↑ | MDIO_ASYNC_IT_irq↑ | |
| 24 | TIM5_CH2_sreq | SPI6_TX_sreq | GPDMA2_Stream0_irq↑ | MDIO_IT_irq↑ | |
| 25 | TIM5_CH3_sreq | I2C4_RX_sreq | GPDMA2_Stream1_irq↑ | EXTI14_irq↑ | |
| 26 | TIM5_CH4_sreq | I2C4_TX_sreq | GPDMA2_Stream2_irq↑ | MDMA_IT_irq↑ | |
| 27 | TIM5_UP_sreq | I2C6_RX_sreq | GPDMA2_Stream3_irq↑ | - | |
| 28 | TIM5_TRIG_sreq | I2C6_TX_sreq | GPDMA2_Stream4_irq↑ | SDMMC2_irq↑ | |
| 29 | SPI3_RX_sreq | - | ETH1_irq↑ | HSEM_IT1_irq↑ | |
| 30 | SPI3_TX_sreq | - | ETH1_WKUP_irq↑ | HSEM_IT2_irq↑ | |
| 31 | UART4_RX_sreq | - | - | EXTI15_irq↑ | |
| Key: sreq = DMA request; irq = interrupt request; ↑ = active going; ↓ = inactive going | |||||
Table 555. Hardware event mapping 4 to 7
| Bank | Event | EXTMUX(7:0) = 4 | EXTMUX(7:0) = 5 | EXTMUX(7:0) = 6 | EXTMUX(7:0) = 7 |
|---|---|---|---|---|---|
| HEBS = 0 | 0 | nCTI1_irq↑ | WWDG1_EWIT_irq↓ | EXTI6_irq↓ | nCTI1_irq↓ |
| 1 | nCTI2_irq↑ | PVD_irq↓ | EXTI7_irq↓ | nCTI2_irq↓ | |
| 2 | TIM13_irq↑ | TAMP_STAMP_irq↓ | EXTI8_irq↓ | TIM13_irq↓ | |
| 3 | TIM14_irq↑ | RTC_WKUP_irq↓ | EXTI9_irq↓ | TIM14_irq↓ | |
| 4 | DAC_irq↑ | TZC_IT_irq↓ | GPDMA2_Stream5_irq↓ | DAC_irq↓ | |
| 5 | RNG1_irq↑ | RCC_irq↓ | GPDMA2_Stream6_irq↓ | RNG1_irq↓ | |
| 6 | RNG2_irq↑ | EXTI0_irq↓ | GPDMA2_Stream7_irq↓ | RNG2_irq↓ | |
| 7 | I2C6_EVT_irq↑ | EXTI1_irq↓ | USART6_irq↓ | I2C6_EVT_irq↓ | |
| 8 | I2C6_ERR_irq↑ | EXTI2_irq↓ | I2C3_EVT_irq↓ | I2C6_ERR_irq↓ | |
| 9 | SDMMC3_irq↑ | EXTI3_irq↓ | I2C3_ERR_irq↓ | SDMMC3_irq↓ | |
| 10 | LPTIMER2_IT_irq↑ | EXTI4_irq↓ | USB_OHCI_IT_irq↓ | LPTIMER2_IT_irq↓ | |
| 11 | LPTIMER3_IT_irq↑ | GPDMA1_Stream0_irq↓ | USB_EHCI_IT_irq↓ | LPTIMER3_IT_irq↓ | |
| 12 | LPTIMER4_IT_irq↑ | GPDMA1_Stream1_irq↓ | EXTI12_irq↓ | LPTIMER4_IT_irq↓ | |
| 13 | LPTIMER5_IT_irq↑ | GPDMA1_Stream2_irq↓ | EXTI13_irq↓ | LPTIMER5_IT_irq↓ | |
| 14 | ETH1_LPI_irq ↑ | GPDMA1_Stream3_irq↓ | DCMI_irq↓ | ETH1_LPI_irq ↓ | |
| 15 | - | GPDMA1_Stream4_irq↓ | CRYP1_irq↓ | - | |
| 16 | MPU_SEV_irq↑ | GPDMA1_Stream5_irq↓ | HASH1_RNG1_irq↓ | MPU_SEV_irq↓ | |
| 17 | - | GPDMA1_Stream6_irq↓ | FPU_irq↓ | - | |
| 18 | SAI4_IT_irq↑ | ADC1_irq↓ | UART7_irq↓ | SAI4_IT_irq↓ | |
| 19 | DTS_IT_irq↑ | - | UART8_irq↓ | DTS_IT_irq↓ | |
| 20 | - | - | SPI4_irq↓ | - | |
| 21 | WAKEUP_PIN_IT_irq↑ | - | SPI5_irq↓ | WAKEUP_PIN_IT_irq↓ | |
| 22 | IWDG1_IT_irq ↑ | - | SPI6_irq↓ | IWDG1_IT_irq ↓ | |
| 23 | IWDG2_IT_irq ↑ | EXTI5_irq↓ | SAI1_irq↓ | IWDG2_IT_irq ↓ | |
| 24 | - | TIM1_BRK_irq↓ | LTDC_irq↓ | - | |
| 25 | - | TIM1_UP_irq↓ | LTDC_ER_irq↓ | - | |
| 26 | - | TIM1_TRG_COM_irq↓ | ADC2_irq↓ | - | |
| 27 | - | TIM1_CC_irq↓ | SAI2_irq↓ | - | |
| 28 | - | TIM2_irq↓ | QuadSPI_irq↓ | - | |
| 29 | - | TIM3_irq↓ | LPTIMER1_IT_irq↓ | - | |
| 30 | - | TIM4_irq↓ | CEC_irq↓ | - | |
| 31 | - | I2C1_EVT_irq↓ | I2C4_EVT_irq↓ | - |
Table 555. Hardware event mapping 4 to 7 (continued)
| Bank | Event | EXTMUX(7:0) = 4 | EXTMUX(7:0) = 5 | EXTMUX(7:0) = 6 | EXTMUX(7:0) = 7 |
|---|---|---|---|---|---|
| HEBS = 1 | 0 | - | I2C1_ERR_irq↓ | I2C4_ERR_irq↓ | - |
| 1 | - | I2C2_EVT_irq↓ | SPDIFRX_irq↓ | - | |
| 2 | - | I2C2_ERR_irq↓ | OTG_IT_irq↓ | - | |
| 3 | - | SPI1_irq↓ | - | - | |
| 4 | - | SPI2_irq↓ | IPCC_RX0_IT_irq↓ | - | |
| 5 | - | USART1_irq↓ | IPCC_TX0_IT_irq↓ | - | |
| 6 | - | USART2_irq↓ | DMA_MUX_OVR_REQ_IT_irq↓ | - | |
| 7 | - | USART3_irq↓ | IPCC_RX1_IT_irq↓ | - | |
| 8 | - | EXTI10_irq↓ | IPCC_TX1_IT_irq↓ | - | |
| 9 | - | RTC_Alarm_irq↓ | CRYP2_irq↓ | - | |
| 10 | - | EXTI11_irq↓ | HASH2_RNG2_irq↓ | - | |
| 11 | - | TIM8_BRK_TIM12_irq↓ | I2C5_EVT_irq↓ | - | |
| 12 | - | TIM8_UP_TIM13_irq↓ | I2C5ER_irq↓ | - | |
| 13 | - | TIM8_TRG_COM_TIM14_irq↓ | - | - | |
| 14 | - | TIM8_CC_irq↓ | DFSDM1_IT_irq↓ | - | |
| 15 | - | GPDMA1_Stream7_irq↓ | DFSDM2_IT_irq↓ | - | |
| 16 | - | FMC_irq↓ | DFSDM3_IT_irq↓ | - | |
| 17 | - | SDMMC1_irq↓ | DFSDM4_IT_irq↓ | - | |
| 18 | - | TIM5_irq↓ | SAI3_IT_irq↓ | - | |
| 19 | - | SPI3_irq↓ | - | - | |
| 20 | - | UART4_irq↓ | TIM15_IT_irq↓ | - | |
| 21 | - | UART5_irq↓ | TIM16_IT_irq↓ | - | |
| 22 | - | TIM6_DAC_irq↓ | TIM17_IT_irq↓ | - | |
| 23 | - | TIM7_irq↓ | MDIO_ASYNC_IT_irq↓ | - | |
| 24 | - | GPDMA2_Stream0_irq↓ | MDIO_IT_irq↓ | - | |
| 25 | - | GPDMA2_Stream1_irq↓ | EXTI14_irq↓ | - | |
| 26 | - | GPDMA2_Stream2_irq↓ | MDMA_IT_irq↓ | - | |
| 27 | - | GPDMA2_Stream3_irq↓ | - | - | |
| 28 | - | GPDMA2_Stream4_irq↓ | SDMMC2_irq↓ | - | |
| 29 | - | ETH1_irq↓ | HSEM_IT1_irq↓ | - | |
| 30 | - | ETH1_WKUP_irq↓ | HSEM_IT2_irq↓ | - | |
| 31 | - | - | EXTI15_irq↓ | - |
Key: sreq = DMA request; irq = interrupt request; ↑ = active going; ↓ = inactive going
For more information on the System Trace Macrocell, refer to the Arm® CoreSight™ STM-500 Technical Reference Manual [8].
STM registers
The STM is configured and controlled by registers mapped on the debug APB, accessed by the debugger at STMBaseAddress = 0xE00A 0000, and by software at STMBaseAddress = 0x500A 0000.
System trace macrocell registers
STM hardware event enable register (STM_HEER)
Address offset: 0xD00
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| HEE[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 |
| HEE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 HEE[31:0]: hardware event enable
HEE is used to enable hardware events to generate trace. The register defines one bit per hardware event.
0: hardware event disabled
1: hardware event enabled
STM hardware event trigger enable register (STM_HETER)
Address offset: 0xD20
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| HETE[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 |
| HETE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 HETE[31:0]: trigger generation enable
HETE is a bit mask used to enable trigger generation on hardware events. The register defines one bit per hardware event.
0: disabled
1: enabled
STM hardware event bank select register (STM_HEBSR)
Address offset: 0xD60
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. | HEBS |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 HEBS: hardware event bank selector
HEBS is used to select the bank of 32 hardware events to control, see Table 554: Hardware event mapping 0 to 3).
0: bank 0
1: bank 1
STM hardware event main control register (STM_HEMCR)
Address offset: 0xD64
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. | ATBTRIGEN | TRIGCLEAR | TRIGSTATUS | TRIGCTL | Res. | ERRDETECT | COMPEN | EN |
| rw | rw | r | rw | r | rw | rw |
Bits 31:8 Reserved, must be kept at reset value.
Bit 7 ATBTRIGEN: ATB trace trigger enable
When set, this bit enables the STM to use the ATID value of 0x7D when a trigger event on match using STMHETER occurs.
0: do not output ATB trace triggers
1: use ATB trace triggers
Bit 6 TRIGCLEAR: clear trigger status
When TRIGCTL indicates single-shot mode, this bit is used to clear TRIGSTATUS. Writing a 1 to this bit when in multi-shot mode is unpredictable.
0: no effect
1: clears TRIGSTATUS if TRIGSTATUS is 1
Bit 5 TRIGSTATUS: trigger status
When TRIGCTL indicates single-shot mode, this indicates whether the single trigger has occurred.
0: trigger has not occurred
1: trigger has occurred
Bit 4 TRIGCTL: trigger control
0: triggers are multi-shot
1: triggers are single-shot
Bit 3 Reserved, must be kept at reset value.
Bit 2 ERRDETECT: error detection
Enable error detection on the hardware event tracing.
0: error detection disabled
1: error detection enabled.
Bit 1 COMPEN: compression enable
Enable leading zero suppression of hardware event data values in the trace stream.
0: compression disabled
1: compression enabled.
Bit 0 EN: enable hardware event tracing
0: disabled
1: enabled
STM hardware event external multiplex control register (STM_HEEXTMUXR)
Address offset: 0xD68
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. | EXTMUX[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 EXTMUX[7:0]: signals for events selector
Selects the signals to be mapped onto the 64 hardware events that can be traced by the STM (refer to Table 554 and Table 555).
STM hardware event master number register (STM_HEMASTR)
Address offset: 0xDF4
Reset value: 0x0000 0080 (0x0000 FFFF)
| 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 |
| MASTER[15: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:0 MASTER[15:0]: STPv2 master number
Indicates the STPv2 master number of hardware event trace. This number is the master number presented in STPv2.
0x80: hardware events are associated with master 0x80
Others: reserved
STM hardware event features 1 register (STM_HEFEAT1R)
Address offset: 0xDF8
Reset value: 0x3020 0035
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | HEEXTMUXSIZE[2:0] | Res. | Res. | Res. | Res. | NUMHE[8:1] | |||||||||
| 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 |
| NUMHE[0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HECOMP[1:0] | HEMASTR | HEERR | Res. | HETER | |
| r | r | r | r | r | r | ||||||||||
Bit 31 Reserved, must be kept at reset value.
Bits 30:28 HEEXTMUXSIZE[2:0]: EXTMUX bit field size
Indicates the size of the EXTMUX bit field of register STM_HEEXTMUXR.
0x3: 8-bit wide (up to 256 multiplexers)
Others: reserved
Bits 27:24 Reserved, must be kept at reset value.
Bits 23:15 NUMHE[8:0]: number of hardware events supported by the STM
0x40: 64 hardware events
Bits 14:6 Reserved, must be kept at reset value.
Bits 5:4 HECOMP[1:0]: data compression on hardware event tracing support
0x3: data compression support is programmable. The COMPEN bit of register STM_HEMCR is implemented.
Bit 3 HEMASTR: STMHEMASTR support
0: STMHEMASTR is read-only
Bit 2 HEERR: hardware event error detection support.
1: hardware event error detection implemented. The ERRDETECT bit of register STM_HEMCR is implemented.
Bit 1 Reserved, must be kept at reset value.
Bit 0 HETER: STM_HETER support
1: STM_HETER implemented.
STM hardware event features ID register (STM_HEIDR)
Address offset: 0xDFC
Reset value: 0x0000 0011
| 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. | VENDSPEC[3:0] | CLASSREV[3:0] | CLASS[3: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:8 VENDSPEC[3:0] : vendor specificIdentifies any vendor specific modifications or mappings.
0: vendor specific information
Others: reserved
Bits 7:4 CLASSREV[3:0] : programmer model revisionIdentifies the revision of the programmer model.
1: revision
Others: reserved
Bits 3:0 CLASS[3:0] : programmer modelIdentifies the programmers model.
1: hardware event control
Others: reserved
STM stimulus port enable register (STM_SPER)
Address offset: 0xE00
Reset value: 0x0000 0000
This read/write only register is used to enable the stimulus registers to generate trace. The register defines one bit per stimulus register. Writing 1 enables the appropriate stimulus port, writing 0 disables the appropriate stimulus port. This register is used in conjunction with the Software Enable Bank Select Register.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SPE[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 |
| SPE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
This register is used to enable the stimulus registers to generate trace. It defines one bit per stimulus register. Writing 1 enables the appropriate stimulus port, writing 0 disables the appropriate stimulus port. This register is used in conjunction with the Software Enable Bank Select Register.
0: stimulus port disabled
1: stimulus port enabled
STM stimulus port trigger enable register (STM_SPTER)
Address offset: 0xE20
Reset value: 0x0000 0000
This register is used to enable trigger generation on writes to enabled stimulus port registers.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SPTE[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 |
| SPTE[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 SPTE[31:0]: trigger generation trigger generation bit mask
This register is a bit mask used to enable trigger generation on writes to enabled stimulus port registers. It defines one bit per stimulus port register.
0: disabled
1: enabled
STM stimulus port select configuration register (STM_SPSCR)
Address offset: 0xE60
Reset value: 0x0000 0000
This register allows a debugger to program which stimulus ports the STM_SPER and STM_SPTER registers apply to.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PORTSEL[11:0] | Res. | Res. | Res. | Res. | |||||||||||
| 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 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PORTCTL[1:0] | |
| rw | rw | ||||||||||||||
Bits 31:20 PORTSEL[11:0]: stimulus port selector
Defines which stimulus ports the STM_SPTER and/or STM_SPER registers apply to.
Bits 19:2 Reserved, must be kept at reset value.
Bits 1:0 PORTCTL[1:0]: port selection control mode
Defines how the port selection is applied.
0x0: port selection not used
0x1: port selection applies only to the STM_SPTER register
0x2: reserved
0x3: port selection applies to both the STM_SPER and STM_SPTER
STM stimulus port master select configuration register (STM_SPMSCR)
Address offset: 0xE64
Reset value: 0x0000 0000
This register allows a debugger to program which masters the STM_SPSCR register applies to.
| 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. | MASTSEL[7:1] | ||||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MASTSEL[0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MASTCTL |
| rw | rw | ||||||||||||||
Bits 31:23 Reserved, must be kept at reset value.
Bits 22:15 MASTSEL[7:0]:master select
This field defines which master the STM_SPSCR register applies to.
Bits 14:1 Reserved, must be kept at reset value.
Bit 0 MASTCTL: master control mode
Defines how the master is applied.
0: master selection not used
1: port selection applies to the STM_SPSCR register
STM stimulus port override control register (STM_SPOVERRIDE)
Address offset: 0xE68
Reset value: 0x0000 0000
This register allows a debugger to override various features of the STM.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PORTSEL[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 |
| PORTSEL[0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OVERTS | OVERTL[1:0] | |
| rw | rw | rw | rw | ||||||||||||
Bits 31:15 PORTSEL[16:0]: port override select
Defines which stimulus ports the override controls apply to.
Bits 14:3 Reserved, must be kept at reset value.
Bit 2 OVERTS: override timestamp request
This override requests all stimulus port writes that cause trace to be traced with a timestamp (when possible). As with normal operation, this does not ensure that all packets are generated with timestamps. This field is independent from OVERCTL and PORTSEL.
0: override not enabled
1: override enabled
Bits 1:0 OVERCTL[1:0]: override control mode
Defines how port selection is applied.
0x0: override controls disabled
0x1: ports selected by PORTSEL always behave as guaranteed transactions
0x2: ports selected by PORTSEL always behave as invariant timing transactions
0x3: reserved
STM stimulus port master override control register (STM_SPMOVERRIDE)
Address offset: 0xE6C
Reset value: 0x0000 0000
This register allows a debugger to select which masters the STM_SPOVERRIDERR applies to.
| 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. | MASTSEL[7:1] | ||||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| MASTSEL[0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MASTCTL |
| rw | rw | ||||||||||||||
Bits 31:23 Reserved, must be kept at reset value.
Bits 22:15 MASTSEL[7:0]: master port override selection
This field defines which master ports the override controls apply to. The size of this field is defined by the number of implemented masters.
Bits 14:1 Reserved, must be kept at reset value.
Bit 0 MASTCTL: master selection control mode
Defines how the master selection is applied.
0: override controls disabled. STM_SPOVERRIDERR applies equally to all masters.
1: master selection enabled. STM_SPOVERRIDERR applies to the masters selected by MASTSEL.
STM stimulus port trigger control and status register (STM_SPTRIGCSR)
Address offset: 0xE70
Reset value: 0x0000 0000
This register is used to control the STM triggers induced by STM_SPTER.
| 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. | ATBTRIGEN_DIR | ATBTRIGEN_TE | TRIGCLEAR | TRIGSTATUS | TRIGCTL |
| rw | rw | w | r | rw |
Bits 31:5 Reserved, must be kept at reset value.
Bit 4 ATBTRIGEN_DIR: ATB trace on write to TRIG
When set, this bit enables the STM to use the ATID value of 0x7D when a trigger event on writes to TRIG location occurs.
- 0: does not output ATB trace triggers on write to TRIG location
- 1: outputs ATB trace trigger for trigger on write to TRIG location
Bit 3 ATBTRIGEN_TE: ATB trace trigger output
When set, this bit enables the STM to use the ATID value of 0x7D when a trigger event on match using STM_SPTER occurs.
- 0: does not output ATB trace trigger for trigger on match using STM_SPTER
- 1: outputs ATB trace trigger for trigger on match using STM_SPTER
Bit 2 TRIGCLEAR: trigger status clear
When bit TRIGCTL indicates single-shot mode, TRIGCLEAR is used to clear TRIGSTATUS. Writing a 1 to this bit when in multi-shot mode is leads to unpredictable behavior.
- 0: no effect
- 1: clears TRIGSTATUS if TRIGSTATUS is 1
Bit 1 TRIGSTATUS: trigger status
When bit TRIGCTL indicates single-shot mode, TRIGSTATUS indicates whether the single trigger has occurred.
- 0: trigger has not occurred
- 1: trigger has occurred
Bit 0 TRIGCTL: trigger control
- 0: triggers are multi-shot
- 1: triggers are single-shot
STM trace control and status register (STM_TCSR)
Address offset: 0xE80
Reset value: 0x0000 0004
Controls STM settings.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BUSY | TRACEID[6:0] | ||||||
| r | rw | rw | 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. | COMPEN | Res. | Res. | SYNCEN | TSEN | EN |
| rw | r | rw | rw | ||||||||||||
Bits 31:24 Reserved, must be kept at reset value.
Bit 23 BUSY: STM busy
Indicates if the STM is busy, for example because STM trace FIFO is not empty.
0: STM is not busy
1: STM is busy.
Bits 22:16 TRACEID[6:0]: ATB Trace ID
Bits 15:6 Reserved, must be kept at reset value.
Bit 5 COMPEN: compression enable for stimulus ports
0: compression disabled, data transfers are transmitted at the size of the transaction
1: compression enabled, data transfers are compressed to save bandwidth
Bits 4:3 Reserved, must be kept at reset value.
Bit 2 SYNCEN: STM_SYNCR implementation
STM_SYNCR is implemented; this value is RAO.
1: STM_SYNCR implemented
Bit 1 TSEN: timestamp requests enable
This bit controls if timestamp requests are ignored or taken into account.
0: timestamping disabled. Requests for timestamp generation are ignored, and stimulus port writes selecting timestamping are treated as if it were not selected.
1: timestamping enabled. If stimulus writes select timestamping, a timestamp is output according to STPv2.
Bit 0 EN: global STM enable
0: STM disabled
1: STM enabled
STM timestamp stimulus register (STM_TSSTIMR)
Address offset: 0xE84
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. | FORCETS |
| w |

Bits 31:1 Reserved, must be kept at reset value.
Bit 0 FORCETS: force timestamp stimulus
A write to register STM_TSSTIMR with bit FORCETS as 1 requests the next stimulus port write which causes trace to be upgraded to have a timestamp. Writes with this bit as 0 are ignored.
1: force timestamp stimulus
STM timestamp frequency register (STM_TSFREQR)
Address offset: 0xE8C
Reset value: 0x0000 0000
This register is used to indicate the frequency of the timestamp counter. The unit of measurement is increments per second. When the STPv2 protocol is used, this register contains the value output in the FREQ and FREQ_TS packets. The timestamp frequency is output in the STPv2 protocol at every synchronization point when bit TSEN STM_TCSR is 1.
| 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]: timestamp frequency
Indicates the frequency of the timestamp counter in Hz.
STM synchronization control register (STM_SYNCR)
Address offset: 0xE90
Reset value: 0x0000 0000
This register controls the interval between synchronization packets as a function of the number of bytes of trace generated. This register only provides a hint of the desired synchronization frequency since implementations are permitted to be inaccurate. Writing a value of 0x0000 0000 to this register disables the synchronization counter however any other implementation defined synchronization mechanism continues to operate independently (refer to register STM auxiliary control register (STM_AUXCR)).
| 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. | MODE | COUNT[8:0] | Res. | Res. | Res. | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||||
Bits 31:13 Reserved, must be kept at reset value.
Bit 12 MODE: mode control
0: COUNT[8:0] defines a value N. Synchronization period is 8 x N bytes.
1: COUNT[8:4] defines a value N. Synchronization period is 2N bytes. N must be in the range of 0d12 to 0d27 inclusive; other values lead to unpredictable results.
Bits 11:3 COUNT[8:0]: number of bytes between synchronization packets
Indicates the counter value for the number of bytes between synchronization packets. Reads return the value of this register.
Bits 2:0 Reserved, must be kept at reset value.
STM auxiliary control register (STM_AUXCR)
Address offset: 0xE94
Reset value: 0x0000 0000
This register is used for implementation defined STM controls.
| 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. | QHWEVOVERRIDE | Res. | Res. | Res. | Res. | PRIORINVDIS | ASYNCPPE | FIFOAF |
| rw | rw | rw | rw |
Bits 31:8 Reserved, must be kept at reset value.
Bit 7 QHWEVOVERRIDE: override control for the Q-Channels
0: no override. Q-Channel is able to accept a quiescence request when hardware event tracing is enabled.
1: override. Q-Channel denies a quiescence request when hardware event tracing is enabled.
Bits 6:3 Reserved, must be kept at reset value.
Bit 2 PRIORINVDIS: AXI vs. HW flush arbitration
Controls arbitration between AXI and HW during flush.
0: priority inversion. When AXI flush is finished, HW gets priority until HW flush is done.
1: priority inversion disabled. AXI always has priority over HW.
Bit 1 ASYNCPPE: ASYNC priority
0: ASYNC priority is always lower than trace
1: ASYNC priority increases on second synchronization request
Bit 0 FIFOAF: auto-flush
0: auto-flush disabled
1: auto-flush enabled
STM features 1 register (STM_FEAT1R)
Address offset: 0xEA0
Reset value: 0x0065 87D1
This register indicates the features of the STM in conjunction with registers STM_FEAT2R and STM_FEAT3R.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SWOEN[1:0] | SYNCEN[1:0] | HWTEN[1:0] | TSPRESCALE[1:0] | ||||
| r | r | r | r | r | r | r | r | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TRIGCTL[1:0] | TRACEBUS[3:0] | SYNC[1:0] | FORCETS | TSFREQ | TS[1:0] | PROT[3:0] | |||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:24 Reserved, must be kept at reset value.
Bits 23:22 SWOEN[1:0]: SWOEN support
Support of bit SWOEN of register STM_TCSR.
0x1: bit SWOEN of register STM_TCSR is not implemented
Bits 21:20 SYNCEN[1:0]: SYNCEN support
Support of bit SYNCEN of register STM_TCSR.
0x2: bit SYNCEN of register STM_TCSR is implemented but always reads as 1
Bits 19:18 HWTEN[1:0]: HWTEN support
Support of bit HWTEN of register STM_TCSR.
0x1: bit HWTEN of register STM_TCSR is not implemented
Bits 17:16 TSPRESCALE[1:0]: timestamp prescale support
0x1: timestamp prescale not implemented
Bits 15:14 TRIGCTL[1:0]: trigger control support
0x2: multi-shot and single-shot triggers supported. STM_TRIGCSR is implemented.
Bits 13:10 TRACEBUS[3:0]: trace bus support
0x1: CoreSight™ ATB plus ATB trigger support implemented. Field TRACEID of register STM_TCSR, and bits ATBTRIGEN_DIR and ATBTRIGEN_TE of register STM_SPTRIGCSR are implemented.
Bits 9:8 SYNC[1:0]: STM_SYNC support
0x3: STM_SYNC implemented with MODE control
Bit 7 FORCETS: STM_TSSTIMR support
1: bit FORCETS of register STM_TSSTIMR is implemented
Bit 6 TSFREQ: Timestamp frequency indication configuration
1: STM_TSFREQR is read-write
Bits 5:4 TS[1:0]: Timestamp support
0x1: absolute timestamps implemented
Bits 3:0 PROT[3:0]: Protocol
0x1: STPv2 protocol
STM features 2 register (STM_FEAT2R)
Address offset: 0xEA4
Reset value: 0x0001 14F2
This register indicates the features of the STM in conjunction with registers STM_FEAT1R and STM_FEAT3R.
| 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. | SPTYPE[1:0] | |
| r | r | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DSIZE[3:0] | Res. | SPTRTYPE[1:0] | PRIVMASK[1:0] | SPOVERRIDE | SPCOMP[1:0] | Res. | SPER | SPTER[1:0] | |||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | ||
Bits 31:18 Reserved, must be kept at reset value.
Bits 17:16 SPTYPE[1:0]: stimulus port type support
0x1: only extended stimulus ports implemented
Bits 15:12 DSIZE[3:0]: fundamental data size
0x1: 64-bit data
Bit 11 Reserved, must be kept at reset value.
Bits 10:9 SPTRTYPE[1:0]: stimulus port transaction type support
0x2: both invariant timing and guaranteed transactions are supported
Bits 8:7 PRIVMASK[1:0]: STM_PRIVMASKR support
0x1: STM_PRIVMASKR is not implemented
Bit 6 SPOVERRIDE: STM_OVERRIDER support
1: STM_SPOVERRIDER and STM_SPMOVERRIDER are implemented
Bits 5:4 SPCOMP[1:0]: data compression on stimulus ports support
0x3: data compression support is programmable. Bit COMPEN of register STM_TCSR is implemented.
Bit 3 Reserved, must be kept at reset value.
Bit 2 SPER: STM_SPER presence
0: STM_SPER is implemented
Bits 1:0 SPTER[1:0]: STM_SPTER support
0x2: STM_SPTER is implemented
STM features 3 register (STM_FEAT3R)
Address offset: 0xEA8
Reset value: 0x0000 007F
This register indicates the features of the STM in conjunction with registers STM_FEAT1R and STM_FEAT2R.
| 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. | NUMMAST[6:0] | ||||||
| r | r | r | r | r | r | r | |||||||||
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:0 NUMMAST[6:0]: number of stimulus ports masters implemented, minus 1
0x7F: 128 masters are implemented
STM integration test for cross-trigger outputs register (STM_ITTRIGGER)
Address offset: 0xEE8
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. | ASYNCOUT_W | TRIGOUTHETE_W | TRIGOUTSW_W | TRIGOUTSPTE_W |
| w | w | w | w |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 ASYNCOUT_W : sets the value of the ASYNCOUT output in integration mode- 1: drives logic 1 on ASYNCOUT output
- 0: drives logic 0 on ASYNCOUT output
- 1: drives logic 1 on TRIGOUTHETE output
- 0: drives logic 0 on TRIGOUTHETE output
- 1: drives logic 1 on TRIGOUTSW output
- 0: drive logic 0 on TRIGOUTSW output
- 1: drives logic 1 on TRIGOUTSPTE output
- 0: drives logic 0 on TRIGOUTSPTE output
STM integration mode ATB data 0 register (STM_ITATBDATA0)
Address offset: 0xEEC
Reset value: 0x0000 0000
This register controls the value of the ATDATAM output in integration mode.
| 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. | ATDATAM63_W | ATDATAM55_W | ATDATAM47_W | ATDATAM39_W | ATDATAM31_W | ATDATAM23_W | ATDATAM15_W | ATDATAM7_W | ATDATAM0_W |
| w | w | w | w | w | w | w | w | w |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 ATDATAM63_W : sets the value of the ATDATAM[63] output1: drives logic 1 on ATDATAM[63] output
0: drives logic 0 on ATDATAM[63] output
Bit 7 ATDATAM55_W : sets the value of the ATDATAM[55] output1: drives logic 1 on ATDATAM[55] output
0: drives logic 0 on ATDATAM[55] output
Bit 6 ATDATAM47_W : sets the value of the ATDATAM[47] output1: drives logic 1 on ATDATAM[47] output
0: drives logic 0 on ATDATAM[47] output
Bit 5 ATDATAM39_W : sets the value of the ATDATAM[39] output1: drives logic 1 on ATDATAM[39] output
0: drives logic 0 on ATDATAM[39] output
Bit 4 ATDATAM31_W : sets the value of the ATDATAM[31] output1: drives logic 1 on ATDATAM[31] output
0: drives logic 0 on ATDATAM[31] output
Bit 3 ATDATAM23_W : sets the value of the ATDATAM[23] output1: drives logic 1 on ATDATAM[23] output
0: drives logic 0 on ATDATAM[23] output
Bit 2 ATDATAM15_W : sets the value of the ATDATAM[15] output1: drives logic 1 on ATDATAM[15] output
0: drives logic 0 on ATDATAM[15] output
Bit 1 ATDATAM7_W : sets the value of the ATDATAM[7] output1: drives logic 1 on ATDATAM[7] output
0: drives logic 0 on ATDATAM[7] output
Bit 0 ATDATAM0_W : sets the value of the ATDATAM[0] output1: drives logic 1 on ATDATAM[0] output
0: drives logic 0 on ATDATAM[0] output
STM integration mode ATB control 2 register (STM_ITATBCTR2)
Address offset: 0xEF0
Reset value: 0x0000 0000
This register returns the value of the ATREADYM and AFVALIDM inputs in integration mode.
| 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. | AFVALIDM_R | ATREADYM_R |
| r | r |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 AFVALIDM_R: reads the value of the AFVALIDM input
1: pin is at logic 1
0: pin is at logic 0
Bit 0 ATREADYM_R: reads the value of the ATREADYM input
1: pin is at logic 1
0: pin is at logic 0
STM integration mode ATB identification register (STM_ITATBID)
Address offset: 0xEF4
Reset value: 0x0000 0000
This register controls the value of the ATIDM output in integration mode.
| 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. | ATIDM_W[6:0] | ||||||
| w | w | w | w | w | w | w | |||||||||
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:0 ATIDM_W[6:0]: sets the value of the ATIDM output
STM integration mode ATB control 0 register (STM_ITATBCTR0)
Address offset: 0xEF8
Reset value: 0x0000 0000
This register controls the value of the ATVALIDM, AFREADYM, and ATBYTESM outputs in integration mode.
| 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. | ATBYTESM_W[2:0] | Res. | Res. | Res. | Res. | Res. | Res. | AFREADYM_W | ATVALIDM_W | ||
| w | w | w | w | w | |||||||||||
Bits 31:11 Reserved, must be kept at reset value.
Bits 10:8 ATBYTESM_W[2:0]: sets the value of the ATBYTESM output
- 0x7: drives logic 111 on the ATBYTESM output
- 0x6: drives logic 110 on the ATBYTESM output
- 0x5: drives logic 101 on the ATBYTESM output
- 0x4: drives logic 100 on the ATBYTESM output
- 0x3: drives logic 11 on the ATBYTESM output
- 0x2: drives logic 10 on the ATBYTESM output
- 0x1: drives logic 01 on the ATBYTESM output
- 0x0: drives logic 00 on the ATBYTESM output
Bits 7:2 Reserved, must be kept at reset value.
Bit 1 AFREADYM_W: sets the value of the AFREADYM output
- 1: drives logic 1 on the AFREADYM output
- 0: drives logic 0 on the AFREADYM output
Bit 0 ATVALIDM_W: sets the value of the ATVALIDM output
- 1: drives logic 1 on the ATVALIDM output
- 0: drives logic 0 on the ATVALIDM output
STM integration mode control register (STM_ITCTRL)
Address offset: 0xF00
Reset value: 0x0000 0000
This register is used to enable topology detection. Refer to CoreSight™ Architecture Specification for more information. This register enables the component to switch between functional mode and integration mode. The default behavior is functional mode. In integration mode the inputs and outputs of the STM can be directly controlled for integration testing and topology solving.
Note: When a device has been in integration mode, it might not function with the original behavior. After performing integration or topology detection, the system must be reset to ensure correct behavior of CoreSight™ and other connected system components that are affected by the integration or topology detection.
| 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. | IME |
| rw |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 IME: component mode switch enable
Enables the component to switch between functional mode and integration mode.
1: enables integration mode
0: disables integration mode
STM claim tag set register (STM_CLAIMSET)
Address offset: 0xFA0
Reset value: 0x0000 000F
This register is used in conjunction with the Claim Tag Clear register (STM_CLAIMCLR). This register forms one half of the claim tag value. This location allows individual bits to be set (write) and returns the number of bits that can be set (read).
| 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. | SET[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 SET[3:0]: claim tag bit implementation
0xF: claim tag bits are present within the claim tag field
STM claim tag clear register (STM_CLAIMCLR)
Address offset: 0xFA4
Reset value: 0x0000 0000
This register is used in conjunction with the Claim Tag Set register (STM_CLAIMSET). This register forms one half of the claim tag value. This location enables individual bits to be cleared (write) and returns the current claim tag value (read).
| 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. | CLR[3:0] | |||
| rw | rw | rw | rw | ||||||||||||
Bits 31:4 Reserved, must be kept at reset value.
Bits 3:0 CLR[3:0]: claim tag current setting
STM lock access register (STM_LAR)
Address offset: 0xFB0
Reset value: 0x0000 0000
| 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]: device register write access enable
A write of 0xC5ACCE55 enables further write access to the device. An invalid write has the effect of removing write access.
0xC5ACCE55: unlocks the protection register to enable write access
STM lock status register (STM_LSR)
Address offset: 0xFB4
Reset value: 0x0000 0003
This register indicates the status of the lock control mechanism that prevents accidental writes by the code under debug. The lock mechanism does not impact accesses to the extended stimulus port registers. This register is needed even in the absence of any lock access control mechanism. Where it is present and locked, the lock mechanism blocks the write accesses to any register but the STM_LAR. The lock mechanism is only present for accesses with PADDRDBG31 signal low.
| 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: STM_LAR size indicator
Indicates if the STM implements the STM_LAR as 8-bit or 32-bit.
0: 32-bit
Bit 1 SLK: lock current status
0: enables write access to the STM. For read accesses to the STM_LSR when the PADDRDBG31 signal is high, this bit is always 0.
1: blocks write access to the STM. The STM ignores all write accesses to the registers when the PADDRDBG31 signal is low. Reads are permitted.
Bit 0 SLI: lock control mechanism existence
Indicates that a lock control mechanism exists for this device.
0: no lock control mechanism exists. The STM ignores writes to the STM_LAR. For read accesses to the STM_LSR when the PADDRDBG31 signal is high, this bit is always 0.
1: lock control mechanism is present. For read accesses to the STM_LSR when the PADDRDBG31 signal is low, this bit is always 1.
STM authentication status register (STM_AUTHSTATUS)
Address offset: 0xFB8
Reset value: 0x0000 00AA
This register reports the required security level and current status of the authentication interface.
| 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
0x2: disabled
0x3: enabled
Bits 5:4 SID[1:0]: security level for secure invasive debug
0x2: disabled
0x3: enabled
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
STM device architecture register (STM_DEVARCH)
Address offset: 0xFBC
Reset value: 0x4771 0A63
This register indicates the architect and architecture of the STM. For the STM-500, the architect is Arm®, and the architecture is STMv1.1.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ARCHITECT[10:0] | PRESENT | REVISION[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 |
| Res. | ARCHID[14:0] | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | |
Bits 31:21 ARCHITECT[10:0]: component architect
Defines the architect of the component. Bits[31:28] indicate the DEP106 continuation code of the architect. Bits[27:21] indicate the JEP106 identification code of the architect. Refer to the Standard Manufacturers Identification Code for information about JEP106.
0x23B: the architect of the STM-500 is Arm®
Bit 20 PRESENT: STM_DEVARCH register presence
1: the STM_DEVARCH register is present
Bits 19:16 REVISION[3:0]: architecture revision
Returns the revision of the architecture that the ARCHID field specifies. For the STM-500, this value is 0x1, indicating the STMv1.1 architecture.
0x1: STMv1.1 architecture
Bit 15 Reserved, must be kept at reset value.
Bits 14:0 ARCHID[14:0]: architecture ID
Returns a value that identifies the architecture of the component. For the STM-500, this value is 0x0A63, indicating the STMv1 architecture.
0x0A63: STMv1 architecture
STM device configuration register (STM_DEVID)
Address offset: 0xFC8
Reset value: 0x0001 0000
This register indicates the capabilities of the CoreSight™ STM.
| 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. | NUMSP[16] |
| r | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| NUMSP[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:17 Reserved, must be kept at reset value.
Bits 16:0 NUMSP[16:0]: number of stimulus ports implemented
0x10000: 65 536 stimulus ports are implemented
STM device type identifier register (STM_DEVTYPE)
Address offset: 0xFCC
Reset value: 0x0000 0063
This register provides a debugger with component information when the part number is not recognized. The debugger can then report this information.
| 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. | SUB[3:0] | MAJOR[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 SUB[3:0]: sub-classification within the major category
0x6: CoreSight™ STM. The component generates trace based on software and hardware stimulus.
Bits 3:0 MAJOR[3:0]: major classification for debug or trace component
0x3: the component is a trace source
STM peripheral ID4 register (STM_PIDR4)
Address offset: 0xFD0
Reset value: 0x0000 0004
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.
0x4: indicates that Arm® JEDEC identity code is on the 5th bank
STM peripheral ID0 register (STM_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0063 (0x0000 00FF)
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.
0x63: CoreSight™ STM Part Number[7:0]. Eight least significant bits of the part number (0x963).
STM peripheral ID1 register (STM_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B9
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.
0xB: least significant four bits of the JEP106 identity code.
Bits 3:0 PART_1[3:0]: bits [11:8] of the component part number
Specified by the designer of the component.
0x9: CoreSight™ STM part number[11:8]. Most significant four bits of the part number (0x963).
STM peripheral ID2 register (STM_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 001B
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.
0x1: this device is at r0p1.
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.
0x3: most significant three bits of the JEP106 identity code
STM peripheral ID3 register (STM_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
STM component ID0 register (STM_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 identificationComponent identification register, that indicates that the identification registers are present.
0x0D: identification value
STM component ID1 register (STM_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] | 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 classIndicates the class of the component, for example, ROM table or CoreSight™ component.
0x9: indicates that the component is a CoreSight™ component
Component identification register, that indicates that the identification registers are present.
0x0: identification value
STM component ID2 register (STM_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
STM component ID3 register (STM_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
System trace macrocell registers map
Table 556. STM 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xD00 | STM_HEER | HEE[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0xD04 to 0xD1C | 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. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xD20 | STM_HETER | HETE[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0xD24 to 0xD5C | 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. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xD60 | STM_HEBSR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HEBS |
| Reset value | - | ||||||||||||||||||||||||||||||||
| 0xD64 | STM_HEMCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | 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 | ATBTRIGEN | TRIGCLEAR | TRIGSTATUS | TRIGCTL | 0 | ERRDETECT | COMPEN | EN | ||||||||||||||||||||||||
Table 556. STM registers map and reset values (continued)
| RM0441 | 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 | |
| STM_HEEXTMUXR R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. EXTMUX[7:0] |
| Reset value | - - - - - - - - | |
| 0xD6C Reserved R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. to | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| STM_HEMASTR R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | MASTER[15:0] | |
| Reset value | 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 | |
| S H E M A T R | ||
| H E E R R | ||
| H E T E R | ||
| SIZ H E E X T M U X E[2:0] | ||
| C O P[1:0] H E M | ||
| R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | |
| Reset value 0 1 1 0 0 1 0 0 0 0 0 0 | 1 1 0 1 1 | |
| STM_HEIDR R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. |
| CLA S S R E V[3:0] | ||
| CLA S S[3:0] | ||
| V E N D S P E C[3:0] | ||
| 0xE04 Reserved R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. to | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R | e s. | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| to | R e s. | |
| O C P R T T L[1: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. |
| Reset value - - - - - - - - - - - - | 0 0 | |
| S C M A T T L | ||
| R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | |
| Reset value - - - - - - - | - | 0 |
| RM0441 Rev 7 | 3539/ 3787 |
Table 556. STM 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xE68 | STM_SPOVERRID ER | PORTSEL[16:0] | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | OVERTS | OVERCTL[1:0] | |||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 0 | 0 | 0 | |
| 0xE6C | STM_SPMOVERRI DER | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | MASTSEL[7:0] | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | MASTCTL | ||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 0 | 0 | |
| 0xE70 | STM_SPTRIGCSR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ATBTRIGEN DIR | ATBTRIGEN TE | TRIGCLEAR | TRIGSTATUS |
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 0 | 0 | - | - | 0 | |
| 0xE74 to 0xE7C | 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 | Res |
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0xE80 | STM_TCSR | Res | Res | Res | Res | Res | Res | Res | Res | BUSY | TRACEID[6:0] | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | COMPEN | Res | Res | SYNCEN | TSEN | EN | |||||
| Reset value | - | - | - | - | - | - | - | - | 0 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 0 | - | - | 1 | 0 | 0 | 0 | |
| 0xE84 | STM_TSSTIMR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | FORCETS | - |
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0xE88 | 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 | Res |
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0xE8C | STM_TSFREQR | 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 | |
| 0xE90 | STM_SYNCR | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | MODE | COUNT[8:0] | Res | Res | Res | Res | |||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | - | - | - | |
| 0xE94 | STM_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 | PRIORINVDIS | ASYNCP | FIFOAF |
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 0 | 0 | 0 | |
| 0xE98 to 0xE9C | 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 | Res |
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
Table 556. STM 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 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xEA0 | STM_FEAT1R | Res | Res | Res | Res | Res | Res | Res | Res | SWOEN[1:0] | SYNCEN[1:0] | HWTEN[1:0] | TSPRESCALE[1:0] | TRIGCTL[1:0] | TRACEBUS[3:0] | SYNC[1:0] | FORCETS | TSFREQ | TS[1:0] | PROT[3:0] | |||||||||||||||
| Reset value | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | |||||||||||
| 0xEA4 | STM_FEAT2R | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | SPTYPE[1:0] | DSIZE[3:0] | Res. | SPTRTYPE[1:0] | PRIVMASK[1:0] | SPOVERRIDE | SPCOMP[1:0] | Res. | SPER | SPTER[1:0] | ||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | |||||||||||||||||||
| 0xEA8 | STM_FEAT3R | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | NUMMAST[6:0] | ||||||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||
| 0xEAC to 0xEE4 | 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 | Res | ||
| Reset value | |||||||||||||||||||||||||||||||||||
| 0xEE8 | STM_ITTRIGGER | Res | Res | Res | Res | Res | Res | Res | Res | 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 | |||||||||||||||||||||||||||||||||||
| 0xEEC | STM_ITATBDATA0 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ATDATAM63_W | ATDATAM55_W | ATDATAM47_W | ATDATAM39_W | ATDATAM31_W | ATDATAM23_W | ATDATAM15_W | ATDATAM7_W | ATDATAM0_W | ||
| Reset value | - | - | - | - | - | - | - | - | - | ||||||||||||||||||||||||||
| 0xEF0 | STM_ITATBCTR2 | Res | Res | Res | Res | Res | Res | Res | Res | 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 | |||||||||||||||||||||||||||||||||||
| 0xEF4 | STM_ITATBID | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ATIDM_W[6:0] | ||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | ||||||||||||||||||||||||||
| 0xEF8 | STM_ITATBCTR0 | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | Res | ATBYTESM_W[2:0] | Res | Res | Res | Res | Res | Res | Res | Res | |||
| Reset value | - | - | - | - | - | - | - | - | - | - | |||||||||||||||||||||||||
Table 556. STM registers map and reset values (continued)
| column_1 | Debug support (DBG) | column_3 | column_4 | RM0441 |
|---|---|---|---|---|
| Offset | Register name reset value | 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 |
| 0xEFC | Reserved | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| 0xF00 | Reset value STM_ITCTRL | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. IM E |
| Reset value | R e s. | |||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| R e s. | ||||
| 0xF04 0xF04 to 0xF9C | Reserved Reserved Reset value | |||
| STM_CLAIMSET | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | |
| 0xFA0 | S E T[3:0] CLR[3:0] | |||
| 0xFA4 | STM_CLAIMCLR | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| 0xFA8 to 0xFAC | Reset value Reserved Reset value | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| 0xFB0 | STM_LAR Reset value Reset value | KEY[31:0] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 | ||
| 0xFB4 | STM_LSR | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. N T T S L K S LI |
| Reset value STM_AUTHSTATU | N S NID[1:0] SID[1:0] N S NID[1:0] SID[1:0] | |||
| 0xFB8 | S | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| Reset value | 1 - 1 - 1 - 1 - | |||
| STM_DEVARCH | ARCHITECT[10:0] | ARCHID[14:0] | ||
| S P R E E N T | ||||
| VISIO R E N[3:0] | ||||
| 0xFBC | R e s. | |||
| Reset value | 0 1 0 0 0 1 1 1 0 1 1 1 0 0 0 1 | 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 | ||
| 0xFC0 to 0xFC4 | Reserved Reset value | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| 0xFC8 | STM_DEVID | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | NUMSP[16:0] | |
| 0xFCC | Reset value STM_DEVTYPE | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. SUB[3:0] MAJOR[3:0] |
| 0xFD0 | Reset value STM_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] |

Table 556. STM registers map and reset values (continued)
| Ethernet (ETH): gigabit media access control (GMAC) with DMA controller | column_2 | RM0441 |
|---|---|---|
| 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 | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R | e s. | |
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| STM_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] | ||
| C JE D E | ||
| R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| 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] | ||
| STM_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 | ||
| R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. | R e s. | R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. |
| CLA S S[3:0] | ||
| STM_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] |
| STM_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] |
| RM0441 Rev 7 | 3543/ 3787 |
63.10.9 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 processors 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 either processor is stopped in debug mode
Low power mode emulation in debug
When entering a low power mode (CSleep, Stop, LP-Stop, LPLV-Stop 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 DBGSTBY, DBGSTOP and DBGSLEEP bits in the DBGMCU_CR register. These bits 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 DBGSTBY 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 one or more processors are 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 one or both processors enter 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 (WWDG, IWDGn)
- • Real time clock (RTC)
There is a pair of freeze registers for each peripheral bus (APB), to control the peripherals on that bus. One register of each pair controls whether the peripheral is sensitive to the Cortex®-A7 debug state, the other to the Cortex®-M4. It is recommended to use the register that corresponds to the processor responsible for rearming the peripheral timeout.
The Cortex®-M4 debug state corresponds to a high level on the M4 core HALTED signal (HALTED remains asserted while the core is in debug). That of the Cortex®-A7 is the DBGACK signal (the core asserts DBGACK to indicate that the system has entered debug state). Hence if the CA7 core enters debug and the corresponding bit in the Peripheral Freeze register is set, then the peripheral clock will be frozen.
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 CDBGRSTREQ/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 both processors at base address 0x50081000
Note: The DBGMCU is not a standard CoreSight™ component and so does not appear in the system ROM table.
DBGMCU identity code register (DBGMCU_IDC)
Address offset: 0x000
Reset value: 0xXXXX X500
| 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
0x500: STM32MP15xx
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. | TRGOEN | 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. | Res. | DBGSTBY | DBGSTOP | DBGSLEEP |
| rw | rw | rw |
Bits 31:29 Reserved, must be kept at reset value.
Bit 28 TRGOEN: external trigger output enable
This bit controls the direction of the DBTRGIO bi-directional trigger pin.
0: input. DBTRGIO is connected to DBTRGI
1: output. DBTRGIO is connected to DBTRGO
Bits 27:3 Reserved, must be kept at reset value.

Bit 2 DBGSTBY: Standby mode debug enable
0: normal operation. All clocks are disabled and the \(V_{DDCORE}\) domain powered down automatically in Standby mode.
1: automatic clock stop/power down disabled. All active clocks and oscillators continue to run during Standby mode, and the \(V_{DDCORE}\) domain supply is maintained, allowing full debug capability. On exit from Standby mode, a system reset is performed.
Bit 1 DBGSTOP: Stop mode debug enable
0: normal operation. In Stop or CStop mode, clocks may be stopped.
1: automatic clock stop disabled. All active clocks and oscillators continue to run during Stop, LP-Stop or CStop mode, allowing full debug capability. On exit from low-power mode, the clock settings are set to the normal low-power mode exit state.
Bit 0 DBGSLEEP: Sleep mode debug enable
0: normal operation. Processor clock is stopped automatically in CSleep mode.
1: automatic clock stop disabled. Processor clock continues to run, allowing full debug capability.
Note: this bit only affects the Cortex®-M4, the Cortex®-A7 debug clock continues to run even when the core clocks are stopped (PxSTOP mode).
DBGMCU APB4 peripheral freeze register MPU (DBGMCU_APB4FZ1)
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 the 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 MPU (DBGMCU_APB1FZ1)
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. | I2C5 | I2C3 | I2C2 | I2C1 | Res. | Res. |
| 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. | WWDG1 | LPTIM1 | TIM14 | TIM13 | TIM12 | TIM7 | TIM6 | TIM5 | TIM4 | TIM3 | TIM2 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:22 Reserved, must be kept at reset value.
Bit 21 I2C5: I2C5 SMBUS timeout 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 the Cortex®-A7 core is in debug mode.
Bit 20 I2C3: I2C3 SMBUS timeout 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 the Cortex®-A7 core is in debug mode.
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:11 Reserved, must be kept at reset value.
Bit 10 WWDG1: WWDG1 stop in debug
- 0: normal operation. WWDG1 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. WWDG1 is frozen while the Cortex®-A7 core is in debug mode.
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.
Bit 8 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 the Cortex®-A7 core is in debug mode.
Bit 7 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 the Cortex®-A7 core is in debug mode.
Bit 6 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 the Cortex®-A7 core 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.
- 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 APB1 peripheral freeze register MCU (DBGMCU_APB1FZ2)
Address offset: 0x038
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. | I2C5 | I2C3 | I2C2 | I2C1 | Res. | Res. |
| 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. | WWDG1 | LPTIM1 | TIM14 | TIM13 | TIM12 | TIM7 | TIM6 | TIM5 | TIM4 | TIM3 | TIM2 |
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:22 Reserved, must be kept at reset value.
Bit 21 I2C5: I2C5 SMBUS timeout stop in debug
- 0: normal operation. I2C5 SMBUS timeout continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. I2C5 SMBUS timeout is frozen while Cortex®-M4 is in debug mode.
Bit 20 I2C3: I2C3 SMBUS timeout stop in debug
- 0: normal operation. I2C3 SMBUS timeout continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. I2C3 SMBUS timeout is frozen while Cortex®-M4 is in debug mode.
Bit 19 I2C2: I2C2 SMBUS timeout stop in debug
- 0: normal operation. I2C2 SMBUS timeout continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. I2C2 SMBUS timeout is frozen while Cortex®-M4 is in debug mode.
Bit 18 I2C1: I2C1 SMBUS timeout stop in debug
- 0: normal operation. I2C1 SMBUS timeout continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. I2C1 SMBUS timeout is frozen while Cortex®-M4 is in debug mode.
Bits 17:11 Reserved, must be kept at reset value.
Bit 10 WWDG1: WWDG1 stop in debug
- 0: normal operation. WWDG1 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. WWDG1 is frozen while Cortex®-M4 is in debug mode.
Bit 9 LPTIM1: LPTIM1 stop in debug
- 0: normal operation. LPTIM1 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. LPTIM1 is frozen while Cortex®-M4 is in debug mode.
Bit 8 TIM14: TIM14 stop in debug
- 0: normal operation. TIM14 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM14 is frozen while Cortex®-M4 is in debug mode.
Bit 7 TIM13: TIM13 stop in debug
- 0: normal operation. TIM13 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM13 is frozen while Cortex®-M4 is in debug mode.
Bit 6 TIM12: TIM12 stop in debug
- 0: normal operation. TIM12 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM12 is frozen while Cortex®-M4 is in debug mode.
Bit 5 TIM7: TIM7 stop in debug
- 0: normal operation. TIM7 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM7 is frozen while Cortex®-M4 is in debug mode.
Bit 4 TIM6: TIM6 stop in debug
- 0: normal operation. TIM6 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM6 is frozen while Cortex®-M4 is in debug mode.
Bit 3 TIM5: TIM5 stop in debug
- 0: normal operation. TIM5 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM5 is frozen while Cortex®-M4 is in debug mode.
Bit 2 TIM4: TIM4 stop in debug
- 0: normal operation. TIM4 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM4 is frozen while Cortex®-M4 is in debug mode.
Bit 1 TIM3: TIM3 stop in debug
- 0: normal operation. TIM3 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM3 is frozen while Cortex®-M4 is in debug mode.
Bit 0 TIM2: TIM2 stop in debug
- 0: normal operation. TIM2 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM2 is frozen while Cortex®-M4 is in debug mode.
DBGMCU APB2 peripheral freeze register MPU (DBGMCU_APB2FZ1)
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 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM17 | TIM16 | TIM15 | Res. | Res. | Res. | Res. | TIM8 | TIM1 |
| rw | rw | rw | rw | rw |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 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 the Cortex®-A7 core is in debug mode.
Bit 7 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 the Cortex®-A7 core is in debug mode.
Bit 6 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 the Cortex®-A7 core is in debug mode.
Bits 5: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 APB2 peripheral freeze register MCU (DBGMCU_APB2FZ2)
Address offset: 0x040
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. | TIM17 | TIM16 | TIM15 | Res. | Res. | Res. | Res. | TIM8 | TIM1 |
| rw | rw | rw | rw | rw |
Bits 31:9 Reserved, must be kept at reset value.
Bit 8 TIM17: TIM17 stop in debug
- 0: normal operation. TIM17 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM17 is frozen while Cortex®-M4 is in debug mode.
Bit 7 TIM16: TIM16 stop in debug
- 0: normal operation. TIM16 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM16 is frozen while Cortex®-M4 is in debug mode.
Bit 6 TIM15: TIM15 stop in debug
- 0: normal operation. TIM15 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM15 is frozen while Cortex®-M4 is in debug mode.
Bits 5:2 Reserved, must be kept at reset value.
Bit 1 TIM8: TIM8 stop in debug
- 0: normal operation. TIM8 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM8 is frozen while Cortex®-M4 is in debug mode.
Bit 0 TIM1: TIM1 stop in debug
- 0: normal operation. TIM1 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. TIM1 is frozen while Cortex®-M4 is in debug mode.
DBGMCU APB3 peripheral freeze register MPU (DBGMCU_APB3FZ1)
Address offset: 0x044
Reset value: 0x0000 0000
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Reserved | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |||||||||||||
| Bit 4 | LPTIM5 | : LPTIM5 stop in debug | ||||||||||||||
| 0: normal operation. LPTIM5 | continues to operate while Cortex | ®-A7 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. | ||||||||||||||
| Bit 2 | LPTIM3 | : LPTIM3 stop in debug | ||||||||||||||
| 0: normal operation. LPTIM3 | continues to operate while Cortex | ®-A7 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. | ||||||||||||||
| 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 | |||||||||||||
| RM0441 Rev 7 | 3551/ | 3787 |
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 APB3 peripheral freeze register MCU (DBGMCU_APB3FZ2)
Address offset: 0x048
Reset value: 0x0000 0000
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®-M4 is in debug mode.
- 1: stop in debug. LPTIM5 is frozen while Cortex®-M4 is in debug mode.
Bit 3 LPTIM4: LPTIM4 stop in debug
- 0: normal operation. LPTIM4 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. LPTIM4 is frozen while Cortex®-M4 is in debug mode.
Bit 2 LPTIM3: LPTIM3 stop in debug
- 0: normal operation. LPTIM3 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. LPTIM3 is frozen while Cortex®-M4 is in debug mode.
Bit 1 LPTIM2: LPTIM2 stop in debug
- 0: normal operation. LPTIM2 continues to operate while Cortex®-M4 is in debug mode.
- 1: stop in debug. LPTIM2 is frozen while Cortex®-M4 is in debug mode.
Bit 0 Reserved, must be kept at reset value.
DBGMCU APB5 peripheral freeze register MPU (DBGMCU_APB5FZ1)
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. | I2C6 | Res. | Res. | Res. | Res. | RTC | IWDG1 | I2C4 | Res. | Res. |
| rw | rw | rw | rw |
Bits 31:10 Reserved, must be kept at reset value.
Bit 9 I2C6: I2C6 stop in debug
- 0: normal operation. I2C6 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. I2C6 is frozen while the Cortex®-A7 core is in debug mode.
Bits 8: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. IWGD1 is frozen while the Cortex®-A7 core is in debug mode. No accesses are allowed on its APB interface.
Bit 2 I2C4: I2C4 stop in debug
- 0: normal operation. I2C4 continues to operate while Cortex®-A7 is in debug mode.
- 1: stop in debug. I2C4 is frozen while the Cortex®-A7 core is in debug mode.
Bits 1:0 Reserved, must be kept at reset value.
DBGMCU APB5 peripheral freeze register MCU (DBGMCU_APB5FZ2)
Address offset: 0x050
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. | I2C6 | Res. | Res. | Res. | Res. | RTC | Res. | I2C4 | Res. | Res. |
| rw | rw | rw |
Bits 31:10 Reserved, must be kept at reset value.
Bit 9 I2C6 : I2C6 stop in debug0: normal operation. I2C6 continues to operate while Cortex ® -M4 is in debug mode.1: stop in debug. I2C6 is frozen while Cortex ® -M4 is in debug mode.Bits 8:5 Reserved, must be kept at reset value.
Bit 4 RTC : RTC stop in debug0: normal operation. RTC continues to operate while Cortex ® -M4 is in debug mode.1: stop in debug. RTC is frozen while Cortex ® -M4 is in debug mode.Bit 3 Reserved, must be kept at reset value.
Bit 2 I2C4 : I2C4 stop in debug0: normal operation. I2C4 continues to operate while Cortex ® -M4 is in debug mode.1: stop in debug. I2C4 is frozen while Cortex ® -M4 is in debug mode.Bits 1:0 Reserved, must be kept at reset value.
Microprocessor controller debug unit registers map
Table 557. 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 | 0 | 0 | |||||
| 0x004 | DBGMCU_CR | Res. | Res. | Res. | TRGOEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | DBGSTBY | DBGSTOP | DBGSLEEP |
| Reset value | 0 | 0 | 0 | 0 | 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. | Res. |
| 0x02C | DBGMCU_APB4FZ1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IWDG2 | 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. | Res. |
Table 557. DBGMCU 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x034 | DBGMCU_APB1FZ1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I2C5 | I2C3 | I2C2 | I2C1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WWDG1 | LPTIM1 | TIM14 | TIM13 | TIM12 | TIM7 | TIM6 | TIM5 | TIM4 | TIM3 | TIM2 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x038 | DBGMCU_APB1FZ2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I2C5 | I2C3 | I2C2 | I2C1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | WWDG1 | LPTIM1 | TIM14 | TIM13 | TIM12 | TIM7 | TIM6 | TIM5 | TIM4 | TIM3 | TIM2 |
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||
| 0x03C | DBGMCU_APB2FZ1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM17 | TIM16 | TIM15 | Res. | Res. | Res. | Res. | TIM8 | TIM1 |
| Reset value | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x040 | DBGMCU_APB2FZ2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | TIM17 | TIM16 | TIM15 | Res. | Res. | Res. | Res. | TIM8 | TIM1 | |
| Reset value | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x044 | DBGMCU_APB3FZ1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPTIM5 | LPTIM4 | LPTIM3 | LPTIM2 | Res. | |
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x048 | DBGMCU_APB3FZ2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LPTIM5 | LPTIM4 | LPTIM3 | LPTIM2 | Res. | |
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x04C | DBGMCU_APB5FZ1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I2C6 | Res. | Res. | Res. | Res. | RTC | IWDG1 | I2C4 | Res. | Res. |
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x050 | DBGMCU_APB5FZ2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | I2C6 | Res. | Res. | Res. | Res. | RTC | Res. | I2C4 | Res. | Res. |
| Reset value | 0 | 0 | 0 | |||||||||||||||||||||||||||||||
| 0x054-0xFFC | 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. | Res. |
63.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 both Cortex®-A7 and Cortex®-M4 via the system interconnect.
63.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 [9].
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 WRP
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 | |
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: FIG 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. | CDRST AT | 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 | 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_OSLSR)
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
| 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. | CORE PURQ | HCWR | CWRR | CORE NPDR Q |
| rw | rw | rw | rw |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 COREPURQ: Power-up requestThis 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 reset0: 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 request0: No action
1: Request internal reset using the memory mapped interface or CP14
Bit 0 CORENPDRQ: Hold power-up request0: 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 | HALTE D | 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 later
DBG 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 access
Bits 15:12 CTMOD[3:0]: Coprocessor trace model
0: 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] | BPMMAINT[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 BPMMAINT[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 |
Bits 31:28 Reserved, must be kept at reset value.
Bits 27:24 DIVINST[3:0]: Divide instructions.
2: Processor supports: SDIV and UDIV in the Thumb instruction set; SDIV and UDIV in the Arm® instruction set.
Bits 23:20 DBGINST[3:0]: Debug instructions.
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, SMLSADX, 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] | TRNOPIINST[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 TRNOPIINST[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
| 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
- 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 offset
- 0x1: 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 |
Bits 31:28 CIDMASK[3:0]: Context ID matching breakpoint masking
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 identifier
0x1: Processor
Bits 3:0 MAJORTYPE[3:0]: Device main type identifier
0x5: 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 size
0x0: Register file occupies a single 4 Kbyte region
Bits 3:0 JEP106CON[3:0]: JEP106 continuation code
0x4: Arm® JEDEC code
DBG 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 class0x9: 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 558. 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] | DEVIDIMP | 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 | ||
| 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 | ||||||||
| 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. | OSUICE |
| 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 | |
| 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 | DBG_DSCR | Res. | RXFULL | TXFULL | Res. | RXFULL_L | TXFULL_L | PIPEADV | INSTRCOMPL_L | Res. | Res. | EXTDCMODE[1:0] | ADADISCARD | NS | SPNIDIS | 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 | |
| 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 | 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 | 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 | 0 | |||||||||||||||
Table 558. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | 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. | 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. | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | ||
| 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 | |
| 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 | |
| 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 | ||
Table 558. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 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. | Res. | IMINLINE[3:0] | ||||||||||||||
| Reset value | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 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. | MT | Res. | 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] | BPMMAINT[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 | |||||
| 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 | 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 | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | ||
Table 558. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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. | Res. | SET[7:0] | |||||||
| Reset value | 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. | Res. | CLR[7:0] | |||||||
| Reset value | 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. | NTT | SLK | SLI |
| 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 | NSI | NSE |
| 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. | 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. | 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. | 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 | |||||||||||||||||||||||||||||||||
| 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 | |||||||||||||||||||||||||
Table 558. 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 [9].
63.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 [9].
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 [9].
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 |
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 |
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_CNTENCLR)
Address offset: 0xC20
Reset value: 0XXXXX XXXX
Disables the cycle counter and event counters, PMN0..3.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Reserved | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| C rw | 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 | |
| rw | rw | rw | rw | |||||||||||||
| Bit 31 C | : Cycle counter disable. | |||||||||||||||
| Bit 3 P3 | : Event counter 3 disable. | |||||||||||||||
| Bit 2 P2 | : Event counter 2 disable. | |||||||||||||||
| Bit 1 P1 | : Event counter 1 disable. | |||||||||||||||
| Bit 0 P0 | : Event counter 0 disable. | |||||||||||||||
| RM0441 Rev 7 | 3601/ | 3787 |
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.
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Reserved | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| C rw | 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 | |
| rw | rw | rw | rw | |||||||||||||
| Bit 31 C | : Cycle counter overflow. | |||||||||||||||
| Bit 3 P3 | : Event counter 3 overflow. | |||||||||||||||
| Bit 2 P2 | : Event counter 2 overflow. | |||||||||||||||
| Bit 1 P1 | : Event counter 1 overflow. | |||||||||||||||
| Bit 0 P0 | : Event counter 0 overflow. | |||||||||||||||
| RM0441 Rev 7 | 3603/ | 3787 |
- 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 559. 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 559. 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 | 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 | 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 | 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 | 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 | 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 | 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 | Res | EN | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xE20 | PM_CEID0 | EVENTID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||
Table 559. 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 | NTT | SLK | SLI | |
| Reset value | 0 | 1 | 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 | 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 | 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 | 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 | |||||||||||||||||||||||||
63.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 [6].
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 [6].
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 CONTXTIDSIZE[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 | CONXTIDCMP [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 | |
- 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 CONXTIDCMP[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
| Bit 31 | Bit 30 | Bit 29 | Bit 28 | Reserved | Bit 27 | Bit 26 | Bit 25 | Bit 24 | Bit 23 | Bit 22 | Bit 21 | Bit 20 | Bit 19 | Bit 18 | Bit 17 | Bit 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 NOFTC | 16 | |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | HCOM P r | Res. | |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| Res. | SUPPROC[2:0] | PM | PS | MAXPS | FF | |||||||||||
| SUPP | SUPP | [3] | SUPP | Res. | Res. | Res. | Res. | Res. | MAXPS[2:0] | |||||||
| r | r | r | r | r | r | r | r | r | r | |||||||
| Bit 17 NOFTCHCOMP | : No fetch comparisons | |||||||||||||||
| Bits 14:12 | SUPPROC[2:0] | : Number of supported processors | ||||||||||||||
| Bit 11 PMSUPP | : Port mode support | |||||||||||||||
| Bit 10 PSSUPP | : Port size support | |||||||||||||||
| RM0441 Rev 7 | 3623/ | 3787 |
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 TSSSEN: 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 INCEXCMMDSEL[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] |
| 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] | CTXTIDCOMP [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 implemented
1: Implemented
Bit 2 NTT: 32-bit access required
0: 32-bit accesses are required to operate the ETM_OSLAR
Bit 1 DBGRLKED: Registers locked
0: 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 support
0: 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 |
Bits 31:0 VALUE[31:0]: OS save/restore register value
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 560. 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 | PROCSEL[2:0] | Res. | 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] | Res. | SEQUENCER | COUNTERS[2:0] | MMAPDECS[4:0] | 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 | 1 | 0 | 0 | 1 | 0 | 0 | ||||
| 0x008 | ETM_TRIGGER | 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] | Res. | PMSUPP | PSSUPP | MAXPS[3] | FFSUPP | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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. | 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 | 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 560. 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] | 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 | ||||||||||||||||
| 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] | 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 | ||||||||||||||||||
| 0x084 | ETM_ACTR2 | 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[2:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||

Table 560. 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 560. ETM registers map and reset values (continued)
| Debug support (DBG) | 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 560. ETM registers map and reset values (continued) | RM0441 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |||||||||||||||||||||||||||||||||||||||||||||||
| 3666/3787 | RM0441 Rev 7 |
Table 560. 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. | 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. | 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 | CNTNC | 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 | 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. | 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 | ||||||||||||||||||
| 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 560. 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 560. 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 JEP106I D [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 | |||||||||||||||||||||||||
63.11.4 Cross trigger interface (CTI)
See Section 63.10.3.
63.12 Cortex®-M4 debug features
The Cortex®-M4 subsystem integrates the following CoreSight™ components:
- – CM4 ROM table
- – CM4 System Control Space (SCS)
- – Breakpoint Unit (FPB)
- – Data Watchpoint and Trace Unit (DWT)
- – Instrumentation Trace Macrocell (ITM)
- – Embedded Trace Macrocell (ETM)
- – Cross Trigger Interface (CTI)
These components are accessible by the debugger via the Cortex®-M4 AHB-AP.
63.12.1 ROM tables
The ROM table is a CoreSight™ component that contains the base addresses of all the CoreSight™ debug components accessible via the AHB-AP. These tables allow a debugger to discover the topology of the CoreSight™ system automatically.
There is one ROM table in the Cortex®-M4 subsystem. This table is pointed to by the BASE register in the Cortex®-M4 AHB-AP. It contains the base address pointer for the System Control Space registers, which allow the debugger to identify the CPU core, as well as for the FPB, DWT, ITM, ETM and CTI.
The Cortex®-M4 CPU ROM table described in Table 561 occupies a 4-Kbyte, 32-bit wide chunk of address space, from 0xE00F F000 to 0xE00F FFFC.
Table 561. Cortex®-M4 CPU ROM table
| Address in ROM table | Component name | Component base address | Component address offset | Size | Entry |
|---|---|---|---|---|---|
| 0xE00F F000 | SCS | 0xE000 E000 | 0xFFF0 F000 | 4 Kbyte | 0xFFF0 F003 |
| 0xE00F F004 | DWT | 0xE000 1000 | 0xFFF0 2000 | 4 Kbyte | 0xFFF0 2003 |
| 0xE00F F008 | FPB | 0xE000 2000 | 0xFFF0 3000 | 4 Kbyte | 0xFFF0 3003 |
| 0xE00F F00C | ITM | 0xE000 0000 | 0xFFF0 1000 | 4 Kbyte | 0xFFF01 003 |
| 0xE00F F010 | TPIU(1) | 0xE004 0000 | 0xFFF4 1000 | 4 Kbyte | 0xFFF4 1002 |
| 0xE00F F014 | ETM | 0xE004 1000 | 0xFFF4 2000 | 4 Kbyte | 0xFFF4 2003 |
| 0xE00F E018 | CTI | 0xE004 3000 | 0xFFF4 5000 | 4 Kbyte | 0xFFF4 5003 |
| 0xE00F F01C | Top of table | - | - | - | 0x0000 0000 |
| 0xE00F F020 to 0xE00F FFC8 | Reserved | - | - | - | 0x0000 0000 |
| 0xE00F FFCC to 0xE00F FFFC | ROM table registers | - | - | - | See Table 562 |
1. The TPIU is included in this table by default, but bit 0 is reset to indicate that it is not present.
The topology for the CoreSight™ components in the Cortex®-M4 subsystem is shown in Figure 775.
Figure 775. Cortex®-M4 CoreSight™ topology

The diagram illustrates the CoreSight topology for the Cortex-M4 subsystem. It shows the AHB-AP connected to the Cortex-M4 ROM table at address 0xE00FF000. The BASE register (0xF8) points to offset 0xE00FF000. The ROM table contains pointers to various components:
- Cortex-M4 ROM table @0xE00FF000: Contains pointers to System Control Space (SCS), Breakpoint Unit (FPB), Embedded Trace (ETM), and Cross Trigger (CTI). It also includes PIDR4 and CIDR3 registers.
- System Control Space (SCS) @0xE000E000: Contains Register file base, PIDR4, and CIDR3.
- Breakpoint Unit (FPB) @0xE0002000: Contains Register file base, PIDR4, and CIDR3.
- Embedded Trace (ETM) @0xE0041000: Contains Register file base, PIDR4, and CIDR3.
- Cross Trigger (CTI) @0xE0043000: Contains Register file base, PIDR4, and CIDR3.
- Data Watchpoint/Trace (DWT) @0xE0001000: Contains Register file base, PIDR4, and CIDR3.
- Instrumentation Trace (ITM) @0xE0000000: Contains Register file base, PIDR4, and CIDR3.
MSv46867V1
Cortex®-M4 ROM registers
CM4ROM memory type register (CM4ROM_MEMTYPE)
Address offset: 0xFCC
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. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SYSMEM |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 SYSMEM: system memory
0x1: system memory is present on this bus
CM4ROM CoreSight peripheral identity register 4 (CM4ROM_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 size0x0: register file occupies a single 4-Kbyte region
Bits 3:0 JEP106CON[3:0] : JEP106 continuation code0x0: No continuation code
CM4ROM CoreSight peripheral identity register 0 (CM4ROM_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0050
| 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]0x50: ROM table part number bits [7:0]
CM4ROM CoreSight peripheral identity register 1 (CM4ROM_PIDR1)
Address offset: 0xFE4
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. | 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 identity code bits [3:0]
Bits 3:0 PARTNUM[11:8]: part number bits [11:8]
0x4: ROM table part number bits [11:8]
CM4ROM CoreSight peripheral identity register 2 (CM4ROM_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 identity code bits [6:4]
CM4ROM CoreSight peripheral identity register 3 (CM4ROM_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
CM4ROM CoreSight component identity register 0 (CM4ROM_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
CM4ROM CoreSight peripheral identity register 1 (CM4ROM_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
CM4ROM CoreSight component identity register 2 (CM4ROM_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
CM4ROM CoreSight component identity register 3 (CM4ROM_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
Cortex®-M4 ROM registers map
Table 562. Cortex®-M4 CPU 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 | CM4ROM_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 | 1 | ||||||||||||||||||||||||||||||||
| 0xFD0 | CM4ROM_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 | 0 | ||||||||||||||||||||||||
| 0xFD4 | CM4ROM_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 | CM4ROM_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 | CM4ROM_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 | CM4ROM_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 | 1 | 0 | 1 | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFE4 | CM4ROM_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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||||||||||||||||||||||||
| 0xFE8 | CM4ROM_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 | 0 | 1 | 0 | 1 | 0 | |||||||||||||||||||||||||
| 0xFEC | CM4ROM_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 | CM4ROM_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 | CM4ROM_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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | CM4ROM_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 | CM4ROM_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 | |||||||||||||||||||||||||
63.12.2 Data watchpoint and trace unit (DWT)
The DWT provides four comparators that can be used as:
- – Watchpoint
- – ETM trigger
- – PC sampling trigger
- – Data address sampling trigger
- – Data comparator (comparator 1 only)
- – Clock cycle counter comparator (comparator 0 only)
It also contains counters for:
- – Clock cycles
- – Folded instructions
- – Load Store Unit (LSU) operations
- – Sleep cycles
- – Number of cycles per instruction
- – Interrupt overhead
A DWT comparator compares one of the following with the value held in its DWT_COMP register:
- a) a data address
- b) an instruction address
- c) a data value
- d) the cycle count value, for comparator 0 only.
For address matching, the comparator can use a mask, so it matches a range of addresses.
On a successful match, the comparator generates one of the following:
- • One or more DWT Data trace packets, containing one or more of:
- a) the address of the instruction that caused a data access
- b) an address offset, bits[15:0] of the data access address
- c) the matched data value
- • A watchpoint debug event, on either the PC value or the accessed data address
- • A CMPMATCH[N] event, that signals the match outside the DWT unit
A watchpoint debug event either generates a Debug Monitor exception, or causes the processor to halt execution and enter Debug state.
For more details on how to use the DWT, refer to the Arm®v7-M Architecture Reference Manual [5].
Data watchpoint and trace unit registers
The Cortex®-M4 DWT registers are located at address range 0xE0001000 to 0xE0001FFC.
DWT control register (DWT_CTRL)
Address offset: 0x000
Reset value: 0x4000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NUMCOMP[3:0] | NOTRCPKT | NOEXTTRIG | NOCYCCNT | NOPRFCNT | Res. | CYCEVTENA | FOLDEVTENA | LSUEVTENA | SLEEPEVTENA | EXCEVTENA | CPIEVTENA | EXCTRCENA | |||
| r | r | r | r | r | r | r | r | rw | rw | rw | rw | rw | rw | rw | |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | PCSAMPLENA | SYNCTAP[1:0] | CYCTAP | POSTINIT[3:0] | POSTPRESET[3:0] | CYCCNTENA | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||
Bits 31:28 NUMCOMP[3:0]: number of comparators implemented
0x4: four comparators
Bit 27 NOTRCPKT: trace sampling and exception tracing support
0x0: supported
Bit 26 NOEXTTRIG: external match signal, CMPMATCH support
0x0: supported
Bit 25 NOCYCCNT: cycle counter support
0x0: supported
Bit 24 NOPRFCNT: profiling counter support
0x0: supported
Bit 23 Reserved, must be kept at reset value.
Bit 22 CYCEVTENA: enable for POSTCNT underflow event counter packet generation
0x0: disabled
0x1: enabled
Bit 21 FOLDEVTENA: enable for folded instruction counter overflow event generation
0x0: disabled
0x1: enabled
Bit 20 LSUEVTENA: enable for LSU counter overflow event generation
0x0: disabled
0x1: enabled
Bit 19 SLEEPEVTENA: enable for Sleep mode counter overflow event generation
0x0: disabled
0x1: enabled
Bit 18 EXCEVTENA: enable for exception overhead counter overflow event generation
0x0: disabled
0x1: enabled
Bit 17 CPIEVTENA: enable for CPI counter overflow event generation
0x0: disabled
0x1: enabled
Bit 16 EXCTRCENA: enable for exception trace generation
0x0: disabled
0x1: enabled
Bits 15:13 Reserved, must be kept at reset value.
Bit 12 PCSAMPLENA: PC sample enable
Enables the use of the POSTCNT counter as a timer for periodic PC sample packet generation.
0x0: disabled
0x1: enabled
Bits 11:10 SYNCTAP[1:0]: synchronization tap position
Selects the position of the synchronization packet counter tap on the CYCCNT counter. This determines the synchronization packet rate.
0x0: disabled. No synchronization packets
0x1: tap at CYCCNT[24]
0x2: tap at CYCCNT[26]
0x3: tap at CYCCNT[28]
Bit 9 CYCTAP: CYCCNT tap position
Selects the position of the POSTCNT tap on the CYCCNT counter.
0x0: tap at CYCCNT[6]
0x1: tap at CYCCNT[10]
Bits 8:5 POSTINIT[3:0]: POSTCNT counter initial value
Writes to this field are ignored if POSTCNT counter is enabled (meaning that CYCEVTENA or PCSAMPLENA must be reset prior to writing POSTINIT).
Bits 4:1 POSTPRESET[3:0]: POSTCNT counter reload value
Bit 0 CYCCNTENA: CYCCNT counter enable
0x0: disabled
0x1: enabled
DWT cycle count register (DWT_CYCCNT)
Address offset: 0x004
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| CYCCNT[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 |
| CYCCNT[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 CYCCNT[31:0]: processor clock cycle counter
DWT CPI count register (DWT_CPICNT)
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. | 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. | CPICNT[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 CPICNT[7:0]: CPI counter
Counts additional cycles required to execute multi-cycle instructions, except those recorded by DWT_LSUCNT, and counts any instruction fetch stalls.
DWT exception count register (DWT_EXCCNT)
Address offset: 0x00C
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. | EXCCNT[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 EXCCNT[7:0]: exception overhead cycle counter
Counts the number of cycles spent in exception processing.
DWT Sleep mode count register (DWT_SLPCNT)
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. | SLEEPCNT[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 SLEEPCNT[7:0]: sleep mode cycle counter
Counts the number of cycles spent in Sleep mode (WFI, WFE, sleep-on-exit).
DWT LSU count register (DWT_LSUCNT)
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. | LSUCNT[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 LSUCNT[7:0]: load store counter
Counts the additional cycles required to execute load and store instructions.
DWT fold count register (DWT_FOLDCNT)
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. | FOLDCNT[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 FOLDCNT[7:0]: folded instruction counter
Increments on each instruction that takes 0 cycles.
DWT program counter sample register (DWT_PCSR)
Address offset: 0x01C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| EIASAMPLE[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 |
| EIASAMPLE[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 EIASAMPLE[31:0]: executed instruction address sample value
Samples the current value of the program counter.
DWT comparator x registers (DWT_COMPx)
Address offset: 0x020 + 0x010 * x, (x = 0 to 3)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| COMP[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 |
| COMP[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 COMP[31:0]: reference value for comparison
DWT comparator mask x registers (DWT_MASKx)
Address offset: 0x024 + 0x010 * x,(x = 0 to 3)
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. | MASK[4:0] | ||||
| rw | rw | rw | rw | rw | |||||||||||
Bits 31:5 Reserved, must be kept at reset value.
Bits 4:0 MASK[4:0]: comparator mask size
Provides the size of the ignore mask applied to the access address for address range matching by comparator x. A debugger can write 11111 to this field and then read the register back to determine the maximum mask size supported.
DWT comparator function x registers (DWT_FUNCTx)
Address offset: 0x028 + 0x010 * x, (x = 0 to 3)
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. | MATCHED | Res. | Res. | Res. | Res. | DATAVADDR1[3:0] | |||
| r | rw | rw | rw | rw | |||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DATAVADDR0[3:0] | DATAVSIZE[1:0] | LNK1ENA | DATA/MATCH | CYCMATCH | Res. | EMITRANGE | Res. | FUNCTION[3:0] | |||||||
| rw | rw | rw | rw | rw | rw | r | rw | rw | rw | rw | rw | rw | rw | ||

Bits 31:25 Reserved, must be kept at reset value.
Bit 24 MATCHED: comparator match
Indicates if a comparator match has occurred since the register was last read.
0: no match
1: match occurred
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 DATAVADDR1[3:0]: second comparator number
When the DATAVMATCH and LNK1ENA bits are both 1, this field can hold the comparator number of a second comparator to use for linked address comparison.
Bits 15:12 DATAVADDR0[3:0]: comparator number
When the DATAVMATCH and LNK1ENA bits are both 1, this field can hold the comparator number of a comparator to use for linked address comparison.
Bits 11:10 DATAVSIZE[1:0]: data comparison size
For data value matching, specifies the size of the required data comparison.
0x0: byte
0x1: half word
0x2: word
0x3: reserved
Bit 9 LNK1ENA: second linked comparator support
Indicates whether use of a second linked comparator is supported.
0x1: supported
Bit 8 DATAVMATCH: cycle comparison enable
0x0: performs address comparison
0x1: performs data value comparison
Bit 7 CYCMATCH: cycle count comparison enable
Enables cycle count comparison on comparator 0. This field is reserved for other comparators.
0x0: no cycle count comparison
0x1: compares DWT_COMP0 with the cycle counter, DWT_CYCCNT
Bit 6 Reserved, must be kept at reset value.
Bit 5 EMITRANGE: address offset data trace enable
Enables generation of data trace address offset packets (containing data address bits 0 to 15).
0x0: disabled
0x1: enabled
Bit 4 Reserved, must be kept at reset value.
Bits 3:0 FUNCTION[3:0]: comparator match action
Selects the action to take on comparator match. The meaning of this bit field depends on the setting of the DATAVMATCH and CYCMATCH fields. See [5].
DWT CoreSight peripheral identity register 4 (DWT_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
DWT CoreSight peripheral identity register 0 (DWT_PIDR0)
Address offset: 0xFE0
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. | 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]
0x02: DWT part number
DWT CoreSight peripheral identity register 1 (DWT_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B0
| 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]
0x0: DWT part number
DWT CoreSight peripheral identity register 2 (DWT_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 003B
| 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 number0x3: r0p4
Bit 3 JEDEC : JEDEC assigned value0x1: designer ID specified by JEDEC
Bits 2:0 JEP106ID[6:4] : JEP106 identity code bits [6:4]0x3: Arm ® JEDEC codeDWT CoreSight peripheral identity register 3 (DWT_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 version0x0: no metal fix
Bits 3:0 CMOD[3:0] : customer modified0x0: no customer modifications
DWT CoreSight component identity register 0 (DWT_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
DWT CoreSight peripheral identity register 1 (DWT_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 00E0
| 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
0xE: trace generator component
Bits 3:0 PREAMBLE[11:8]: component ID bits [11:8]
0x0: common ID value
DWT CoreSight component identity register 2 (DWT_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
DWT CoreSight component identity register 3 (DWT_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]0x05: common ID value
DWT register map
Table 563. DWT 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 | DWT_CTRL | NUMCOMP[3:0] | NOTRCPKT | NOEXTTRIG | NOCYCCNT | NOPRFCNT | Res. | CYCEVTENA | FOLDEVTENA | LSUEVTENA | SLEEPEVTENA | EXCEVTENA | CPIEVTENA | EXCTRCENA | Res. | Res. | Res. | PCSAMPLENA | SYNCTAP | CYCTAP | POSINIT[3:0] | POSTPRESET | CYCCNTENA | ||||||||||
| 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 | |||||
| 0x004 | DWT_CYCCNT | CYCCNT[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 | |
| 0x008 | DWT_CPICNT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | CPICNT[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x00C | DWT_EXCCNT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | EXCCNT[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x010 | DWT_SLPCNT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SLEEPCNT[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x014 | DWT_LSUCNT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LSUCNT[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x018 | DWT_FOLDCNT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FOLDCNT[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x01C | DWT_PCSR | EIASAMPLE[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 | DWT_COMP0 | COMP[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 563. DWT 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 | DWT_MASK0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MASK[4:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x028 | DWT_FUNCT0 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MATCHED | Res. | Res. | Res. | Res. | Res. | DATAVADDR1[3:0] | DATAVADDR0[3:0] | DATAVSIZE[1:0] | LNK1ENA | DATAVMATCH | CYCMATCH | Res. | EMITRANGE | Res. | FUNCTION[3:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
| 0x02C | 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. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x030 | DWT_COMP1 | COMP[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 | ||
| 0x034 | DWT_MASK1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MASK[4:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x038 | DWT_FUNCT1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MATCHED | Res. | Res. | Res. | Res. | Res. | DATAVADDR1[3:0] | DATAVADDR0[3:0] | DATAVSIZE[1:0] | LNK1ENA | DATAVMATCH | CYCMATCH | Res. | EMITRANGE | Res. | FUNCTION[3:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
| 0x03C | 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. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x040 | DWT_COMP2 | COMP[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 | ||
| 0x044 | DWT_MASK2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MASK[4:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
| 0x048 | DWT_FUNCT2 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MATCHED | Res. | Res. | Res. | Res. | Res. | DATAVADDR1[3:0] | DATAVADDR0[3:0] | DATAVSIZE[1:0] | LNK1ENA | DATAVMATCH | CYCMATCH | Res. | EMITRANGE | Res. | FUNCTION[3:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
| 0x04C | 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. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x050 | DWT_COMP3 | COMP[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 | ||
| 0x054 | DWT_MASK3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MASK[4:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||
Table 563. DWT 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x058 | DWT_FUNCT3 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MATCHED | Res. | Res. | Res. | Res. | Res. | DATAVADDR1[3:0] | DATAVADDR0[3:0] | DATAVSIZE[1:0] | LNK1ENA | DATAVMATCH | CYCMATCH | Res. | EMITRANGE | Res. | FUNCTION[3:0] | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x05C to 0xFCC | 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. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0xFD0 | DWT_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 | DWT_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 | DWT_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 | DWT_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 | DWT_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 | 1 | 0 | |||||||||||||||||||||||||
| 0xFE4 | DWT_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 | 0 | |||||||||||||||||||||||||
| 0xFE8 | DWT_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 | 1 | 1 | 1 | 0 | 1 | 1 | |||||||||||||||||||||||||
| 0xFEC | DWT_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 | DWT_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 | DWT_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 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
Table 563. DWT 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 | DWT_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 | DWT_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 | |||||||||||||||||||||||||||||
63.12.3 Instrumentation trace macrocell (ITM)
The ITM generates trace information as packets. There are four sources that can generate packets. If multiple sources generate packets at the same time, the ITM arbitrates the order in which packets are output. The four sources in decreasing order of priority are:
1. Software trace.
Software can write directly to any of 32 x 32-bit ITM stimulus registers to generate packets. The permission level for each port can be programmed. When software writes to an enabled stimulus port, the ITM combines the identity of the port, the size of the write access, and the data written, into a packet that it writes to a FIFO. The ITM outputs packets from the FIFO onto the trace bus. Reading a stimulus port register returns the status of the stimulus register (empty or pending) in bit 0.
2. Hardware trace.
The DWT generates trace packets in response to a data trace event, a PC sample or a performance profiling counter wraparound. The ITM outputs these packets on the trace bus.
3. Local timestamping.
The ITM contains a 21-bit counter clocked by the (pre-divided) processor clock. The counter value is output in a timestamp packet on the trace bus. The counter is reset to zero every time a timestamp packet is generated. The timestamps thus indicate the time elapsed since the previous timestamp packet.
4. Global system timestamping.
Timestamps can also be generated using the system-wide 64-bit count value coming from the Timestamp Generator component.
Instrumentation trace macrocell registers
The ITM registers are located at address range 0xE0000000 to 0xE0000FFC.
ITM stimulus x registers (ITM_STIMx)
Address offset: 0x000 + 0x004 *x, (x = 0 to 31)
Reset value: 0XXXXX XXXX
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| STIMULUS[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 |
| STIMULUS[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 STIMULUS[31:0]: stimulus port indicator
Write data is output on the trace bus as a software event packet. When reading, bit 0 is a FIFOREADY indicator.
0: stimulus port buffer is full (or port is disabled)
1: stimulus port can accept new write data
ITM trace enable register (ITM_TER)
Address offset: 0x080
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| STIMENA[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 |
| STIMENA[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 STIMENA[31:0]: stimulus port enable
Each bit x (0:32) enables the stimulus port associated with the ITM_STIMx register.
0: port disabled
1: port enabled
ITM trace privilege register (ITM_TPR)
Address offset: 0xE00
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| PRIVMASK[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 |
| PRIVMASK[15:0] | |||||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:0 PRIVMASK[31:0]: unprivileged access enable
Enables unprivileged access to ITM stimulus ports. Each bit controls eight stimulus ports.
XXX0: unprivileged access permitted on ports 0 to 7
XXX1: only privileged access permitted on ports 0 to 7
XX0X: unprivileged access permitted on ports 8 to 15
XX1X: only privileged access permitted on ports 8 to 15
X0XX: unprivileged access permitted on ports 16 to 23
X1XX: only privileged access permitted on ports 16 to 23
0XXX: unprivileged access permitted on ports 24 to 31
1XXX: only privileged access permitted on ports 24 to 31
ITM trace control register (ITM_TCR)
Address offset: 0xE80
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. | BUSY | TRACEBUSID[6:0] | ||||||
| r | rw | rw | 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. | GTSFREQ[1:0] | TSPRESCALE[1:0] | Res. | Res. | Res. | SWOENA | TXENA | SYNCENA | TSENA | ITMENA | ||
| rw | rw | rw | rw | r | rw | rw | rw | rw | |||||||
Bits 31:24 Reserved, must be kept at reset value.
Bit 23 BUSY: ITM busy
Indicates whether the ITM is currently processing events.
0: not busy
1: busy
Bits 22:16 TRACEBUSID[6:0]: identifier for multi-source trace stream formatting
If multi-source trace is in use, the debugger must write a non-zero value to this field.
Different IDs must be used for each trace source in the system.
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:10 GTSFREQ[1:0]: global timestamp frequency
Defines how often the ITM generates a global timestamp, based on the global timestamp clock frequency, or disables generation of global timestamps.
The possible values are:
0x0: disable generation of global timestamps
0x1: generate timestamp request whenever the ITM detects a change in global timestamp counter bits [47:7]. This is approximately every 128 cycles.
0x2: generate timestamp request whenever the ITM detects a change in global timestamp counter bits [47:13]. This is approximately every 8192 cycles.
0x3: generate a timestamp after every packet, if the output FIFO is empty.
Bits 9:8 TSPRESCALE[1:0]: local timestamp prescaler
This field is used with the trace packet reference clock.
The possible values are:
0x0: no prescaling
0x1: divide by 4
0x2: divide by 16
0x3: divide by 64
Bits 7:5 Reserved, must be kept at reset value.
Bit 4 SWOENA: Enables asynchronous clocking of the timestamp counter
0: timestamp counter uses processor clock
Bit 3 TXENA: Enables forwarding of hardware event packets from the DWT unit to the trace port
0: disabled
1: enabled
Bit 2 SYNCENA: synchronisation packet transmission enable
If a debugger sets this bit it must also configure the DWT_CTRL register SYNCTAP field in the DWT for the correct synchronisation speed.
0: disabled
1: enabled
Bit 1 TSENA: local timestamp generation enable
0: disabled
1: enabled
Bit 0 ITMENA: ITM enable
0: disabled
1: enabled
ITM CoreSight peripheral identity register 4 (ITM_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
ITM CoreSight peripheral identity register 0 (ITM_PIDR0)
Address offset: 0xFE0
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. | 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: ITM part number
ITM CoreSight peripheral identity register 1 (ITM_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B0
| 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]
0x0: ITM part number
ITM CoreSight peripheral identity register 2 (ITM_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: r0p4
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
ITM CoreSight peripheral identity register 3 (ITM_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
ITM CoreSight component identity register 0 (ITM_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
ITM CoreSight peripheral identity register 1 (ITM_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 00E0
| 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
0xE: trace generator component
Bits 3:0 PREAMBLE[11:8]: component ID bits [11:8]
0x0: common ID value
ITM CoreSight component identity register 2 (ITM_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
ITM CoreSight component identity register 3 (ITM_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
Table 564. ITM 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 | ITM_STIM0 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x004 | ITM_STIM1 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x008 | ITM_STIM2 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x00C | ITM_STIM3 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x010 | ITM_STIM4 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x014 | ITM_STIM5 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x018 | ITM_STIM6 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x01C | ITM_STIM7 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x020 | ITM_STIM8 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x024 | ITM_STIM9 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x028 | ITM_STIM10 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x02C | ITM_STIM11 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x030 | ITM_STIM12 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x034 | ITM_STIM13 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x038 | ITM_STIM14 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x03C | ITM_STIM15 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x040 | ITM_STIM16 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x044 | ITM_STIM17 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
| 0x048 | ITM_STIM18 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ||
Table 564. ITM 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x04C | ITM_STIM19 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x050 | ITM_STIM20 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x054 | ITM_STIM21 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x058 | ITM_STIM22 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x05C | ITM_STIM23 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x060 | ITM_STIM24 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x064 | ITM_STIM25 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x068 | ITM_STIM26 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x06C | ITM_STIM27 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x070 | ITM_STIM28 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x074 | ITM_STIM29 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x078 | ITM_STIM30 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x07C | ITM_STIM31 | STIMULUS[31:0] | |||||||||||||||||||||||||||||||
| Reset value | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | |
| 0x080 to 0xDFC | 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. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x0E00 | ITM_TER | STIMENA[31:0] | |||||||||||||||||||||||||||||||
| Reset value | |||||||||||||||||||||||||||||||||
| 0xE04 to 0xE3C | 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. | Res. |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x0E40 | ITM_TPR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PRIVMASK[3:0] | ||
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
Table 564. ITM 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 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xE44 to 0xE7C | 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. | Res. | ||
| Reset value | |||||||||||||||||||||||||||||||||||
| 0xE80 | ITM_TCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | BUSY | TRACEBUSID[6:0] | Res. | Res. | Res. | Res. | GTSFREQ[1:0] | TSPRESCALE[1:0] | Res. | Res. | Res. | SWOENA | TXENA | SYNCENA | TSENA | ITMENA | ||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||
| 0xE84 to 0xFCC | 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. | Res. | ||
| Reset value | |||||||||||||||||||||||||||||||||||
| 0xFD0 | ITM_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 | ITM_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 | ITM_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 | ITM_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 | ITM_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 | 0 | 1 | ||||||||||||||||||||||||||
| 0xFE4 | ITM_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 | 0 | 0 | ||||||||||||||||||||||||||
| 0xFE8 | ITM_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 | 0 | 1 | 0 | 1 | 1 | 1 | ||||||||||||||||||||||||||
| 0xFEC | ITM_PIDR3 | 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 | 0 | |||||||||||||||||||||||||
| 0xFF0 | ITM_CIDR0 | 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 | 0 | 1 | |||||||||||||||||||||||||
Table 564. ITM 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFF4 | ITM_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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | ITM_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 | ITM_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 | |||||||||||||||||||||||||
63.12.4 Breakpoint unit (FPB)
The FPB allows hardware breakpoints to be set. It contains six comparators which monitor the instruction fetch address and two literal address comparators. If a match occurs, the address is remapped to an address in system memory, defined by the FPB_REMAP register plus an offset corresponding to the matching comparator. Alternatively, the instruction comparators can be configured to generate a breakpoint instruction.
Breakpoint unit registers
The Cortex®-M4 FPB registers are located at address range 0xE000 2000 to 0xE000 2FFC.
FPB control register (FPB_CTRL)
Address offset: 0x000
Reset value: 0x0000 0080
| 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. | NUM_CODE[6:4] | NUM_LIT[3:0] | NUM_CODE[3:0] | Res. | Res. | KEY | ENABL E | ||||||||
| r | r | r | r | r | r | r | r | r | r | r | rw | rw | |||
Bits 31:15 Reserved, must be kept at reset value.
Bits 11:8 NUM_LIT[3:0]: number of literal address comparators supported
0x2: two literal comparators supported.
Bits 14, 13, 12, 7, 6, NUM_CODE[6:0]: number of instruction address comparators supported
5, 4 0x6: 6 instruction comparators supported
Bits 3:2 Reserved, must be kept at reset value.
Bit 1 KEY: write protect key
A write to FPB_CTRL register will be ignored if this bit is not set to 1.
Bit 0 ENABLE: FPB enable
0x0: disable
0x1: enable
FPB remap register (FPB_REMAP)
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. | RMPSP T | REMAP[23:11] | ||||||||||||
| r | 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 |
| REMAP[10:0] | Res. | Res. | Res. | Res. | Res. | ||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | |||||
Bits 31:30 Reserved, must be kept at reset value.
Bit 29 RMPSP: flash patch remap support
Indicates whether flash patch remap is supported.
0x1: remapping supported.
Bits 28:5 REMAP[23:0]: remap target address
Bits [28:5] of the base address in SRAM to which the FPB remaps the address. The remap base address must be aligned to the number of words required to support the implemented comparators, that is to (NUM_CODE + NUM_LIT) words, with a minimum alignment of 8 words. Because remap is into the SRAM memory region, 0x2000 0000-0x3FFF FFFF, bits [31:29] of the remap address are 001.
Bits 4:0 Reserved, must be kept at reset value.
FPB comparator x registers (FPB_COMPx)
Address offset: 0x008 + 0x004 * 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| REPLACE[1:0] | Res. | COMP[26:14] | |||||||||||||
| 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 |
| COMP[13:0] | Res. | ENABL E | |||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||
Bits 31:30 REPLACE[1:0]: behavior at comparison match
Defines the behavior when a match occurs between the COMP field and the instruction fetch/literal address(1).
0x0: remap to address defined in FPB_REMAP register, plus 4n, where n is the comparator number.
0x1: breakpoint on lower half-word, upper half-word is unaffected
0x2: breakpoint on upper half-word, lower half-word is unaffected
0x3: breakpoint on both upper and lower half-words
Bit 29 Reserved, must be kept at reset value.
Bits 28:2 COMP[26:0]: value to compare with address bits 28:2 of accesses to instruction code memory (0x0000 0000 to 0x1FFF FFFF). If a match occurs, the action to be taken is defined by the REPLACE field.
Bit 1 Reserved, must be kept at reset value.
Bit 0 ENABLE: comparator enable
The comparator is only enabled if both this bit and the FPB ENABLE bit in the FPB_CTRL register are set.
0: disabled
1: enabled
1. FPB_COMP(0:5) correspond to the instruction address comparators. FPB_COMP(6:7) correspond to the literal address comparators.
FPB CoreSight peripheral identity register 4 (FPB_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
FPB CoreSight peripheral identity register 0 (FPB_PIDR0)
Address offset: 0xFE0
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. | 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]
0x03: FPB part number
FPB CoreSight peripheral identity register 1 (FPB_PIDR1)
Address offset: 0xFE4
Reset value: 0x0000 00B0
| 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]
0x0: FPB part number
FPB CoreSight peripheral identity register 2 (FPB_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: r0p4
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
FPB CoreSight peripheral identity register 3 (FPB_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
FPB CoreSight component identity register 0 (FPB_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
FPB CoreSight peripheral identity register 1 (FPB_CIDR1)
Address offset: 0xFF4
Reset value: 0x0000 00E0
| 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
0xE: trace generator component
Bits 3:0 PREAMBLE[11:8]: component ID bits [11:8]
0x0: common ID value
FPB CoreSight component identity register 2 (FPB_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
FPB CoreSight component identity register 3 (FPB_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
Table 565. FPB 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 | FPB_CTRL | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NUM_CODE[6:4] | NUM_LUT[3:0] | NUM_CODE[3:0] | Res. | Res. | KEY | ENABLE | |||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | |||||||||||||||||||||
| 0x004 | FPB_REMAP | Res. | Res. | RMPSP | REMAP[23:0] | Res. | Res. | Res. | Res. | Res. | Res. | 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 | |||||||
| 0x008 | FPB_COMP0 | REPLACE[1:0] | Res. | COMP[26:0] | Res. | ENABLE | ||||||||||||||||||||||||||||
| 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 | |||
| 0x00C | FPB_COMP1 | REPLACE[1:0] | Res. | COMP[26:0] | Res. | ENABLE | ||||||||||||||||||||||||||||
| 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 | |||
| 0x010 | FPB_COMP2 | REPLACE[1:0] | Res. | COMP[26:0] | Res. | ENABLE | ||||||||||||||||||||||||||||
| 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 | |||
| 0x014 | FPB_COMP3 | REPLACE[1:0] | Res. | COMP[26:0] | Res. | ENABLE | ||||||||||||||||||||||||||||
| 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 | |||
| 0x018 | FPB_COMP4 | REPLACE[1:0] | Res. | COMP[26:0] | Res. | ENABLE | ||||||||||||||||||||||||||||
| 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 | |||
| 0x01C | FPB_COMP5 | REPLACE[1:0] | Res. | COMP[26:0] | Res. | ENABLE | ||||||||||||||||||||||||||||
| 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 | |||
Table 565. FPB 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x020 | FPB_COMP6 | REPLACE[1:0] | Res. | COMP[26:0] | Res. | ENABLE | ||||||||||||||||||||||||||||
| 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 | ||||
| 0x024 | FPB_COMP7 | REPLACE[1:0] | Res. | COMP[26:0] | Res. | ENABLE | ||||||||||||||||||||||||||||
| 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 | ||||
| 0x028 to 0xFCC | 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. | Res. | |
| Reset value | ||||||||||||||||||||||||||||||||||
| 0xFD0 | FPB_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 | FPB_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 | FPB_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 | FPB_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 | FPB_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 | 1 | 1 | ||||||||||||||||||||||||||
| 0xFE4 | FPB_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 | 0 | ||||||||||||||||||||||||||
| 0xFE8 | FPB_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 | 1 | 0 | 1 | 0 | 1 | 1 | ||||||||||||||||||||||||||
| 0xFEC | FPB_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 | ||||||||||||||||||||||||||
Table 565. FPB 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFF0 | FPB_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 | FPB_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 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | FPB_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 | FPB_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 | |||||||||||||||||||||||||
63.12.5 Embedded trace macrocell (ETM)
The Cortex®-M4 ETM is a CoreSight™ component closely coupled to the CPU. The ETM generates trace packets that allow the execution of the Cortex®-M4 core to be traced. In STM32MP151, the ETM is configured for instruction trace only, meaning that data accesses are not included in the trace information.
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™-Cortex®-M4 technical reference manual [7].
Embedded trace macrocell registers
The ETM registers are accessed by the debugger via the Cortex®-M4 AHB-AP, at address range 0xE004 1000 to 0xE004 1FFC.
Cortex-M4 ETM registers
ETM control register (M4_ETM_CR)
Address offset: 0x000
Reset value: 0x0000 0411
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | TSEN | 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. | ETMEN | PROG | DBRQ | BO | STALL | Res. | Res. | Res. | Res. | Res. | Res. | PDN |
| rw | rw | rw | rw | rw | rw |
Bits 31:28 Reserved, must be kept at reset value.
Bit 27 TSEN: Timestamp enable
0: Timestamping disabled
1: Timestamping enabled
Bits 26:12 Reserved, must be kept at reset value.
Bit 11 ETMEN: ETM enable
0: Trace output disabled
1: Trace output enabled
Bit 10 PROG: 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 DBRQ: Debug request.
When set to 1 and the trigger event occurs, the ETMDBGRQ output is asserted until HALTED is observed. This enables the Arm® processor to be forced into Debug state.
Bit 8 BO: Branch output
When set to 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.
When this bit is set to 1, more trace data is generated, and this may affect the performance of the trace system. Information about the execution of a branch is traced regardless of the state of this bit.
Bit 7 STALL: Stall processor
The FIFOFULL output can be used to stall the processor to prevent overflow. The FIFOFULL output is only enabled when the stall processor bit is set to 1. When the bit is 0 the FIFOFULL output remains low at all times and the FIFO overflows if there are too many trace packets.
Trace resumes without corruption once the FIFO has drained, if overflow does occur.
Bits 6:1 Reserved, must be kept at reset value.
Bit 0 PDN: ETM power down
This bit can be used by an implementation to control if the ETM is in a low power state. This bit must be cleared by the trace software tools at the beginning of a debug session.
When this bit is set to 1, writes to some registers and fields might be ignored. The following registers and fields are still write-accessible:
– ETMCR bit [0]
– ETMLAR
– ETMCLAIMSET register
– ETMCLAIMCLR register
When the ETMCR is written with this bit set to 1, bits other than bit [0] might be ignored.
ETM configuration code register (M4_ETM_CCR)
Address offset: 0x004
Reset value: 0x8C80 2000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IDPRES | Res. | Res. | Res. | CPMAC | TSPRES | CIDCMP[1:0] | FFPRES | NEXTO[2:0] | NEXTI[2:0] | SEQPRES | |||||
| 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 |
| NCNT[2:0] | NMMDEC[4:0] | NDVCMP[3:0] | NADCMP[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
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 CPMAC: Co-processor and memory access1: Memory-mapped access to registers is supported
Bit 26 TSPRES: Trace start/stop block present1: Trace start/stop block is present
Bits 25:24 CIDCMP[1:0]: Number of context ID comparators0x0: Context ID comparators are not implemented.
Bit 23 FFPRES: FIFOFULL logic presentTo use FIFOFULL the system must also support the function, as indicated by bit[8] of ETMSCR.
1: FIFOFULL logic is present in the ETM
Bits 22:20 NEXTO[2:0]: Number of external outputs0x0: No external outputs are supported
Bits 19:17 NEXTI[2:0]: Number of external inputs0x2: Two external inputs are supported
Bit 16 SEQPRES: Sequencer present0: The sequencer is not present in the ETM.
Bits 15:13 NCNT[2:0]: Number of counters0x1: One counter is implemented
Bits 12:8 NMMDEC[4:0]: Number of memory map decoders0x0: No memory map decoder inputs are implemented.
Bits 7:4 NDVCMP[3:0]: Number of data value comparators0x0: No data value comparators are implemented.
Bits 3:0 NADCMP[3:0]: Number of address comparator pairs0x0: No address comparator pairs are implemented.
ETM trigger register (M4_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.
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
0x21: Embedded-ICE watchpoint comparators 2 (from DWT)
0x22: Embedded-ICE watchpoint comparators 3 (from DWT)
0x23: Embedded-ICE watchpoint comparators 4 (from DWT)
0x40: Counter 1 at zero
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x6F: Hard-wired input, always true
Others: Reserved
ETM status register (M4_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. | TRIGFL | TSSRSTAT | PROGVAL | UOVFL |
| rw | rw | r | r |
Bits 31:4 Reserved, must be kept at reset value.
Bit 3 TRIGFL: Trigger flag
Set when the trigger occurs, and prevents the trigger from being output until the ETM is programmed again.
Bit 2 TSSRSTAT: 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 PROGVAL: Programming bit value (read-only)
The current effective value of the ETM Programming bit, bit [10] of the M4_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 M4_ETM_OSLSR register.
Bit 0 UOVFL: 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 M4_ETM_CR register) is set to 1.
ETM configuration register (M4_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. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | NSUPPROC[2:0] | PORTMODESUP | PORTSIZESUP | MAXPORTSIZE[3] | FFSUP | Res. | Res. | Res. | Res. | Res. | MAXPORTSIZE[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 NSUPPROC[2:0]: Number of supported processors
0x0: One processor supported
- Bit 11 PORTMODESUP: Port mode support
0: Current selected port mode is not supported
1: Current selected port mode is supported - Bit 10 PORTSIZESUP: Port size support
0: Current selected port size is not supported
1: Current selected port size is supported - Bit 8 FFSUP: FIFOFULL support
1: FIFOFULL is supported - Bits 7:3 Reserved, must be kept at reset value.
- Bits 9, 2, 1, 0 MAXPORTSIZE[3:0]: Maximum ETM port size field
These bits indicate the maximum ETM port size supported.
0x1: Maximum port size = 1
ETM trace enable event register (M4_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.
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
0x21: Embedded-ICE watchpoint comparators 2 (from DWT)
0x22: Embedded-ICE watchpoint comparators 3 (from DWT)
0x23: Embedded-ICE watchpoint comparators 4 (from DWT)
0x40: Counter 1 at zero
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x6F: Hard-wired input, always true
Others: Reserved
ETM trace enable control 1 register (M4_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. | ENON OFF | 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. | Res. | Res. | Res. | Res. |
Bits 31:26 Reserved, must be kept at reset value.
Bit 25 ENONOFF: 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
Bits 24:0 Reserved, must be kept at reset value.
ETM FIFOFULL level register (M4_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. | LEVEL[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 LEVEL[7:0]: Threshold for FIFOFULL signal
The number of bytes left in the FIFO, below which the FIFOFULL signal is asserted. For example, setting this value to 15 causes processor stalling, if enabled, when there are less than 15 free bytes in the FIFO.
ETM counter reload value 1 register (M4_ETM_CNTRLDVR1)
Address offset: 0x140
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 |
| INICNT[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 INICNT[15:0]: Initial count
Specifies the counter reload value.
ETM synchronization frequency register (M4_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. | FREQUENCY[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 FREQUENCY[11:0]: Distance of synchronization points
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).
0x400: fixed synchronization packet generation every 1024 bytes of trace
ETM ID register (M4_ETM_IDR)
Address offset: 0x1E4
Reset value: 0x4114 F250
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DESIGNER[7:0] | Res. | Res. | Res. | ABPE | SXSUP P | T32SU PP | Res. | LDPCF | |||||||
| 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] | ETMARCHMAJ[3:0] | ETMARCHMIN[3:0] | REVISION[3:0] | ||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:24 DESIGNER[7:0]: Implementer code
0x41: Arm®
Bits 23:21 Reserved, must be kept at reset value.
Bit 20 ABPE: Alternative ranch packet encoding
1: ABPE is implemented.
Bit 19 SXSUPP: Security extensions support
0: ETM behaves as if the processor is in secure mode at all times
Bit 18 T32SUPP: 32-bit Thumb instruction tracing
1: 32-bit Thumb instructions are traced as single instructions
Bit 17 Reserved, must be kept at reset value.
Bit 16 LDPCF: Load PC first
0: Data tracing is not supported
Bits 15:12 PROCFAM[3:0]: Processor family
0xF: Processor family is not identified in this register
Bits 11:8 ETMARCHMAJ[3:0]: Major ETM architecture version
0x2: Version 3
Bits 7:4 ETMARCHMIN[3:0]: Minor ETM architecture version
0x5: Version 5
Bits 3:0 REVISION[3:0]: Implementation revision
0x0: Revision 0
ETM configuration code extension register (M4_ETM_CCER)
Address offset: 0x1E8
Reset value: 0x1854 1800
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | TSSIZE | TSENC | RFC | Res. | Res. | Res. | Res. | TSIMP | EIIMP | TSSU WP | NUMWPIN[3:0] | |||
| 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 |
| NUMIR[2:0] | SUPP DAC | RR | XXINBUS[7:0] | XXINSEL[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
0: 48 bits. - Bit 28 TSENC: Timestamp encoding
1: Timestamp is encoded as a natural binary number - Bit 27 RFC: Reduced function counter
1: Counter is a reduced function counter - Bits 26:23 Reserved, must be kept at reset value.
- Bit 22 TSIMP: Timestamping implemented
1: Timestamping implemented - Bit 21 EIIMP: EmbeddedICE behavior control implemented
0: Not implemented - Bit 20 TSSUWP: Trace start/stop uses Embedded ICE watchpoint inputs
1: Yes - Bits 19:16 NUMWPIN[3:0]: Embedded ICE watchpoint inputs
Number of inputs coming from the DWT.
0x4: Four inputs - Bits 15:13 NUMIR[2:0]: Instrumentation resources
0x0: None - Bit 12 SUPPDAC: Data address comparison support
1: Not supported - Bit 11 RR: Readable registers
1: All registers are readable - Bits 10:3 XXINBUS[7:0]: Extended external input bus
0x0: Not implemented - Bits 2:0 XXINSEL[2:0]: Extended external input selectors
0x0: Not implemented
ETM trace enable start/stop embedded ICE control register (M4_ETM_TESSEICR)
Address offset: 0x1F0
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. | STOPRS[3:0] | |||
| 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. | STARTRS[3:0] | |||
| rw | rw | rw | rw | ||||||||||||

Bits 31:20 Reserved, must be kept at reset value.
Bits 19:16 STOPRS[3:0]: Stop resource selection
Setting any of these bits to 1 selects the corresponding EmbeddedICE watchpoint input as a TraceEnable stop resource. Bit [16] corresponds to input 1, bit [17] corresponds to input 2, bit [18] corresponds to input 3, and bit [19] corresponds to input 4.
Bits 15:4 Reserved, must be kept at reset value.
Bits 3:0 STARTRS[3:0]: Start resource selection
Setting any of these bits to 1 selects the corresponding EmbeddedICE watchpoint input as a TraceEnable start resource. Bit [0] corresponds to input 1, bit [1] corresponds to input 2, bit [2] corresponds to input 3, and bit [3] corresponds to input 4.
ETM timestamp event register (M4_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.
0x20: Embedded-ICE watchpoint comparators 1 (from DWT)
0x21: Embedded-ICE watchpoint comparators 2 (from DWT)
0x22: Embedded-ICE watchpoint comparators 3 (from DWT)
0x23: Embedded-ICE watchpoint comparators 4 (from DWT)
0x40: Counter 1 at zero
0x5F: Trace start/stop resource
0x60: External inputs 1
0x61: External inputs 2
0x6F: Hard-wired input, always true
Others: Reserved
ETM trace ID register (M4_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. | Res. | TRACEID[6:0] | ||||||
| rw | rw | rw | rw | rw | rw | rw | |||||||||
Bits 31:7 Reserved, must be kept at reset value.
Bits 6:0 TRACEID[6: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 register 2 (M4_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. | SWPTO | RFE TO |
| r | r |
Bits 31:2 Reserved, must be kept at reset value.
Bit 1 SWPTO : SWP or SWPB instruction orderIdentifies the order for a SWP or SWPB instruction.
0: The Load transfer is traced before the Store transfer
Bit 0 RFETO : RFE instruction orderIdentifies the order for a RFE instruction.
0: The PC transfer is traced before the CPSR transfer
ETM device power-down status register 2 (M4_ETM_PDSR)
Address offset: 0x314
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. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | POWER |
| r |
Bits 31:1 Reserved, must be kept at reset value.
Bit 0 POWER : ETM powered1: ETM powered; trace registers can be accessed.
ETM claim tag set register (M4_ETM_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]: Set claim tag bits
- Write:
- 0000: No effect
- xxx1: Set bit 0
- xx1x: Set bit 1
- x1xx: Set bit 2
- 1xxx: Set bit 3
Read:
0xF: Indicates there are four bits in claim tag
ETM claim tag clear register (M4_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. | 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]: Reset claim tag bits
- Write:
- 0000: No effect
- xxx1: Clear bit 0
- xx1x: Clear bit 1
- x1xx: Clear bit 2
- 1xxx: Clear bit 3
Read: Returns current value of claim tag
ETM lock access register (M4_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 (M4_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 (M4_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
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
ETM CoreSight device identity register (M4_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 (M4_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 (M4_ETM_PIDR0)
Address offset: 0xFE0
Reset value: 0x0000 0025
| 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]
0x25: ETM part number
ETM CoreSight peripheral identity register 1 (M4_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 (M4_ETM_PIDR2)
Address offset: 0xFE8
Reset value: 0x0000 002B
| 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: r0p1
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 (M4_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 (M4_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 (M4_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 (M4_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 (M4_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 566. Embedded trace macrocell 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 | M4_ETM_CR | Res. | Res. | Res. | Res. | TSEN | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ETMEN | PROG | DBRQ | BO | STALL | Res. | Res. | Res. | Res. | Res. | PDN | |
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 1 | ||||||||||||||||||||||||||
| 0x004 | M4_ETM_CCR | IDPRES | Res. | Res. | Res. | CPMAC | TSPRES | CIDCMP | FFPRES | NEXTTO | NEXTI | SEQPRES | NCNT | NMMDEC | NDVCMP | NADCMP | |||||||||||||||||
| Reset value | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||
| 0x008 | M4_ETM_TRIGGER | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN | RESOURCEB | RESOURCEA | |||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
| 0x010 | M4_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. | TRGFL | TSSRSTAT | PROGVAL | UOVFL | |
| Reset value | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||
| 0x014 | M4_ETM_SCR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | NOFTCHCOMP | Res. | Res. | NSUPPROC | PORTMODESUP | PORTSIZESUP | MAXPORTSIZE | FFSUP | Res. | Res. | Res. | Res. | Res. | Res. | MAXPORTSIZE | Res. | Res. | |
| Reset value | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | ||||||||||||||||||||||
| 0x020 | M4_ETM_TEEVR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FCN | RESOURCEB | RESOURCEA | |||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||
| 0x024 | M4_ETM_TECR1 | Res. | Res. | Res. | Res. | Res. | ENONOFF | Res. | 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 | ||||||||||||||||||||||||||||||||
| 0x028 | M4_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. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | |
| Reset value | |||||||||||||||||||||||||||||||||
| 0x140 | M4_ETM_CNTRLDVR1 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | INICNT[15:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
| 0x1E0 | M4_ETM_SYNCFR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FREQUENCY[11:0] | |||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||

Table 566. Embedded trace macrocell 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x1E4 | M4_ETM_IDR | DESIGNER[7:0] | Res. | Res. | Res. | ABPE | SXSUPP | T32SUPP | Res. | LDPCF | PROCFAM [3:0] | 1 | 0 | ETMARCHMAJ [3:0] | ETMARCHMIN [3:0] | REVISION [3:0] | ||||||||||||||||||
| Reset value | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |||||
| 0x1E8 | M4_ETM_CCER | Res. | Res. | TSSIZE | TSENC | RFC | Res. | Res. | Res. | Res. | TSIMP | EIMP | TSSUWP | NUMWPIN [3:0] | NUMIR [3:0] | SUPPDAC | RR | XXINBUS [7:0] | XXINSEL [2:0] | |||||||||||||||
| Reset value | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||
| 0x1F0 | M4_ETM_TESSEICR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STOPRS [3:0] | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | STARTRS [3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||
| 0x1F8 | M4_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 | ||||||||||||||||||
| 0x200 | M4_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. | Res. | TRACEID [6:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| 0x208 | M4_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 | 0 | |||||||||||||||||||||||||||||||
| 0x314 | M4_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. | Res. | Res. | Res. | Res. | Res. | POWER | ||
| Reset value | 1 | |||||||||||||||||||||||||||||||||
| 0xFA0 | M4_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. | Res. | Res. | Res. | CLAIMSET [3:0] | |||||
| Reset value | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||
| 0xFA4 | M4_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. | Res. | Res. | Res. | CLAIMCLR [3:0] | |||||
| Reset value | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0xFB0 | M4_ETM_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 | |||
| 0xFB4 | M4_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. | LOCKTYPE | LOCKGRANT | LOCKEXIST | ||
| Reset value | 0 | 1 | 1 | |||||||||||||||||||||||||||||||
| 0xFB8 | M4_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 [1:0] | SID [1:0] | NSNID [1:0] | NSID [1:0] | NSID [1:0] | NSID [1:0] | NSID [1:0] | NSID [1:0] | |
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | ||||||||||||||||||||||||||
| 0xFCC | M4_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. | SUBTYPE [3:0] | MAJORTYPE [3:0] | |||||||
| Reset value | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | ||||||||||||||||||||||||||
| 0xFD0 | M4_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[3:0] | JEP106CON [3:0] | |||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | ||||||||||||||||||||||||||
| 0xFE0 | M4_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 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | ||||||||||||||||||||||||||
Table 566. Embedded trace macrocell 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0xFE4 | M4_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 | M4_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 [3:0] | JEDEC | JEP106ID [6:4] | |||||
| Reset value | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | |||||||||||||||||||||||||
| 0xFEC | M4_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 [3:0] | CMOD [3:0] | ||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF0 | M4_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. | PREAMBLE[7:0] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | |||||||||||||||||||||||||
| 0xFF4 | M4_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. | CLASS [3:0] | PREAMBLE [11:8] | |||||||
| Reset value | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||
| 0xFF8 | M4_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. | PREAMBLE[19:12] | ||||||||
| Reset value | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | |||||||||||||||||||||||||
| 0xFFC | M4_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. | PREAMBLE[27:20] | ||||||||
| Reset value | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |||||||||||||||||||||||||
63.12.6 Cross trigger interface (CTI)
See Section 63.10.3.
63.13 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 0403D (ID100710) - Arm® v7-M Architecture Reference Manual, Issue Derrata2010_Q3, November 2010
- 6. DDI 0468A (ID101712) - Arm® CoreSight™ ETM™-A7 r0p0, Issue A, 12 Sept 2011
- 7. DDI 0440C (ID070610) - Arm® CoreSight™ ETM™-M4 r0p1 Technical Reference Manual, Issue C, 29 June 2012
- 8. DDI 0528B (ID062514) - Arm® CoreSight™ STM-500 System Trace Macrocell r0p1 Technical Reference Manual, Issue B, 11 March 2014
- 9. DDI 0464F (ID051113) - Arm® Cortex®-A7 MPCore™ r0p5 Technical Reference Manual, Issue F, 11 April 2013
- 10. IHI 0022E (ID022613)- Arm AMBA AXI and ACE Protocol Specification, Issue E, 22 February 2013
- 11. Arm IHI 0033A - Arm AMBA 3 AHB-Lite Protocol v1.0, Issue A, 6 June 2006
- 12. Arm IHI 0024C (ID041610) - Arm AMBA Protocol v2.0, Issue C, 13 April 2010