7. OTP mapping (OTP)

The STM32MP21xx 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 6: 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:

The OTP word most relevant properties are listed in the following columns:

Table 33. STM32MP21xx OTP mapping

WordDescriptionShadowedD1STDBY exitWiredOwnerShadowed type
Lower OTP region
OTP0OTP_HW_WORD0YesYesYes (BSEC)ST/
Customer
Read only
OTP1OTP_HW_WORD1YesN/AYes (BSEC)STRead only
OTP2OTP_HW_WORD2YesN/AYes (BSEC)STRead only
OTP3OTP_HW_WORD3YesN/AYes (BSEC)STRead only
OTP4OTP_HW_WORD4YesYesYes (BSEC)STRead only
OTP5ID0YesNoNoSTRead only
OTP6ID1YesNoNoSTRead only
OTP7ID2YesNoNoSTRead only
OTP8OTP_CID_PROVYesNoNoSTRead only
OTP9RPN_CODINGYesYesYes (SoC)STRead only
OTP10BOOTROM_CONFIG_1NoYesNoST-
OTP11BOOTROM_CONFIG_2YesYesNoCustomerRead/write
OTP12BOOTROM_CONFIG_3NoYesNoCustomer-

Table 33. STM32MP21xx OTP mapping (continued)

WordDescriptionShadowedD1STDBY exitWiredOwnerShadowed type
OTP13Reserved by STYesNoNoSTRead only
OTP14Reserved by STYesNoNoSTRead only
OTP15Reserved by STYesNoNoSTRead only
OTP16BOOTROM_CONFIG_7YesYesNoCustomerRead/write
OTP17BOOTROM_CONFIG_8NoYesNoCustomer-
OTP18BOOTROM_CONFIG_9NoYesNoCustomer-
OTP19BOOTROM_CONFIG_10NoYesNoCustomer-
OTP20BOOTROM_CONFIG_11NoYesNoCustomer-
OTP21BOOTROM_CONFIG_12NoYesNoCustomer-
OTP22BOOTROM_CONFIG_13NoYesNoCustomer-
OTP23H32ENCPRVKEYNoYesNoST-
OTP24BOOTROM_TZ_EPOCH0NoNoNoCustomer-
OTP25BOOTROM_TZ_EPOCH1NoNoNoCustomer-
OTP26BOOTROM_TZ_EPOCH2NoNoNoCustomer-
OTP27BOOTROM_TZ_EPOCH3NoNoNoCustomer-
OTP28BOOTROM_TZ_EPOCH4NoNoNoCustomer-
OTP29BOOTROM_TZ_EPOCH5NoNoNoCustomer-
OTP30BOOTROM_TZ_EPOCH6NoNoNoCustomer-
OTP31BOOTROM_TZ_EPOCH7NoNoNoCustomer-
OTP32BOOTROM_NS_EPOCH0NoNoNoCustomer-
OTP33BOOTROM_NS_EPOCH1NoNoNoCustomer-
OTP34BOOTROM_NS_EPOCH2NoNoNoCustomer-
OTP35BOOTROM_NS_EPOCH3NoNoNoCustomer-
OTP36BOOTROM_NS_EPOCH4NoNoNoCustomer-
OTP37BOOTROM_NS_EPOCH5NoNoNoCustomer-
OTP38BOOTROM_NS_EPOCH6NoNoNoCustomer-
OTP39BOOTROM_NS_EPOCH7NoNoNoCustomer-
OTP40 to OTP101Available for customerNoNoNoCustomer-
OTP102IDNoNoNoST-
OTP103CRC_HSMNoNoNoST-
OTP104CAL1NoNoNoST-
OTP105ReservedNoNoNoST-
OTP106CAL3NoNoNoST-

Table 33. STM32MP21xx OTP mapping (continued)

