8. OTP mapping (OTP)
The STM32MP23/25xx devices have 12288 OTP (one-time programmable) bits which can be read-accessed in 384 words: BSEC_OTP_DATAx (x = 0 to 383).
The OTP bits are read or programmed by the BSEC (boot, security and OTP control). See Section 7: Boot and security control (BSEC).
Before being programmed, the OTP bit is at zero. The OTP words are described in the table below.
OTP are organized into the following regions:
- • lower OTP (OTP0 to OTP127)
- • mid OTP (OTP128 to OTP255)
- • upper OTP (OTP256 to OTP383)
The OTP word most relevant properties are listed in the following columns:
- • Description: OTP word acronym and function
- • Shadowed: OTP word is shadowed into a register after reset. A shadowed word may be read/write, read only, or no access, according to shadowed type column.
- • Wired: OTP word is shadowed with a wired connection in the device.
- • D1STDBY: OTP is used by the boot ROM at D1 Standby exit.
- • Owner: ST side: OTP word is programmed by STMicroelectronics at factory level.
Customer side: OTP can be programmed by the application. - • Shadowed type: A shadow register can be read/write, read only, no access.
Table 33. STM32MP23/25xx OTP mapping
| Word | Description | Shadowed | D1STDBY exit | Wired | Owner | Shadowed type |
|---|---|---|---|---|---|---|
| Lower OTP region | ||||||
| OTP0 | OTP_HW_WORD0 | Yes | Yes | Yes (BSEC) | ST/ Customer | Read only |
| OTP1 | OTP_HW_WORD1 | Yes | N/A | Yes (BSEC) | ST | Read only |
| OTP2 | OTP_HW_WORD2 | Yes | N/A | Yes (BSEC) | ST | Read only |
| OTP3 | OTP_HW_WORD3 | Yes | N/A | Yes (BSEC) | ST | Read only |
| OTP4 | OTP_HW_WORD4 | Yes | Yes | Yes (BSEC) | ST | Read only |
| OTP5 | ID0 | Yes | No | No | ST | Read only |
| OTP6 | ID1 | Yes | No | No | ST | Read only |
| OTP7 | ID2 | Yes | No | No | ST | Read only |
| OTP8 | OTP_CID_PROV | Yes | No | No | ST | Read only |
| OTP9 | RPN_CODING | Yes | Yes | Yes (SoC) | ST | Read only |
| OTP10 | BOOTROM_CONFIG_1 | No | Yes | No | ST | - |
| OTP11 | BOOTROM_CONFIG_2 | Yes | Yes | No | Customer | Read/write |
| OTP12 | BOOTROM_CONFIG_3 | No | Yes | No | Customer(1) | - |
Table 33. STM32MP23/25xx OTP mapping (continued)
| Word | Description | Shadowed | D1STDBY exit | Wired | Owner | Shadowed type |
|---|---|---|---|---|---|---|
| OTP13 | Reserved by ST | Yes | Yes | No | ST | Read/write |
| OTP14 | Reserved by ST | Yes | Yes | No | ST | Read/write |
| OTP15 | Reserved by ST | Yes | Yes | No | ST | Read/write |
| OTP16 | BOOTROM_CONFIG_7 | Yes | Yes | No | Customer | Read/write |
| OTP17 | BOOTROM_CONFIG_8 | No | Yes | No | Customer | - |
| OTP18 | BOOTROM_CONFIG_9 | No | Yes | No | Customer | - |
| OTP19 | BOOTROM_CONFIG_10 | No | Yes | No | Customer(1) | - |
| OTP20 | BOOTROM_CONFIG_11 | No | Yes | No | Customer | - |
| OTP21 | BOOTROM_CONFIG_12 | No | Yes | No | Customer | - |
| OTP22 | BOOTROM_CONFIG_13 | No | Yes | No | Customer | - |
| OTP23 to OTP101 | Available for customer | No | No | No | Customer | - |
| OTP102 | ID | No | No | No | ST | - |
| OTP103 | CRC_HSM | No | No | No | ST | - |
| OTP104 | CAL1 | No | No | No | ST | - |
| OTP105 | CAL2 | No | No | No | ST | - |
| OTP106 | CAL3 | No | No | No | ST | - |
| OTP107 | CAL4 | No | No | No | ST | - |
| OTP108 | CAL5 | No | No | No | ST | - |
| OTP109 | CAL6 | No | No | No | ST | - |
| OTP110 | CAL7 | No | No | No | ST | - |
| OTP111 | CAL8 | No | No | No | ST | - |
| OTP112 | ENGI1 | No | No | No | ST | - |
| OTP113 | ENGI2 | No | No | No | ST | - |
| OTP114 | ENGI3 | No | No | No | ST | - |
| OTP115 | ENGI4 | No | No | No | ST | - |
| OTP116 | ENGI5 | No | No | No | ST | - |
| OTP117 | ENGI6 | No | No | No | ST | - |
| OTP118 | ENGI7 | No | No | No | ST | - |
| OTP119 | ENGI8 | No | No | No | ST | - |
| OTP120 | ATRIM1 | Yes | No | hws[31:0] | ST | Read/write |
| OTP121 | ATRIM2 | Yes | No | hws[63:32] | ST | Read/write |
| OTP122 | ATRIM3 | Yes | No | hws[95:64] | ST | Read/write |
| OTP123 | ATRIM4 | Yes | No | hws[127:96] | ST | Read/write |
Table 33. STM32MP23/25xx OTP mapping (continued)
| Word | Description | Shadowed | D1STDBY exit | Wired | Owner | Shadowed type |
|---|---|---|---|---|---|---|
| OTP124 | HCONF1 | Yes | No | hws[159:128] | Customer | Read/write |
| OTP125 | MREPAIR1 | Yes | No | hws[191:160] | ST | Read/write |
| OTP126 | MREPAIR2 | Yes | No | hws[223:192] | ST | Read/write |
| OTP127 | MREPAIR3 | Yes | No | hws[255:224] | ST | Read/write |
| - | ||||||
| Mid OTP region | ||||||
| OTP128 | STM32CERTIF0 | No | No | No | ST | - |
| OTP129 | STM32CERTIF1 | No | No | No | ST | - |
| OTP130 | STM32CERTIF2 | No | No | No | ST | - |
| OTP131 | STM32CERTIF3 | No | No | No | ST | - |
| OTP132 | STM32CERTIF4 | No | No | No | ST | - |
| OTP133 | STM32CERTIF5 | No | No | No | ST | - |
| OTP134 | STM32CERTIF6 | No | No | No | ST | - |
| OTP135 | STM32CERTIF7 | No | No | No | ST | - |
| OTP136 | STM32CERTIF8 | No | No | No | ST | - |
| OTP137 | STM32CERTIF9 | No | No | No | ST | - |
| OTP138 | STM32CERTIF10 | No | No | No | ST | - |
| OTP139 | STM32CERTIF11 | No | No | No | ST | - |
| OTP140 | STM32CERTIF12 | No | No | No | ST | - |
| OTP141 | STM32CERTIF13 | No | No | No | ST | - |
| OTP142 | STM32CERTIF14 | No | No | No | ST | - |
| OTP143 | STM32CERTIF15 | No | No | No | ST | - |
| OTP144 | OEM_KEY1_ROT0 | No | Yes | No | Customer(2) | - |
| OTP145 | OEM_KEY1_ROT1 | No | Yes | No | Customer(2) | - |
| OTP146 | OEM_KEY1_ROT2 | No | Yes | No | Customer(2) | - |
| OTP147 | OEM_KEY1_ROT3 | No | Yes | No | Customer(2) | - |
| OTP148 | OEM_KEY1_ROT4 | No | Yes | No | Customer(2) | - |
| OTP149 | OEM_KEY1_ROT5 | No | Yes | No | Customer(2) | - |
| OTP150 | OEM_KEY1_ROT6 | No | Yes | No | Customer(2) | - |
| OTP151 | OEM_KEY1_ROT7 | No | Yes | No | Customer(2) | - |
| OTP152 | OEM_KEY2_ROT0 | No | No | No | Customer(2) | - |
| OTP153 | OEM_KEY2_ROT1 | No | No | No | Customer(2) | - |
| OTP154 | OEM_KEY2_ROT2 | No | No | No | Customer(2) | - |
| OTP155 | OEM_KEY2_ROT3 | No | No | No | Customer(2) | - |
Table 33. STM32MP23/25xx OTP mapping (continued)
| Word | Description | Shadowed | D1STDBY exit | Wired | Owner | Shadowed type |
|---|---|---|---|---|---|---|
| OTP156 | OEM_KEY2_ROT4 | No | No | No | Customer(2) | - |
| OTP157 | OEM_KEY2_ROT5 | No | No | No | Customer(2) | - |
| OTP158 | OEM_KEY2_ROT6 | No | No | No | Customer(2) | - |
| OTP159 | OEM_KEY2_ROT7 | No | No | No | Customer(2) | - |
| OTP160 | STM32PUBKEY0 | No | No | No | ST | - |
| OTP161 | STM32PUBKEY1 | No | No | No | ST | - |
| OTP162 | STM32PUBKEY2 | No | No | No | ST | - |
| OTP163 | STM32PUBKEY3 | No | No | No | ST | - |
| OTP164 | STM32PUBKEY4 | No | No | No | ST | - |
| OTP165 | STM32PUBKEY5 | No | No | No | ST | - |
| OTP166 | STM32PUBKEY6 | No | No | No | ST | - |
| OTP167 | STM32PUBKEY7 | No | No | No | ST | - |
| OTP168 | STM32PUBKEY8 | No | No | No | ST | - |
| OTP169 | STM32PUBKEY9 | No | No | No | ST | - |
| OTP170 | STM32PUBKEY10 | No | No | No | ST | - |
| OTP171 | STM32PUBKEY11 | No | No | No | ST | - |
| OTP172 | STM32PUBKEY12 | No | No | No | ST | - |
| OTP173 | STM32PUBKEY13 | No | No | No | ST | - |
| OTP174 | STM32PUBKEY14 | No | No | No | ST | - |
| OTP175 | STM32PUBKEY15 | No | No | No | ST | - |
| OTP176 to OTP254 | Available to customer | No | No | No | Customer | - |
| 255 | ST_RSSE_EDMK_DERIV_CSTE_FUSE | No | No | No | ST | - |
| Upper OTP region | ||||||
| OTP256 | OTP_RMA_LOCK_PSWD0 | Yes | No | No | Customer | - |
| OTP257 | OTP_RMA_LOCK_PSWD1 | Yes | No | No | Customer | - |
| OTP258 | OTP_RMA_LOCK_PSWD2 | Yes | No | No | Customer | - |
| OTP259 | OTP_RMA_LOCK_PSWD3 | Yes | No | No | Customer | - |
| OTP260 to OTP359 | OEM Secrets available to customer | No | No | No | Customer | - |
| OTP360 | OEM_KEY2_EDMK0 | No | No | No | Customer | - |
| OTP361 | OEM_KEY2_EDMK1 | No | No | No | Customer | - |
| OTP362 | OEM_KEY2_EDMK2 | No | No | No | Customer | - |
| OTP363 | OEM_KEY2_EDMK3 | No | No | No | Customer | - |
Table 33. STM32MP23/25xx OTP mapping (continued)
| Word | Description | Shadowed | D1STDBY exit | Wired | Owner | Shadowed type |
|---|---|---|---|---|---|---|
| OTP364 | OEM_KEY1_EDMK0 | No | Yes | No | Customer | - |
| OTP365 | OEM_KEY1_EDMK1 | No | Yes | No | Customer | - |
| OTP366 | OEM_KEY1_EDMK2 | No | Yes | No | Customer | - |
| OTP367 | OEM_KEY1_EDMK3 | No | Yes | No | Customer | - |
| OTP368 | STM32PRVKEY0 | No | No | No | ST | - |
| OTP369 | STM32PRVKEY1 | No | No | No | ST | - |
| OTP370 | STM32PRVKEY2 | No | No | No | ST | - |
| OTP371 | STM32PRVKEY3 | No | No | No | ST | - |
| OTP372 | STM32PRVKEY4 | No | No | No | ST | - |
| OTP373 | STM32PRVKEY5 | No | No | No | ST | - |
| OTP374 | STM32PRVKEY6 | No | No | No | ST | - |
| OTP375 | STM32PRVKEY7 | No | No | No | ST | - |
| OTP376 | HWKEY0 | Yes | N/A | Yes (SAES) | ST | No access |
| OTP377 | HWKEY1 | Yes | N/A | Yes (SAES) | ST | No access |
| OTP378 | HWKEY2 | Yes | N/A | Yes (SAES) | ST | No access |
| OTP379 | HWKEY3 | Yes | N/A | Yes (SAES) | ST | No access |
| OTP380 | HWKEY4 | Yes | N/A | Yes (SAES) | ST | No access |
| OTP381 | HWKEY5 | Yes | N/A | Yes (SAES) | ST | No access |
| OTP382 | HWKEY6 | Yes | N/A | Yes (SAES) | ST | No access |
| OTP383 | HWKEY7 | Yes | N/A | Yes (SAES) | ST | No access |
- 1. Fused by boot ROM based on customer binary header.
- 2. Only available on part with secure boot, otherwise permanent write lock.
The following OTP words are described in details in Table 34: STM32MP23/25xx OTP fuse description (lower OTP region) or by BSEC:
- • OTP0 to OTP4 are used by BSEC for the security life cycle (see Section 7: Boot and security control (BSEC)).
- • OTP9 is used to code device part number (see Section 98: Device electronic signature).
- • OTP10 to OTP22 are used for the boot ROM configuration.
- • OTP104 to OTP 111 are used for analog calibration parameters set in ST factory.
- • OTP112 to OTP 119 are used for engineering purposes and are set in ST factory.
- • OTP120 to OTP123 are used for settings such as analog trimming and are set in ST factory.
- • OTP124 is used for the product configuration by the user.
- • OTP125 to OTP 127 are used for memory repair and are set in ST factory.
Table 34: STM32MP23/25xx OTP fuse description (lower OTP region) provides the bit-level description and other word properties in the following columns:
- • wplock:
- – y: permanent programming lock by factory programming
Key storage in OTP
Keys are represented as a string of byte to be stored in consecutive OTP words. For example a 64-bit key (0xAABBCCDDEEFF5566) is stored into two consecutive OTP words KEY0 and KEY1.
A key is stored in OTP words using one of the following formats
- • Format 1 KEY0 = 0xAABBCCDD, KEY1 = 0xEEFF5566
- • Format 2 KEY0 = 0xDDCCBBAA, KEY1 = 0x6655FFEE
- • Format 3 KEY0 = 0xEEFF5566, KEY1 = 0xAABBCCDD
Table 34. STM32MP23/25xx OTP fuse description (lower OTP region)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| OTP0 | OTP_HW_WORD0 | y | OTP check word (virgin → non virgin) |
| OTP1 | OTP_HW_WORD1 | - | OTP security word to close security state BSECXW |
| OTP2 | OTP_HW_WORD2 | - | OTP word for re-opening (CLOSE → OPEN) via RMA password: RMA bits |
| OTP3 | OTP_HW_WORD3 | - | OTP Word for re-opening (CLOSE → OPEN) via RMA password: RMA tries bits |
| OTP4 | OTP_HW_WORD4 | - | OTP word for TK retries (ECIES) |
| OTP5 | ID0 | y | ID0 for engineering purposes |
| OTP6 | ID1 | y | ID1 for engineering purposes |
| OTP7 | ID2 | y | ID2 for engineering purposes |
| OTP8 | OTP_CID_PROV | - | OTP word for CID provisioning control |
| OTP9 | RPN_CODING | y | - |
| OTP10 | BOOTROM_CONFIG_1 | - | - |
| 0 | Reserved | - | - |
| 1 | stkeyprov_ecies_ok | - | Status of ECIES ST key provisionning when it was attempted. 0 (failed): ECIES ST key provisionning last attempt was failed 1 (successfull): ECIES ST key provisionning last attempt was successfull |
| 2 | stkeyprov_hwkey_done | - | 0 (no): HWKEY not provisionned 1 (yes): HWKEY was provisioned |
| 3 to 6 | Reserved | - | - |
| 7 to 14 | security_counter | - | Security counter involved in productID for device certificate verification by HSM-OEM in RSSe_prov context |
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| 15 to 18 | st_pub_key_id | - | ST ECDSA Public Key ID (ST Key Instance fuse part) involved in productID for device certificate verification by HSM-OEM in RSSe_prov context |
| 19 to 26 | rssefw_active_signing_key | - | [1-0xFF] → [1-8]: Value of monotonic counter is X where X is position of the most significant bit at 1. 8 possible ST public keys (ST key revocation feature for RSSe_FW authentication) |
| 27 to 28 | nb_added_stsecrets_2 | - | Number of OTP words located in upper area [360-nb_added_stsecrets...359] that were provisioned with ST secrets. |
| 29 to 31 | Reserved | - | - |
| OTP11 | BOOTROM_CONFIG_2 | - | boot source configuration word |
| 0 to 2 | Reserved | - | - |
| 3 to 4 | Reserved | - | - |
| 5 | no_cpu_pll | - | 0 (enabled): PLLs for CPU/AXI are enable for cold boot. 1 (disabled): PLLs for CPU/AXI are not enable for cold boot |
| 6 to 9 | Reserved | - | - |
| 10 to 14 | disable_uart | - | 0b00001: disables USART2 0b00010: disables UART5 0b00100: disables UART6 0b01000: disables UART8 0b10000: disables UART9 |
| 15 | no_data_cache | - | 0 (enabled): Data cache is used by boot ROM. 1 (disabled): Data cache is not used by boot ROM. |
| 16 to 23 | boot_source_disable | - | Each bit disable a boot source. Default to UART if all disabled. 0b00000001: disable FMC boot source. 0b00000010: disable QSPI NOR boot source. 0b00000100: disable eMMC boot source. 0b00001000: disable SD boot source. 0b00010000: disable UART boot source. |
| 24 to 25 | bootpins_layout_sel | - | [0-3]: Select one among the three possible BOOT pin layouts |
| 26 to 29 | boot_source_sel | - | [0-15]: Select one among the 16 possible boot source of the selected BOOT pin layout |
| 30 to 31 | Reserved | - | - |
| OTP12 | BOOTROM_CONFIG_3 | - | - |
| 0 to 31 | oem_fsbla_monotonic_counter | - | [1-0xFFFFFFFF] → [1-32]: Value of monotonic counter is X where X is position of the most significant bit at 1. |
| OTP13 to OTP15 | Reserved by ST | - | - |
| OTP16 | BOOTROM_CONFIG_7 | - | - |
Table 34. STM32MP23/25xx OTP fuse description (lower OTP region) (continued)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| 0 | disable_traces | - | 0 (no): boot ROM traces are enabled 1 (yes): boot ROM traces are disabled |
| 1 | disable_hse_freq_detect | - | 0 (no): HSE frequency autodetection is enabled 1 (yes): HSE frequency autodetection is disabled |
| 2 | disable_hse_bypass_detect | - | 0 (no): HSE bypass detection is enabled 1 (yes): HSE bypass detection is disabled |
| 3 | disable_blocking_failure_traces | - | 0 (no): blocking failure traces are enabled 1 (yes): blocking failure traces are disabled |
| 4 | a35_mode | - | 0 (aarch64): FSBL-A is AArch64 1 (aarch32): FSBL-A is AArch32 |
| 5 | fmc_force_sw_reset | - | FMC is used by CA35 to connect a NAND and by CM33 to connect a NOR or PSRAM 0 (no): Use RCC to reset FMC 1 (yes): Use software procedure to reset FMC without impacting CM33 |
| 6 | emergency_debug_req | - | 0 (no): emergency debug is not requested 1 (yes): emergency debug is requested |
| 7 | emmc_128k_boot_partition | - | 0 (no): Boot ROM does not support eMMC with 128Kb boot partition. 1 (yes): boot ROM supports eMMC with 128 Kb boot partition. |
| 8 | fsbl_decrypt_prio | - | 0 (speed): use CRYP (fast but no DPA protection) 1 (security): use SAES (slow but DPA protection) |
| 9 | iomgr_port | - | 0 (port1): select IOM port1 1 (port2): select IOM port2 |
| 10 | iomgr_muxen | - | 0 (disabled): IOM muxing disabled 1 (enabled): IOM muxing enabled |
| 11 to 13 | HSE_value | - | 0b000 (auto): HSE value is autodetected among 16, 20, 24, 28, 32, 36, 40, 48 MHz 0b001 (24 MHz): HSE = 24 MHz 0b010 (25 MHz): HSE = 25 MHz 0b011 (26 MHz): HSE = 26 MHz 0b100 (19.2 MHz): HSE = 19.2 MHz 0b101 (40 MHz): HSE = 40 MHz 0b110 (48 MHz): HSE = 48 MHz 0b111 (unused): Reserved |
| 14 | snand_need_plane_select_1 | - | 0 (no): Serial NAND plane select is not needed 1 (yes): Serial NAND plane select is need |
| 15 to 17 | pnand_number_of_ecc_bits_1 | - | 0 (unset): ECC unset 1 (hamming): ECC 1bit (Hamming) 2 (bch4): ECC 4bit (BCH4) 3 (bch8): ECC 8bit (BCH8) 4 (ondie): on-die ECC |
| 18 | pnand_bus_width_1 | - | 0 (8-bits): data width is 8-bits 1 (16-bits): data width is 16-bits |
Table 34. STM32MP23/25xx OTP fuse description (lower OTP region) (continued)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| 19 to 26 | nand_nb_of_blocks_1 | - | [1-256]: Number of block = 256 * value |
| 27 to 28 | nand_block_size_1 | - | [1-4]: Block size in number of pages |
| 29 to 30 | nand_page_size_1 | - | 0 (64): 64 pages per block 1 (128): 128 pages per block 2 (256): 256 pages per block |
| 31 | pnand_param_stored_in_otp | - | 0 (no): Boot ROM uses ONFI parameter table to get parallel nand parameters. 1 (yes): parallel nand parameters are defined in bank1 or bank2, depending on nand_config_distribution value. |
| OTP17 | BOOTROM_CONFIG_8 | - | - |
| 0 to 7 | oem_active_signing_key1 | - | [1-256] → [1-8]: Value of monotonic counter is X where X is position of the most significant bit at 1. 8 possible OEM public keys (OEM key revocation feature for OEM-FSBL authentication). |
| 8 | oem_keys2_enable | - | 0 (no): keys2 are not used; keys1 are used for both FSBLA and FSBLM. 1 (yes): keys2 are enabled; keys1 are used for FSBLA; keys2 are used for FSBLM. |
| 16 to 31 | Reserved | - | - |
| OTP18 | BOOTROM_CONFIG_9 | - | - |
| 0 to 3 | secure_boot | - | 0 (unlocked): device is in CLOSED_UNLOCKED state. Secure boot is not enforced (FSBL authentication is not mandatory). [1-15] (locked): device is in CLOSED_LOCKED state. Secure boot is enforced (FSBL authentication is mandatory). |
| 4 to 7 | prov_done | - | 0: RSSE provisioning is not done [1-15]: RSSE provisioning is done |
| 8 to 11 | debug_lock | - | 0: does not lock debug enabling [1-15]: locks debug enabling |
| 12 to 15 | otp_prov_done | - | 0: RSSE OTP provisioning is not done [1-15]: RSSE OTP provisioning part done, used to manage RSSE extension issue |
| 16 to 21 | nb_added_stsecrets | - | Nb of OTP words located in upper area [360-nb_added_stsecrets..359] that were provisioned (in encrypted mode) with ST secrets. Those will be decoded and used by RSSE firmware. Coding up to 64 ST secrets to provision in EWS (with DEV_BOOT). |
| 22 to 25 | rsse_nb_attempts | - | Monotonic counter to check the number of RSSE retry when an issue occurred during the provisioning process. The number is limited to 4 retries. |
| 26 to 31 | Reserved | - | - |
| OTP19 | BOOTROM_CONFIG_10 | - | - |
Table 34. STM32MP23/25xx OTP fuse description (lower OTP region) (continued)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| 0 to 31 | oem_fsblm_monotonic_counter | - | Monotonic version number of OEM-FSBL [1-0xFFFF] → [1-32]: Value of monotonic counter is X where X is position of the most significant bit at 1. |
| OTP20 | BOOTROM_CONFIG_11 | - | - |
| 0 | nand_config_distribution | - | 0 (bk1_snand_bk2_pnand): pNAND config in nand*_2 fields / sNAND config in nand*_1 fields 1 (bk1_pnand_bk2_snand): pNAND config in nand*_1 fields / sNAND config in nand*_2 fields |
| 1 | snand_need_plane_select_2 | - | idem BOOTROM_CONFIG_7.snand_need_plane_select_1 |
| 2 to 4 | pnand_number_of_ecc_bits_2 | - | idem BOOTROM_CONFIG_7.pnand_number_of_ecc_bits_1 |
| 5 | pnand_bus_width_2 | - | idem BOOTROM_CONFIG_7.pnand_bus_width_1 |
| 6 to 13 | nand_nb_of_blocks_2 | - | idem BOOTROM_CONFIG_7.nand_nb_of_blocks_1 |
| 14 to 15 | nand_block_size_2 | - | idem BOOTROM_CONFIG_7.nand_block_size_1 |
| 16 to 17 | nand_page_size_2 | - | idem BOOTROM_CONFIG_7.nand_page_size_1 |
| 18 | hyperflash_3V3_device | - | is HyperFlash a 3.3V device 0:no 1:yes |
| 19 to 21 | rng_hocr_value | - | 0: default value, RNG HOCR not modified 1: 0xA2B3 2: 0xAA74 3: 0xA6BA 4: 0x9AAE 5: 0x72AC 6: 0xAAC7 other: default value, RNG HOCR not modified |
| 22 | ospi_io_speed_ovrw | - | 0 (no): OSPI io speed is not overwritten by otp configuration 1 (yes): OSPI io speed is overwritten by otp configuration |
| 23 to 24 | ospi_io_speed_clk_nclk | - | 0b00 (low): low speed. 0b01 (medium): medium speed. 0b10 (high): high speed 0b11 (very_high): very high speed |
| 25 to 26 | ospi_io_speed_data_cs | - | 0b00 (low): low speed. 0b01 (medium): medium speed. 0b10 (high): high speed 0b11 (very_high): very high speed |
| 27 to 31 | Reserved | - | - |
| OTP21 | BOOTROM_CONFIG_12 | - | - |
| 0 to 31 | rssefw_version_monotonic_counter | - | Monotonic version number of RSSE FW [1-0xFFFF] → [1-32]: Value of monotonic counter is X where X is position of the most significant bit at 1. |
| OTP22 | BOOTROM_CONFIG_13 | - | - |
Table 34. STM32MP23/25xx OTP fuse description (lower OTP region) (continued)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| 0 to 7 | oem_active_signing_key2 | - | [1-256] → [1-8]: Value of monotonic counter is X where X is position of the most significant bit at 1. 8 possible OEM public keys (OEM key revocation feature for OEM-FSBL authentication). |
| 8 to 31 | Reserved | - | - |
| OTP23 to OTP101 | Reserved | - | - |
| OTP102 | ID | y | - |
| 0 to 5 | REV_ID | - | Revision Identification |
| 6 to 31 | Reserved for ST | - | - |
| OTP103 | CRC_HSM | y | ST Reserved |
| OTP104 | CAL1 | y | - |
| 0 to 15 | A coef for Temperature sensor 1 | - | No calibration: +/-3C Mode 1 calibration: ±1 °C (0...70) and ±1.25 °C (-40...125) |
| 16 to 31 | B coef for Temperature sensor 1 | - | 0 |
| OTP105 | CAL2 | y | - |
| 0 to 15 | A coef for Temperature sensor 2 | - | same in case of 2 T sensor |
| 16 to 31 | B coef for Temperature sensor 2 | - | 0 |
| OTP106 | CAL3 | y | - |
| 0 to 4 | CPU_SVT16 | - | CPU_SVT16 process code |
| 5 to 9 | CPU_LVT16 | - | CPU_LVT16 process code |
| 10 to 14 | CPU_ULVT16 | - | CPU_ULVT16 process code |
| 15 | Reserved for ST | - | - |
| 16 to 20 | CPU_SVT20 | - | CPU_SVT20 process code |
| 21 to 25 | CPU_LVT20 | - | CPU_LVT20 process code |
| 26 to 30 | CPU_ULVT20 | - | CPU_ULVT20 process code |
| 31 | Reserved for ST | - | - |
| OTP107 | CAL4 | y | - |
| 0 to 4 | GPU_SVT16 | - | GPU_SVT16 process code |
| 5 to 9 | GPU_LVT16 | - | GPU_LVT16 process code |
| 10 to 14 | GPU_ULVT16 | - | GPU_ULVT16 process code |
| 15 | Reserved for ST | - | - |
Table 34. STM32MP23/25xx OTP fuse description (lower OTP region) (continued)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| 16 to 20 | GPU_SVT20 | - | GPU_SVT20 process code |
| 21 to 25 | GPU_LVT20 | - | GPU_LVT20 process code |
| 26 to 30 | GPU_ULVT20 | - | GPU_ULVT20 process code |
| 31 | Reserved for ST | - | - |
| OTP108 | CAL5 | y | - |
| 0 to 31 | Reserved for ST | - | Reseved for DSI calibration |
| OTP109 | CAL6 | y | - |
| 0 to 31 | Reserved for ST | - | Reserved for CSI calibration |
| OTP110 | CAL7 | y | - |
| 0 to 11 | VREFINT_CAL | - | Raw data acquired by ADC1 at temperature of 30 °C. |
| 12 to 31 | Reserved for ST | - | Reserved for ST |
| OTP111 | CAL8 | y | - |
| 0 to 3 | Reserved for ST | - | - |
| 4 to 8 | Reserved for ST | - | - |
| 9 to 12 | USBTC_VIREF1_3A0[3:0] | - | USB Type C CC1 ref current trim (±6%) in 3 A mode |
| 13 to 15 | Reserved for ST | - | - |
| 16 to 19 | Reserved for ST | - | - |
| 20 to 24 | Reserved for ST | - | - |
| 25 to 28 | USBTC_VIREF2_3A0[3:0] | - | USB Type C CC2 ref current trim (±6%) in 3 A mode |
| 29 to 31 | Reserved for ST | - | 0 |
| OTP112 | ENGI1 | - | Reserved for ST |
| OTP113 | ENGI2 | - | Reserved for ST |
| OTP114 | ENGI3 | - | Reserved for ST |
| OTP115 | ENGI4 | y | Reserved for ST |
| OTP116 | ENGI5 | y | Reserved for ST |
| OTP117 | ENGI6 | y | Reserved for ST |
| OTP118 | ENGI7 | y | Reserved for ST |
| OTP119 | ENGI8 | y | Reserved for ST |
| OTP120 | ATRIM1 | y | - |
| 0 to 5 | BG_TRIM[5:0] | - | Internal bandgap trim |
| 6 to 11 | VREF_TRIM_1V5[5:0] | - | ADC reference trim for 1.5 V |
| 12 to 17 | LSI_TRIM[5:0] | - | LSI frequency trim |
| 18 to 22 | TMON_TRIM[4:0] | - | Temperature monitor trim |
Table 34. STM32MP23/25xx OTP fuse description (lower OTP region) (continued)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| 23 to 24 | BKPREG_TRIM[1:0] | - | Backup regulator (.8 V) adjust |
| 25 to 30 | VREF_TRIM_1V2[5:0] | - | ADC reference trim for 1.21 V |
| 31 | Reserved for ST | - | - |
| OTP121 | ATRIM2 | y | - |
| 0 to 7 | MSI_16M_TRIM[7:0] | - | MSI frequency trim at 16 MHz |
| 8 to 15 | MSI_4M_TRIM[7:0] | - | MSI frequency trim at 4 MHz |
| 16 to 24 | HSI_TRIM[8:0] | - | HSI frequency trim |
| 25 to 31 | Reserved for ST | - | - |
| OTP122 | ATRIM3 | y | - |
| 0 to 2 | PKG[2:0] | - | Package options: TFBGA436 = 0b101 TFBGA424 = 0b011 TFBGA361 = 0b001 Die = 0b000 |
| 3 | Reserved for ST | - | - |
| 4 to 7 | USBTC_CCRPD1[3:0] | - | USB Type C CC1 5.1Kohm pull down trim (±10%) |
| 8 to 11 | USBTC_VIREF1_1A5[3:0] | - | USB Type C CC1 ref current trim (±6%) in 1.5 A mode |
| 12 to 15 | USBTC_CCRPD2[3:0] | - | USB Type C CC2 pull down trim (5.1 K ±10%) |
| 16 to 19 | USBTC_VIREF2_1A5[3:0] | - | USB Type C CC2 ref current trim (±6%) in 1.5 A mode |
| 20 to 28 | BSEC_TRIM[8:0] | - | BSEC local oscillator (RCBSEC) frequency trim at EWS |
| 29 to 30 | Reserved for ST | - | |
| 31 | USE_AMBIANT | - | Use BSEC_AMBIANT_TRIM for BSEC local oscillator |
| OTP123 | ATRIM4 | y | - |
| 0 to 3 | VDDIO4_IOCOMP | - | VDDIO4 IO segment compensation trim |
| 4 to 7 | VDDIO3_IOCOMP | - | VDDIO3 IO segment compensation trim |
| 8 to 11 | VDDIO2_IOCOMP | - | VDDIO2 IO segment compensation trim |
| 12 to 15 | VDDIO1_IOCOMP | - | VDDIO1 IO segment compensation trim |
| 16 to 19 | VDD_IOCOMP | - | VDD IO segment compensation trim |
| 20 to 22 | HSI_TEMPSEL[2:0] | - | Temperature correction adjustment during validation |
| 23 to 31 | BSEC_AMBIANT_TRIM[8:0] | - | BSEC local oscillator frequency trim at ambient temperature |
| OTP124 | HCONF1 | - | - |
| 0 | IWDG1_HW | - | IWDG1 start on reset |
| 1 | IWDG1_FZ_STOP | - | IWDG1 freeze in Stop mode |
| 2 | IWDG1_FZ_STANDBY | - | IWDG1 freeze in Standby mode |
Table 34. STM32MP23/25xx OTP fuse description (lower OTP region) (continued)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| 3 | IWDG2_HW | - | IWDG2 start on reset |
| 4 | IWDG2_FZ_STOP | - | IWDG2 freeze in Stop mode |
| 5 | IWDG2_FZ_STANDBY | - | IWDG2 freeze in Standby mode |
| 6 | IWDG3_HW | - | IWDG3 start on reset |
| 7 | IWDG3_FZ_STOP | - | IWDG3 freeze in Stop mode |
| 8 | IWDG3_FZ_STANDBY | - | IWDG3 freeze in Standby mode |
| 9 | IWDG4_HW | - | IWDG4 start on reset |
| 10 | IWDG4_FZ_STOP | - | IWDG4 freeze in Stop mode |
| 11 | IWDG4_FZ_STANDBY | - | IWDG4 freeze in Standby mode |
| 12 | SELINBORH | - | 0: BOR Disabled 1: BOR = 2.7 V |
| 13 | HSLV_VDDIO4 | - | VDDIO4 I/O segment below 2.5 V for I/O mode The I/O segment is used by OCTOSPIM port2 |
| 14 | HSLV_VDDIO3 | - | VDDIO3 I/O segment below 2.5 V for I/O mode The I/O segment is used by OCTOSPIM port1 |
| 15 | HSLV_VDDIO2 | - | VDDIO2 I/O segment below 2.5 V for I/O mode The I/O segment is used by SDMMC2 port |
| 16 | HSLV_VDDIO1 | - | VDDIO1 I/O segment below 2.5 V for I/O mode selection The I/O segment is used by SDMMC1 port |
| 17 | HSLV_VDD | - | Main I/O segment below 2.5 V for I/O mode |
| 18 | SYSRAM_ERASE | - | 0: SYSRAM upper half not erased on reset 1: SYSRAM upper half erased on reset |
| 19 | Reserved for ST | - | 0 |
| 20 | DISABLE_SCAN | - | Scan chains are disabled on CLOSED_UNLOCKED device when this bit is 1 |
| 21 to 31 | Reserved for ST | - | - |
| OTP125 | MREPAIR1 | y | Reserved for ST |
| OTP126 | MREPAIR2 | y | Reserved for ST |
| OTP127 | MREPAIR3 | y | Reserved for ST |
1. Permanent programing locked.
Table 35. STM32MP23/25xx OTP fuse description (mid OTP region)
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| OTP128 | STM32CERTIF0(2) | y | STM32 device certificate (public key), part1 |
| OTP129 | STM32CERTIF1 | y | STM32 device certificate (public key), part2 |
| OTP130 | STM32CERTIF2 | y | STM32 device certificate (public key), part3 |
| OTP131 | STM32CERTIF3 | y | STM32 device certificate (public key), part4 |
| OTP132 | STM32CERTIF4 | y | STM32 device certificate (public key), part5 |
| OTP133 | STM32CERTIF5 | y | STM32 device certificate (public key), part6 |
| OTP134 | STM32CERTIF6 | y | STM32 device certificate (public key), part7 |
| OTP135 | STM32CERTIF7 | y | STM32 device certificate (public key), part8 |
| OTP136 | STM32CERTIF8 | y | STM32 device certificate (public key), part9 |
| OTP137 | STM32CERTIF9 | y | STM32 device certificate (public key), part10 |
| OTP138 | STM32CERTIF10 | y | STM32 device certificate (public key), part11 |
| OTP139 | STM32CERTIF11 | y | STM32 device certificate (public key), part12 |
| OTP140 | STM32CERTIF12 | y | STM32 device certificate (public key), part13 |
| OTP141 | STM32CERTIF13 | y | STM32 device certificate (public key), part14 |
| OTP142 | STM32CERTIF14 | y | STM32 device certificate (public key), part15 |
| OTP143 | STM32CERTIF15 | y | STM32 device certificate (public key), part16 |
| OTP144 | OEM_KEY1_ROT0(2) | - | OEM Key1 root of trust hash, part1 |
| OTP145 | OEM_KEY1_ROT1 | - | OEM Key1 root of trust hash, part2 |
| OTP146 | OEM_KEY1_ROT2 | - | OEM Key1 root of trust hash, part3 |
| OTP147 | OEM_KEY1_ROT3 | - | OEM Key1 root of trust hash, part4 |
| OTP148 | OEM_KEY1_ROT4 | - | OEM Key1 root of trust hash, part5 |
| OTP149 | OEM_KEY1_ROT5 | - | OEM Key1 root of trust hash, part6 |
| OTP150 | OEM_KEY1_ROT6 | - | OEM Key1 root of trust hash, part7 |
| OTP151 | OEM_KEY1_ROT7 | - | OEM Key1 root of trust hash, part8 |
| OTP152 | OEM_KEY2_ROT0 | - | OEM Key2 root of trust hash, part1 |
| OTP153 | OEM_KEY2_ROT1 | - | OEM Key2 root of trust hash, part2 |
| OTP154 | OEM_KEY2_ROT2 | - | OEM Key2 root of trust hash, part3 |
| OTP155 | OEM_KEY2_ROT3 | - | OEM Key2 root of trust hash, part4 |
| OTP156 | OEM_KEY2_ROT4 | - | OEM Key2 root of trust hash, part5 |
| OTP157 | OEM_KEY2_ROT5 | - | OEM Key2 root of trust hash, part6 |
| OTP158 | OEM_KEY2_ROT6 | - | OEM Key2 root of trust hash, part7 |
| OTP159 | OEM_KEY2_ROT7 | - | OEM Key2 root of trust hash, part8 |
| OTP160 | STM32PUBKEY0(2) | y | STM32 device public key, part1 |
| OTP words/ bits | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| OTP161 | STM32PUBKEY1 | y | STM32 device public key, part2 |
| OTP162 | STM32PUBKEY2 | y | STM32 device public key, part3 |
| OTP163 | STM32PUBKEY3 | y | STM32 device public key, part4 |
| OTP164 | STM32PUBKEY4 | y | STM32 device public key, part5 |
| OTP165 | STM32PUBKEY5 | y | STM32 device public key, part6 |
| OTP166 | STM32PUBKEY6 | y | STM32 device public key, part7 |
| OTP167 | STM32PUBKEY7 | y | STM32 device public key, part8 |
| OTP168 | STM32PUBKEY8 | y | STM32 device public key, part9 |
| OTP169 | STM32PUBKEY9 | y | STM32 device public key, part10 |
| OTP170 | STM32PUBKEY10 | y | STM32 device public key, part11 |
| OTP171 | STM32PUBKEY11 | y | STM32 device public key, part12 |
| OTP172 | STM32PUBKEY12 | y | STM32 device public key, part13 |
| OTP173 | STM32PUBKEY13 | y | STM32 device public key, part14 |
| OTP174 | STM32PUBKEY14 | y | STM32 device public key, part15 |
| OTP175 | STM32PUBKEY15 | y | STM32 device public key, part16 |
| OTP176 to OTP254 | available to customer | - | - |
| OTP255 | ST_RSSE_EDMK_DERIV_CS TE_FUSE | y | ST encryption decryption master key derivation constant |
- 1. Permanent programming locked.
- 2. Key format 1.
| OTP words | Name/description | wplock(1) | Detailed description |
|---|---|---|---|
| OTP256 | OTP_RMA_LOCK_PSWD0(2) | - | RMA_PSWD0 |
| OTP257 | OTP_RMA_LOCK_PSWD1 | - | RMA_PSWD1 |
| OTP258 | OTP_RMA_LOCK_PSWD2 | - | RMA_PSWD2 |
| OTP259 | OTP_RMA_LOCK_PSWD3 | - | RMA_PSWD3 |
Table 36. STM32MP23/25xx OTP fuse description (upper OTP region) (continued)
| OTP words | Name/description | wblock(1) | Detailed description |
|---|---|---|---|
| OTP260 to OTP359 | OEM Secrets available to customer | - | - |
| OTP360 | OEM_KEY2_EDMK0(3) | - | OEM master key used to derive FSBLM decryption key, part1 |
| OTP361 | OEM_KEY2_EDMK1 | - | OEM master key used to derive FSBLM decryption key, part2 |
| OTP362 | OEM_KEY2_EDMK2 | - | OEM master key used to derive FSBLM decryption key, part3 |
| OTP363 | OEM_KEY2_EDMK3 | - | OEM master key used to derive FSBLM decryption key, part4 |
| OTP364 | OEM_KEY1_EDMK0 | - | OEM master key used to derive FSBLA or M decryption key, part1 |
| OTP365 | OEM_KEY1_EDMK1 | - | OEM master key used to derive FSBLA or M decryption key, part2 |
| OTP366 | OEM_KEY1_EDMK2 | - | OEM master key used to derive FSBLA or M decryption key, part3 |
| OTP367 | OEM_KEY1_EDMK3 | - | OEM master key used to derive FSBLA or M decryption key, part4 |
| OTP368 | STM32PRVKEY0(4) | - | STM32 ECC device private key, part1 |
| OTP369 | STM32PRVKEY1 | - | STM32 ECC device private key, part2 |
| OTP370 | STM32PRVKEY2 | - | STM32 ECC device private key, part3 |
| OTP371 | STM32PRVKEY3 | - | STM32 ECC device private key, part4 |
| OTP372 | STM32PRVKEY4 | - | STM32 ECC device private key, part5 |
| OTP373 | STM32PRVKEY5 | - | STM32 ECC device private key, part6 |
| OTP374 | STM32PRVKEY6 | - | STM32 ECC device private key, part7 |
| OTP375 | STM32PRVKEY7 | - | STM32 ECC device private key, part8 |
| OTP376 | HWKEY0 | - | Secret hardware unique key, part1 |
| OTP377 | HWKEY1 | - | Secret hardware unique key, part2 |
| OTP378 | HWKEY2 | - | Secret hardware unique key, part3 |
| OTP379 | HWKEY3 | - | Secret hardware unique key, part4 |
| OTP380 | HWKEY4 | - | Secret hardware unique key, part5 |
| OTP381 | HWKEY5 | - | Secret hardware unique key, part6 |
| OTP382 | HWKEY6 | - | Secret hardware unique key, part7 |
| OTP383 | HWKEY7 | - | Secret hardware unique key, part8 |
- 1. Permanent programing locked.
- 2. Key format 1.
- 3. Key format 2.
- 4. Key format 3.