Unable to Restore MAC Connection on SAM7X

chaalar wrote on Sunday, March 04, 2007:


I have a MAC restoring problem on my custom board using a FreeRTOS + lwIP with a SAM7X. When I unplug the ethernet
cable and re-plug it, connection is not coming back. I need to restart my board. Seems like a phy related problem but
I don’t know where to look. Is there something that I should do in my lwIP task or should I check for my hardware? My phsyical layer is Davicom DM9161AEP.

I looked into list archives, but I couldn’t find any related topic. Only there are SAM7X errata related issues which I have applied to my board already.

Caglar AKYUZ

rtel wrote on Sunday, March 04, 2007:

Do you know if the same is true when using the SAM7 EK board as per the demo?  The driver in the download does not handle all events.  Take a look at the SAM7X datasheet to see if there is something like a disconnect interrupt that needs to be handled so you know that it has disconnected and can start over.  Other than that you could poll to check it is still connected but this might not be optimal.