2017-11-30 08:28 AM
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 #stm32f7Solved! Go to Solution.
2017-11-30 01:04 PM
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
2017-11-30 01:04 PM
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
2017-11-30 02:25 PM
Thank you so much! That was stupid of me for overlooking that.