Skip to main content
Visitor II
September 11, 2024
Question

Issue with STM32H743 Flash Write - Application Fails to Load

  • September 11, 2024
  • 1 reply
  • 821 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!

    This topic has been closed for replies.

    1 reply

    Graduate II
    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.

    LonaAuthor
    Visitor II
    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.