Is it safe to terminate and restart the thread that calls touchgfx:: HAL::getInstance()->taskEntry() ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-23 3:33 AM
The reason is we have noticed both the display and touchscreen freeze after 3 months in our test suite so since these aspects do not share hardware it looks like the RTOS thread has latched.
I have performed a preliminary test to perform the thread terminate and restart every 5 mins and it appears to be safe, with just a short screen glitch as the hardware is reset.
I was also surprised that the display continued from the page it left and not at the home page which I suspect is because the model instances are held statically so remember their current actions. I trust this is expected behaviour as it's more than I expected.
Labels:
- Labels:
-
TouchGFX
0 REPLIES 0
