We are just moving from the Lyrtech EVM board to our new custom board. The Ethernet HW is identical, except that we only have a single Phy connected. I have run the helloWorld example supplied with the NDK, both versions 1.92 and 2.00. The only modification is to give it a fixed IP address, this works correctly on the EVM. The output from the custom board is below:
TCP/IP Stack 'Hello World!' Application
Using MAC Address: 3c-2d-b7-40-32-**
cpsw_MDIO_Init
SetPhyMode:000021E1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
cpsw_MDIO_Init
SetPhyMode:000021E1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
cpsw_MDIO_FindingState: PhyNum: 0
cpsw_MDIO_FindingState: Timed Out looking for a Phy!
cpsw_MDIO_PhYReset(0)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
Network Added: If-1:192.168.1.15
I've stared out the last 2 digits on the MAC address. On the EVM the first bytes of the MAC address are 00-21, why are the above 3c-2d? The Ethernet switch which the board is connected to shows a link has been achieved, but when pinging the board it comes back unreachable.
I've seen from several posts that people have had problems with the DM648 hanging after some time running with a single Phy, but we are stuck before that stage. Can anyone please let me know if we have to modify the NDK to work with a single Phy, or should it auto detect and just work? If so what changes are required and in which files?
Many thanks,
Simon