Skip to main content
Associate
July 22, 2023
Question

STM32H7 doesn't run properly after flash erase

  • July 22, 2023
  • 3 replies
  • 1492 views

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

This topic has been closed for replies.

3 replies

Pavel A.
Super User
July 22, 2023

STM32H743 does not have CM4.  

Associate
July 22, 2023

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

The board is NUCLEO-H745ZI-Q with STM32H745ZI MCU

Tesla DeLorean
Guru
July 22, 2023

>>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 VenmoUp vote any posts that you find helpful, it shows what's working..
Associate
July 22, 2023

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.
Super User
July 24, 2023

Something in the option bytes to enable CM4?