cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H573I-DK: DA regression fails with timeout - provisioning integrity 0xf5f5f5f5

obrahimo
Associate

Firmware Package: STM32Cube_FW_H5_V1.6.0 Product

 
Problem
DA regression fails with timeout. I cannot recover the board.
 
I was trying to run the STiROT Template example (STiROT_Appli) on the STM32H573I-DK board.
 
1. I ran a custom provisioning script (based on ob_flash_programming.sh + obkey_provisioning.sh)
2. During image flashing step, I accidentally flashed an unsigned binary (appli.bin) instead of the signed image (appli_init_sign.hex)
3. OBKey provisioning (DA_Config.obk, STiRoT_Config.obk, STiRoT_Data.obk) may have failed due to the MCU being in an unstable state
4. I then set Product State to PROVISIONED (0x2E)
 
Discovery output Discovery succeeds and shows
- PSA lifecycle: ST_LIFECYCLE_IROT_PROVISIONED
- ST provisioning integrity status: 0xf5f5f5f5
- ST HDPL1 status: 0x1
- Permission: Full Regression is listed as available
 
Regression attempt Using default keys from the firmware package (not regenerated):
- Key: DA/Keys/key_3_leaf.pem
- Certificate: DA/Certificates/cert_leaf_chain.b64
- Password: DA/Binary/password.bin
 
DA/regression.sh Result
image.png

Question
The provisioning integrity status 0xf5f5f5f5 suggests OBKeys were not properly programmed.
Is there any way to recover this board from PROVISIONED state when DA authentication fails due to missing/corrupt OBKeys?
 
Thank you
1 REPLY 1
Bubbles
ST Employee

Hello @obrahimo,

I'm afraid your board may be lost, as the DA Auth shares storage space with the OBK. And without successful authentication there's no regression.

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.