Skip to main content
Associate II
Apr 10, 2025 5:04 AM UTC
Solved

TouchGFX DebugPrinter with STM32H7S78-DK

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

This topic has been closed for replies.
carlos_112Best answer
Associate II
Apr 10, 2025 7:55 PM UTC

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

3 replies

ST Employee
Apr 10, 2025 7:26 AM UTC

Hello @carlos_112,

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

BR,

Louis BOUDOST Software Engineer | TouchGFX
Associate II
Apr 10, 2025 5:02 PM UTC

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
Apr 10, 2025 7:55 PM UTC

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