cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746 Discovery Board External SDRAM Address crash

Gavin Anderson
Associate
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
1 ACCEPTED SOLUTION

Accepted Solutions
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 Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2
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 Up vote any posts that you find helpful, it shows what's working..
Posted on November 30, 2017 at 22:25

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