Skip to main content
Associate
Jul 28, 2026 11:10 AM UTC
Question

Implementing a OEMiROT + OEMuROT framework in STM32H533

Hello,

I have created a framework for OEMiROT + OEMuROT boot path wherein I have tried implementing a two-boot stage. This boot path isn’t included in the ST template examples unlike that for OEMiROT or STiROT_OEMuROT. I was able to run both existing examples on my board correctly.

For OEMiROT + OEMuROT boot path, I have made changes in the scripts specific to boot paths and UBE. The memory layout is also defined depending on the image sizes where I am using the flash memory divided for OEMiROT, OEMuROT , secure application and nonsecure application referring the below boot path when TZ is enabled. Post reset the control jumps to OEMiROT in this case.

I could write the OEMiROT binary at base address 0x8000000 and OEMuROT at 0x800E000 using the scripts.

I am able to verify if they are flashed by reading the respective memory addresses using ST programmer. I could see the non-zero or non-FF values at both memory addresses. I have shown one for base address 0x8000000

 

Besides the images getting flashed at correct memory addresses and the provisioning script running successfully, I am not able to jump to main application code from OEMuROT. 

Is there anything I am doing wrong?

 

Thankyou,

Amruta

1 reply

Associate
Nov 23, 2026 11:09 AM UTC

Hi, 
most the time if you cannot jump from an application to another is due to framework protection:

in your case OEMiRot anf OEMuROT shoul be configured to belong to secure environment in order to jump to a secure application.
One you jump from to a non secure environment you cannot re-gain privilege to access secure domain except throug callable zones.
So first you have to configure both as secure and configure sau and OB watermark properly. once sau is confgiured you also have to check that secure mpu allows write exec and read in the address range of OEMiOROT OEMuROT and secure application.