This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.![]() |
Coming soon |
The purpose of this article is to show an integration of Secure Manager in ecosystem using STM32CubeMX.
Read Secure Boot STM32H5 How to Introduction before starting the practical example described below.
Prerequisites
To execute the example described below, you'll need an STM32H573I-DK discovery board:
You'll also need the following tools:
- STM32CubeMX_6.9.2 or later (see STM32CubeMX ST web page[1])
- IAR Embedded Workbench rev 9.20.1 or later
- STM32CubeProgrammer rev 2.14.0
Note:
- STM32 Trusted Package Creator (TPC) is automatically installed during the STM32CubeMX installation. This TPC version is dedicated to STM32CubeMX and installed in the STM32CubeMX/utilities folder.
- The latest STM32Cube_FW revision is installed through STM32CubeMX (see appendix).
- If needed, set the Windows environment variable (see appendix). It is required in case the H5 doesn’t appear in the STM32CubeMX Access to MCU Selector
1. Introduction
- Start by reading the Secure Manager STM32H5 How to Intro article.
- For technical background, please refer to the Secure Manager for STM32H5 article.
2. Setting up the STM32CubeMX project
Launch STM32CubeMX
- Click on Access to MCU Selector (for this example, it's easier to enable only the necessary GPIOs, so it's advised to use the MCU selector instead of the board selector).
- From the Series column, select STM32H5, and select the device used in STM32H5-DK.
- Click start project.
- Enable TrustZone, as shown in Figure 3. (For the STiROT boot path, TrustZone needs to be enabled.)
Create the STM32CubeMX project:
- Type the name of the project (if it doesn't already exist, the related folder will be created).
- Choose a folder for the project (avoid a long path).
- Check that both the Secure Project and Nonsecure Project checkboxes are checked (they should be checked by default).
- Select the relevant toolchain; for this example EWARM is used.
- Go to File > Save Project. The project folder (if it doesn't already exist) and the STM32H5_STiROT_SLed_NSLed.ioc file will be created.