Question
large SDRAM access causing hardfault in stm32f429
Posted on August 06, 2014 at 11:49
Hello there!
I've interfaced 128 MB(16 bit data bus) sdram through fmc interface in my stm32f429 device. Initialization and everything seems ok. Reading/writing to sdram is ok for small chunks. But writing 12 MB or larger (from base address 0xd0000000) is causing hard fault. Similarly for higher memory ranges(Say 0xd1000000) even lesser amount can be accessed continuously without causing hard fault. I've written and read back whole chip correctly by accessing memory in smaller chunks(i.e tested first few MB than further and so on).If there any one who have faced the similar problem of any suggestion/solution regarding this behavior.Thanks in advance #stm32f429 #!psychic #external-ram