Hello,
I am using the EVMC6474 in a microTCA chassis, which has the pins from the AMC connector routed to a Gigabit Ethernet switch, though I cannot ping the DSP core ip address when connected to that switch, only when connected to the RJ45 on the EVM card. Are there PHY registers that must be set to enable the SGMII routing to the AMC connector?
These are the phy register commands that are being set in evminit.c (no documentation on what these registers are...)
phy_setReg(27, 4, 0x0081);
// Configure Marvell 88E6122 PHY
phy_setReg(0xe, 26, 0x47); // Set PHY port 6 SERDES to 0.7V swing
phy_setReg(0xd, 26, 0x47); // Set PHY port 5 SERDES to 0.7V swing
phy_setReg(0x0e, 0, 0x8140); // Configure PHY port 6 SERDES --> EVM 1 at 1000mpbs, full duplex
phy_setReg(0x0d, 0, 0x8140); // Configure PHY port 5 SERDES --> EVM 2 at 1000mbps, full duplex
phy_setReg(0x15, 0x1, 0x043e); // Force internal switch --> port 5 SERDES to 1000MPBS, full Duplex
phy_setReg(0x16, 0x1, 0x043e); // Force internal switch --> port 6 SERDES to 1000MBPS, full Duplex
// Force 1000mps at copper PHY, disable auto-negotiate
phy_setReg(1, 0, 0x8140); // 0x8140 = 1000mbps
Here are the printfs when running the Hello World application:
TCP/IP Stack 'Hello World!' Application
MAC Address read from EFUSE: 00-24-ba-4c-14-18
Core Number on which NDK is running = 0
EFUSED MAC Address = 00-24-ba-4c-14-18
Only on CORE 0: SGMII reset successful........
Only on CORE 0: SGMII config successful........
Only on CORE 0: SerDes should be up and running
EMAC has been started successfully
Registeration of the EMAC Successful
Network Added: If-1:192.168.199.11
Thanks,
Josh