Skip to main content
Associate
September 11, 2024
Question

Issue with STM32H743 Flash Write - Application Fails to Load

  • September 11, 2024
  • 1 reply
  • 823 views

Hello,
I am currently developing on an STM32H743. I have a bootloader and an application that I want to load into the internal flash memory of the microcontroller. The bootloader is written successfully, but the application fails to load.

Instead of writing the application, the microcontroller writes in a loop over all sectors with the pattern FC1FE0FFFC1FE0FF. The same behavior occurs when I attempt to update the clock configuration.

Has anyone encountered a similar issue, or could offer guidance on what might be causing this problem? Any help would be appreciated.

Thank you!

1 reply

Tesla DeLorean
Guru
September 11, 2024

Review and debug the code, hard to guess peering though a key-hole.

Instrument the code rather than sit in the debugger single stepping, so not to interfere with operation.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
LonaAuthor
Associate
September 12, 2024

Hello,

Thank you for your valuable advice. I will follow your recommendations and instrument the code to gather more information without interfering with its operation. I will also check if the issue could be hardware-related.

Thanks again for your help.