Skip to main content
VLesc.1
Associate
Apr 16, 2021 9:30 AM UTC
Solved

stm32h747: XIP from external SDRAM

0693W000008zkr0QAA.jpgIs it possible to run the firmware from an external SDRAM?

There is an example for h750, but it does not work with h747.

I go to the address I need, but I get a hardfault into bootloader for first command into external sdram

This topic has been closed for replies.
Vangelis Fortounas
Associate II
Apr 16, 2021 2:28 PM UTC

Hello

External SDRAM is execute disabled by default.

The MPU can override the default memory access.

Need to configure SDRAM region in MPU with XN bit at RASR register, disabled.

1 reply

Vangelis Fortounas
Associate II
Apr 16, 2021 2:28 PM UTC

Hello

External SDRAM is execute disabled by default.

The MPU can override the default memory access.

Need to configure SDRAM region in MPU with XN bit at RASR register, disabled.