AnsweredAssumed Answered

Hard fault when drawing bit map using STemWin on STM32F4

Question asked by swan.rob on May 19, 2014
Latest reply on Jul 30, 2014 by Clive One
When I try to display a bit map on my LCD, the STM32F4 jumps to the hard fault  handler. Because the library is in a binary format, I can't really see whats causing the fault. If I comment out the line, the hard fault doesn't happen. I am using other STemWin functions, GUI_SetColor, GUI_FillRect, GUI_SetFont, GUI_DispStringAt, and the LCD behaves exactly as I expect it to. I know that writing to a protected bank of SDRAM will cause an AHB error, and hard fault, so I've verified that the write protect bits are cleared. I'm looking for a recommendation on how to assess the root cause of the hard fault. 

Outcomes