cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H562 not run application on first flash download

Cat
Associate

Referencing attached project files 'H562VGT6.ioc' and 'Project.ioc'

The 'H562VGT6.ioc' file is firmware for an Application

The 'Project.ioc' file is firmware for board Diagnostics

Both projects are for the same model board

The issues is when I flash a new STM32H562 chip for the first time with project 'H562VGT6' the application fails to run even after a power cycle.

Once the STM32H562 is flashed using the diagnostics project and then reflashed using the application code all runs fine

Both projects appear to be configured the same, any thoughts?

 

1 REPLY 1
nouirakh
ST Employee

Hello @Cat 

It sounds like the issue might be related to the initial configuration or setup of the microcontroller when flashing the application firmware for the first time. 
Could you please, Ensure that the boot configuration settings are correctly set in the application project. Sometimes, the bootloader settings or vector table might not be correctly configured, causing the application to fail to start. Also, Check the clock configuration. If the clock settings are not correctly initialized in the application project, the microcontroller might not start correctly.