WordDescriptionShadowedD1STDBY exitWiredOwnerShadowed type
OTP107ReservedNoNoNoST-
OTP108CAL5NoNoNoST-
OTP109ReservedNoNoNoST-
OTP110CAL7NoNoNoST-
OTP111ReservedNoNoNoST-
OTP112ENGI1NoNoNoST-
OTP113ENGI2NoNoNoST-
OTP114ENGI3NoNoNoST-
OTP115ENGI4NoNoNoST-
OTP116ENGI5NoNoNoST-
OTP117ENGI6NoNoNoST-
OTP118ENGI7NoNoNoST-
OTP119ENGI8NoNoNoST-
OTP120ATRIM1YesNohws[31:0]STRead/write
OTP121ATRIM2YesNohws[63:32]STRead/write
OTP122ATRIM3YesNohws[95:64]STRead/write
OTP123ATRIM4YesNohws[127:96]STRead/write
OTP124HCONF1YesNohws[159:128]CustomerRead/write
OTP125MREPAIR1YesNohws[191:160]STRead/write
OTP126MREPAIR2YesNohws[223:192]STRead/write
OTP127MREPAIR3YesNohws[255:224]STRead/write
-
Mid OTP region
OTP128STM32CERTIF0NoNoNoST-
OTP129STM32CERTIF1NoNoNoST-
OTP130STM32CERTIF2NoNoNoST-
OTP131STM32CERTIF3NoNoNoST-
OTP132STM32CERTIF4NoNoNoST-
OTP133STM32CERTIF5NoNoNoST-
OTP134STM32CERTIF6NoNoNoST-
OTP135STM32CERTIF7NoNoNoST-
OTP136STM32CERTIF8NoNoNoST-
OTP137STM32CERTIF9NoNoNoST-
OTP138STM32CERTIF10NoNoNoST-

Table 33. STM32MP21xx OTP mapping (continued)

WordDescriptionShadowedD1STDBY exitWiredOwnerShadowed type
OTP139STM32CERTIF11NoNoNoST-
OTP140STM32CERTIF12NoNoNoST-
OTP141STM32CERTIF13NoNoNoST-
OTP142STM32CERTIF14NoNoNoST-
OTP143STM32CERTIF15NoNoNoST-
OTP144STM32CERTIF16NoNoNoST-
OTP145STM32CERTIF17NoNoNoST-
OTP146STM32CERTIF18NoNoNoST-
OTP147STM32CERTIF19NoNoNoST-
OTP148STM32CERTIF20NoNoNoST-
OTP149STM32CERTIF21NoNoNoST-
OTP150STM32CERTIF22NoNoNoST-
OTP151STM32CERTIF23NoNoNoST-
OTP152OEM_KEY1_ROT0NoNoNoCustomer-
OTP153OEM_KEY1_ROT1NoNoNoCustomer-
OTP154OEM_KEY1_ROT2NoNoNoCustomer-
OTP155OEM_KEY1_ROT3NoNoNoCustomer-
OTP156OEM_KEY1_ROT4NoNoNoCustomer-
OTP157OEM_KEY1_ROT5NoNoNoCustomer-
OTP158OEM_KEY1_ROT6NoNoNoCustomer-
OTP159OEM_KEY1_ROT7NoNoNoCustomer-
OTP160OEM_KEY2_ROT0NoNoNoST-
OTP161OEM_KEY2_ROT1NoNoNoST-
OTP162OEM_KEY2_ROT2NoNoNoST-
OTP163OEM_KEY2_ROT3NoNoNoST-
OTP164OEM_KEY2_ROT4NoNoNoST-
OTP165OEM_KEY2_ROT5NoNoNoST-
OTP166OEM_KEY2_ROT6NoNoNoST-
OTP167OEM_KEY2_ROT7NoNoNoST-
OTP168STM32PUBKEY0NoNoNoST-
OTP169STM32PUBKEY1NoNoNoST-
OTP170STM32PUBKEY2NoNoNoST-
OTP171STM32PUBKEY3NoNoNoST-
OTP172STM32PUBKEY4NoNoNoST-

Table 33. STM32MP21xx OTP mapping (continued)

WordDescriptionShadowedD1STDBY exitWiredOwnerShadowed type
OTP173STM32PUBKEY5NoNoNoST-
OTP174STM32PUBKEY6NoNoNoST-
OTP175STM32PUBKEY7NoNoNoST-
OTP176STM32PUBKEY8NoNoNoST-
OTP177STM32PUBKEY9NoNoNoST-
OTP178STM32PUBKEY10NoNoNoST-
OTP179STM32PUBKEY11NoNoNoST-
OTP180 to OTP254Available to customerNoNoNoCustomer-
OTP255ST_RSSE_EDMK_DERIV_CSTE_FUSENoNoNoST-
Upper OTP region
OTP256OTP_RMA_LOCK_PSWD0YesNoNoCustomer-
OTP257OTP_RMA_LOCK_PSWD1YesNoNoCustomer-
OTP258OTP_RMA_LOCK_PSWD2YesNoNoCustomer-
OTP259OTP_RMA_LOCK_PSWD3YesNoNoCustomer-
OTP260 to OTP347OEM Secrets available to customerNoNoNoCustomer-
OTP348OEM_KEY2_EDMK0NoNoNoCustomer-
OTP349OEM_KEY2_EDMK1NoNoNoCustomer-
OTP350OEM_KEY2_EDMK2NoNoNoCustomer-
OTP351OEM_KEY2_EDMK3NoNoNoCustomer-
OTP352OEM_KEY2_EDMK4NoNoNoCustomer-
OTP353OEM_KEY2_EDMK5NoNoNoCustomer-
OTP354OEM_KEY2_EDMK6NoNoNoCustomer-
OTP355OEM_KEY2_EDMK7NoNoNoCustomer-
OTP356OEM_KEY1_EDMK0NoYesNoCustomer-
OTP357OEM_KEY1_EDMK1NoYesNoCustomer-
OTP358OEM_KEY1_EDMK2NoYesNoCustomer-
OTP359OEM_KEY1_EDMK3NoYesNoCustomer-
OTP360OEM_KEY1_EDMK4NoYesNoCustomer-
OTP361OEM_KEY1_EDMK5NoYesNoCustomer-
OTP362OEM_KEY1_EDMK6NoYesNoCustomer-
OTP363OEM_KEY1_EDMK7NoYesNoCustomer-
OTP364STM32ENCPRVKEY0NoNoNoST-

