Skip to main content
gaubuali
Associate II
January 18, 2022
Solved

Is it possible to export entire display from target ?

  • January 18, 2022
  • 2 replies
  • 895 views

With simulator, the screenshots can be token by F3.

However, I am not sure if it is possible to download current display from target / host when debugging ?

This topic has been closed for replies.
Best answer by Romain DIELEMAN

Hi,

What do you mean exactly ? You want to save the framebuffer that is shown at a certain time, like done in TouchGFX Designer when running with the Simulator ? Then yes by copying the content of the framebuffer when you want to take a "screenshot" and store it in available ram for example. I do not have an example but I think some users might have shared theirs on this forum. Have a look at the HALSDL2.hpp file, and the function saveScreenshot().

/Romain

2 replies

Romain DIELEMAN
Romain DIELEMANBest answer
ST Employee
January 18, 2022

Hi,

What do you mean exactly ? You want to save the framebuffer that is shown at a certain time, like done in TouchGFX Designer when running with the Simulator ? Then yes by copying the content of the framebuffer when you want to take a "screenshot" and store it in available ram for example. I do not have an example but I think some users might have shared theirs on this forum. Have a look at the HALSDL2.hpp file, and the function saveScreenshot().

/Romain

gaubuali
gaubualiAuthor
Associate II
January 18, 2022

Hi Romain,

Yes this is what I am looking for.

Thank you.