Hi,
I have a board based on p1013 processor. I have a phy device connected to etsec2 through rmii interface.I want to configure etsec2 in rmii mode from uboot. I have set ETSEC CNTRL as 0x1004 and MACCFG2 as 0x7105 . When i ping host pc from board i get ping failed , host is not alive. The MIB registers like Transmit bye counters and Receive byte counters remain zero during ping. However the physical link shows up at speed 100mbps and full duplex mode. Is there any other rmii configuration which i may be missing upon?
Hi,
The problem got resolved. Thank you for the useful information
Hi,
eTSEC2_MACCFG1 is 0x5.
In RMII mode we are using shared reference clock between transmit and receive. We have also probed the tx clk as 50Mhz
What is eTSEC2_ECNTRL value?
What is GUTs_PORDEVSR value?
Ensure that cfg_tsec2_prtc is pulled low and cfg_serdes_ports[0:4] does not select SGMII2.
Hi ufedor
eTSEC2_ECNTRL is 0x100c
GUTs_PORDEVSR is 0x1b5c0040
I am getting error "eSEC2: tsec: tx error"
We have ensured that cfg_tsec2_prtc is pulled low and cfg_serdes_ports[0:4] does not select SGMII2 (10111)
What is the eTSEC2_MACCFG1 value?
Ensure that TX_CLK and RX_CLK are applied to the processor.