2026-03-11 11:12 AM
Following the ST sample : STM32CubeH5\Projects\NUCLEO-H563ZI
I regenerated OEMiRoT_Config.obk with the STM32TrustedPackageCreator.
then, rebuild the OEMiRot application and the applications OEMiROT_Appli_TrustZone_Secure & OEMiROT_Appli_TrustZone_NonSecure
I ran the script : \ROT_Provisioning\OEMiROT\provisioning.bat
using the 'PROVISIONED' choice.
The script returns No error.
But When I check the PRODUCT_STATE with STM32CubeProgrammer, the state came back to OPEN instead of PROVISIONED.
But, I had to use the DA to connect to the device with the STM32CubeProgrammer. So, OBK files seems to be applied.
I has already checked that the PROVISIONING state has been correct before the OBK provisioning sequence.
So it's the action "set state PROVISIONED" that fails (or maybe an issue with the OBK files ???, but no way to check if they are OK).
Someone has already meet this issue ? How to fix it ?
2026-04-30 10:10 AM
Hello @OB_123 ,
Sorry for such late answer.
I don't really catch your statement "But, I had to use the DA to connect to the device with the STM32CubeProgrammer. So, OBK files seems to be applied."
What do you mean?
Also, you say "I has already checked that the PROVISIONING state has been correct before the OBK provisioning sequence.". The provisioning script works if you start from OPEN state. So, how do you perform your provisioning ?
Thank you
Best regards
Jocelyn