This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6678千兆以太网通信速率慢的问题



使用的BCM5464 PHY芯片,初始化DDR3,运行来自K1_STK_v1.1的,给予我们电路板做了修改的GE工程,输出如下:

JTAG ID= 0x1009e02f. This is C6678/TCI6608 device, version variant = 1.
DEVSTAT= 0x0000d40d. little endian, SPI boot, PLL configuration implies the input clock for core is bypassed.
SmartReflex VID= 63, required core voltage= 1.104V.
Die ID= 0x0b00f009, 0x0404251b, 0x00000000, 0x59ce0021
Device speed grade = 1250MHz.
Enable Exception handling...
Initialize DSP main clock = 312.50MHz/1x4 = 1250MHz
Initialize PASS PLL clock = 100.00MHz/2x21 = 1050.000MHz
Initialize DDR speed = 312.50MHzx/5x26 = 1625.000MTS
GE auto negotiation (master) two DSPs test (DSP0 -> DSP1)...
link PHY1 is NOT up
Transferred     3000 bytes with 10001310 cycles, throughput=    2Mbps.
number of descriptors in host queue DDR_HOST_SIZE0_FDQ (2058) changed from 512 to 518
0x82340041->0x82340061->0x82340081->0x823400a1->0x823400c1->0x823400e1->0x82340101->0x82340121->0x82340141->0x82340161->...
STATSA.RxGoodFrames     =8
STATSA.RxOctets         =12144
STATSA.Frame1024tUp     =8
STATSA.NetOctets        =12144
STATSB.TxGoodFrames     =8
STATSB.TxOctets         =12144
STATSB.Frame1024tUp     =8
STATSB.NetOctets        =12144
SGMII0 Link Partner Advertised Ability 10Mbps Half Duplex
SGMII1 Link Partner Advertised Ability 10Mbps Half Duplex
MDIO ALIVE flag: 0x0000000c
MDIO LINK  flag: 0x0000000c
GE test complete.

然后运行helloWorld.pjt,因为GE已经配置网络,所以在helloWorld.pjt的EVM_init()函数里面,将sFlags.phy从1设置为0.

在PC上运行一个发数据程序,电路板直连PC,可以发送数据,但是速度很慢,发送100MB数据需要15秒左右。

请问为什么速度这么慢?

在GE.pjt里面,是采用auto negotiation自协商模式,如果强制为千兆,反而配置过不去。为什么?

谢谢大家!