lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Detect PHY reset


From: Simon Goldschmidt
Subject: Re: [lwip-users] Detect PHY reset
Date: Wed, 26 Sep 2012 16:49:12 +0200

Matthias Wieloch wrote:

> 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?

There might be a way to do so, but this is not part of lwIP. Instead, it's part 
of the netif driver to do this. You can however inform lwIP of the Ethernet 
link status which most PHYs can report (netif_set_link_down/up()).

Simon


reply via email to

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