Table 33. STM32MP21xx OTP mapping (continued)

WordDescriptionShadowedD1STDBY exitWiredOwnerShadowed type
OTP365STM32ENCPRVKEY1NoNoNoST-
OTP366STM32ENCPRVKEY2NoNoNoST-
OTP367STM32ENCPRVKEY3NoNoNoST-
OTP368STM32ENCPRVKEY4NoNoNoST-
OTP369STM32ENCPRVKEY5NoNoNoST-
OTP370STM32ENCPRVKEY6NoNoNoST-
OTP371STM32ENCPRVKEY7NoNoNoST-
OTP372STM32ENCPRVKEY8NoNoNoST-
OTP373STM32ENCPRVKEY9NoNoNoST-
OTP374STM32ENCPRVKEY10NoNoNoST-
OTP375STM32ENCPRVKEY11NoNoNoST-
OTP376HWKEY0YesN/AYes (SAES)STNo access
OTP377HWKEY1YesN/AYes (SAES)STNo access
OTP378HWKEY2YesN/AYes (SAES)STNo access
OTP379HWKEY3YesN/AYes (SAES)STNo access
OTP380HWKEY4YesN/AYes (SAES)STNo access
OTP381HWKEY5YesN/AYes (SAES)STNo access
OTP382HWKEY6YesN/AYes (SAES)STNo access
OTP383HWKEY7YesN/AYes (SAES)STNo access

The following OTP words are described in details in Table 34: STM32MP21xx OTP fuse description (lower OTP region) or by BSEC:

