2025-01-09 12:04 AM - edited 2025-01-09 12:13 AM
Now I'm developing an user application compatible with SBSFU on STM32CubeIDE.
SBSFU itself is pretty nice, but I feel the development architecture and environment are a little bit old, like not supporting CubeMX.
Fortunatelly, I succeeded to work my user application, that is developed on Visual Studio Code (with CubeMX and STM32 VSCode Extension), with SBSFU.
However, it's hard challenge for me to more update like below, because I'm beginenr for embedded system.
I appreciate if the official update of SBSFU will be coming to support the moden development environment kinds of CubeMX and Visual Studio Code.
Within a few years ago, there're several users who has similar requirements of this matter.
But there's less infromation in recent years.
Does anyone know the recent activities or future plan about this?
Thank you for your help in advance!
2025-01-10 08:19 AM
Hello @YUTA1 ,
The X-CUBE-SBSFU package is still in maintenance even if it was not updated for long.
A new release should come soon fixing issues and updating drivers.
Unfortunately there is no short term plan to have a direct compatibility between a project generated by CubeMX and the SBSFU.
On recent STM32H5, a so called boot path feature was added to CubeMX to be able to address this, but it will not be deployed because it is far too heavy to maintain.
Regarding the call to function located in SE_Interface, you just need to copy paste what already exists.
There is no specific documentation for this.
Regarding the change of Ymodem protocol by another protocol many customers do this without any issue.
The SBSFU package goal is to provide a secure boot and secure firmware implementation example that addresses most of STM32 families (except the one based on CM33 actually).
It is generic enough to allow adaptation to any environment and constraints.
Just in case, there are 2 useful documents: The User manual UM2262 and the Integration guide AN5056.
Best regards
Jocelyn