problem with TCP/IP with free RTOS

shirin wrote on Monday, December 10, 2018:

Hi every one
i am new in this forum and excuse me if there is any mistake in my post.
i am using PIC32MZ2048EFM144 micro controller with WINC1500 wifi module and Enc28j60 Ethernet module. if i do not mistake the version of FreeRtos is 10.0.1,using mblabxide v5.05 and harmony v2.06.
the problem that i have is:
when i connect to wifi after awhile (the time is always different ) the two tasks (_Sys_Tasks and _App_Tasks) not running anymore , at this point i see the pic always run inside portTASK_FUNCTION( prvIdleTask, pvParameters ) and not exit anymore.
i have to add that in _App_tasks(), i added my codes :

static void _APP_Tasks(void) {
    while (1) {

        APP_Tasks();
        vTaskDelay(1 / (portTICK_PERIOD_MS)); //1ms
        //********* my codes here***********
    }
}

i do not know and could not understand the reason. i have this problem only with wifi connection.with ethernet connection it does not happen.
is there any body that can help me?

rtel wrote on Wednesday, December 12, 2018:

I’m afraid this is a bit Harmony specific, but if adding a delay makes a
difference it looks like the app tasks are running without blocking
which is starving out other code.