cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX DebugPrinter with STM32H7S78-DK

carlos_112
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
carlos_112
Associate II

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

View solution in original post

3 REPLIES 3
LouisB
ST Employee

Hello @carlos_112,

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

BR,

Louis BOUDO
ST Software Developer | TouchGFX
carlos_112
Associate II

Hi Louis,

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

carlos_112
Associate II

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