This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137-EP: EMAC/MDIO: Continuous phy status check

Part Number: TMS570LS3137-EP
Other Parts Discussed in Thread: TMS570LS3137

Hello,

I am using TMS570LS3137 with emac driver. I am currently initializing the emac at startup. What I want to do is to handle network connection not only at startup but any time, regarding the possibility of unplugging the network cable at runtime, or plugging it after the startup state. 

In a more simple way, I want to use my processor just like windows. It should detect whether the network cable is unplugged or plugged, and take necessary actions like setting up the connection when a network cable is plugged.

This I think is a common problem, and there should already be robust solutions, code examples etc. for this. Any help is appreciated.