Hello. I have following configuration:
Hardware configuration: Board on TMS320C6747 chip with PHY KSZ8031RNL. Hub "Eline" (It able to connect on 10 Mbit half duplex ). Switch "Compex DS 2216" (It able to connect 100 Mbit full duplex)
Software configuration: CCS 4.2.1, NDK 2.20.0.19
This is my problem:
If I plug cable from my board to 10 Mbit device, then link fail (ping is absent). Both led indicator on my board connector and on hub port is active. In console a see following strings:
TCP/IP Stack Example Client
Using default MAC address
Using MAC Address: 00-08-ee-03-14-77
MAC Address = 00-08-ee-03-14-77
EMAC should be up and running
EMAC has been started successfully
Registeration of the EMAC Successful
Network Added: If-1:192.168.137.251
Service Status: Telnet : Enabled : : 000
Service Status: HTTP : Enabled : : 000
Link Status: 10Mb/s Half Duplex on PHY 0
... if I unplugged cable from 10 MBit hub and plug it to 100 Mbit switch, then follow strings appear:
Link Status: No Link on PHY 0
Link Status: 100Mb/s Full Duplex on PHY 0
...and ping is Ok.
Then, I tried to using DHCP,
then
link fail too.
TCP/IP Stack Example Client
Using default MAC address
Using MAC Address: 00-08-ee-03-14-77
MAC Address = 00-08-ee-03-14-77
EMAC should be up and running
EMAC has been started successfully
Registeration of the EMAC Successful
Service Status: DHCPC : Enabled : : 000
Service Status: Telnet : Enabled : : 000
Service Status: HTTP : Enabled : : 000
Service Status: DHCPC : Enabled : Running : 000
Link Status: 10Mb/s Half Duplex on PHY 0
...some time later...
Service Status: DHCPC : Enabled : Fault : 002
Service Status: DHCPC : Disabled : : 000
Service Status: DHCPC : Enabled : : 000
Service Status: DHCPC : Enabled : Running : 000
...and if I unplugged cable from 10 MBit hub and plug it to 100 Mbit switch, then follow strings appear:
Link Status: No Link on PHY 0
Link Status: 100Mb/s Full Duplex on PHY 0
Network Added: If-1:192.168.137.65
Service Status: DHCPC : Enabled : Running : 017
and ping 192.168.137.65 work fine.
If plug to 10 MBit, In sniffer ("Wireshark") I don't see any activity from my board. It does not respond even to ARP request.
I don't know, what happens. All string on console is correct, all led indicators is active. I don't change "client" example code, or NDK source code.
PS. Any time ago I wrote to this forum about problem like this. But this is new problem. The old problem was solved by a enable timer.