STM32CubeMX user interface

UM1718

 

 

Figure 180. EWARM patch installation

Step 1: SMAK code generation

Select an STM32H57x MCU

Create a project with TrustZone activated (TZEN = 1)

In Project Manager, choose “Non-secure Project”

Save the project

Go to “Boot Path Settings” tab and press the Select button

Only ST immutable Root of Trust (ST-iRoT) is proposed

192/453

UM1718 Rev 41

UM1718

STM32CubeMX user interface

 

 

Figure 181. First boot path stage

Updatable Root of Trust (uRoT) option is set by default and cannot be modified

Figure 182. Second boot path stage

Secure Manager Non-Secure application button is checked by default and cannot be modified

UM1718 Rev 41

193/453

STM32CubeMX user interface

UM1718

 

 

Figure 183. Final boot path stage

Click “FINISH”: the panel of boot path configuration is displayed (Figure 184), use it to configure the boot path in the “Boot Path Settings” tab

Figure 184. Boot path Settings tab

194/453

UM1718 Rev 41

UM1718

STM32CubeMX user interface

 

 

Press the “GENERATE CODE” button to generate the configuration code for the selected toolchain

Figure 185. Select the project structure

Generate the code and the IDE environment

DT56336V2

Figure 186. Code is generated

Additional directories including the IDE environment are created

UM1718 Rev 41

195/453

Соседние файлы в папке STM