Skip to main content
Associate
Nov 20, 2026 10:35 AM UTC
Question

Stm32h533 option bytes are not correctly set with the .cvs option bytes file generated from trusted package creator during SFI procedure

in the creation of the SFI package and option bytes file some option bytes like watermark start and end wich are correctly set with provisioning scripts, in the sfi procedure these values, set in the SFI ob file (the .csv one),  are not corretly programmed and while during provisionig the oemurot checks are positive using SFI fails.

 

in the provided example for oemurot some checks for protections are made during its initialization, with provisioning script 
watermark for bank 1 are correcly set as start 0 and end 0xD.

doing the same in SFI procedure throug SFI_OB_H5_512KCopia.csv configured through STM Trusted package creator accordingly to the script …

the bootloader debug throw error because the programmed OB are both zero.

i tried different combinations and OB resulting in non working app or not correct values the log always states that ob are the same as the one programmed and they are not downloaded.

 

There is a way to properly do the SFI with the required OB ? what am i missing?

  

Starting Bootloader (01)
working with trunk
[INF] Starting platform Init
[INF] Applying Protections
[INF] TAMPER Activated
[INF] Tamper config done

[INF] Init ram

[INF] Itnit ram done

[INF] Check Protections
[INF] BANK 1 secure flash [0, 13] : OB [0, 0]
Error_Handler