2026-01-25 4:26 PM
Hi,
I'm developing a secure boot application for STM32H563ZI microcontroller. I started with a very simple application following ST template code and tutorials like this one: https://wiki.st.com/stm32mcu/wiki/Security:How_to_start_with_STM32CubeMX_OEMiRoT_Boot_path_on_STM32H563
Everything runs as expected when I try to run my application using the NUCLEO-H5 board. However, this is not true when I do the same provisioning process in my H5 custom board. The only difference I can see between the two tests is that in the custom board I'm using the STLink-V2 programmer, while the Nucleo is programmed by the embedded STLINK-V3EC.
Here are some additional points:
1) in both cases the provisioning script reaches the end, saying "The board is correctly configured".
2) in the custom board, I see the flash full of zeros after provisioning; I checked it with stm32CubeProgrammer
3) I have no problems in flashing firmware through stm32CubeProgrammer or stm32CubeIde in my custom board
Am I missing something? I tried to modify stm32programmercli settings used by the provisioning script without success.
Thank you,
Giulio