Content originally posted in LPCWare by iamzhangyong on Sat Sep 14 08:51:05 MST 2013
Thank you very much! mc
I have do the SDRAM read and write test in 60MHz.There is no problems during the test.There is a 800x480 TFT LCD on my board,I use the sdram to be the frame buffer.I can fill the sdram to display different color.It is normal.Strangely,I call the GUI_DispDecAt(...) (I used emwin 5.20)in my main loop to test the speed of the lcd controller,then the cpu get a hardfault.The debug tool I used is Jlink.It is so strange!I guess the problem will be the initialization of SDRAM.I try all of the parameters it can be.The board can work longer than before,but still can't working right.If the LCD controller DMA and CPU access the SDRAM at the same time,there will be a hardfault?Thanks for you reply.