2025-03-14 12:10 PM - edited 2025-03-14 12:14 PM
Hello ST Community,
I’m working on a project using STiROT with TrustZone on an STM32H533, based on the example STiROT_Appli_TrustZone provided in the STM32Cube_FW_H5_V1.5.0 firmware package for the STM32H573. I adapted this example to the H533 and generated the project using CubeMX.
CubeMX successfully created the ROT_Provisioning folder with all necessary scripts (postbuild.bay, XML files, etc.), and I’m using Keil uVision5 for building the project.
However, I’m facing two key issues:
Provisioning and Postbuild Issues:
Application Not Executing:
Even when I manage to provision the board without errors, the application doesn’t seem to execute. For example, the LED that should turn on in my application doesn’t light up — indicating the firmware might not be running or jumping to the non-secure application as expected.
Question:
Any help would be greatly appreciated!
Best regards,
Lautaro
2025-03-17 7:08 AM
Hello @lautiq
The main differences between the STM32H573 and STM32H533 are the flash and RAM sizes: 2M/640K versus 512K/272K.
Can you double check the memory organisation and how the slots for application and downloads are defined in both implementations?
Best Regards,
Younes
2025-03-18 9:13 AM - edited 2025-03-18 9:14 AM
Hello @CMYL,
Thanks for your response. I have verified the memory organization, and I am using the default memory regions provided in the STiRoT configuration.
Here are the key parameters from my STiRoT configuration:
Given these settings, I believe the memory layout should be correct for the STM32H533. However, I still encounter issues where the application does not execute after provisioning, even when there are no reported errors.
Would you recommend any additional checks to ensure STiRoT is properly validating and jumping to the non-secure application?
Thanks for your help!
Best regards,
Lautaro