Skip to main content
Associate
Mar 20, 2025 10:07 AM UTC
Solved

STM32U5 - SBSFU

Good Morning,
I am working on the Secure Boot using STM32U5 with this repository : https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/B-U585I-IOT02A/Applications/SBSFU

I am trying to add a kind of "Dev. Mode" which authorise the boot even if the Application's flash is corrupted.
Are there any restriction from the SBSFU_Boot code or ROM code that prevents this feature ?

Moreover, do you have any links to the SBSFU_Boot.bin sources, especially the main.c or this part is private and can't be shared ?

Best Regards,
Loïc

This topic has been closed for replies.
Jocelyn RICARD
Jocelyn RICARDBest answer
ST Employee
Mar 20, 2025 1:46 PM UTC

Hello @lotou ,

You have access the the whole source code.

You can find the main in bl2_main.c located in mcuboot in Middlewares

There is no restriction, just a matter of changing the code to allow such behaviour

Best regards

Jocelyn

1 reply

Jocelyn RICARD
Jocelyn RICARDBest answer
ST Employee
Mar 20, 2025 1:46 PM UTC

Hello @lotou ,

You have access the the whole source code.

You can find the main in bl2_main.c located in mcuboot in Middlewares

There is no restriction, just a matter of changing the code to allow such behaviour

Best regards

Jocelyn