Hi Matthias,

I've seen the same effect (PHY reset) quite rare, but they have been there.
As it's horrible losing a device this way, I'm doing a periodic poll of some
few important PHY configuration registers and compare them with the values
they should have. When I detect a change here (due to a PHY reset), I'll
reconfigure the PHY "on the fly" which fixes the problem.

As I'm also writing this event to my event logger I see when this happens
... have not seen it for months in a 24/7 operation, but I feel better to
know that I'm not losing devices in the network if this happens.

BR
Marco Jakobs
 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Matthias
Wieloch
Sent: Wednesday, September 26, 2012 11:24 AM
To: [email protected]
Subject: [lwip-users] Detect PHY reset

Hello,

I use lwip-1.3.2 with FreeRTOS 6.0.3 on a SAM7X512 for a while now and 
recently it happens that the Ethernet connection gets lost after some 
undetermined run time.
I'm pinging the device while operation now and when I loose connection I 
see that I receive no ping response and a few seconds later the host is 
unreachable.

Is there a way to detect a reset of the PHY and reset it again?

Regards
Matthias Wieloch

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


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

Reply via email to