15. Extended TrustZone ® protection controller (ETZPC)
15.1 ETZPC introduction
The ETZPC configures TrustZone security in a SoC having bus masters and slaves with programmable-security attributes (securable resources) such as:
- • On-chip RAM/ROM with programmable secure region size
- • AHB and APB peripherals to be made secure
- • AHB and APB peripherals to be set as isolated
15.2 ETZPC features
- • 32-bit APB4 interface
- • ETZPC is always Write-secure
- • Register set to control SoC security settings for:
- – securable on-chip RAM and ROM secure region size
- – access rights for securable AHB and APB peripherals
- – resource isolation to Cortex-M4 domain for AHB and APB peripherals
- • Locking of the security configuration per memory region and per peripheral
- • Configurable memory region size in 4-Kbyte steps.
15.3 Extended TrustZone architecture and ETZPC
- • The Arm TrustZone model supports the isolation between:
- – A secure world, where security sensitive applications are run and critical resources are located; secure transactions are signaled with AxPROT[1] = 0 on the AXI bus
- – A non-secure or public world (Linux user space); non-secure transactions are signaled with AxPROT[1] = 1 on the AXI bus.
- – The STM32MP153 TrustZone architecture is extended beyond AXI and Cortex-A with AXI/AHB sideband signals to propagate the secure/non-secure transaction attributes to AHB and APB agents.
- • AHB and APB peripherals are categorized as:
- – secure:
These peripherals are protected by an AHB/APB firewall stub used to reject any non-secure access.
Non secure writes are ignored with a Bus error.
Non secure reads do not proceed to the peripheral, zeros are returned on the bus with a bus error. - – securable:
These peripherals are protected by an AHB/APB firewall, which is controlled by ETZPC to define its security mode.
When the peripheral is configured as secure by ETZPC: non-secure writes are ignored with a Bus error, non-secure reads do not proceed to the peripheral, and zeros are returned on the bus with a Bus error. Only secure reads and writes can
- – secure:
proceed to the peripheral.
When the peripheral is configured as non-secure by the ETZPC, both secure and non-secure reads and writes can proceed to the peripheral.
- – non-secure:
These peripherals are connected directly to AHB/APB and both secure and non-secure read and write can proceed to the peripheral. - – TrustZone-aware:
These peripherals are connected directly to the AHB or APB4 bus and implement a specific TrustZone behavior, for example a subset of registers can be made secure according to the peripheral state, or to its programming interface.
Note: The Bus error is conditioned to interconnect clocking (for example, illicit access to an unclocked peripheral does not generate a bus error).
- • AXI bus masters drive the AxPROT[1] signal according to their secure state; an AXI bus master can be:
- a) non-secure (in which case AxPROT[1]=1)
- b) TrustZone capable (Cortex-A7,MDMA) in which case AxPROT[1] is driven low when the bus master is in secure state.
- • AHB bus masters are normally non-secure.
It is expected that the ETZPC is programmed during secure BOOT and not changed later:- – The TZMA secure region size can only be changed by secure software.
Note: Before releasing a RAM region to the non-secure world by programming the TZMA to decrease the secure region size, the RAM should be cleared.
15.4 ETZPC functional description
The ETZPC consists of a set of registers to control securable IPs through:
- • r0size[] bits to define each TZMA secure region size.
- • decprot[1:0] bits to control each AHB/APB securable peripheral access permissions as:
- – decprot[1:0] = 00: the peripheral is secure; read/write accesses are allowed by the secure world only.
- – decprot[1:0] = 01: the peripheral is write secure; read accesses are allowed by both secure and non-secure worlds, but write accesses are allowed by the secure world only.
- – decprot[1:0] = 10: The peripheral is non-secure and certain MCU peripherals are isolated, according to Table 91: decprot bits for isolable peripherals (type 2) and behavior.
- – decprot[1:0] = 11: the peripheral is non-secure; both read and write access are allowed by both the secure and non-secure worlds.
By default, after reset, memory regions are secure and all peripherals are read/ write secure.
r0size[] and decprot[] can be individually locked to prevent security configuration changes until next reset.
15.5 STM32MP153 security architecture
IP security properties can be classified as:
- • TrustZone capable bus master IPs, as listed in Table 89.
- • TrustZone aware peripherals, whose behavior is conditioned to transaction security, as listed in Table 87.
- • TrustZone securable peripherals which rely on some AHB stub or on the AHB2APB bridge to control IP access according to decprot[] bits and transaction security. These are listed in Table 86: STM32MP153 secure and securable peripherals with type P.
- • TrustZone secure (always secure) peripherals, as listed in Table 86: STM32MP153 secure and securable peripherals with type S or WS (write secure).
Note: Debug access port (DAP) security properties are set via the DBG authentication interface.
The STM32MP153 security architecture is shown in Figure 126.
Figure 126. STM32MP153 security architecture

