Skip to main content
Associate
March 20, 2025
Solved

STM32U5 - SBSFU

  • March 20, 2025
  • 1 reply
  • 605 views

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

Best answer by Jocelyn RICARD

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
March 20, 2025

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