Secure firmware update software expansion for STM32Cube

The X-CUBE-SBSFU Secure Boot (SB) and Secure Firmware Update (SFU) solution allows the update of the STM32 microcontroller built-in program with new firmware versions, adding new features and correcting potential issues. The update process is performed in a secure way to prevent unauthorized updates and access to confidential on-device data.

In addition, Secure Boot (Root of Trust services) checks and activates STM32 security mechanisms, and checks the authenticity and integrity of user application code before every execution to ensure that invalid or malicious code cannot be run.

The Secure Firmware Update application receives the encrypted firmware image, decrypts it, then checks the authenticity and integrity of the code before installing it.

X-CUBE-SBSFU is built on top of STM32Cube software technology, making the portability across different STM32 microcontrollers easy. It is provided as reference code to demonstrate the state-of-the-art usage of STM32 security protection.

The X-CUBE-SBSFU software comes with an example implementation running on NUCLEO-L476RG.

X-CUBE-SBSFU is classified ECCN 5D002.

Key Features

  • Secure Boot / Root of Trust: boot path cannot be modified. User application authenticity and integrity is checked before execution.
  • Secure firmware loader: downloads an encrypted firmware image via UART interface / Ymodem protocol and checks its authenticity and integrity before installing it.
  • Safe firmware programing: firmware update is based on the management of two firmware images with error detection and rollback capabilities.
  • AES-GCM symmetric cryptography scheme for firmware decryption and verification.
  • Secure Engine services: protected environment managing all critical data (such as firmware decryption key), and operations (such as cryptography operations).
  • STM32 security mechanisms: combination demonstrating the state-of-the-art usage of STM32 protections.





Description バージョン サイズ
DB3343 DB3343: Secure boot and secure firmware update software expansion for STM32Cube 1.0 156 KB
Description バージョン サイズ
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485 KB
UM2262 UM2262: Getting started with the X-CUBE-SBSFU STM32Cube Expansion Package 2.0 2 MB

プレゼンテーション & トレーニング資料

Description バージョン サイズ
STM32 and STM8 embedded software solutions 4.0 3 MB

Publications and Collaterals

Description バージョン サイズ
STM32 Open Development Environment Brochure 15.10 1 MB


Description バージョン サイズ
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 3.6 104 KB

ツール & ソフトウェア

Software Development Tools


製品型番 Software Version Marketing Status Supplier Order from ST
X-CUBE-SBSFU 1.0.0 Active ST