cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use an FMC SDRAM - code execution AND data storage

VZolt.1
Associate II

Hi all,

We have connected an 64Mb SDRAM to the FMC interface of an STM32H745, it is available at 0xC0000000.

We use the default FMC mapping. Is it possible to reserve an area in the SDRAM for code execution and access it at 0x70000000 (size of 512K). so the end address would be 0x70080000.

And the rest of the SDRAM could be used for data storage? 0xC0080000 - 0xC4000000 ?

How would this be possible?

Thanks in advance

1 REPLY 1

Not sure about specific address mappings, but the SDRAM should be able to support concurrent usage.

>>How would this be possible?

Linker script level demarcation, and MPU configurations.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..