Skip to main content
Kasapoglu.Orkun
Senior
September 18, 2012
Question

3,2'' TFT LCD with FSMC

  • September 18, 2012
  • 11 replies
  • 1968 views
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

    This topic has been closed for replies.

    11 replies

    frankmeyer9
    Associate III
    September 28, 2012
    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.