Thank you all for your responses.

Finally I found the solution: long time ago I had problem with
ETH_IRQHandler and I disabled High priority task woken

void ETH_IRQHandler(void)
{
        portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;

        /* Frame received */
        if ( ETH_GetDMAFlagStatus(ETH_DMA_FLAG_R) == SET)
        {
                /* Give the semaphore to wakeup LwIP task */
                xSemaphoreGiveFromISR( s_xSemaphore, 
*/*&xHigherPriorityTaskWoken*/*NULL
);
        }

        /* Clear the interrupt flags. */
        /* Clear the Eth DMA Rx IT pending bits */
        ETH_DMAClearITPendingBit(ETH_DMA_IT_R);
        ETH_DMAClearITPendingBit(ETH_DMA_IT_NIS);

        /* Switch tasks if necessary. */
        if( xHigherPriorityTaskWoken != pdFALSE )
        {
                portEND_SWITCHING_ISR( xHigherPriorityTaskWoken );
        }
}

Now I reactivate xHigherPriorityTaskWoken. 
I don't understand the link with the new chip but it works.
Pierre



--
View this message in context: 
http://lwip.100.n7.nabble.com/change-PHY-and-strange-behaviour-tp22776p22833.html
Sent from the lwip-users mailing list archive at Nabble.com.

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to