Skip to main content
VLesc.1
Associate
April 16, 2021
Solved

stm32h747: XIP from external SDRAM

  • April 16, 2021
  • 1 reply
  • 1166 views

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.
Best answer by Vangelis Fortounas

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
April 16, 2021

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.