大家好!
最近做了块6678的板子,PHY部分是按照EVM设计的,基本一模一样,唯一不一样的是88E1111的核电压由EVM上的1.2V改成1.0V。
经过测试,电压1.0V和2.5V都正确。
PHY_RST#也是已经拉高3V3(和EVM一致)。
88E1111的XTAL晶振用示波器测量也是有电压的(看不见频率,EVM也是这样,可能是因为示波器的表笔接触后,负载电容变化的原因)
下面是实验结果:
1>使用MCSDK中helloworld_evm6678l。自协商失败。结果如下图1:
为什么自协商会失败呢?
2>在本论坛:www.deyisupport.com/.../47664.aspx
下载测试了GE这个例子GE_Test_Data_Path test_data_path= GE_TEST_SERDES_LOOPBACK; 这个应该是通过了,打印信息如下:
[C66xx_0] Initialize DSP main clock = 100.00MHz/1x10 = 1000MHz
Initialize PASS clock = 100.00MHzx21/2 = 1050.000MHz
Initialize DDR speed = 66.67MHzx20/1 = 1333.333MTS
Enable Exception handling...
GE 1000M fullduplex internal SERDES loopback test...
GE transfer from 0x820c0000 to 0x820c2800, 1 packets x 64 bytes, 7409 cycles, 69 Mbps
GE transfer from 0x820c2800 to 0x820c5000, 1 packets x 128 bytes, 9405 cycles, 108 Mbps
GE transfer from 0x820c5000 to 0x820c7800, 1 packets x 256 bytes, 13011 cycles, 157 Mbps
GE transfer from 0x820c7800 to 0x820ca000, 1 packets x 512 bytes, 20007 cycles, 204 Mbps
GE transfer from 0x820ca000 to 0x820cc800, 1 packets x 1024 bytes, 33609 cycles, 243 Mbps
GE transfer from 0x820cc800 to 0x820cf000, 1 packets x 2048 bytes, 60605 cycles, 270 Mbps
GE transfer from 0x820cf000 to 0x820d1800, 1 packets x 4096 bytes, 114233 cycles, 286 Mbps
GE transfer from 0x820d1800 to 0x820d4000, 1 packets x 8192 bytes, 221133 cycles, 296 Mbps
GE transfer from 0x820d4000 to 0x c018000, 1 packets x 64 bytes, 7749 cycles, 66 Mbps
GE transfer from 0x820d6800 to 0x c018000, 1 packets x 128 bytes, 9487 cycles, 107 Mbps
GE transfer from 0x820d9000 to 0x c018000, 1 packets x 256 bytes, 12987 cycles, 157 Mbps
GE transfer from 0x820db800 to 0x c018000, 1 packets x 512 bytes, 19739 cycles, 207 Mbps
GE transfer from 0x820de000 to 0x c018000, 1 packets x 1024 bytes, 33775 cycles, 242 Mbps
GE transfer from 0x820e0800 to 0x c018000, 1 packets x 2048 bytes, 60593 cycles, 270 Mbps
GE transfer from 0x820e3000 to 0x c018000, 1 packets x 4096 bytes, 113991 cycles, 287 Mbps
GE transfer from 0x820e5800 to 0x c018000, 1 packets x 8192 bytes, 221357 cycles, 296 Mbps
GE transfer from 0x c018000 to 0x820e8000, 1 packets x 64 bytes, 7907 cycles, 64 Mbps
GE transfer from 0x c01a800 to 0x820e8000, 1 packets x 128 bytes, 9403 cycles, 108 Mbps
GE transfer from 0x c01d000 to 0x820e8000, 1 packets x 256 bytes, 13139 cycles, 155 Mbps
GE transfer from 0x c01f800 to 0x820e8000, 1 packets x 512 bytes, 20201 cycles, 202 Mbps
GE transfer from 0x c022000 to 0x820e8000, 1 packets x 1024 bytes, 33293 cycles, 246 Mbps
GE transfer from 0x c024800 to 0x820e8000, 1 packets x 2048 bytes, 59757 cycles, 274 Mbps
GE transfer from 0x c027000 to 0x820e8000, 1 packets x 4096 bytes, 113855 cycles, 287 Mbps
GE transfer from 0x c029800 to 0x820e8000, 1 packets x 8192 bytes, 221127 cycles, 296 Mbps
GE transfer from 0x c02c000 to 0x c02e800, 1 packets x 64 bytes, 7495 cycles, 68 Mbps
GE transfer from 0x c02e800 to 0x c031000, 1 packets x 128 bytes, 9266 cycles, 110 Mbps
GE transfer from 0x c031000 to 0x c033800, 1 packets x 256 bytes, 13426 cycles, 152 Mbps
GE transfer from 0x c033800 to 0x c036000, 1 packets x 512 bytes, 20112 cycles, 203 Mbps
GE transfer from 0x c036000 to 0x c038800, 1 packets x 1024 bytes, 33068 cycles, 247 Mbps
GE transfer from 0x c038800 to 0x c03b000, 1 packets x 2048 bytes, 60392 cycles, 271 Mbps
GE transfer from 0x c03b000 to 0x c03d800, 1 packets x 4096 bytes, 113990 cycles, 287 Mbps
GE transfer from 0x c03d800 to 0x c040000, 1 packets x 8192 bytes, 220934 cycles, 296 Mbps
GE transfer from 0x820ea800 to 0x820ef800, 2 packets x 64 bytes, 8780 cycles, 116 Mbps
GE transfer from 0x820ed000 to 0x820f4800, 2 packets x 128 bytes, 10700 cycles, 191 Mbps
GE transfer from 0x820f2000 to 0x820f9800, 2 packets x 256 bytes, 16032 cycles, 255 Mbps
GE transfer from 0x820f7000 to 0x820fe800, 2 packets x 512 bytes, 24361 cycles, 336 Mbps
GE transfer from 0x820fc000 to 0x82103800, 2 packets x 1024 bytes, 42445 cycles, 386 Mbps
GE transfer from 0x82101000 to 0x82108800, 2 packets x 2048 bytes, 77689 cycles, 421 Mbps
GE transfer from 0x82106000 to 0x8210d800, 2 packets x 4096 bytes, 149199 cycles, 439 Mbps
GE transfer from 0x8210b000 to 0x82112800, 2 packets x 8192 bytes, 290671 cycles, 450 Mbps
GE transfer from 0x82110000 to 0x c042800, 2 packets x 64 bytes, 7884 cycles, 129 Mbps
GE transfer from 0x82117800 to 0x c040000, 2 packets x 128 bytes, 10489 cycles, 195 Mbps
GE transfer from 0x8211c800 to 0x c042800, 2 packets x 256 bytes, 15584 cycles, 262 Mbps
GE transfer from 0x82121800 to 0x c040000, 2 packets x 512 bytes, 24801 cycles, 330 Mbps
GE transfer from 0x82126800 to 0x c042800, 2 packets x 1024 bytes, 42115 cycles, 389 Mbps
GE transfer from 0x8212b800 to 0x c040000, 2 packets x 2048 bytes, 78151 cycles, 419 Mbps
GE transfer from 0x82130800 to 0x c042800, 2 packets x 4096 bytes, 148771 cycles, 440 Mbps
GE transfer from 0x82135800 to 0x c040000, 2 packets x 8192 bytes, 290517 cycles, 451 Mbps
GE transfer from 0x c042800 to 0x8213a800, 2 packets x 64 bytes, 8829 cycles, 115 Mbps
GE transfer from 0x c047800 to 0x82138000, 2 packets x 128 bytes, 10775 cycles, 190 Mbps
GE transfer from 0x c04c800 to 0x8213a800, 2 packets x 256 bytes, 15414 cycles, 265 Mbps
GE transfer from 0x c051800 to 0x82138000, 2 packets x 512 bytes, 24592 cycles, 333 Mbps
GE transfer from 0x c056800 to 0x8213a800, 2 packets x 1024 bytes, 42138 cycles, 388 Mbps
GE transfer from 0x c05b800 to 0x82138000, 2 packets x 2048 bytes, 77448 cycles, 423 Mbps
GE transfer from 0x c060800 to 0x8213a800, 2 packets x 4096 bytes, 149124 cycles, 439 Mbps
GE transfer from 0x c065800 to 0x82138000, 2 packets x 8192 bytes, 290320 cycles, 451 Mbps
GE transfer from 0x c01a800 to 0x c01f800, 2 packets x 64 bytes, 8785 cycles, 116 Mbps
GE transfer from 0x c024800 to 0x c029800, 2 packets x 128 bytes, 11200 cycles, 182 Mbps
GE transfer from 0x c02e800 to 0x c033800, 2 packets x 256 bytes, 15689 cycles, 261 Mbps
GE transfer from 0x c038800 to 0x c03d800, 2 packets x 512 bytes, 24893 cycles, 329 Mbps
GE transfer from 0x c042800 to 0x c047800, 2 packets x 1024 bytes, 41781 cycles, 392 Mbps
GE transfer from 0x c04c800 to 0x c051800, 2 packets x 2048 bytes, 77553 cycles, 422 Mbps
GE transfer from 0x c056800 to 0x c05b800, 2 packets x 4096 bytes, 148595 cycles, 441 Mbps
GE transfer from 0x c060800 to 0x c065800, 2 packets x 8192 bytes, 291041 cycles, 450 Mbps
GE transfer from 0x8213f800 to 0x82149800, 4 packets x 64 bytes, 9765 cycles, 209 Mbps
GE transfer from 0x82142000 to 0x82153800, 4 packets x 128 bytes, 14099 cycles, 290 Mbps
GE transfer from 0x8214c000 to 0x8215d800, 4 packets x 256 bytes, 20744 cycles, 394 Mbps
GE transfer from 0x82156000 to 0x82167800, 4 packets x 512 bytes, 34101 cycles, 480 Mbps
GE transfer from 0x82160000 to 0x82171800, 4 packets x 1024 bytes, 60519 cycles, 541 Mbps
GE transfer from 0x8216a000 to 0x8217b800, 4 packets x 2048 bytes, 113437 cycles, 577 Mbps
GE transfer from 0x82174000 to 0x82185800, 4 packets x 4096 bytes, 219293 cycles, 597 Mbps
GE transfer from 0x8217e000 to 0x8218f800, 4 packets x 8192 bytes, 430163 cycles, 609 Mbps
GE transfer from 0x82188000 to 0x c01f800, 4 packets x 64 bytes, 10060 cycles, 203 Mbps
GE transfer from 0x82199800 to 0x c029800, 4 packets x 128 bytes, 13597 cycles, 301 Mbps
GE transfer from 0x821a3800 to 0x c033800, 4 packets x 256 bytes, 20776 cycles, 394 Mbps
GE transfer from 0x821ad800 to 0x c03d800, 4 packets x 512 bytes, 33709 cycles, 486 Mbps
GE transfer from 0x821b7800 to 0x c047800, 4 packets x 1024 bytes, 60127 cycles, 544 Mbps
GE transfer from 0x821c1800 to 0x c051800, 4 packets x 2048 bytes, 113635 cycles, 576 Mbps
GE transfer from 0x821cb800 to 0x c05b800, 4 packets x 4096 bytes, 219029 cycles, 598 Mbps
GE transfer from 0x821d5800 to 0x c065800, 4 packets x 8192 bytes, 429819 cycles, 609 Mbps
GE transfer from 0x c01f800 to 0x821df800, 4 packets x 64 bytes, 10623 cycles, 192 Mbps
GE transfer from 0x c029800 to 0x821d8000, 4 packets x 128 bytes, 13527 cycles, 302 Mbps
GE transfer from 0x c033800 to 0x821df800, 4 packets x 256 bytes, 20876 cycles, 392 Mbps
GE transfer from 0x c03d800 to 0x821d8000, 4 packets x 512 bytes, 33996 cycles, 481 Mbps
GE transfer from 0x c047800 to 0x821df800, 4 packets x 1024 bytes, 60300 cycles, 543 Mbps
GE transfer from 0x c051800 to 0x821d8000, 4 packets x 2048 bytes, 112818 cycles, 580 Mbps
GE transfer from 0x c05b800 to 0x821df800, 4 packets x 4096 bytes, 218970 cycles, 598 Mbps
GE transfer from 0x c065800 to 0x821d8000, 4 packets x 8192 bytes, 430342 cycles, 609 Mbps
GE transfer from 0x c01f800 to 0x c029800, 4 packets x 64 bytes, 9679 cycles, 211 Mbps
GE transfer from 0x c033800 to 0x c03d800, 4 packets x 128 bytes, 14004 cycles, 292 Mbps
GE transfer from 0x c047800 to 0x c051800, 4 packets x 256 bytes, 20521 cycles, 399 Mbps
GE transfer from 0x c05b800 to 0x c065800, 4 packets x 512 bytes, 34187 cycles, 479 Mbps
GE transfer from 0x c01f800 to 0x c029800, 4 packets x 1024 bytes, 60359 cycles, 542 Mbps
GE transfer from 0x c033800 to 0x c03d800, 4 packets x 2048 bytes, 112873 cycles, 580 Mbps
GE transfer from 0x c047800 to 0x c051800, 4 packets x 4096 bytes, 218283 cycles, 600 Mbps
GE transfer from 0x c05b800 to 0x c065800, 4 packets x 8192 bytes, 429607 cycles, 610 Mbps
GE transfer from 0x821e9800 to 0x821fd800, 8 packets x 64 bytes, 13701 cycles, 298 Mbps
GE transfer from 0x821ec000 to 0x82211800, 8 packets x 128 bytes, 19167 cycles, 427 Mbps
GE transfer from 0x82200000 to 0x82225800, 8 packets x 256 bytes, 31334 cycles, 522 Mbps
GE transfer from 0x82214000 to 0x82239800, 8 packets x 512 bytes, 52541 cycles, 623 Mbps
GE transfer from 0x82228000 to 0x8224d800, 8 packets x 1024 bytes, 96331 cycles, 680 Mbps
GE transfer from 0x8223c000 to 0x82261800, 8 packets x 2048 bytes, 184211 cycles, 711 Mbps
GE transfer from 0x82250000 to 0x82275800, 8 packets x 4096 bytes, 358715 cycles, 730 Mbps
GE transfer from 0x82264000 to 0x82289800, 8 packets x 8192 bytes, 709461 cycles, 738 Mbps
GE transfer from 0x82278000 to 0x c029800, 8 packets x 64 bytes, 13524 cycles, 302 Mbps
GE transfer from 0x8229d800 to 0x c03d800, 8 packets x 128 bytes, 19743 cycles, 414 Mbps
GE transfer from 0x822b1800 to 0x c051800, 8 packets x 256 bytes, 30526 cycles, 536 Mbps
GE transfer from 0x822c5800 to 0x c065800, 8 packets x 512 bytes, 52651 cycles, 622 Mbps
GE transfer from 0x822d9800 to 0x c029800, 8 packets x 1024 bytes, 96039 cycles, 682 Mbps
GE transfer from 0x822ed800 to 0x c03d800, 8 packets x 2048 bytes, 184261 cycles, 711 Mbps
GE transfer from 0x82301800 to 0x c051800, 8 packets x 4096 bytes, 359507 cycles, 729 Mbps
GE transfer from 0x82315800 to 0x c065800, 8 packets x 8192 bytes, 709087 cycles, 739 Mbps
GE transfer from 0x c029800 to 0x82329800, 8 packets x 64 bytes, 13183 cycles, 310 Mbps
GE transfer from 0x c03d800 to 0x82318000, 8 packets x 128 bytes, 19329 cycles, 423 Mbps
GE transfer from 0x c051800 to 0x82329800, 8 packets x 256 bytes, 30630 cycles, 534 Mbps
GE transfer from 0x c065800 to 0x82318000, 8 packets x 512 bytes, 52836 cycles, 620 Mbps
GE transfer from 0x c029800 to 0x82329800, 8 packets x 1024 bytes, 96080 cycles, 682 Mbps
GE transfer from 0x c03d800 to 0x82318000, 8 packets x 2048 bytes, 183772 cycles, 713 Mbps
GE transfer from 0x c051800 to 0x82329800, 8 packets x 4096 bytes, 359134 cycles, 729 Mbps
GE transfer from 0x c065800 to 0x82318000, 8 packets x 8192 bytes, 709450 cycles, 739 Mbps
GE transfer from 0x c029800 to 0x c03d800, 8 packets x 64 bytes, 13477 cycles, 303 Mbps
GE transfer from 0x c051800 to 0x c065800, 8 packets x 128 bytes, 19244 cycles, 425 Mbps
GE transfer from 0x c029800 to 0x c03d800, 8 packets x 256 bytes, 30691 cycles, 533 Mbps
GE transfer from 0x c051800 to 0x c065800, 8 packets x 512 bytes, 52141 cycles, 628 Mbps
GE transfer from 0x c029800 to 0x c03d800, 8 packets x 1024 bytes, 95989 cycles, 682 Mbps
GE transfer from 0x c051800 to 0x c065800, 8 packets x 2048 bytes, 184245 cycles, 711 Mbps
GE transfer from 0x c029800 to 0x c03d800, 8 packets x 4096 bytes, 358557 cycles, 731 Mbps
GE transfer from 0x c051800 to 0x c065800, 8 packets x 8192 bytes, 709389 cycles, 739 Mbps
GE transfer from 0x8233d800 to 0x820e5800, 16 packets x 64 bytes, 20379 cycles, 401 Mbps
GE transfer from 0x8210b000 to 0x82135800, 16 packets x 128 bytes, 30811 cycles, 531 Mbps
GE transfer from 0x82156000 to 0x8217e000, 16 packets x 256 bytes, 50854 cycles, 644 Mbps
GE transfer from 0x821ad800 to 0x821d5800, 16 packets x 512 bytes, 90723 cycles, 722 Mbps
GE transfer from 0x821ec000 to 0x82214000, 16 packets x 1024 bytes, 168377 cycles, 778 Mbps
GE transfer from 0x8223c000 to 0x82264000, 16 packets x 2048 bytes, 325839 cycles, 804 Mbps
GE transfer from 0x8229d800 to 0x822c5800, 16 packets x 4096 bytes, 639139 cycles, 820 Mbps
GE transfer from 0x822ed800 to 0x82315800, 16 packets x 8192 bytes, 1267343 cycles, 827 Mbps
GE transfer from 0x8233d800 to 0x c03d800, 16 packets x 64 bytes, 20316 cycles, 403 Mbps
GE transfer from 0x820e5800 to 0x c065800, 16 packets x 128 bytes, 31142 cycles, 526 Mbps
GE transfer from 0x8210b000 to 0x c03d800, 16 packets x 256 bytes, 51210 cycles, 639 Mbps
GE transfer from 0x82135800 to 0x c065800, 16 packets x 512 bytes, 90145 cycles, 727 Mbps
GE transfer from 0x82156000 to 0x c03d800, 16 packets x 1024 bytes, 168487 cycles, 777 Mbps
GE transfer from 0x8217e000 to 0x c065800, 16 packets x 2048 bytes, 325259 cycles, 805 Mbps
GE transfer from 0x821ad800 to 0x c03d800, 16 packets x 4096 bytes, 639001 cycles, 820 Mbps
GE transfer from 0x821d5800 to 0x c065800, 16 packets x 8192 bytes, 1267013 cycles, 827 Mbps
GE transfer from 0x c03d800 to 0x821ec000, 16 packets x 64 bytes, 21085 cycles, 388 Mbps
GE transfer from 0x c065800 to 0x82214000, 16 packets x 128 bytes, 30579 cycles, 535 Mbps
GE transfer from 0x c03d800 to 0x8223c000, 16 packets x 256 bytes, 50896 cycles, 643 Mbps
GE transfer from 0x c065800 to 0x82264000, 16 packets x 512 bytes, 89684 cycles, 730 Mbps
GE transfer from 0x c03d800 to 0x8229d800, 16 packets x 1024 bytes, 168882 cycles, 776 Mbps
GE transfer from 0x c065800 to 0x822c5800, 16 packets x 2048 bytes, 325282 cycles, 805 Mbps
GE transfer from 0x c03d800 to 0x822ed800, 16 packets x 4096 bytes, 639246 cycles, 820 Mbps
GE transfer from 0x c065800 to 0x82315800, 16 packets x 8192 bytes, 1267212 cycles, 827 Mbps
GE transfer from 0x c03d800 to 0x c065800, 16 packets x 64 bytes, 20909 cycles, 391 Mbps
GE transfer from 0x c03d800 to 0x c065800, 16 packets x 128 bytes, 30649 cycles, 534 Mbps
GE transfer from 0x c03d800 to 0x c065800, 16 packets x 256 bytes, 50714 cycles, 646 Mbps
GE transfer from 0x c03d800 to 0x c065800, 16 packets x 512 bytes, 89632 cycles, 731 Mbps
GE transfer from 0x c03d800 to 0x c065800, 16 packets x 1024 bytes, 168040 cycles, 780 Mbps
GE transfer from 0x c03d800 to 0x c065800, 16 packets x 2048 bytes, 325342 cycles, 805 Mbps
GE transfer from 0x c03d800 to 0x c065800, 16 packets x 4096 bytes, 638928 cycles, 820 Mbps
GE transfer from 0x c03d800 to 0x c065800, 16 packets x 8192 bytes, 1267427 cycles, 827 Mbps
Multiple ports test...
transfer 4 x 1500 bytes from SL2_HOST_SIZE1_FDQ (2049) to FLOW_TO_DDR (0)
transfer 4 x 46 bytes from DDR_HOST_SIZE1_FDQ (2059) to FLOW_TO_SL2 (1)
Transferred 6184 bytes with 84646 cycles, throughput= 584Mbps.
STATSA.RxGoodFrames =1000
STATSA.RxOctets =2047864
STATSA.TxGoodFrames =1000
STATSA.TxOctets =2047864
STATSA.Frame64 =8
STATSA.Frame65t127 =248
STATSA.Frame128t255 =248
STATSA.Frame256t511 =248
STATSA.Frame512t1023 =248
STATSA.Frame1024tUp =1000
STATSA.NetOctets =4095728
STATSB.RxGoodFrames =1000
STATSB.RxOctets =2047864
STATSB.TxGoodFrames =1000
STATSB.TxOctets =2047864
STATSB.Frame64 =8
STATSB.Frame65t127 =248
STATSB.Frame128t255 =248
STATSB.Frame256t511 =248
STATSB.Frame512t1023 =248
STATSB.Frame1024tUp =1000
STATSB.NetOctets =4095728
SGMII port 0 is in the idle state.
SGMII port 1 is in the idle state.
GE test complete.
求大家多指点,非常感谢!!!

