cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h747: XIP from external SDRAM

VLesc.1
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

1 REPLY 1

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.