2021-03-16 02:25 AM
Hi all,
I'm working in a project (with STM32L476) in which i am building my own bootloader to perform secure boot and firmware upgrade.
I have some doubt regarding this matter. is there any resources available for secure the HEX file (encrypt and decrypt). if yes could help me out to find them. is there any please can you help me to find. Since i am newbie to the bootloader and firmware security. your response will be massive for me
Solved! Go to Solution.
2021-03-17 01:37 AM
Welcome, @Roshan to the community!
For Secure Boot you should have a look at the information on X-CUBE-SBSFU.
Regards
/Peter
2021-03-17 01:37 AM
Welcome, @Roshan to the community!
For Secure Boot you should have a look at the information on X-CUBE-SBSFU.
Regards
/Peter
2021-03-17 01:48 AM
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Good luck!
/Peter
2021-03-17 02:10 AM
Thank you @Peter BENSCH
I'll look into it.
2021-03-25 01:40 AM
@Peter BENSCH could you please tell me that, is this x-cube-sbsfu also work in SPI protocol or this works only in the UART? (Only UART is mentioned in the documentation). I searched everywhere I couldn't find a solution for the above matter.
Thank you.
2021-03-25 02:05 AM
X-CUBE-SBSFU supports UART only as mentioned in UM2262:
The Secure Firmware Update application receives the firmware image via a UART interface with the Ymodem protocol, checks its authenticity, and checks the integrity of the code before installing it.
Regards
/Peter