I'm using DM8168 DDR3 EVM Rev-C with daughter board (TMDXVSDC8168) and ezsdk 5.02.01.59.
My app's main function is receving data from eth0 and save it to SATA HDD and retransmitting to eth1.
eth0 is work well with gigabit ethernet, but eth1 is not.
When I boot EVM eth1 connected to a gigabit port, no data transmission occurred.
At this time I unplug the eth1 cable and plug to a 100M port, data transmission is occurred.
After data transmission is occurred, I connect eth1 to a giga port again, data transmission is work-well.
When EVM is booted with eth1 connected 100M port, all data transmission is no porblem.
More exactly explan is;
When boot eth1 with giga port, I check ifconfig command, some ethernet packets are received from eth1.
But, no data is transmitted from my app, also no ping reponse to eth1 from outside.
At this time, I run 'ifconfig eth1 down' and the EVM is hangged.
Before EVM is hannged, I do unplug eth1 cable from giga port and replug it to giga port again,
no data transmission.
In reply to Mugunthan V N:
how to get patch
In reply to Vladimir Karakozov:
But from u-boot command line I can read/write PHY registers (mii).
==> could you tell me how to do that ??
In reply to HeartBreak:
You should use mii command from u-boot. If it is not enabled - add in your board config file this macro and rebuild u-boot:
#define CONFIG_CMD_MDIO#define CONFIG_MII#define CONFIG_CMD_MII
Example of using:
1) #mii device
MII devices: 'GENERIC @ 0x01' Current device: 'GENERIC @ 0x01'
2) #mii read 1 0
3) #mii help
mii - MII utility commands
Usage:mii device - list available devicesmii device <devname> - set current devicemii info <addr> - display MII PHY infomii read <addr> <reg> - read MII PHY <addr> register <reg>mii write <addr> <reg> <data> - write MII PHY <addr> register <reg>mii dump <addr> <reg> - pretty-print <addr> <reg> (0-5 only)Addr and/or reg may be ranges, e.g. 2-7.
great thanks fro your reply.
I got the same result as yours.
And I want to got following, because I have two port and I just want to use the second port...how could I do that??
Current device: 'GENERIC @ 0x02'
Hi, Jack!Sorry, but I can't tell you more exactly, because I don't work with two ports simultaneously. I suppose that you need set current MII device via command mii device <devicename>, and your PHY must have a different MDIO addresses. In command mii read <addr> <reg> you can try using different MDIO addresses of PHY.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.