TF-M is supported on STM32U5 family

Directory content

Specific Software Requirements

STM32_Programmer_CLI is required.(see

Write software on target

In secure build folder directory api_ns:

  • Updates and scripts according to flash_layout.h

  • Sets platform option bytes config and erase platform

  • Writes bl2, secure, and non secure image in target

Connect board to USB and Execute the 3 scripts in following order to update platform:,,

The virtual com port from STLINK is used for TFM log and serial port configuration should be:

  • Baud rate = 115200

  • Data = 8 bits

  • Parity = none

  • Stop = 1 bit

  • Flow control = none

Copyright (c) 2021 STMicroelectronics. All rights reserved. SPDX-License-Identifier: BSD-3-Clause