Skip to main content
JYi.3
Associate
June 8, 2021
Question

model::tick() and other functions get blocked occasionally

  • June 8, 2021
  • 10 replies
  • 2599 views

The following functions get blocked during application:

  1. void Model::tick() ;
  2. void handleTickEvent() ;
  3. OSWrappers::waitForVSync() ;

However, OSWrappers::signalVSync() works fine. The issue happens occasionally, most of the time, the TouchGFX GUI application is working fine.

What is the root-cause and how to debug / fix this issue?

Thanks

Jianchun

This topic has been closed for replies.

10 replies

Alexandre RENOUX
Visitor II
June 9, 2021

Hello Jianchun,

To find the root cause we need more information. Please give us information about your setup (TouchGFX version, board, display, how did you create your project, picture of the debug results, etc.)

/Alexandre

JYi.3
JYi.3Author
Associate
June 9, 2021

Hi Alexandre,

Our touchGFX project (ceribell.com) was created by Jesper Hedegaard 5+ years ago. Martin Kieldsen was working on it for about 1 year, and later took over by Anders Eskildsen. it was based on ST32F769 discovery-board with the same display. Our current TouchGFX version is 4.16.0.

Thanks,

Martin KJELDSEN
Principal III
June 10, 2021

Hi Jianchun!

Long time no talk :) When did this start happening?

/Martin

JYi.3
JYi.3Author
Associate
June 10, 2021
Hi Martin,
Nice to talk to you again!
Our application has been used in the field for 3+ years. Thank you very much for the support! We have about 1,000 cases per month and there are up to 4 cases reported that the application / GUI hanged.
We have been fighting this issue for a while and finally we caught it during test / debugging. We don't know how the model::tick() gets blocked occasionally. What we want to do is:
1. find out the root-cause and fix the issue;
2. or restart the tick again when it happens.
Any suggestions?
Thanks
- Jianchun