STM32U5
TFM flash memory footprint
Rev 1.0
Hello, and welcome to this presentation that details the
parameters that affect the TFM flash memory footprint.
1
Overview: TFM application architecture
Application level
TFM_SBSFU_Boot
TFM_Appli secure
TFM_Appli non-secure
TFM_Loader
PC
software
Middleware level
MCUboot Trusted firmware Mbed-crypto
Utilities
Drivers
Board support package drivers
CMSIS
Hardware Abstraction Layer (HAL)
Low layer (LL)
BSP components
Four main software
components (Boot, Secure
and Non-Secure
applications, loader)
Their size depends on
the configuration
This figure summarizes the software layers on which
TFM relies, the utilities for middleware and CMSIS for
the drivers.
The TFM based application examples provided by
STM32CubeU5 consist of four main software
components, which can be configured according to user
needs:
- TFM_SBSFU_Boot: Secure Boot and Secure
Firmware Update application
- TFM_Loader : Application loader based on the
Ymodem protocol over USART
- TFM_Appli_Secure: Secure application providing
secure services to the non-secure user application (at
run-time)
- TFM_Appli_NonSecure: Non-secure user application.
2