Update on the problem of ethernet communication failure after many hours of operation
Continuing the discussion on the earlier thread,
As discussed earlier the problem occured at one place and at another place it worked for days together without a problem.
So, we have repeated the experiment with the switch and cables from the place where the problem was encountered and now we find that the problem has occured after 30 hours. The following are the observations .
There are 2 active tcp_pcbs in established state (state 4) corresponding to the 2 PCs connected through the switch. They continue to show Established state even after the hang. These 2 are closed automatically after about 30 minutes from the time of hang. I think LWIP waits for this time and closes the connections.
The EMACIntStatus is mostly 0x10041 when it is working normally and sometimes 0x180c1 when there is an abnormal interrupt. There are about 32 abnormal interrupts in the 30 hours of operation.
At the time of hang the EMACIntStatus is zero and remains zero afterwards. Under this condition no new connection to the board is possible from tera term or any other way. The only way to re establish connection is to reset the MCU.
The question is, what is causing the EMACIntStatus to get stuck at zero? Can the switch cause this?
What could result in this type of behavior?
Any help is appreciated.