Skip to main content
Gavin Anderson
Associate
November 30, 2017
Solved

STM32F746 Discovery Board External SDRAM Address crash

  • November 30, 2017
  • 2 replies
  • 934 views
Posted on November 30, 2017 at 17:28

Hi, I'm new here.

I've started a project using the STM32F746 Discovery board and I've been messing around with the external SDRAM.

I copied the initialisation code from the FMC example, and used STM32CubeMX for the hardware initialisation. I am able to read and write from addresses 0xC0000000 to 0xC07FFFFC; i.e. any memory accesses at 0xC0800000 or above causes the default handler to be invoked. Has anyone else come across this problem?

##external-sdram #sdram #stm32f7
This topic has been closed for replies.
Best answer by Tesla DeLorean
Posted on November 30, 2017 at 22:04

http://www.st.com/en/evaluation-tools/32f746gdiscovery.html

 

128-Mbit SDRAM (64 Mbits accessible)

64 Mbit = 8 MByte

0x800000 = 8 * 1024 * 1024

Like a DTACK fault on an MC68000, where you touch memory that isn't there

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
November 30, 2017
Posted on November 30, 2017 at 22:04

http://www.st.com/en/evaluation-tools/32f746gdiscovery.html

 

128-Mbit SDRAM (64 Mbits accessible)

64 Mbit = 8 MByte

0x800000 = 8 * 1024 * 1024

Like a DTACK fault on an MC68000, where you touch memory that isn't there

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Gavin Anderson
Associate
November 30, 2017
Posted on November 30, 2017 at 22:25

Thank you so much! That was stupid of me for overlooking that.