How to debug the touchGFX Engine?
On our custom board running STM32U5G7 I have set up a project using the same configurations in the .ioc file of the STM32U5G9J-DK2 but obviously with our pinout and package.
The project compiles and runs, it does display correctly on the sim but there is no image on the LCD (I have previously verified the working LCD by writing to the framebuffer in board bring up. (https://support.touchgfx.com/docs/development/board-bring-up/board-introduction).
I can see with the debugger that the hal.taskEntry() is called. But setting breakpoints in touchGFX designer code such as screen setup does not run.
void touchgfx_taskEntry()
{
/*
* Main event loop. Will wait for VSYNC signal, and then process next frame. Call
* this function from your GUI task.
*
* Note This function never returns
*/
hal.taskEntry(); // <-- this line does get executed
}
The FreeRTOS wrappers are generated by TouchGFX and I have enabled the relevant interrupts for the LTDC and GPU2D.
How would I go about debugging next steps? Is there a way to monitor the touchGFX engine?
