Skip to main content
Associate III
June 11, 2024
Solved

TFM app

  • June 11, 2024
  • 3 replies
  • 1756 views

Hello,

I would like to use the TFM application on STM32CubeIDE for the B-U585I-IOT02A board but I can't find the application anywhere. Any help?

Best answer by Guillaume K

The TFM application for B-U585I-IOT02A is in the STM32 Cube U5 package available on st.com web site.

STM32CubeU5 - STM32Cube MCU Package for STM32U5 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, TF-M - coming with examples running on ST boards) - STMicroelectronics

click on "Download latest version", unzip the zip file, the project is under Projects\B-U585I-IOT02A\Applications\TFM

Also if you downloaded it in STM32CubeMX it is in your user directory under c:\users\username\STM32Cube\Repository\STM32Cube_FW_U5_Vx.y.z

It is not present on ST's github (maybe due to some licensing problem ?)

3 replies

STTwo-32
Technical Moderator
June 11, 2024

Hello @Istillaga 

I think you are tooking about the TFM example available on the X-Cube-AWS.

Best Regards.

STTwo-32 

IstillagaAuthor
Associate III
June 12, 2024

Hello @STTwo-32 ,

No, that's not the example I'm searching for. I am looking for the TFM application which is very similar to the SBSFU application.

Guillaume K
Guillaume KBest answer
ST Employee
June 12, 2024

The TFM application for B-U585I-IOT02A is in the STM32 Cube U5 package available on st.com web site.

STM32CubeU5 - STM32Cube MCU Package for STM32U5 series (HAL, Low-Layer APIs and CMSIS, USB, File system, RTOS, TF-M - coming with examples running on ST boards) - STMicroelectronics

click on "Download latest version", unzip the zip file, the project is under Projects\B-U585I-IOT02A\Applications\TFM

Also if you downloaded it in STM32CubeMX it is in your user directory under c:\users\username\STM32Cube\Repository\STM32Cube_FW_U5_Vx.y.z

It is not present on ST's github (maybe due to some licensing problem ?)

Visitor II
September 16, 2025

Hi, I'm currently trying to find examples to start working on Secure boot and TFM on STM32U5 (I have a Nucleo-U575ZI-Q) but I can't find any examples or tutorial to start with. I'm trying to follow the UM2851 (https://www.st.com/resource/en/user_manual/um2851-getting-started-with-stm32cubeu5-tfm-application-stmicroelectronics.pdf) but I can't as I can't find the TFM application which it refers to.

I'm using STM32Cube IDE v1.19.0, with the package STM32Cube_FW_U5_V1.8.0.

Please can you help me ?

Jocelyn RICARD
ST Employee
June 12, 2024

Hello @Istillaga ,

TFM example is in the STM32CubeU5 here:

STM32Cube_FW_U5_V1.5.0\Projects\B-U585I-IOT02A\Applications\TFM\

It is not available in the GIT repo

Also be aware this is a quite old version of TFM : Version 1.3

TFM is not similar to SBSFU: TFM example includes SBSFU.

SBSFU is the secure boot

TFM example contains the same secure boot and provides the trusted firmware for Cortex-M implementation containing partition manager and different services such as secure storage and crypto.

When using SBSFU example only, the secure application is a very simple example of secure application. It is useful when you don't need the secure services provided by Trusted firmware for Cortex-M

Best regards

Jocelyn