Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- The tutorial is not working for me either. When I run the program, it stuck on soft resetting the second PHY.
// Software reset the second PHY chip and wait
*(tse + 0xA0) = *(tse + 0xA0) | 0x8000; Has anybody the same problem and solved it? --- Quote End --- I got it working using Quartus 12 instead of Quartus 13.1 using this tutorial (ftp://ftp.altera.com/up/pub/altera_material/12.0/tutorials/de2-115/using_triple_speed_ethernet.pdf) and this sources (ftp://ftp.altera.com/up/pub/altera_material/14.0/tutorials/de2-115/using_triple_speed_ethernet.zip). But you have to change the pin names like:
nios_system system_inst (
.clk_clk (sys_clk), // clk.clk
.reset_reset_n (core_reset_n), // reset.reset_n
.tse_mac_conduit_connection_tx_clk (tx_clk), // eth_tse_0_pcs_mac_tx_clock_connection.clk
.tse_mac_conduit_connection_rx_clk (ENET1_RX_CLK), // eth_tse_0_pcs_mac_rx_clock_connection.clk
.tse_mac_conduit_connection_mdc (mdc), // tse_mac_mdio_connection.mdc
.tse_mac_conduit_connection_mdio_in (mdio_in), // .mdio_in
.tse_mac_conduit_connection_mdio_out (mdio_out), // .mdio_out
.tse_mac_conduit_connection_mdio_oen (mdio_oen), // .mdio_oen
.tse_mac_conduit_connection_rgmii_in (ENET1_RX_DATA), // tse_mac_rgmii_connection.rgmii_in
.tse_mac_conduit_connection_rgmii_out (ENET1_TX_DATA), // .rgmii_out
.tse_mac_conduit_connection_rx_control (ENET1_RX_DV), // .rx_control
.tse_mac_conduit_connection_tx_control (ENET1_TX_EN), // .tx_control
.tse_mac_conduit_connection_eth_mode (eth_mode), // .eth_mode
.tse_mac_conduit_connection_ena_10 (ena_10) // .ena_10
);