6678使用Broadcom的5464 PHY芯片。做了两块电路板,1.1版本和1.2版本。
使用论坛下载的K1 STK中的GE,对其寄存器配置做了修改,运行正常:
CPU CLK=312.5*3(CPU是1.25GHZ,已经降频使用了),DDR3 CLK 1312.5MHz。
[C66xx_0] JTAG ID= 0x1009e02f. This is C6678/TCI6608 device, version variant = 1.
DEVSTAT= 0x0000c001. little endian, No boot or EMIF16(NOR FLASH) or UART boot, PLL configuration implies the input clock for core is 50MHz.
SmartReflex VID= 63, required core voltage= 1.104V.
Die ID= 0x0b01000e, 0x0404251b, 0x00000000, 0x648c0021
Device speed grade = 1250MHz.
Enable Exception handling...
Initialize DSP main clock = 312.50MHz/1x3 = 937MHz
Initialize PASS PLL clock = 100.00MHz/2x7 = 350.000MHz
Initialize DDR speed = 312.50MHzx/5x21 = 1312.500MTS
GE auto negotiation (master) two DSPs test (DSP0 -> DSP1)...
link PHY1 is NOT up
Transferred 3000 bytes with 7501363 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.
received 46 bytes (last byte=0x0), packet type = 0x88cc, from srouce address 0xc85b76218609 to destination address 0x0180c200000e
received 46 bytes (last byte=0x0), packet type = 0x0806, from srouce address 0xc85b76218609 to destination address 0xffffffffffff
received 46 bytes (last byte=0x0), packet type = 0x88cc, from srouce address 0xc85b76218609 to destination address 0x0180c200000e
received 46 bytes (last byte=0x0), packet type = 0x0806, from srouce address 0xc85b76218609 to destination address 0xffffffffffff
received 46 bytes (last byte=0x0), packet type = 0x0800, from srouce address 0xc85b76218609 to destination address 0x01005e000016
received 304 bytes (last byte=0xa), packet type = 0x0800, from srouce address 0xc85b76218609 to destination address 0x01005e7ffffa
received 46 bytes (last byte=0x0), packet type = 0x88cc, from srouce address 0xc85b76218609 to destination address 0x0180c200000e
received 46 bytes (last byte=0x0), packet type = 0x0806, from srouce address 0xc85b76218609 to destination address 0xffffffffffff
received 46 bytes (last byte=0x0), packet type = 0x0800, from srouce address 0xc85b76218609 to destination address 0x01005e000016
再运行基于MCSDK的helloWorld改写的工程,DSP做服务器端,PC使用网络调试助手,直连向DSP发送数据。(DSP 跑NDK做服务器端有没有隐患?)
1.1电路板运行基本正常,PC端能重复发送数百MB数据。