Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

lwIP w/ LAN91C111 initialization failure recovery

Altera_Forum
Honored Contributor II
1,118 Views

Hi, 

 

When the Altera lwIP drivers for the LAN91C111 fail at initialization (eg. cable disconnected), lwIP seems not to be able of being recovered from the error.  

 

Is there any procedure to follow to get it to work after the cable is connected? Any workaround? 

 

If the cable is disconnected/connected back after the drivers have been initialized, it seems not having any problem to recover from the error condition.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
396 Views

 

--- Quote Start ---  

originally posted by vlorenzo@Jan 18 2006, 11:37 AM 

hi, 

 

when the altera lwip drivers for the lan91c111 fail at initialization (eg. cable disconnected), lwip seems not to be able of being recovered from the error.  

 

is there any procedure to follow to get it to work after the cable is connected? any workaround? 

 

if the cable is disconnected/connected back after the drivers have been initialized, it seems not having any problem to recover from the error condition. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12270) 

--- quote end ---  

 

--- Quote End ---  

 

 

http://forum.niosforum.com/forum/index.php?showtopic=639 (http://forum.niosforum.com/forum/index.php?showtopic=639

 

As I understand it, the only workaround is to periodically retry the netif_add function until it succeeds.
0 Kudos
Reply