cancel
Showing results for 
Search instead for 
Did you mean: 

3,2'' TFT LCD with FSMC

Posted on September 18, 2012 at 09:16

Hi everybody. I'm trying to display a bmp on 3,2'' TFT by using FSMC and stm32f4 graphic drivers. I've done writing some texts changing backcolour drawing pixels but when I want to draw or drive a bmp file with LCD_DrawMonoBMP or LCD_DrawColorBMP functions LCD shows me just white with some noisy white image. I added the screenshot. I need some help. Thanks a lot..0690X00000602lYQAQ.jpg

11 REPLIES 11
Posted on September 28, 2012 at 09:48

There is no issue now thank you but I did not see printf output window. are those hardfault_handler asm codes solving the problem automatically?

frankmeyer9
Associate II
Posted on September 28, 2012 at 11:22

... are those hardfault_handler asm codes solving the problem automatically?

 

Certainly not.

It is assumed to provide more information about the problem that caused the hard fault.

I would be cautious with using printf() calls from inside the HardFault_Handler. Depending on the implementation, this might invoke a longer chain of function calls, which rely on things that your hard fault might have destroyed.

I would rather set a breakpoint into the handler, and step through to check what happened and gather information about the hard fault.