Showing results for 
Search instead for 
Did you mean: 

Provisioning custom board

Associate III

Hello, I hope you are doing well!

I developed a project based on the STM32H573I-DK example with TrustZone. However, in the final board, I am using the STM32H573VI microcontroller. I migrated all the code to this microcontroller, made the necessary pin ports, and some adjustments. I managed to compile it successfully. Now that the final board is ready, I am trying to run the code, but I am facing an issue with using the provisioning_auto.bat script.

Below are some logs:


Apparently, I am not able to communicate with the hardware using the STLINK-V3PWR through the provisioning_auto.bat script. However, I tested using the STM32CubeProgrammer and was able to connect with the microcontroller.

Can anyone help me? Thanks in advance!

Jocelyn RICARD
ST Employee

Hello @ffjunq ,

the issue is at the end of your log file:

"Error: The file appli_0.hex does not exist, please check the file's path"

This file should be located in ROT_Provisioning/SM/Binary this is the default application.

So, I suspect an issue related to your porting.

Best regards