I’m using FreeRTOS 7.3 and lwIP 1.4.1 on a NXP LPC1776 MCU.
The problem I have is that the TCP/IP task is not called any more after a few minutes. It runs into xQueueGenericReceive. Because the queue is empty but xTicksToWait is nonzero vTaskPlaceOnEventList is called. After calling portYIELD_WITHIN_API the task does not start again although ethernet packets are received. The receive interrupts is still firing but the RTOS is running the IDLE and all other tasks but not the TCP/IP task.
I’m using IAR embedded workbench and the C-SPY debugger. I can see that the TCP/IP task is placed in the ready queue. This task has the highest priority in the system.
I made a similar application running on the LPC4337 Cortex-M4 core which runs without any problems.
I also verified that there is no stack overflow and the interrupt priorities are set via the CMSIS function NVIC_SetPriority.
Hopefully one of you can help.
Thank you in advance.