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,
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!!!
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
2021-05-07 10:29 AM
Got exactly the same problem. Fixed by increasing FreeRTOS task stack size.