Skip to main content
Luca1
Associate III
June 21, 2020
Question

Basic TouchGFX application don't work

  • June 21, 2020
  • 18 replies
  • 5079 views

Hi to all!

I'm not able to run a very basic (a black screen) TouchGFX application on my hardware. I have follow the TouchGFX documentation and the STM32L496G-DISCO application example, but i wasn't lucky..

In particular I never reach the breakpoint that i put in the TouchGFXHAL::flushFrameBuffer(const touchgfx::Rect& rect) method. Also, if I suspend the debug, i see that the application stack arrive at the method touchgfx::HAL::lockFrameBuffer().

I have modified only the TouchGFXHAL class, in attatched there are this class files, following the documentation and the example metioned above, but maybe i miss something.

Please someone can give me some help?

This topic has been closed for replies.

18 replies

Martin KJELDSEN
Principal III
June 23, 2020

Which Operating system are you using? lockFrameBuffer() ends in a call to a function inside OSWrappers which uses the constructs of your RTOS to syncrhonize the framebuffer.

/Martin

Luca1
Luca1Author
Associate III
June 23, 2020

I use the FreeRtos os. I use the CMSIS v2 wrapper for the os.

moredatalesscenter
Associate III
June 26, 2020

Hi Martin@Martin KJELDSEN (ST Employee)​

This is timely as I'm experiencing a similar problem. https://community.st.com/s/question/0D53W00000BJYliSAH/flushframebuffer-is-not-called

Martin KJELDSEN
Principal III
November 26, 2020

Just to update people in this thread - Turns out there was no issue after all. FreeRTOS + NoDMA also works for me here on my L496-DISCO.

/Martin