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.

Ethernet Link Status

Altera_Forum
Honored Contributor II
1,068 Views

Good day, I'm running the Altera simple socket server on the DE2-70 board. I would like to detect when the link is down on the Ethernet port. Is there a routine that can be called that returns its status? 

 

Thanks 

JT
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
349 Views

If you have tse mac, you can try alt_tse_phy_rd_mdio_reg() which is declared in altera_avalon_tse.h. 

The register to read and the bit sowing link status will depend from your specific phy.
0 Kudos
Reply