Table 34: STM32MP21xx OTP fuse description (lower OTP region) provides the bit-level description and other word properties in the following columns:

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

Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1)
OTP words/
bits
Name/descriptionwplock(2)Detailed description
OTP0OTP_HW_WORD0yOTP check word (virgin -> non virgin)
OTP1OTP_HW_WORD1-OTP security word to close security state BSECXW
OTP2OTP_HW_WORD2-OTP word for re-opening (CLOSE->OPEN) via RMA password: RMA bits
OTP3OTP_HW_WORD3-OTP Word for re-opening (CLOSE->OPEN) via RMA password: RMA tries bits
OTP4OTP_HW_WORD4-OTP word for TK retries (ECIES)
OTP5ID0yID0 for engineering purposes
OTP6ID1yID1 for engineering purposes
OTP7ID2yID2 for engineering purposes
OTP8OTP_CID_PROVyOTP word for CID provisioning control
7 to 0prov_cid_switch_enabling-Enable/disable provisioning cid for rsse_fw
0x0F (enabled): provisioning cid switching is enabled for rsse_fw.
0xFF (disabled): provisioning cid switching is permanently disabled.
OTP8[7:0] to be programmed to 0x0F for life cycle state CLOSED_LOCKED_UNPROVD and OTP8[7:0] to be programmed to 0xFF for life cycle state CLOSED_LOCKED_PROVD.
31 to 8Reserved--
OTP9RPN_CODINGy-
OTP10BOOTROM_CONFIG_1--
0chip_cpbk_y_sign-0 (positive): Device public key Y is positive
1 (negative): Device public key Y is negative
1stkeyprov_ecies_ok-Status of ECIES ST key provisioning when it was attempted.
0 (failed): ECIES ST key provisioning last attempt was failed
1 (successful): ECIES ST key provisioning last attempt was successful
Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1) (continued)
OTP words/
bits
Name/descriptionwplock(2)Detailed description
2stkeyprov_hwkey_done-0 (no): HWKEY not provisioned
1 (yes): HWKEY was provisioned
3 to 6security_counter-Security counter involved in productID for device certificate verification by HSM-OEM in RSSE_prov context
7 to 14st_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
15 to 18rssefw_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)
19 to 26nb_added_stsecrets-0: no additional ST secrets
[1-63]: number of OTP words located in upper area [360-nb_added_stsecrets..359] that were provisioned with ST secrets.
27 to 31Reserved--
OTP11BOOTROM_CONFIG_2-boot source configuration word
0 to 4Reserved--
5no_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 9Reserved--
10 to 14no_data_cache-0b00001: disables USART2
0b00010: disables UART5
0b00100: disables UART6
15no_data_cache-0 (enabled): Data cache is used by boot ROM.
1 (disabled): Data cache is not used by boot ROM.
16 to 23boot_source_disable-Each bit disables 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.
0b00100000 : disable USB boot source.
0b01000000 : disable QSPI NAND boot source.
0b10000000 : disable QSPI HyperFlash boot source.
24 to 25bootpins_layout_sel-[0-3]: Select one among the three possible BOOT pin layouts
26 to 29boot_source_sel-[0-15]: Select one among the 16 possible boot source of the selected BOOT pin layout
30dont_boot_on_cfm_tamper-0: boot on confirmed tamper
1: do not boot on confirmed tamper
31Reserved--
Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1) (continued)
OTP words/
bits
Name/descriptionwplock(2)Detailed description
OTP12BOOTROM_CONFIG_3--
0 to 31oem_fsbla_monotonic_counter-[1-0xFFFF] -> [1-32]: Value of monotonic counter is X where X is position of the most significant bit at 1.
OTP13Reserved by STy-
OTP14Reserved by STy-
OTP15Reserved by STy-
OTP16BOOTROM_CONFIG_7--
0disable_traces-0 (no): boot ROM traces are enabled
1 (yes): boot ROM traces are disabled
1disable_hse_freq_detect-0 (no): HSE frequency autodetection is enabled
1 (yes): HSE frequency autodetection is disabled
2disable_hse_bypass_detect-0 (no): HSE bypass detection is enabled
1 (yes): HSE bypass detection is disabled
3disable_blocking_failure_traces-0 (no): blocking failure traces are enabled
1 (yes): blocking failure traces are disabled
4a35_mode-0 (aarch64): FSBL-A is AArch64
1 (aarch32): FSBL-A is AArch32
5fmc_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
6emergency_debug_req-0 (no): emergency debug is not requested
1 (yes): emergency debug is requested
7emmc_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.
8fsbl_decrypt_prio-0 (speed): use CRYP (fast but no DPA protection)
1 (security): use SAES (slow but DPA protection)
9Reserved--
10Reserved--
11 to 13HSE_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
14snand_need_plane_select_1-0 (no): Serial NAND plane select is not needed
1 (yes): Serial NAND plane select is need
Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1) (continued)
OTP words/ bitsName/descriptionwplock(2)Detailed description
15 to 17snand_need_plane_select_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
18pnand_bus_width_1-0 (8-bits): data width is 8-bits
1 (16-bits): data width is 16-bits
19 to 26pnand_bus_width_1-[1-256]: Number of block = 256 * value
27 to 28nand_block_size_1-[1-4]: Block size in number of pages
29 to 30nand_page_size_1-0 (64): 64 pages per block
1 (128): 128 pages per block
2 (256): 256 pages per block
31pnand_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.
OTP17BOOTROM_CONFIG_8--
0 to 7oem_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).
8oem_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 31Reserved--
OTP18BOOTROM_CONFIG_9--
0 to 3secure_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 7prov_done-0: RSSE provisioning is not done
[1-15]: RSSE provisioning is done
8 to 11debug_lock-Lock debug enabling until next reset when device is CLOSED-LOCKED.
0: does not lock debug enabling
[1-15]: locks debug enabling
12 to 15otp_prov_done-0: RSSE OTP provisioning is not done
[1-15]: RSSE OTP provisioning part done, used to manage RSSE extension issue
16 to 21Reserved--
Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1) (continued)
OTP words/
bits
Name/descriptionwplock(2)Detailed description
22ns_epoch_enable0: Boot ROM does not manage NS_EPOCH. The BOOTROM_NS_EPOCH monotonic counter fuse bits are free for other use.
1: Boot ROM manages NS_EPOCH. The Boot ROM uses BOOTROM_NS_EPOCH monotonic counter fuse bits.
23 to 26fingerprint_enable0 (no): fingerprint feature is disabled
1 (yes): fingerprint feature is enabled
27 to 31Reserved--
OTP19BOOTROM_CONFIG_10--
0 to 31oem_keys2_enable-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.
OTP20BOOTROM_CONFIG_11--
0nand_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
1snand_need_plane_select_2-idem BOOTROM_CONFIG_7.snand_need_plane_select_1
2 to 4pnand_number_of_ecc_bits_2-idem BOOTROM_CONFIG_7.pnand_number_of_ecc_bits_1
5pnand_bus_width_2-idem BOOTROM_CONFIG_7.pnand_bus_width_1
6 to 13nand_nb_of_blocks_2-idem BOOTROM_CONFIG_7.nand_nb_of_blocks_1
14 to 15nand_block_size_2-idem BOOTROM_CONFIG_7.nand_block_size_1
16 to 17nand_page_size_2-idem BOOTROM_CONFIG_7.nand_page_size_1
18hyperflash_3V3_device-is HyperFlash a 3.3 V device
0:no
1:yes
19 to 21rng_hocr_value-6: 0xAAC7 value set by engineering
7: 0xA2B3
22ospi_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 24ospi_io_speed_clk_nclk-0b00 (low): low speed.
0b01 (medium): medium speed.
0b10 (high): high speed
0b11 (very_high): very high speed
25 to 26ospi_io_speed_data_cs0b00 (low): low speed.
0b01 (medium): medium speed.
0b10 (high): high speed
0b11 (very_high): very high speed
27 to 31Reserved--
OTP21BOOTROM_CONFIG_12--
Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1) (continued)
OTP words/
bits
Name/descriptionwplock(2)Detailed description
0 to 31rssefw_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.
OTP22BOOTROM_CONFIG_13--
0 to 7oem_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 31Reserved--
OTP23H32ENCPRVKEY-Last 32 bits of SHA256(STM32ENCPRVKEY)
OTP24BOOTROM_TZ_EPOCH0-Secure side Epoch counter, part1
OTP25BOOTROM_TZ_EPOCH1-Secure side Epoch counter, part2
OTP26BOOTROM_TZ_EPOCH2-Secure side Epoch counter, part3
OTP27BOOTROM_TZ_EPOCH3-Secure side Epoch counter, part4
OTP28BOOTROM_TZ_EPOCH4-Secure side Epoch counter, part5
OTP29BOOTROM_TZ_EPOCH5-Secure side Epoch counter, part6
OTP30BOOTROM_TZ_EPOCH6-Secure side Epoch counter, part7
OTP31BOOTROM_TZ_EPOCH7-Secure side Epoch counter, part8
OTP32BOOTROM_NS_EPOCH0-Non Secure Epoch counter, part1
OTP33BOOTROM_NS_EPOCH1-Non Secure Epoch counter, part2
OTP34BOOTROM_NS_EPOCH2-Non Secure Epoch counter, part3
OTP35BOOTROM_NS_EPOCH3-Non Secure Epoch counter, part4
OTP36BOOTROM_NS_EPOCH4-Non Secure Epoch counter, part5
OTP37BOOTROM_NS_EPOCH5-Non Secure Epoch counter, part6
OTP38BOOTROM_NS_EPOCH6-Non Secure Epoch counter, part7
OTP39BOOTROM_NS_EPOCH7-Non Secure Epoch counter, part8
OTP40
to
OTP101
Reserved--
OTP102ID--
0 to 5REV_ID-Revision identification
6 to 31Reserved ST--
OTP103CRC_HSMyST Reserved
OTP104CAL1y-
0 to 15A coefficient for temperature sensor 1-No calibration: +/-3C
Mode 1 calibration: ±1 °C (0...70) and ±1.25 °C (-40...125)
Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1) (continued)
OTP words/
bits
Name/descriptionwplock(2)Detailed description
16 to 31B coefficient for temperature sensor 1--
OTP105Reserved for ST--
OTP106CAL3y-
0 to 4CPU_SVT16-CPU_SVT16 process code
5 to 9CPU_LVT16-CPU_LVT16 process code
10 to 14CPU_ULVT16-CPU_ULVT16 process code
15Reserved for ST--
16 to 20CPU_SVT20-CPU_SVT20 process code
21 to 25CPU_LVT20-CPU_LVT20 process code
26 to 30CPU_ULVT20-CPU_ULVT20 process code
31Reserved for ST--
OTP107Reserved for ST--
OTP108CAL5--
OTP109Reserved for STy-
OTP110CAL7y-
0 to 15VREFIN_CAL-Raw data acquired by ADC1 at temperature of 30 °C
16 to 31Reserved for ST-Reserved for ADC Calibration
OTP111Reserved for ST--
OTP112ENGI1yReserved for ST
OTP113ENGI2yReserved for ST
OTP114ENGI3yReserved for ST
OTP115ENGI4yReserved for ST
OTP116ENGI5yReserved for ST
OTP117ENGI6yReserved for ST
OTP118ENGI7yReserved for ST
OTP119ENGI8yReserved for ST
OTP120ATRIM1y-
0 to 5BG_TRIM[5:0]-Internal bandgap trim
6 to 11VREF_TRIM_1V5[5:0]-ADC reference trim for 1.5 V
12 to 17LSI_TRIM[5:0]-LSI frequency trim
18 to 22TMON_TRIM[4:0]-Temperature monitor trim
23 to 24BKPREG_TRIM[1:0]-Backup regulator (.8 V) adjust
Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1) (continued)
OTP words/
bits
Name/descriptionwplock(2)Detailed description
25 to 30VREF_TRIM_1V2[5:0]-ADC reference trim for 1.21 V
31Reserved for ST--
OTP121ATRIM2Y-
0 to 7MSI_16M_TRIM[7:0]-MSI frequency trim at 16 MHz
8 to 15Reserved for ST--
16 to 24HSI_TRIM[8:0]-HSI frequency trim
25 to 31Reserved for ST--
OTP122ATRIM3Y-
0 to 2PKG[2:0]-Package options:
000: Custom or Die503
001: VFBGA361 (10 × 10 pitch 0.5 mm)
011: VFBGA273 (11 × 11 pitch 0.5 mm)
100: VFBGA225 (8 × 8 pitch 0.5 mm)
101: VFBGA264 (14 × 14 pitch 0.8 mm)
3 to 19Reserved for ST--
20 to 28BSEC_TRIM[8:0]-BSEC local oscillator frequency trim at EWS
29 to 30Reserved for ST--
31USE_AMBIANT-Use BSEC_AMBIANT_TRIM for BSEC local oscillator
OTP123ATRIM4Y-
0 to 3Reserved for ST--
4 to 7OCTOSPI1_IOCOMP-OCTOSPI1 IO segment compensation trim
8 to 11EMMC_IOCOMP-EMMC IO segment compensation trim
12 to 15SD_IOCOMP-SD IO segment compensation trim
16 to 19VDD_IOCOMP-VDD IO segment compensation trim
20 to 22HSI_TEMPSEL[2:0]-Temperature correction adjustment during validation
23 to 31BSEC_AMBIANT_TRIM[8:0]-BSEC local oscillator frequency trim at ambient temperature
OTP124HCONF1--
0IWDG1_HW-IWDG1 start on reset
1IWDG1_FZ_STOP-IWDG1 freeze in Stop mode
2IWDG1_FZ_STANDBY-IWDG1 freeze in Standby mode
3IWDG2_HW-IWDG2 start on reset
4IWDG2_FZ_STOP-IWDG2 freeze in Stop mode
5IWDG2_FZ_STANDBY-IWDG2 freeze in Standby mode
6IWDG3_HW-IWDG3 start on reset
7IWDG3_FZ_STOP-IWDG3 freeze in Stop mode
Table 34. STM32MP21xx OTP fuse description (lower OTP region)(1) (continued)
OTP words/
bits
Name/descriptionwplock(2)Detailed description
8IWDG3_FZ_STANDBY-IWDG3 freeze in Standby mode
9IWDG4_HW-IWDG4 start on reset
10IWDG4_FZ_STOP-IWDG4 freeze in Stop mode
11IWDG4_FZ_STANDBY-IWDG4 freeze in Standby mode
12SELINBORH-0: BOR Disabled
1: BOR = 2.7 V
13Reserved for ST--
14HSLV_VDDIO3-VDDIO3 I/O segment below 2.5 V for I/O mode
The I/O segment is used by OCTOSPI1
15HSLV_VDDIO2-VDDIO2 I/O segment below 2.5 V for I/O mode
The I/O segment is used by SDMMC2 port
16HSLV_VDDIO1-VDDIO1 I/O segment below 2.5 V for I/O mode selection
The I/O segment is used by SDMMC1 port
17HSLV_VDD-Main I/O segment below 2.5 V for I/O mode
18SYSRAM_ERASE-0: SYSRAM upper half not erased on reset
1: SYSRAM upper half erased on reset
19Reserved for ST-0
20DISABLE_SCAN-Scan chains are disabled on CLOSED_UNLOCKED device
when this bit is 1
21 to 31Reserved for ST--
OTP125MREPAIR1YReserved for ST
OTP126MREPAIR2YReserved for ST
OTP127MREPAIR3YReserved for ST
1. Refer to https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ROM_code_overview .

