Skip to main content
maha kadam
Associate
February 8, 2018
Question

emwin hardfault when use sdram

  • February 8, 2018
  • 2 replies
  • 896 views
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
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 8, 2018
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
maha kadam
Associate
February 8, 2018
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.