I think you will nail my problem easily
I am still new to FreeRTOS, and my program is hanging always in the same line of code after random times (minutes or hours), generally with ethernet traffic.
I am using Cortex-M3 from luminary, with lwip raw.
The code always hangs on this line:
for( pxIterator = ( xListItem * ) &( pxList->xListEnd ); pxIterator->pxNext->xItemValue <= xValueOfInsertion; pxIterator = pxIterator->pxNext )
in vListInsert , filename: list.c
pxIterator->pxNext points to itself, so it hangs there.
As this code is "inside" freeRTOS, what could have causing this? Where should I look for?
Thank you very much, and sorry if it is a stupid question.
Sergio P. Sider