Application note

Introduction to secure firmware install (SFI) for STM32 MCUs

Rev 19 - July 2026

Introduction

This application note supports the secure firmware install (SFI) feature available on the STM32 MCUs listed in Table 1 .

Outsourcing of product manufacturing enables original equipment manufacturers (OEMs) to reduce their direct costs and concentrate on high added-value activities, such as research and development, sales and marketing.

However, contract manufacturing puts the OEM's proprietary assets at risk, and since the contract manufacturer (CM) manipulates the OEM's intellectual property (IP), it might be disclosed to other customers, or appropriated.

To meet the new market security requests and protect customers against any leakage of their IPs, STMicroelectronics introduces a new security concept, secure firmware install (SFI), permitting programming of OEM firmware into STM32 MCU internal flash memory in a secure way (with confidentiality, authentication and integrity checks).

Moreover, ST provides the STM32TRUSTEE that eases the OEM to secure its platform. STM32TRUSTEE involves adding STM32TRUSTEE-SM in SFI. STM32TRUSTEE is only available on STM32H5 series. In this document, each time there is a reference to STM32TRUSTEE, it applies only on STM32H5.

STM32 series devices support protection mechanisms that permit the protection of critical operations (such as cryptography algorithms) and critical data (such as secret keys) against unexpected access.

This application note gives an overview of the STM32 SFI solution with its associated tools ecosystem, and explains how to use it to protect OEM firmware during the CM product manufacturing stage.

Table 1. Applicable products
TypePart numbers / lines / seriesReferred as
Microcontrollers

Entire STM32H523/533, STM32H543/553, STM32H562/H563/H573, STM32H5Ex/5Fx lines

STM32H5
All STM32H75xxx MCUsSTM32H7
Entire STM32H7R3/7S3, STM32H7R7/7S7 linesSTM32H7RS

Entire STM32L5 series.

STM32L5
Entire STM32U356/366, STM32U375/385, STM32U3B5/3C5 lines.STM32U3

Entire STM32U5 series.

STM32U5
STM32WBA521, STM32WBA54/551 linesSTM32WBA5
STM32WBA622, STM32WBA632, STM32WBA64/652 linesSTM32WBA6

All STM32WL5xxx MCUs

STM32WL5
1 SFI only available on STM32WBA5xxG devices with 128-Kbyte SRAM, Rev B.
2 SFI only available on STM32WBA6xxI devices with 512-Kbyte SRAM.