Skip to main content
Explorer II
January 20, 2025
Question

Hard Fault with external memory bootloader STM32H7S3L8H6

  • January 20, 2025
  • 1 reply
  • 528 views

While trying to implement the stm32h7s_workshop I'm always getting hard faults.

JBias_0-1737348584949.png

Seems straight forward. I checked to see that the external FLASH verifies against the appli.elf and I made sure to debug with the boot 1st then the appli.

Here's what I see in the CubeProgrammer

JBias_1-1737348803563.png

Could this be due to an alignment issue? 

The fault comes just at the point where it is going to jump to the appli

 

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    January 22, 2025

    Hello @JBias ,

    If you followed the workshop steps correctly it is highly unlikely you get into a hardfault please review the steps and check if you have correct MPU configuration or try to compare you generated project with the available example in GitHub of in Cube Firmware package to see what you are missing exactly.
    Regards