2024-08-20 08:48 AM
2024-08-20 10:57 PM - edited 2024-08-20 11:11 PM
Hello @AxelSchroer,
HDP is a mechanism to protect portion of user flash and associated OBK storage until a next reset.
The keys and secret are store in the OBK storage, so it was in the FLASH OBK location that you should write it.
You should not write only the sha256 but I would say the complete OBK file with it's header
On STM32H563 as there is no encryption of the OBK storage, the provisioning could be done in OPEN state.
I will share with you a code example for STM32CubeIDE / NucleoH563 thanks our secure file transfer tool
Best regards,
Frantz