Skip to main content
Associate III
Jun 11, 2024 6:37 PM UTC
Solved

TFM app

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?

This topic has been closed for replies.
Guillaume K
Guillaume KBest answer
ST Employee
Jun 12, 2024 9:07 AM UTC

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 ?)

5 replies

STTwo-32
ST Technical Moderator
Jun 11, 2024 7:36 PM UTC

Hello @Istillaga 

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

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
IstillagaAuthor
Associate III
Jun 12, 2024 7:45 AM UTC

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
Jun 12, 2024 9:07 AM UTC

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
Sep 16, 2025 10:22 AM UTC

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
Jun 12, 2024 9:13 AM UTC

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