AnsweredAssumed Answered

STemWin Window updates

Question asked by aiyer.kartik on May 12, 2014
Latest reply on May 14, 2014 by aiyer.kartik
I'm implementing the touch screen calibration screens that are found in the demo project in my project on the STM32F439-EVAL platform. I'm having some trouble drawing screens in the window manager callback and I'm not sure what the problem is. 

I am able to run the opening animation found the demo project (  the ST Logo with the moving circle ). This is run to completion before anything else proceeds. I then create a GUI thread which just calls GUIExec every 30ms ( I didn't load any default GUI profiles ). I then implemented a the Calibration screen using a callback and a function which invalidates the window. The idea being that a controller will invalidate the window via the function, causing the callback to be called in the GUIThread resulting in the redraw.

I can see the Callback being called and the draw commands executing. I even see the screen flash like its being updated. But the image on the display is not updated. Can anyone provide me a few clues on how to debug this ? 

Thanks
Kartik

Outcomes