cancel
Showing results for 
Search instead for 
Did you mean: 

emwin hardfault when use sdram

maha kadam
Associate
Posted on February 08, 2018 at 09:27

im running emwin demo on stm32f429ig, but when gui config address start from sdram address hardfault happen.

i can read and write on sdram separately. the board designed by myself.please help me what should i do?

#stm32-f4 #stm32f4-ltdc #sdram #emwin
2 REPLIES 2
Posted on February 08, 2018 at 11:33

Assume we're not familiar with your custom design.

If you instrument the Hard Fault Handler, what do you observe about the instructions faulting and resisters/addresses involved?

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on February 08, 2018 at 20:37

indeed i copied the sdram circuit from a ready schematic.the sdram is MT48LC16M16A2P-75.the fault was detected is busfault in different registers. it means any time it stops not in previous section.

when the frame buffer is on Sdram but the GUI is on internal ram it works without any error.but when both run from sdram hard fault appear.