Hi
I am using LYRTECH 's DM648 EVM , with NDK 2.0.0 , CCS 3.3 .
I compiled helloworld project to test ethernet . When I plug into 1000 MBit hub , everything is fine. the message is as followed:
===============================
TCP/IP Stack 'Hello World!' Application
Using MAC Address: 00-0e-99-02-aa-23
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
EMAC should be up and running
EMAC has been started successfully
Registeration of the EMAC Successful
Service Status: DHCPC : Enabled : : 000
Service Status: DHCPC : Enabled : Running : 000
cpsw_MDIO_FindingState: PhyNum: 0
cpsw_MDIO_FindingState: PhyNum: 1
cpsw_MDIO_PhYReset(0)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
cpsw_MDIO_PhYReset(1)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
Negotiated connection: FullDuplex 1000 Mbs
Link Status: 1000Mb/s Full Duplex on PHY 0
Network Added: If-1:192.168.1.91
Service Status: DHCPC : Enabled : Running : 017
==========================
I can see ip addres is gotten from DHCP , and I ping it succesfully.
But when I unplug it and replug it into 100Mbit hub , the message become as fellowed
============================
TCP/IP Stack 'Hello World!' Application
Using MAC Address: 00-0e-99-02-aa-23
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
EMAC should be up and running
EMAC has been started successfully
Registeration of the EMAC Successful
Service Status: DHCPC : Enabled : : 000
Service Status: DHCPC : Enabled : Running : 000
cpsw_MDIO_FindingState: PhyNum: 0
cpsw_MDIO_FindingState: PhyNum: 1
cpsw_MDIO_PhYReset(0)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
cpsw_MDIO_PhYReset(1)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
Phy: 0, NegMode 01E1, NWAYadvertise 01E1, NWAYREadvertise 45E1
Negotiated connection: FullDuplex 100 Mbs
Link Status: 100Mb/s Full Duplex on PHY 0
========================
It can't get ip anymore. Even I modified the code to use static ip , I can't ping that ip either.
Do you have any idea about this?
I have patched NDK 2.0.0.
Regards,
Clar