TouchGFX OSWrappers function "waitForVsync" got stuck into "for" loop forever.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-16 02:30 AM
Hi,
I am using STM32L4 series controller with FREERTOS configuration, i found that sometimes my code gets stuck into "for( pxIterator = ( ListItem_t * ) &( pxList->xListEnd ); pxIterator->pxNext->xItemValue <= xValueOfInsertion; pxIterator = pxIterator->pxNext )" under "vListInsert" function.
I am using timer for VSync, which having priority of 6 and
configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY to 5.
There are only tow number of task,
- Main task - Priority 2
- GUI task(TouchGFX GUI task) - Priority 3
Please find attached snap-shot of debugging window.
High priority task(TouchGFX GUI task) gets blocked by "for" loop forever, system never get chance to other other task and whole system hanged up there.
Could you help me out with this?
Thanks!!!
- Labels:
-
STM32L4 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-02 12:35 AM
Looks like you're using EWARM. Can you enable the FreeRTOS plugin and show the state of tasks/semaphores?
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-07 10:29 AM
Got exactly the same problem. Fixed by increasing FreeRTOS task stack size.
