Overview
Sample & Buy
Solutions
Documentation
CAD Resources
Tools & Software
Quality & Reliability
eDesignSuite
Get Started
Partner products
Sales Briefcase
  • The X-CUBE-SBSFU Secure Boot and Secure Firmware Update 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.

    The Secure Boot (Root of Trust services) is an immutable code, always executed after a system reset, that checks STM32 static protections, activates STM32 runtime protections and then verifies the authenticity and integrity of user application code before every execution in order to ensure that invalid or malicious code cannot be run.
    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. The firmware update is done on the complete firmware image, or only on a portion of the firmware image. Examples are provided for single firmware image configuration in order to maximize firmware image size, and for dual firmware image configurations in order to ensure safe image installation and enable over-the-air firmware update capability commonly used in IoT devices. Examples can be configured to use asymmetric or symmetric cryptographic schemes with or without firmware encryption.
    The secure key management services provide cryptographic services to the user application through the PKCS #11 APIs (KEY ID-based APIs) that are executed inside a protected and isolated environment. User application keys are stored in the protected and isolated environment for their secured update: authenticity check, data decryption and data integrity check. This is available on the STM32L4 Series with example provided on the B-L475E-IOT01A board.
    STSAFE-A100 is a tamper-resistant secure element (HW Common Criteria EAL5+ certified) used to host X509 certificates and keys, and perform verifications that are used for firmware image authentication during Secure Boot and Secure Firmware Update procedures. This is available on the STM32L4 Series with example provided on the B-L475E-IOT01A board.
    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 best use of STM32 security protections.
    The X-CUBE-SBSFU Expansion Package comes with examples running on the STM32L4 Series, STM32F4 Series, STM32F7 Series, STM32G0 Series, STM32G4 Series, STM32H7 Series, STM32L0 Series, STM32L1 Series, and STM32WB Series. An example combining STM32 microcontroller and STSAFE-A100 is also provided for the STM32L4 Series.
    X-CUBE-SBSFU is classified ECCN 5D002.

    Key Features

    • Secure Boot to check firmware image before execution
    • Secure Firmware Update with anti-rollback and partial image update capabilities for over-the-air or local firmware image update
    • Secure key management services offering cryptographic services by means of the PKCS #11 APIs
    • Standalone STM32 system solution example demonstrating best use of STM32 protections to protect assets against unauthorized external or internal access
    • Combined STM32 and STSAFE-A100 system solution example demonstrating hardware Secure Element protections for secure authentication services and secure data storage

Get Software

Recommended for you

Latest from ST

All tools & software

    • Part number
      Status
      Description
      Type
      Supplier

      STM32CubeProg

      Active

      STM32CubeProgrammer software for all STM32

      STM32 Programmers ST
      STM32CubeProg

      Description:

      STM32CubeProgrammer software for all STM32
    • Part number
      Status
      Description
      Type
      Supplier

      X-NUCLEO-SAFEA1

      Active

      Secure element expansion board based on STSAFE-A110

      STM32 ODE Translate HW ST
      X-NUCLEO-SAFEA1

      Description:

      Secure element expansion board based on STSAFE-A110
    • Part number
      Status
      Description
      Type
      Supplier

      32F413HDISCOVERY

      Active

      Discovery kit with STM32F413ZH MCU

      STM32 Discovery Kits ST

      32F769IDISCOVERY

      Active

      Discovery kit with STM32F769NI MCU

      STM32 Discovery Kits ST

      32L496GDISCOVERY

      Active

      Discovery kit with STM32L496AG MCU

      STM32 Discovery Kits ST

      B-L475E-IOT01A

      Active

      STM32L4 Discovery kit IoT node, low-power wireless, BLE, NFC, SubGHz, Wi-Fi

      STM32 Discovery Kits ST

      NUCLEO-G071RB

      Active

      STM32 Nucleo-64 development board with STM32G071RB MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo Boards ST

      NUCLEO-L432KC

      Active

      STM32 Nucleo-32 development board with STM32L432KC MCU, supports Arduino nano connectivity

      STM32 Nucleo Boards ST

      NUCLEO-L476RG

      Active

      STM32 Nucleo-64 development board with STM32L476RG MCU, supports Arduino and ST morpho connectivity

      STM32 Nucleo Boards ST
      32F413HDISCOVERY

      Description:

      Discovery kit with STM32F413ZH MCU
      32F769IDISCOVERY

      Description:

      Discovery kit with STM32F769NI MCU
      32L496GDISCOVERY

      Description:

      Discovery kit with STM32L496AG MCU
      B-L475E-IOT01A

      Description:

      STM32L4 Discovery kit IoT node, low-power wireless, BLE, NFC, SubGHz, Wi-Fi
      NUCLEO-G071RB

      Description:

      STM32 Nucleo-64 development board with STM32G071RB MCU, supports Arduino and ST morpho connectivity
      NUCLEO-L432KC

      Description:

      STM32 Nucleo-32 development board with STM32L432KC MCU, supports Arduino nano connectivity
      NUCLEO-L476RG

      Description:

      STM32 Nucleo-64 development board with STM32L476RG MCU, supports Arduino and ST morpho connectivity

CAD/EDA Symbols, Footprints and Models