cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 6.16.0 - questions

Marcos3
Associate II

Following the article Security:How to start with STM32CubeMX Secure Manager on STM32H57 - stm32mcu I'm stuck in the step 3.2 Boot Path Configuration. At this point, STM32CubeMX had grayed out the button "Select" in Boot Path Selection. It is released only when I configure Secure Mode in Project Manager. When clicking it and trying do configure a Boot Path, I can't get the final configuration ST_iROT_UROT_SECURE_MANAGER. Am I doing something wrong?

I'm trying to use STM32CubeMX to generate a project with TrustZone activated. How could I include in a project the Middlewares MbedTLS and MCUBoot? Normally it should be in the "Middleware and Software Packs" list of packs installed but I have to copy them manually. When generating code sometimes I have to copy again because they are deleted.

Thank you in advance.

2 REPLIES 2
Marcos3
Associate II

For the first question I found an answer here: STM32H5 - X-CUBE-SEC-M-H5_V2.0.0 - CubeMX - STMicroelectronics Community

Up to this date with all tools updated, generating a Non Secure application for Secure Manager using STM32CubeMX is not possible and it was removed. The suggestion was to use the example application in STM32CubeIDE and port your code.

We have to wait if this feature will be included again.

Marcos3
Associate II

On 5th December, 2025 we had an altenative steps to develop Non Secure application in Secure Manager:

Security:How to make your application compatible with Secure Manager - stm32mcu

I'll test it and post here the results.