cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx cannot be initialized

fzhan.3
Associate

I use fmc to drive LCD, and the LCD initialization can be used normally. The program is stuck here. What should I do?0693W00000aJBPTQA4.png0693W00000aJBPdQAO.png

1 REPLY 1
Romain DIELEMAN
ST Employee

The issue is hit in HAL::initialize() ? Could you share a bit more context on your configuration and what you face in the debugger ?

By the way I am surprise by the #include ./LED/bsp_led.h" line in the TouchGFXGeneratedHAL.cpp, is it something you added manually ? Because if it is the case it will be overwrittent at every code generation from STM32CubeMX.

/Romain