Skip to main content
One People
Associate
Feb 2, 2023 8:32 AM UTC
Question

Frequently loading a Dynamic Graph or Static Graph will freeze TouchGFX's screen and render it inoperable.

Frequently entering and exiting a screen with Graph in it, touchgfx will end up frozen on image2's screen and not fully loaded into image1's state.

Program run process:

xxxScreenViewbase::xxxScreenViewbase ---> xxxScreenView::xxxScreenView ---> xxxScreenPresenter::activate -x-> handleTickEvent --> Load Data to Graph

After the program runs to xxxScreenPresenter::ctivate no longer have any action.

Chip : STM32F29BI​

DataPoint Number : 420.

FrontendHeap::getInstance()::instance Address : 0x2002a334

FrontendHeap::getInstance()::instance Size : 20724 Byte

FreeRTOS : osThreadDef(touchgfxTask, Task_touchGFX, osPriorityNormal, 0, 0x4000);

0693W00000Y9nyJQAR.png0693W00000Y9nynQAB.png

This topic has been closed for replies.

5 replies

ktrofimo
Senior III
Feb 2, 2023 8:47 AM UTC

How often do you reopen graph screen?

One People
Associate
Feb 2, 2023 8:57 AM UTC

about one second.

Bugs appeared 30 times out of 1200 tests.

There was a BUG that would trigger when the screen was opened on startup.

One People
Associate
Feb 2, 2023 8:56 AM UTC

about one second.

Osman SOYKURT
ST Technical Moderator
Feb 3, 2023 12:58 PM UTC

Hello One People,

Are your values for your graph generated randomly?

Also which version of TouchGFX and which compiler are you using? Have you tried to activate speed optimization?

/Osman

ST Software Developer | TouchGFX
One People
Associate
Feb 6, 2023 2:11 AM UTC

Touchgfx updates the screen with chunking. When rect.y is 347 and 348, it is easy to trigger the screen freeze BUG.