Parameters:
•
FLASH_OPTR.TZEN = 1
•
FLASH_OPTR.RDP[7:0] = 0xCC (RDP2)
•
FLASH_OPTR.SWAP_BANK = 0 (no swap)
•
In FLASH_SECBOOTADD0R:
–
BOOT_LOCK = 1
–
SECBOOTADD0[24:0] as defined in
•
For the STM32U5 series:
–
In FLASH_SECWM1R1
◦
◦
–
In FLASH_ SECWM1R2
◦
◦
–
In FLASH_WRP1AR:
◦
•
For STM32WBA5 series:
–
In FLASH_SECWMR1:
◦
◦
–
In FLASH_ SECWMR2:
◦
◦
–
In FLASH_WRPAR:
◦
Actions:
•
Verify the value of each enumerated configuration byte.
Errors:
•
The actions fail if the content read from option bytes differs from the programmed values. In that case, the
Integrator firmware must abort the boot operation, by resetting the platform or looping infinitely.
Flash registers
When the secure boot firmware ends its execution, it must jump to a code located in a non-HDP area. The jump
procedure must activate the TOE HDP area protection, making it inaccessible by any read or write operation until
the next reset.
Method of use:
•
For the STM32U5 series:
–
Set HDP1_ACCDIS bit in the FLASH_SECHDPCR register (refer to
•
For STM32WBA5 series:
–
Set HDP_ACCDIS bit in the FLASH_SECHDPCR register (refer to
Parameters:
•
In FLASH_SECHDPCR, the HDP1_ACCDIS bit (for STM32U5 series) or the bit HDP_ACCDIS (for
STM32WBA5 series)
Actions:
•
Set the HDP1_ACCDIS bit (for STM32U5 series) or the HDP_ACCDIS bit (for STM32WBA5 series).
•
Verify TOE HDP activation by reading anywhere in the TOE HDP area a 32-bit word that is programmed
with a nonzero value. The returned value must be zero.
Errors:
•
If the verification value is not zero, the TOE HDP area protection is not properly activated. In that case, the
product firmware must be restarted.
UM3387 - Rev 1
SECWM1_PSTRT[6:0] = 0
SECWM1_PEND[6:0] as defined in
HDP1EN = 1 (HDP1 enabled)
HDP1_PEND[7:0] as defined in
WRP1A_PSTRT[6:0] and WRP1A_PEND[6:0] as defined in
SECWM_PSTRT[6:0] = 0
SECWM_PEND[6:0] as defined in
HDPEN = 1 (HDP1 enabled)
HDP_PEND[7:0] as defined in
WRPA_PSTRT[6:0] and WRPA_PEND[6:0] as defined in
Section 3.2.3
Section 3.2.3
Section
3.2.3.
Section 3.2.3
Section 3.2.3
Section
UM3387
Operational user guidance
Section
3.2.3.
3.2.3.
[RM_U5]
Section 7.9)
[RM_WBA5]
Section 7.9)
page 12/22
Need help?
Do you have a question about the STM32U5 Series and is the answer not in the manual?
Questions and answers