2. Permanent programming locked.

Table 35. STM32MP21xx OTP fuse description (mid OTP region)
OTP words/
bits
Name/descriptionwplock(1)Detailed description
OTP128STM32CERTIF0(2)YSTM32 device certificate (public key), part1
OTP129STM32CERTIF1YSTM32 device certificate (public key), part2
OTP130STM32CERTIF2YSTM32 device certificate (public key), part3

Table 35. STM32MP21xx OTP fuse description (mid OTP region) (continued)

OTP words/
bits
Name/descriptionwplock(1)Detailed description
OTP131STM32CERTIF3YSTM32 device certificate (public key), part4
OTP132STM32CERTIF4YSTM32 device certificate (public key), part5
OTP133STM32CERTIF5YSTM32 device certificate (public key), part6
OTP134STM32CERTIF6YSTM32 device certificate (public key), part7
OTP135STM32CERTIF7YSTM32 device certificate (public key), part8
OTP136STM32CERTIF8YSTM32 device certificate (public key), part9
OTP137STM32CERTIF9YSTM32 device certificate (public key), part10
OTP138STM32CERTIF10YSTM32 device certificate (public key), part11
OTP139STM32CERTIF11YSTM32 device certificate (public key), part12
OTP140STM32CERTIF12YSTM32 device certificate (public key), part13
OTP141STM32CERTIF13YSTM32 device certificate (public key), part14
OTP142STM32CERTIF14YSTM32 device certificate (public key), part15
OTP143STM32CERTIF15YSTM32 device certificate (public key), part16
OTP144STM32CERTIF16-STM32 device certificate (public key), part17
OTP145STM32CERTIF17-STM32 device certificate (public key), part18
OTP146STM32CERTIF18-STM32 device certificate (public key), part19
OTP147STM32CERTIF19-STM32 device certificate (public key), part20
OTP148STM32CERTIF20-STM32 device certificate (public key), part21
OTP149STM32CERTIF21-STM32 device certificate (public key), part22
OTP150STM32CERTIF22-STM32 device certificate (public key), part23
OTP151STM32CERTIF23-STM32 device certificate (public key), part24
OTP152OEM_KEY1_ROT0-OEM Key1 root of trust hash, part1
OTP153OEM_KEY1_ROT1-OEM Key1 root of trust hash, part2
OTP154OEM_KEY1_ROT2-OEM Key1 root of trust hash, part3
OTP155OEM_KEY1_ROT3-OEM Key1 root of trust hash, part4
OTP156OEM_KEY1_ROT4-OEM Key1 root of trust hash, part5
OTP157OEM_KEY1_ROT5-OEM Key1 root of trust hash, part6
OTP158OEM_KEY1_ROT6-OEM Key1 root of trust hash, part7
OTP159OEM_KEY1_ROT7-OEM Key1 root of trust hash, part8
OTP160OEM_KEY2_ROT0(2)YOEM Key2 root of trust hash, part1
OTP161OEM_KEY2_ROT1YOEM Key2 root of trust hash, part2
OTP162OEM_KEY2_ROT2YOEM Key2 root of trust hash, part3
OTP163OEM_KEY2_ROT3YOEM Key2 root of trust hash, part4
Table 35. STM32MP21xx OTP fuse description (mid OTP region) (continued)
OTP words/
bits
Name/descriptionwplock(1)Detailed description
OTP164OEM_KEY2_ROT4YOEM Key2 root of trust hash, part5
OTP165OEM_KEY2_ROT5YOEM Key2 root of trust hash, part6
OTP166OEM_KEY2_ROT6YOEM Key2 root of trust hash, part7
OTP167OEM_KEY2_ROT7YOEM Key2 root of trust hash, part8
OTP168STM32PUBKEY0YSTM32 device public key, part1
OTP169STM32PUBKEY1YSTM32 device public key, part2
OTP170STM32PUBKEY2YSTM32 device public key, part3
OTP171STM32PUBKEY3YSTM32 device public key, part4
OTP172STM32PUBKEY4YSTM32 device public key, part5
OTP173STM32PUBKEY5YSTM32 device public key, part6
OTP174STM32PUBKEY6YSTM32 device public key, part7
OTP175STM32PUBKEY7YSTM32 device public key, part8
OTP176STM32PUBKEY8YSTM32 device public key, part9
OTP177STM32PUBKEY9YSTM32 device public key, part10
OTP178STM32PUBKEY10YSTM32 device public key, part11
OTP179STM32PUBKEY11YSTM32 device public key, part12
OTP180
to
OTP254
Available to customer--
OTP255ST_RSSE_EDMK_DERIV_CS
TE_FUSE
YST encryption decryption master key derivation constant

