cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 doesn't run properly after flash erase

GeorgeRock
Associate II

Hi guys

After erasing the flash memory with STM32CubeProgrammer, my STM32H745ZI doesn't run CM4 correctly anymore.

I'm experiencing this error:

Break at address "0xfffffffe"

with no debug information available.

Should I need to restore some default configuration after the memory erase?

Thanks ;)

EDIT: Model name updated

5 REPLIES 5
Pavel A.
Evangelist III

STM32H743 does not have CM4.  

I'm sorry, there is typo in my previous message.

The board is NUCLEO-H745ZI-Q with STM32H745ZI MCU

>>Should I need to restore some default configuration after the memory erase?

Try putting viable code and a vector table in the FLASH, or change option bytes so it's not starting the M4 without anything to run?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I have uploaded a working project code to CM4 with Stm32CubeIDE but nothing changed. The board halt before the complete execution of the main() function.

I've also tried to upload a new project with Stm32CubeIDE but there is still this strange error.

I didn't upload nothing to CM7.

Pavel A.
Evangelist III

Something in the option bytes to enable CM4?