Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

lwIP w/ LAN91C111 initialization failure recovery

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.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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