MSv60130V2
The STM32MP153 security architecture is based on an extended version of Arm TrustZone with:
- • TrustZone extension to AHB
- • AHB stubs to protect securable AHB peripherals
- • AHB2APB bridge using PPROT[1] signal propagation to TrustZone aware IPs listed in Table 87
- • AHB2APB bridge to protect the securable APB peripherals listed in Table 86: STM32MP153 secure and securable peripherals
- • TZMA firewalls for ROM and SYSRAM shown in Table 88
Table 86. STM32MP153 secure and securable peripherals
| IP | Type(1) | Bus | comment |
|---|---|---|---|
| DDRPHYC | P | APB4 | DDR PHY |
| DDRCTRL | P | APB4 | DDR controller |
| CRYP1 | P | AHB | CRYP1 |
| HASH1 | P | AHB | HASH1 |
| RNG1 | P | AHB | RNG1 |
| I2C4 | P | APB5 | I2C for secure applications |
| I2C6 | P | APB5 | I2C for secure applications |
| IP | Type(1) | Bus | comment |
|---|---|---|---|
| SPI6 | P | APB5 | SPI for secure applications |
| USART1 | P | APB5 | USART for secure applications |
| IWDG1 | P | APB5 | Secure Independent Watchdog |
| BKPSRAM | P | AHB | BKPSRAM (4 Kbytes) |
| STGENC | P | APB5 | System Timer GENERator (STGEN) Control port |
| TZC | S | APB5 | TrustZone address space controller |
| ETZPC | WS | APB5 | TrustZone protection controller (this IP) |
| SRAM1/2/3/4 | P | AHB | SRAM1/2/3/4 |
| RETRAM | P | AHB | RETRAM |
| AXIM | S | AXI | GPV local to AXIM |
1. P: securable peripherals, S: R/W secure peripheral, WS: Write secure peripheral.
Table 87. STM32MP153 TrustZone-aware peripherals| IP | Bus | comment |
|---|---|---|
| BSEC | APB5 | BSEC includes a subset of secure registers |
| MDMA | AHB | MDMA supports security per channel and its slave port is made TrustZone aware to forbid non-secure access to secure channels |
| GPIOZ | AHB | GPIoZ is TrustZone-aware and supporting pin level security |
| RCC | AHB | RCC includes sensitive registers which are write secure |
| PWR | AHB | PWR includes sensitive registers which are write secure |
| EXTI | AHB | EXTI includes sensitive registers which are write secure |
| RTC and Tamper | APB | RTC/TAMP includes a subset of secure registers |
For more information about IP security features refer to the corresponding IP section.
Table 88. STM32MP153 memory firewalls| On-chip memory | IP | comment |
|---|---|---|
| ROM | TZMA0 | ROM can be partitioned into secure/non-secure regions on a 4 Kbyte boundary, the lower region is secure with 0 K, 4 K, 8 K, and so on up to 128 Kbyte size. After system reset all ROM is secure. |
| SYSRAM | TZMA1 | SYSRAM can be partitioned into secure/non-secure regions at a 4 Kbyte boundary, the lower region is secure with 0 K, 4 K, 8 K, and so on up to 256 Kbyte size. After system reset all SYSRAM is secure. |
Table 89. STM32MP153 TrustZone-capable bus masters
| IP | I/F | comment |
|---|---|---|
| Cortex-A7 | AXI | Cortex-A7 is TrustZone capable. |
| MDMA | AXI | MDMA channels can be set as secure or non-secure. |
| DAP AXI-AP | AXI | AXI-AP is made TrustZone aware according to debug authentication interface (spiden, spniden) controlled by the BSEC. |
15.6 STM32MP153 MCU resource isolation
The ETZPC can be used to define a set of resources to be accessed only by the Cortex-M4 domain (MCU resource isolation). Besides the Cortex-M4, the domain may also include several DMA masters assigned to the MCU isolation domain.
Resources and DMA masters that can be assigned to MCU isolation domains are listed in Table 93: Programmable options according to resource type with type =2 and type =3. This concerns a large set of resources, with access restricted to the Cortex-M4 and DMA master under its control for application safety purposes.
Resource isolation is programmed by the decprot[] bits and access filtering using AHB stubs and AHB2APB firewalling according to the Master IDs. Because security and MCU resource isolation peripherals are not orthogonal, the resources listed in Table 93 are of 3 types as follows:
- • type 1: securable peripherals
- – the decprot[] bits define access rules according to Table 90
- – failed access are reported with a bus error
- • type 2: isolable only peripherals
- – the decprot[] bits define access rules according to Table 91
- – failed access are reported with a bus error
- • type 3: peripherals which are both securable and isolable
- – the decprot[] bits define access rules according to Table 92
- – failed access are reported with a bus error.
Any resource not listed in Table 93: Programmable options according to resource type is accessible by any bus master (for example, non secured).
The debug AXI-AP is non-secure but able to access MCU resources.
Table 90. decprot bits for securable peripherals (type 1) and behavior
| decprot[1:0] | Comment |
|---|---|
| 0b00 | The peripheral is RW secure. Default after reset. |
| 0b01 | The peripheral is write-secure (for example.only write secure are allowed, read can be secure or non-secure). |
| 0b10 | Reserved. (Undefined behavior but does not weaken security.) |
| 0b11 | The peripheral is not secure (read and write by secure and non-secure means). |
| decprot[1:0] | Comment |
|---|---|
| 0b0x | Reserved. (Undefined behavior but does not weaken security). |
| 0b10 | Peripheral RW access only by the Cortex-M4 domain. (Cortex-A7 and other bus masters not in the Cortex-M4 domains are denied whether secure or non secure). |
| 0b11 | The peripheral is not secure (read and write by secure and non-secure means). Default after reset. |
| decprot[1:0] | Comment |
|---|---|
| 0b00 | The peripheral is RW secure. |
| 0b01 | The peripheral is write-secure (for example, only secure writes are allowed, read can be secure or non-secure). |
| 0b10 | Peripheral RW access only by Cortex-M4 domain. (Cortex-A7 and other Bus master not in Cortex-M4 domains are denied whether secure or non secure). |
| 0b11 | The peripheral is not secure (read and write by secure and non secure means). Default after reset. |
Programmable values of decprot[] bits according to resource type are summarized in Table 93
Table 93. Programmable options according to resource type
| Resource type | 0b00 (secured) | 0b01 (Write secured) | 0b10 (MCU isolation) | 0b11 (non-secured) |
|---|---|---|---|---|
| 1: Securable | Prog (default) | Prog | No | Prog |
| 2: MCU isolation | No | No | Prog | Prog (default) |
| 3: Securable and MCU Isolation | Prog | Prog | Prog | Prog (default) |
Note: Default after reset indicated by “*”.
Bus master and MCU resource isolation:
Bus masters listed in Table 94: DECPROT assignment (DMA1, DMA2, OTG, SDMMC3, ETH1) may be assigned to the MCU isolation domain according to their control port decprot[] bit programming value. In this case they have granted access to other MCU isolated resources.
Failed access behaviors:
Whether it is a security or isolation violation, failed writes are ignored and failed reads are returned as zeros. Furthermore a bus error is asserted to either raise an exception with the Cortex CPUs, or to be flagged by an interrupt with DMA IPs.
Note: The only exception is GPIOZ (Tz-aware IP), which fails silently.
Any write access to ETZPC locked settings is also silently ignored.
All peripherals concerned by security and MCU resource isolation, and controlled by the ETZPC are listed in Table 94 with the corresponding IP decprot[] bits.
Table 94. DECPROT assignment
| Index | decprot bits | IP | Bus | Default | Bus master | Type | Attributes |
|---|---|---|---|---|---|---|---|
| 0 | DECPROT0[1:0] | STGENC | APB5 | 0b00 | - | 1 | Securable |
| 1 | DECPROT0[3:2] | BKPSRAM | AHB5 | 0b00 | - | 1 | Securable |
| 2 | DECPROT0[5:4] | IWDG1 | APB5 | 0b00 | - | 1 | Securable |
| 3 | DECPROT0[7:6] | USART1 | APB5 | 0b00 | - | 1 | Securable |
| 4 | DECPROT0[9:8] | SPI6 | APB5 | 0b00 | - | 1 | Securable |
| 5 | DECPROT0[11:10] | I2C4 | APB5 | 0b00 | - | 1 | Securable |
| 6 | DECPROT0[13:12] | - | - | 0b00 | - | - | Reserved |
| 7 | DECPROT0[15:14] | RNG1 | AHB5 | 0b00 | - | 1 | Securable |
| 8 | DECPROT0[17:16] | HASH1 | AHB5 | 0b00 | - | 1 | Securable |
| 9 | DECPROT0[19:18] | CRYP1 | AHB5 | 0b00 | - | 1 | Securable |
| 10 | DECPROT0[21:20] | DDRCTRL | APB4 | 0b00 | - | 1 | Securable |
| 11 | DECPROT0[23:22] | DDRPHYC | APB4 | 0b00 | - | 1 | Securable |
Table 94. DECPROT assignment (continued)
| Index | decprot bits | IP | Bus | Default | Bus master | Type | Attributes |
|---|---|---|---|---|---|---|---|
| 12 | DECPROT0[25:24] | I2C6 | APB5 | 0b00 | - | 1 | Securable |
| 13 | DECPROT0[27:26] | - | - | 0b00 | - | - | Reserved |
| 14 | DECPROT0[29:28] | - | - | 0b00 | - | - | Reserved |
| 15 | DECPROT0[31:30] | - | - | 0b00 | - | - | Reserved |
| 16 | DECPROT1[1:0] | TIM2 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 17 | DECPROT1[3:2] | TIM3 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 18 | DECPROT1[5:4] | TIM4 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 19 | DECPROT1[7:6] | TIM5 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 20 | DECPROT1[9:8] | TIM6 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 21 | DECPROT1[11:10] | TIM7 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 22 | DECPROT1[13:12] | TIM12 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 23 | DECPROT1[15:14] | TIM13 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 24 | DECPROT1[17:16] | TIM14 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 25 | DECPROT1[19:18] | LPTIM1 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 26 | DECPROT1[21:20] | WWDG1 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 27 | DECPROT1[23:22] | SPI2 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 28 | DECPROT1[25:24] | SPI3 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 29 | DECPROT1[27:26] | SPDIFRX | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 30 | DECPROT1[29:28] | USART2 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 31 | DECPROT1[31:30] | USART3 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 32 | DECPROT2[1:0] | UART4 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 33 | DECPROT2[3:2] | UART5 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
Table 94. DECPROT assignment (continued)
| Index | decprot bits | IP | Bus | Default | Bus master | Type | Attributes |
|---|---|---|---|---|---|---|---|
| 34 | DECPROT2[5:4] | I2C1 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 35 | DECPROT2[7:6] | I2C2 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 36 | DECPROT2[9:8] | I2C3 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 37 | DECPROT2[11:10] | I2C5 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 38 | DECPROT2[13:12] | CEC | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 39 | DECPROT2[15:14] | DAC | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 40 | DECPROT2[17:16] | UART7 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 41 | DECPROT2[19:18] | UART8 | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 42 | DECPROT2[21:20] | - | 0b11 | - | - | Reserved | |
| 43 | DECPROT2[23:22] | - | 0b11 | - | - | Reserved | |
| 44 | DECPROT2[25:24] | MDIOS | APB1 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 45 | DECPROT2[27:26] | - | 0b11 | - | - | Reserved | |
| 46 | DECPROT2[29:28] | - | 0b11 | - | - | Reserved | |
| 47 | DECPROT2[31:30] | - | 0b11 | - | - | Reserved | |
| 48 | DECPROT3[1:0] | TIM1 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 49 | DECPROT3[3:2] | TIM8 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 50 | DECPROT3[5:4] | - | 0b11 | - | - | Reserved | |
| 51 | DECPROT3[7:6] | USART6 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 52 | DECPROT3[9:8] | SPI1 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 53 | DECPROT3[11:10] | SPI4 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 54 | DECPROT3[13:12] | TIM15 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 55 | DECPROT3[15:14] | TIM16 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only. |
| 56 | DECPROT3[17:16] | TIM17 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only. |
Table 94. DECPROT assignment (continued)
| Index | decprot bits | IP | Bus | Default | Bus master | Type | Attributes |
|---|---|---|---|---|---|---|---|
| 57 | DECPROT3[19:18] | SPI5 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 58 | DECPROT3[21:20] | SAI1 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 59 | DECPROT3[23:22] | SAI2 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 60 | DECPROT3[25:24] | SAI3 | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 61 | DECPROT3[27:26] | DFSDM | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 62 | DECPROT3[29:28] | TT_FDCAN(1) | APB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 63 | DECPROT3[31:30] | - | 0b11 | - | - | Reserved | |
| 64 | DECPROT4[1:0] | LPTIM2 | APB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 65 | DECPROT4[3:2] | LPTIM3 | APB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 66 | DECPROT4[5:4] | LPTIM4 | APB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 67 | DECPROT4[7:6] | LPTIM5 | APB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 68 | DECPROT4[9:8] | SAI4 | APB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 69 | DECPROT4[11:10] | VREFBUF | APB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 70 | DECPROT4[13:12] | DCMI | AHB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 71 | DECPROT4[15:14] | CRC2 | AHB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 72 | DECPROT4[17:16] | ADC | AHB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 73 | DECPROT4[19:18] | HASH2 | AHB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 74 | DECPROT4[21:20] | RNG2 | AHB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 75 | DECPROT4[23:22] | CRYP2 | AHB3 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 76 | DECPROT4[25:24] | - | 0b11 | - | - | Reserved | |
| 77 | DECPROT4[27:26] | - | 0b11 | - | - | Reserved | |
| 78 | DECPROT4[29:28] | - | 0b11 | - | - | Reserved |
Table 94. DECPROT assignment (continued)
| Index | decprot bits | IP | Bus | Default | Bus master | Type | Attributes |
|---|---|---|---|---|---|---|---|
| 79 | DECPROT4[31:30] | - | 0b11 | - | - | Reserved | |
| 80 | DECPROT5[1:0] | SRAM1 | MLAHB | 0b11 | - | 3 | Securable and MCU isolation support |
| 81 | DECPROT5[3:2] | SRAM2 | MLAHB | 0b11 | - | 3 | Securable and MCU isolation support |
| 82 | DECPROT5[5:4] | SRAM3 | MLAHB | 0b11 | - | 3 | Securable and MCU isolation support |
| 83 | DECPROT5[7:6] | SRAM4 | MLAHB | 0b11 | - | 3 | Securable and MCU isolation support |
| 84 | DECPROT5[9:8] | RETRAM | MLAHB | 0b11 | - | 3 | Securable and MCU isolation support |
| 85 | DECPROT5[11:10] | OTG(2) | AHB2 | 0b11 | yes | 2 | Not securable, MCU isolation only |
| 86 | DECPROT5[13:12] | SDMMC3 | AHB2 | 0b11 | yes | 2 | Not securable, MCU isolation only |
| 87 | DECPROT5[15:14] | DLYBSD3 | AHB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 88 | DECPROT5[17:16] | DMA1 | AHB2 | 0b11 | yes | 2 | Not securable, MCU isolation only |
| 89 | DECPROT5[19:18] | DMA2 | AHB2 | 0b11 | yes | 2 | Not securable, MCU isolation only |
| 90 | DECPROT5[21:20] | DMAMUX | AHB2 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 91 | DECPROT5[23:22] | FMC | AXIM | 0b11 | - | 2 | Not securable, MCU isolation only |
| 92 | DECPROT5[25:24] | QSPI | AXIM | 0b11 | - | 2 | Not securable, MCU isolation only |
| 93 | DECPROT5[27:26] | DLYBQ | AHB6 | 0b11 | - | 2 | Not securable, MCU isolation only |
| 94 | DECPROT5[29:28] | ETH1 | AHB6 | 0b11 | yes | 2 | Not securable, MCU isolation only |
| 95 | DECPROT5[31:30] | - | 0b11 | - | - | Reserved |
1. FDCAN use one decprot[] for several APB regions
2. USBPHYC associated to OTG cannot be isolated
15.7 ETZPC registers
The ETZPC registers are accessed only by word (32-bit).
ETZPC registers are write-secure (that is, read accesses are allowed by secure and non-secure domains, write accesses are allowed by the secure domain only).
The ETZPC_DECPROTx registers are used to control security and resource isolation for all peripherals listed in Table 94: DECPROT assignment according to the index (from 0 to 95).
Caution: The ETZPC is programmed during early boot, it should not be changed afterwards, lock bits can enforce this; propagation of the ETZPC decprot[] bits takes some delay, two APB cycles must be observed before security rule is applied.
15.7.1 ETZPC ROM secure size definition (ETZPC_TZMA0_SIZE)
Address offset: 0x000
Reset value: 0x0000 03FF
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| LOCK | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rs | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | R0SIZE[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 LOCK: To lock r0size settings of the TZMA
0: r0size[] can be written
1: r0size[] cannot be modified until the next reset, therefore the write to r0size is silently ignored (for example no APB SLVERR).
Bits 30:10 Reserved, must be kept at reset value.
Bits 9:0 R0SIZE[9:0]
Defines the size of the secure ROM at the lower values, and non-secure ROM at the higher values:
0x000: all ROM is non-secure
0x001: 4 Kbyte ROM secure
0x002: 8 Kbyte ROM secure
....
0x020 to 0x3FF: 128 Kbyte ROM secure (for example all ROM secure)

15.7.2 ETZPC RAM secure size definition (ETZPC_TZMA1_SIZE)
Address offset: 0x004
Reset value: 0x0000 03FF
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LOCK | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rs | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | R0SIZE[9:0] | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | ||||||
Bit 31 LOCK: To lock r0size settings of the TZMA
0: r0size[] can be written
1: r0size[] can not be modified until next reset, therefore the write to r0size is silently ignored (for example APB SLVERR)
Bits 30:10 Reserved, must be kept at reset value.
Bits 9:0 R0SIZE[9:0]: Defines the size of the secure RAM at the lower values, and non-secure RAM at the higher values:
0x000: all RAM is non-secure
0x001: 4 Kbyte RAM secure
0x002: 8 Kbyte RAM secure
....
0x040 to 0x3FF: 256 Kbyte RAM secure (for example all RAM secure)
15.7.3 ETZPC securable peripheral control register x (ETZPC_DECPROTx)
Address offset: 0x010 + 0x004 * (x - 0) (x = 0 to 5)
Reset value: 0x0000 0000, 0xFFFF FFFF, 0xFFFF FFFF, 0xFFFF FFFF, 0xFFFF FFFF, 0xFFFF FFFF
Register reset values according to values in Table 94: DECPROT assignment column Default, see also register map.
Define security and isolation for peripheral at index (16 * x + y) in Table 94 according to ETZPC_DECPROTx with (x = 0 to 5) and (y = 0 to 15) according to DECPROTy[1:0]:
- 00: read and write secure
- 01: read non-secure and write secure
- 10: non-secure but MCU isolated
- 11: non-secure.
Permissible values of DECPROTy[1:0] are according to Table 94 column Attributes.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| DECPROT15 [1:0] | DECPROT14 [1:0] | DECPROT13 [1:0] | DECPROT12 [1:0] | DECPROT11 [1:0] | DECPROT10 [1:0] | DECPROT9 [1:0] | DECPROT8 [1:0] | ||||||||
| 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 |
| DECPROT7 [1:0] | DECPROT6 [1:0] | DECPROT5 [1:0] | DECPROT4 [1:0] | DECPROT3 [1:0] | DECPROT2 [1:0] | DECPROT1 [1:0] | DECPROT0 [1:0] | ||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw |
Bits 31:30 DECPROT15[1:0]: Settings for peripheral with index (16 * x + 15) in Table 94
Bits 29:28 DECPROT14[1:0]: Settings for peripheral with index (16 * x + 14) in Table 94
Bits 27:26 DECPROT13[1:0]: Settings for peripheral with index (16 * x + 13) in Table 94
Bits 25:24 DECPROT12[1:0]: Settings for peripheral with index (16 * x + 12) in Table 94
Bits 23:22 DECPROT11[1:0]: Settings for peripheral with index (16 * x + 11) in Table 94
Bits 21:20 DECPROT10[1:0]: Settings for peripheral with index (16 * x + 10) in Table 94.
Bits 19:18 DECPROT9[1:0]: Settings for peripheral with index (16 * x + 9) in Table 94.
Bits 17:16 DECPROT8[1:0]: Settings for peripheral with index (16 * x + 8) in Table 94.
Bits 15:14 DECPROT7[1:0]: Settings for peripheral with index (16 * x + 7) in Table 94.
Bits 13:12 DECPROT6[1:0]: Settings for peripheral with index (16 * x + 6) in Table 94.
Bits 11:10 DECPROT5[1:0]: Settings for peripheral with index (16 * x + 5) in Table 94.
Bits 9:8 DECPROT4[1:0]: Settings for peripheral with index (16 * x + 4) in Table 94.
Bits 7:6 DECPROT3[1:0]: Settings for peripheral with index (16 * x + 3) in Table 94.
Bits 5:4 DECPROT2[1:0]: Settings for peripheral with index (16 * x + 2) in Table 94.
Bits 3:2 DECPROT1[1:0]: Settings for peripheral with index (16 * x + 1) in Table 94.
Bits 1:0 DECPROT0[1:0]: Settings for peripheral with index (16 * x + 0) in Table 94.
15.7.4 ETZPC decprot lock x register (ETZPC_DECPROT_LOCKx)
Address offset: 0x030+0x004*(x-0) (x = 0 to 2)
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LOCK3 1 | LOCK3 0 | LOCK2 9 | LOCK2 8 | LOCK2 7 | LOCK2 6 | LOCK2 5 | LOCK2 4 | LOCK2 3 | LOCK2 2 | LOCK2 1 | LOCK2 0 | LOCK1 9 | LOCK1 8 | LOCK1 7 | LOCK1 6 |
| rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LOCK1 5 | LOCK1 4 | LOCK1 3 | LOCK1 2 | LOCK1 1 | LOCK1 0 | LOCK9 | LOCK8 | LOCK7 | LOCK6 | LOCK5 | LOCK4 | LOCK3 | LOCK2 | LOCK1 | LOCK0 |
| rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs | rs |
Bit 31 LOCK31: Lock of security for peripheral with index (32*x+31) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
Bit 30 LOCK30: Lock of security for peripheral with index (32*x+30) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
Bit 29 LOCK29: Lock of security for peripheral with index (32*x+29) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
Bit 28 LOCK28: Lock of security for peripheral with index (32*x+28) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
Bit 27 LOCK27: Lock of security for peripheral with index (32*x+27) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
Bit 26 LOCK26: Lock of security for peripheral with index (32*x+26) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
Bit 25 LOCK25: Lock of security for peripheral with index (32*x+25) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
Bit 24 LOCK24: Lock of security for peripheral with index (32*x+24) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
- Bit 23 LOCK23: Lock of security for peripheral with index (32*x+23) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 22 LOCK22: Lock of security for peripheral with index (32*x+22) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 21 LOCK21: Lock of security for peripheral with index (32*x+21) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 20 LOCK20: Lock of security for peripheral with index (32*x+20) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 19 LOCK19: Lock of security for peripheral with index (32*x+19) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 18 LOCK18: Lock of security for peripheral with index (32*x+18) as defined by Table 94.
0: not locked
1: decprot[] bits are locked until next reset - Bit 17 LOCK17: Lock of security for peripheral with index (32*x+17) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 16 LOCK16: Lock of security for peripheral with index (32*x+16) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 15 LOCK15: Lock of security for peripheral with index (32*x+15) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 14 LOCK14: Lock of security for peripheral with index (32*x+14) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 13 LOCK13: Lock of security for peripheral with index (32*x+13) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
- Bit 12 LOCK12: Lock of security for peripheral with index (32*x+12) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 11 LOCK11: Lock of security for peripheral with index (32*x+11) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 10 LOCK10: Lock of security for peripheral with index (32*x+10) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 9 LOCK9: Lock of security for peripheral with index (32*x+9) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 8 LOCK8: Lock of security for peripheral with index (32*x+8) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 7 LOCK7: Lock of security for peripheral with index (32*x+7) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 6 LOCK6: Lock of security for peripheral with index (32*x+6) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 5 LOCK5: Lock of security for peripheral with index (32*x+5) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 4 LOCK4: Lock of security for peripheral with index (32*x+4) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 3 LOCK3: Lock of security for peripheral with index (32*x+3) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR) - Bit 2 LOCK2: Lock of security for peripheral with index (32*x+2) as defined by Table 94.
0: not locked
1: decprot[] bits are locked until next reset - Bit 1 LOCK1: Lock of security for peripheral with index (32*x+1) as defined by Table 94.
0: not locked
1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
- Bit 0 LOCK0: Lock of security for peripheral with index 32*x as defined by Table 94.
- 0: not locked
- 1: peripheral decprot[] bits are locked until next reset, therefore the write to decprot[] is silently ignored (for example no APB SLVERR)
15.7.5 ETZPC HW configuration register (ETZPC_HWCFGR)
Address offset: 0x3F0
Reset value: 0x0000 6002
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CHUNKS1N4[7:0] | NUM_AHB_SEC[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 |
| NUM_PER_SEC[7:0] | NUM_TZMA[7:0] | ||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:24 CHUNKS1N4[7:0]: TZMA size steps (0: 4 Kbytes, 1: 1 Kbyte)
Bits 23:16 NUM_AHB_SEC[7:0]: Number of securable AHB masters
Bits 15:8 NUM_PER_SEC[7:0]: Number of securable peripherals
Bits 7:0 NUM_TZMA[7:0]: Number of TZMA instances
15.7.6 ETZPC version register (ETZPC_VERR)
Address offset: 0x3F4
Reset value: 0x0000 0021
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MAJREV[3:0] | MINREV[3:0] | ||||||
| r | r | r | r | r | r | r | r | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:4 MAJREV[3:0]: Major revision
This field returns the major revision of the ETZPC
Bits 3:0 MINREV[3:0]: Minor revision
This field returns the minor revision of the ETZPC
15.7.7 ETZPC identification register (ETZPC_IDR)
Address offset: 0x3F8
Reset value: 0x0010 0061
| 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]: Identification code.
This field returns the Identification code of ETZPC
15.7.8 ETZPC size identification register (ETZPC_SIDR)
Address offset: 0x3FC
Reset value: 0xA3C5 DD01
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SID[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 |
| SID[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
Bits 31:0 SID[31:0]: Size and ID.
This field returns the size and ID of ETZPC
15.7.9 ETZPC register map
The table below provides the ETZPC register map and reset values.
Table 95. ETZPC register map and reset values
| Offset | Register | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x000 | ETZPC_TZMA0_SIZE | LOCK | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | R0SIZE | |||||||||||
| Reset value | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||
| 0x004 | ETZPC_TZMA1_SIZE | LOCK | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | R0SIZE | |||||||||||
| Reset value | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||
| 0x010 | ETZPC_DECPROT0 | DECPROT15 | DECPROT14 | DECPROT13 | DECPROT12 | DECPROT11 | DECPROT10 | DECPROT9 | DECPROT8 | DECPROT7 | DECPROT6 | DECPROT5 | DECPROT4 | DECPROT3 | DECPROT2 | DECPROT1 | DECPROT0 | ||||||||||||||||||
| 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 | |||
| 0x014 | ETZPC_DECPROT1 | DECPROT15 | DECPROT14 | DECPROT13 | DECPROT12 | DECPROT11 | DECPROT10 | DECPROT9 | DECPROT8 | DECPROT7 | DECPROT6 | DECPROT5 | DECPROT4 | DECPROT3 | DECPROT2 | DECPROT1 | DECPROT0 | ||||||||||||||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||
| 0x018 | ETZPC_DECPROT2 | DECPROT15 | DECPROT14 | DECPROT13 | DECPROT12 | DECPROT11 | DECPROT10 | DECPROT9 | DECPROT8 | DECPROT7 | DECPROT6 | DECPROT5 | DECPROT4 | DECPROT3 | DECPROT2 | DECPROT1 | DECPROT0 | ||||||||||||||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||
| 0x01C | ETZPC_DECPROT3 | DECPROT15 | DECPROT14 | DECPROT13 | DECPROT12 | DECPROT11 | DECPROT10 | DECPROT9 | DECPROT8 | DECPROT7 | DECPROT6 | DECPROT5 | DECPROT4 | DECPROT3 | DECPROT2 | DECPROT1 | DECPROT0 | ||||||||||||||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||
| 0x020 | ETZPC_DECPROT4 | DECPROT15 | DECPROT14 | DECPROT13 | DECPROT12 | DECPROT11 | DECPROT10 | DECPROT9 | DECPROT8 | DECPROT7 | DECPROT6 | DECPROT5 | DECPROT4 | DECPROT3 | DECPROT2 | DECPROT1 | DECPROT0 | ||||||||||||||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||
| 0x024 | ETZPC_DECPROT5 | DECPROT15 | DECPROT14 | DECPROT13 | DECPROT12 | DECPROT11 | DECPROT10 | DECPROT9 | DECPROT8 | DECPROT7 | DECPROT6 | DECPROT5 | DECPROT4 | DECPROT3 | DECPROT2 | DECPROT1 | DECPROT0 | ||||||||||||||||||
| Reset value | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||
| 0x030 | ETZPC_DECPROT_LOCK0 | LOCK31 | LOCK30 | LOCK29 | LOCK28 | LOCK27 | LOCK26 | LOCK25 | LOCK24 | LOCK23 | LOCK22 | LOCK21 | LOCK20 | LOCK19 | LOCK18 | LOCK17 | LOCK16 | LOCK15 | LOCK14 | LOCK13 | LOCK12 | LOCK11 | LOCK10 | LOCK9 | LOCK8 | LOCK7 | LOCK6 | LOCK5 | LOCK4 | LOCK3 | LOCK2 | LOCK1 | LOCK0 | ||
| 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 | |||
| 0x034 | ETZPC_DECPROT_LOCK1 | LOCK31 | LOCK30 | LOCK29 | LOCK28 | LOCK27 | LOCK26 | LOCK25 | LOCK24 | LOCK23 | LOCK22 | LOCK21 | LOCK20 | LOCK19 | LOCK18 | LOCK17 | LOCK16 | LOCK15 | LOCK14 | LOCK13 | LOCK12 | LOCK11 | LOCK10 | LOCK9 | LOCK8 | LOCK7 | LOCK6 | LOCK5 | LOCK4 | LOCK3 | LOCK2 | LOCK1 | LOCK0 | ||
| 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 | |||
| 0x038 | ETZPC_DECPROT_LOCK3 | LOCK31 | LOCK30 | LOCK29 | LOCK28 | LOCK27 | LOCK26 | LOCK25 | LOCK24 | LOCK23 | LOCK22 | LOCK21 | LOCK20 | LOCK19 | LOCK18 | LOCK17 | LOCK16 | LOCK15 | LOCK14 | LOCK13 | LOCK12 | LOCK11 | LOCK10 | LOCK9 | LOCK8 | LOCK7 | LOCK6 | LOCK5 | LOCK4 | LOCK3 | LOCK2 | LOCK1 | LOCK0 | ||
| 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 95. ETZPC register map and reset values (continued)
| Offset | Register | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x3F0 | ETZPC_HWCGR | CHUNKS1N4 | NUM_AHB_SEC[7:0] | NUM_PER_SEC[7:0] | NUM_TZMA[7:0] | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
| 0x3F4 | ETZPC_VERR | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | MAJREV[3:0] | MINREV[3:0] | ||||||
| Reset value | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||||||||
| 0x3F8 | ETZPC_IDR | ID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| 0x3FC | ETZPC_SIDR | SID[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Refer to Section 2.5 on page 153 for the register boundary addresses.