Skip to main content
Associate II
April 10, 2025
Solved

TouchGFX DebugPrinter with STM32H7S78-DK

  • April 10, 2025
  • 3 replies
  • 553 views

Hello,

I'm trying to get the DebugPrinter to work on an STM32H7S78-DK, but the debug message does not appear to be properly refreshed after the Application::invalidateDebugRegion(); The area slowly turns into a black rectangle after each text update. TouchGFXConfiguration.cpp shows:

    static LCDGPU2D_AXI display;

I don't see an hpp file for this. Is there a solution? Have tried LCD16DebugPrinter.hpp and LCD24DebugPrinter.hpp

Thanks,

The Windmill

Best answer by carlos_112

OK, I tried the LCD32bpp and that works.  :-}

3 replies

ST Employee
April 10, 2025

Hello @carlos_112,

Did you check the BPP of your project ? it should match the you use for the debug printer.

BR,

Associate II
April 10, 2025

Hi Louis,

the configuration file says LCDGPU2D_AXI, but I don't see that as an option. I used the LCD16bpp class.

carlos_112AuthorBest answer
Associate II
April 10, 2025

OK, I tried the LCD32bpp and that works.  :-}