1.Permanent programing locked.

2.Key format 1.

Table 36. STM32MP21xx OTP fuse description (upper OTP region)
OTP wordsName/descriptionwplock(1)Detailed description
OTP256OTP_RMA_LOCK_PSWD0(2)-RMA_PSWD0
OTP257OTP_RMA_LOCK_PSWD1-RMA_PSWD1
OTP258OTP_RMA_LOCK_PSWD2-RMA_PSWD2
OTP259OTP_RMA_LOCK_PSWD3-RMA_PSWD3

Table 36. STM32MP21xx OTP fuse description (upper OTP region) (continued)

OTP wordsName/descriptionwplock(1)Detailed description
OTP260 to OTP347OEM Secrets available to customer--
OTP348OEM_KEY2_EDMK0(2)-OEM master key used to derive FSBLM decryption key, part1
OTP349OEM_KEY2_EDMK1-OEM master key used to derive FSBLM decryption key, part2
OTP350OEM_KEY2_EDMK2-OEM master key used to derive FSBLM decryption key, part3
OTP351OEM_KEY2_EDMK3-OEM master key used to derive FSBLM decryption key, part4
OTP352OEM_KEY2_EDMK4OEM master key used to derive FSBLM decryption key, part5
OTP353OEM_KEY2_EDMK5OEM master key used to derive FSBLM decryption key, part6
OTP354OEM_KEY2_EDMK6OEM master key used to derive FSBLM decryption key, part7
OTP355OEM_KEY2_EDMK7OEM master key used to derive FSBLM decryption key, part8
OTP356OEM_KEY1_EDMK0OEM master key used to derive FSBLA or M decryption key, part1
OTP357OEM_KEY1_EDMK1OEM master key used to derive FSBLA or M decryption key, part2
OTP358OEM_KEY1_EDMK2OEM master key used to derive FSBLA or M decryption key, part3
OTP359OEM_KEY1_EDMK3OEM master key used to derive FSBLA or M decryption key, part4
OTP360OEM_KEY1_EDMK4-OEM master key used to derive FSBLA or M decryption key, part5
OTP361OEM_KEY1_EDMK5-OEM master key used to derive FSBLA or M decryption key, part6
OTP362OEM_KEY1_EDMK6-OEM master key used to derive FSBLA or M decryption key, part7
OTP363OEM_KEY1_EDMK7-OEM master key used to derive FSBLA or M decryption key, part1
OTP364STM32ENCPRVKEY0(3)-STM32 ECC device encrypted private key, part1
OTP365STM32ENCPRVKEY1-STM32 ECC device encrypted private key, part2
OTP366STM32ENCPRVKEY2-STM32 ECC device encrypted private key, part3
OTP367STM32ENCPRVKEY3-STM32 ECC device encrypted private key, part4
OTP368STM32ENCPRVKEY4-STM32 ECC device encrypted private key, part5
OTP369STM32ENCPRVKEY5-STM32 ECC device encrypted private key, part6
OTP370STM32ENCPRVKEY6-STM32 ECC device encrypted private key, part7
OTP371STM32ENCPRVKEY7-STM32 ECC device encrypted private key, part8
OTP372STM32ENCPRVKEY8-STM32 ECC device encrypted private key, part9
OTP373STM32ENCPRVKEY9-STM32 ECC device encrypted private key, part10

Table 36. STM32MP21xx OTP fuse description (upper OTP region) (continued)

OTP wordsName/descriptionwplock(1)Detailed description
OTP374STM32ENCPRVKEY10-STM32 ECC device encrypted private key, part11
OTP375STM32ENCPRVKEY11-STM32 ECC device encrypted private key, part12
OTP376HWKEY0-Secret hardware unique key, part1
OTP377HWKEY1-Secret hardware unique key, part2
OTP378HWKEY2-Secret hardware unique key, part3
OTP379HWKEY3-Secret hardware unique key, part4
OTP380HWKEY4-Secret hardware unique key, part5
OTP381HWKEY5-Secret hardware unique key, part6
OTP382HWKEY6-Secret hardware unique key, part7
OTP383HWKEY7-Secret hardware unique key, part8

1.Permanent programing locked.

2.Key format 1

3.Key format 3