[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Detect PHY reset

From: Marco Jakobs
Subject: Re: [lwip-users] Detect PHY reset
Date: Mon, 1 Oct 2012 09:55:04 +0200

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.

Marco Jakobs

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


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 

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

Matthias Wieloch

lwip-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]