在调试K1_STK_v1.1例程中GE_test的时候,使用的是***SEVM6678LE板子。
最开始一直报错DDR3 leveling has failed, STATUS = 0x。
一开始以为是DDR配置的问题。
后来发现我添加了gel文件,已经对DDR初始化了。
所以将程序中的KeyStone_DDR_init (66.66667, 20, 1, NULL);注释掉,直接使用gel就成功了。
//DDR init 66.66667*20/1= 1333 //KeyStone_DDR_init (66.66667, 20, 1, NULL);//将这一句注释掉
讯享网

总之,注释掉程序里的DDR3初始化,将CCS自带的gel加进去就可以了。
成功运行的console:
讯享网[C66xx_0] JTAG ID= 0x1009e02f. This is C6678/TCI6608 device, version variant = 1. DEVSTAT= 0x00000001. 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= 0x0, 0x0403e91a, 0x00000000, 0x Device speed grade = 1000MHz. Enable Exception handling... Initialize DSP main clock = 100.00MHz/1x10 = 1000MHz Initialize PASS PLL clock = 100.00MHz/2x21 = 1050.000MHz GE 1000M fullduplex internal SERDES loopback test... GE transfer from 0x820c0000 to 0x820c2800, 1 packets x 64 bytes, 7703 cycles, 66 Mbps GE transfer from 0x820c5000 to 0x820c7800, 1 packets x 128 bytes, 8887 cycles, 115 Mbps GE transfer from 0x820ca000 to 0x820cc800, 1 packets x 256 bytes, 12635 cycles, 162 Mbps GE transfer from 0x820cf000 to 0x820d1800, 1 packets x 512 bytes, 19467 cycles, 210 Mbps GE transfer from 0x820d4000 to 0x820d6800, 1 packets x 1024 bytes, 31633 cycles, 258 Mbps GE transfer from 0x820d9000 to 0x820db800, 1 packets x 2048 bytes, 57243 cycles, 286 Mbps GE transfer from 0x820de000 to 0x820e0800, 1 packets x 4096 bytes, cycles, 304 Mbps GE transfer from 0x820e3000 to 0x820e5800, 1 packets x 8192 bytes, cycles, 313 Mbps GE transfer from 0x820e8000 to 0x c018000, 1 packets x 64 bytes, 7081 cycles, 72 Mbps GE transfer from 0x820ea800 to 0x c01a800, 1 packets x 128 bytes, 8885 cycles, 115 Mbps GE transfer from 0x820ed000 to 0x c01d000, 1 packets x 256 bytes, 12693 cycles, 161 Mbps GE transfer from 0x820ef800 to 0x c01f800, 1 packets x 512 bytes, 18861 cycles, 217 Mbps GE transfer from 0x820f2000 to 0x c022000, 1 packets x 1024 bytes, 32029 cycles, 255 Mbps GE transfer from 0x820f4800 to 0x c024800, 1 packets x 2048 bytes, 57137 cycles, 286 Mbps GE transfer from 0x820f7000 to 0x c027000, 1 packets x 4096 bytes, cycles, 304 Mbps GE transfer from 0x820f9800 to 0x c029800, 1 packets x 8192 bytes, cycles, 313 Mbps GE transfer from 0x c02c000 to 0x820fc000, 1 packets x 64 bytes, 6993 cycles, 73 Mbps GE transfer from 0x c02e800 to 0x820fe800, 1 packets x 128 bytes, 8653 cycles, 118 Mbps GE transfer from 0x c031000 to 0x, 1 packets x 256 bytes, 12365 cycles, 165 Mbps GE transfer from 0x c033800 to 0x, 1 packets x 512 bytes, 18609 cycles, 220 Mbps GE transfer from 0x c036000 to 0x, 1 packets x 1024 bytes, 31765 cycles, 257 Mbps GE transfer from 0x c038800 to 0x, 1 packets x 2048 bytes, 56741 cycles, 288 Mbps GE transfer from 0x c03b000 to 0x8210b000, 1 packets x 4096 bytes, cycles, 304 Mbps GE transfer from 0x c03d800 to 0x8210d800, 1 packets x 8192 bytes, cycles, 313 Mbps GE transfer from 0x c040000 to 0x c042800, 1 packets x 64 bytes, 7499 cycles, 68 Mbps GE transfer from 0x c045000 to 0x c047800, 1 packets x 128 bytes, 9225 cycles, 111 Mbps GE transfer from 0x c04a000 to 0x c04c800, 1 packets x 256 bytes, 12725 cycles, 160 Mbps GE transfer from 0x c04f000 to 0x c051800, 1 packets x 512 bytes, 19095 cycles, 214 Mbps GE transfer from 0x c054000 to 0x c056800, 1 packets x 1024 bytes, 31923 cycles, 256 Mbps GE transfer from 0x c059000 to 0x c05b800, 1 packets x 2048 bytes, 57265 cycles, 286 Mbps GE transfer from 0x c05e000 to 0x c060800, 1 packets x 4096 bytes, cycles, 303 Mbps GE transfer from 0x c063000 to 0x c065800, 1 packets x 8192 bytes, cycles, 313 Mbps GE transfer from 0x to 0x, 2 packets x 64 bytes, 7722 cycles, 132 Mbps GE transfer from 0x8211c800 to 0x, 2 packets x 128 bytes, 10867 cycles, 188 Mbps GE transfer from 0x to 0x8212b800, 2 packets x 256 bytes, 14806 cycles, 276 Mbps GE transfer from 0x to 0x, 2 packets x 512 bytes, 23387 cycles, 350 Mbps GE transfer from 0x8213a800 to 0x8213f800, 2 packets x 1024 bytes, 40721 cycles, 402 Mbps GE transfer from 0x to 0x, 2 packets x 2048 bytes, 73413 cycles, 446 Mbps GE transfer from 0x8214e800 to 0x, 2 packets x 4096 bytes, cycles, 464 Mbps GE transfer from 0x to 0x8215d800, 2 packets x 8192 bytes, cycles, 477 Mbps GE transfer from 0x to 0x c01a800, 2 packets x 64 bytes, 8390 cycles, 122 Mbps GE transfer from 0x to 0x c01f800, 2 packets x 128 bytes, 10493 cycles, 195 Mbps GE transfer from 0x8216c800 to 0x c024800, 2 packets x 256 bytes, 14740 cycles, 277 Mbps GE transfer from 0x to 0x c029800, 2 packets x 512 bytes, 23591 cycles, 347 Mbps GE transfer from 0x to 0x c02e800, 2 packets x 1024 bytes, 40067 cycles, 408 Mbps GE transfer from 0x8217b800 to 0x c033800, 2 packets x 2048 bytes, 73919 cycles, 443 Mbps GE transfer from 0x to 0x c038800, 2 packets x 4096 bytes, cycles, 464 Mbps GE transfer from 0x to 0x c03d800, 2 packets x 8192 bytes, cycles, 477 Mbps GE transfer from 0x c042800 to 0x8218a800, 2 packets x 64 bytes, 8227 cycles, 124 Mbps GE transfer from 0x c047800 to 0x8218f800, 2 packets x 128 bytes, 10207 cycles, 200 Mbps GE transfer from 0x c04c800 to 0x, 2 packets x 256 bytes, 15246 cycles, 268 Mbps GE transfer from 0x c051800 to 0x, 2 packets x 512 bytes, 22968 cycles, 356 Mbps GE transfer from 0x c056800 to 0x8219e800, 2 packets x 1024 bytes, 40024 cycles, 409 Mbps GE transfer from 0x c05b800 to 0x821a3800, 2 packets x 2048 bytes, 73480 cycles, 445 Mbps GE transfer from 0x c060800 to 0x821a8800, 2 packets x 4096 bytes, cycles, 465 Mbps GE transfer from 0x c065800 to 0x821ad800, 2 packets x 8192 bytes, cycles, 476 Mbps GE transfer from 0x c01a800 to 0x c01f800, 2 packets x 64 bytes, 7941 cycles, 128 Mbps GE transfer from 0x c024800 to 0x c029800, 2 packets x 128 bytes, 10373 cycles, 197 Mbps GE transfer from 0x c02e800 to 0x c033800, 2 packets x 256 bytes, 15202 cycles, 269 Mbps GE transfer from 0x c038800 to 0x c03d800, 2 packets x 512 bytes, 22946 cycles, 357 Mbps GE transfer from 0x c042800 to 0x c047800, 2 packets x 1024 bytes, 39886 cycles, 410 Mbps GE transfer from 0x c04c800 to 0x c051800, 2 packets x 2048 bytes, 73392 cycles, 446 Mbps GE transfer from 0x c056800 to 0x c05b800, 2 packets x 4096 bytes, cycles, 466 Mbps GE transfer from 0x c060800 to 0x c065800, 2 packets x 8192 bytes, cycles, 477 Mbps GE transfer from 0x821b7800 to 0x821c1800, 4 packets x 64 bytes, 9652 cycles, 212 Mbps GE transfer from 0x821cb800 to 0x821d5800, 4 packets x 128 bytes, 13191 cycles, 310 Mbps GE transfer from 0x821df800 to 0x821e9800, 4 packets x 256 bytes, 19506 cycles, 419 Mbps GE transfer from 0x821f3800 to 0x821fd800, 4 packets x 512 bytes, 32749 cycles, 500 Mbps GE transfer from 0x to 0x, 4 packets x 1024 bytes, 57257 cycles, 572 Mbps GE transfer from 0x8221b800 to 0x, 4 packets x 2048 bytes, cycles, 612 Mbps GE transfer from 0x8222f800 to 0x, 4 packets x 4096 bytes, cycles, 632 Mbps GE transfer from 0x to 0x8224d800, 4 packets x 8192 bytes, cycles, 644 Mbps GE transfer from 0x to 0x c01f800, 4 packets x 64 bytes, 10010 cycles, 204 Mbps GE transfer from 0x to 0x c029800, 4 packets x 128 bytes, 13565 cycles, 301 Mbps GE transfer from 0x8226b800 to 0x c033800, 4 packets x 256 bytes, 19660 cycles, 416 Mbps GE transfer from 0x to 0x c03d800, 4 packets x 512 bytes, 31897 cycles, 513 Mbps GE transfer from 0x8227f800 to 0x c047800, 4 packets x 1024 bytes, 56795 cycles, 576 Mbps GE transfer from 0x to 0x c051800, 4 packets x 2048 bytes, cycles, 609 Mbps GE transfer from 0x to 0x c05b800, 4 packets x 4096 bytes, cycles, 632 Mbps GE transfer from 0x8229d800 to 0x c065800, 4 packets x 8192 bytes, cycles, 644 Mbps GE transfer from 0x c01f800 to 0x822a7800, 4 packets x 64 bytes, 10023 cycles, 204 Mbps GE transfer from 0x c029800 to 0x822b1800, 4 packets x 128 bytes, 12861 cycles, 318 Mbps GE transfer from 0x c033800 to 0x822bb800, 4 packets x 256 bytes, 20100 cycles, 407 Mbps GE transfer from 0x c03d800 to 0x822c5800, 4 packets x 512 bytes, 32398 cycles, 505 Mbps GE transfer from 0x c047800 to 0x822cf800, 4 packets x 1024 bytes, 57442 cycles, 570 Mbps GE transfer from 0x c051800 to 0x822d9800, 4 packets x 2048 bytes, cycles, 611 Mbps GE transfer from 0x c05b800 to 0x822e3800, 4 packets x 4096 bytes, cycles, 634 Mbps GE transfer from 0x c065800 to 0x822ed800, 4 packets x 8192 bytes, cycles, 645 Mbps GE transfer from 0x c01f800 to 0x c029800, 4 packets x 64 bytes, 9877 cycles, 207 Mbps GE transfer from 0x c033800 to 0x c03d800, 4 packets x 128 bytes, 13497 cycles, 303 Mbps GE transfer from 0x c047800 to 0x c051800, 4 packets x 256 bytes, 19532 cycles, 419 Mbps GE transfer from 0x c05b800 to 0x c065800, 4 packets x 512 bytes, 32050 cycles, 511 Mbps GE transfer from 0x c01f800 to 0x c029800, 4 packets x 1024 bytes, 56684 cycles, 578 Mbps GE transfer from 0x c033800 to 0x c03d800, 4 packets x 2048 bytes, cycles, 614 Mbps GE transfer from 0x c047800 to 0x c051800, 4 packets x 4096 bytes, cycles, 632 Mbps GE transfer from 0x c05b800 to 0x c065800, 4 packets x 8192 bytes, cycles, 645 Mbps GE transfer from 0x to 0x, 8 packets x 64 bytes, 13656 cycles, 299 Mbps GE transfer from 0x to 0x8233d800, 8 packets x 128 bytes, 18369 cycles, 445 Mbps GE transfer from 0x820d1800 to 0x820e5800, 8 packets x 256 bytes, 29260 cycles, 559 Mbps GE transfer from 0x820f9800 to 0x8210d800, 8 packets x 512 bytes, 49728 cycles, 658 Mbps GE transfer from 0x to 0x, 8 packets x 1024 bytes, 91265 cycles, 718 Mbps GE transfer from 0x to 0x8215d800, 8 packets x 2048 bytes, cycles, 751 Mbps GE transfer from 0x to 0x, 8 packets x 4096 bytes, cycles, 771 Mbps GE transfer from 0x to 0x821ad800, 8 packets x 8192 bytes, cycles, 782 Mbps GE transfer from 0x821c1800 to 0x c029800, 8 packets x 64 bytes, 13222 cycles, 309 Mbps GE transfer from 0x821d5800 to 0x c03d800, 8 packets x 128 bytes, 18853 cycles, 434 Mbps GE transfer from 0x821e9800 to 0x c051800, 8 packets x 256 bytes, 29766 cycles, 550 Mbps GE transfer from 0x821fd800 to 0x c065800, 8 packets x 512 bytes, 50203 cycles, 652 Mbps GE transfer from 0x to 0x c029800, 8 packets x 1024 bytes, 90977 cycles, 720 Mbps GE transfer from 0x to 0x c03d800, 8 packets x 2048 bytes, cycles, 754 Mbps GE transfer from 0x to 0x c051800, 8 packets x 4096 bytes, cycles, 772 Mbps GE transfer from 0x8224d800 to 0x c065800, 8 packets x 8192 bytes, cycles, 781 Mbps GE transfer from 0x c029800 to 0x, 8 packets x 64 bytes, 12561 cycles, 326 Mbps GE transfer from 0x c03d800 to 0x, 8 packets x 128 bytes, 18729 cycles, 437 Mbps GE transfer from 0x c051800 to 0x, 8 packets x 256 bytes, 29336 cycles, 558 Mbps GE transfer from 0x c065800 to 0x8229d800, 8 packets x 512 bytes, 50182 cycles, 652 Mbps GE transfer from 0x c029800 to 0x822b1800, 8 packets x 1024 bytes, 91678 cycles, 714 Mbps GE transfer from 0x c03d800 to 0x822c5800, 8 packets x 2048 bytes, cycles, 754 Mbps GE transfer from 0x c051800 to 0x822d9800, 8 packets x 4096 bytes, cycles, 772 Mbps GE transfer from 0x c065800 to 0x822ed800, 8 packets x 8192 bytes, cycles, 782 Mbps GE transfer from 0x c029800 to 0x c03d800, 8 packets x 64 bytes, 12629 cycles, 324 Mbps GE transfer from 0x c051800 to 0x c065800, 8 packets x 128 bytes, 18057 cycles, 453 Mbps GE transfer from 0x c029800 to 0x c03d800, 8 packets x 256 bytes, 29342 cycles, 558 Mbps GE transfer from 0x c051800 to 0x c065800, 8 packets x 512 bytes, 49692 cycles, 659 Mbps GE transfer from 0x c029800 to 0x c03d800, 8 packets x 1024 bytes, 91184 cycles, 718 Mbps GE transfer from 0x c051800 to 0x c065800, 8 packets x 2048 bytes, cycles, 754 Mbps GE transfer from 0x c029800 to 0x c03d800, 8 packets x 4096 bytes, cycles, 772 Mbps GE transfer from 0x c051800 to 0x c065800, 8 packets x 8192 bytes, cycles, 782 Mbps GE transfer from 0x to 0x8233d800, 16 packets x 64 bytes, 20022 cycles, 409 Mbps GE transfer from 0x820e5800 to 0x8210d800, 16 packets x 128 bytes, 29794 cycles, 549 Mbps GE transfer from 0x to 0x8215d800, 16 packets x 256 bytes, 48338 cycles, 677 Mbps GE transfer from 0x to 0x821ad800, 16 packets x 512 bytes, 85371 cycles, 767 Mbps GE transfer from 0x821d5800 to 0x821fd800, 16 packets x 1024 bytes, cycles, 823 Mbps GE transfer from 0x to 0x8224d800, 16 packets x 2048 bytes, cycles, 850 Mbps GE transfer from 0x to 0x8229d800, 16 packets x 4096 bytes, cycles, 867 Mbps GE transfer from 0x822c5800 to 0x822ed800, 16 packets x 8192 bytes, cycles, 876 Mbps GE transfer from 0x to 0x c03d800, 16 packets x 64 bytes, 19760 cycles, 414 Mbps GE transfer from 0x8233d800 to 0x c065800, 16 packets x 128 bytes, 29381 cycles, 557 Mbps GE transfer from 0x820e5800 to 0x c03d800, 16 packets x 256 bytes, 47877 cycles, 684 Mbps GE transfer from 0x8210d800 to 0x c065800, 16 packets x 512 bytes, 85631 cycles, 765 Mbps GE transfer from 0x to 0x c03d800, 16 packets x 1024 bytes, cycles, 819 Mbps GE transfer from 0x8215d800 to 0x c065800, 16 packets x 2048 bytes, cycles, 852 Mbps GE transfer from 0x to 0x c03d800, 16 packets x 4096 bytes, cycles, 867 Mbps GE transfer from 0x821ad800 to 0x c065800, 16 packets x 8192 bytes, cycles, 875 Mbps GE transfer from 0x c03d800 to 0x821d5800, 16 packets x 64 bytes, 19307 cycles, 424 Mbps GE transfer from 0x c065800 to 0x821fd800, 16 packets x 128 bytes, 28891 cycles, 567 Mbps GE transfer from 0x c03d800 to 0x, 16 packets x 256 bytes, 48758 cycles, 672 Mbps GE transfer from 0x c065800 to 0x8224d800, 16 packets x 512 bytes, 85520 cycles, 766 Mbps GE transfer from 0x c03d800 to 0x, 16 packets x 1024 bytes, cycles, 821 Mbps GE transfer from 0x c065800 to 0x8229d800, 16 packets x 2048 bytes, cycles, 852 Mbps GE transfer from 0x c03d800 to 0x822c5800, 16 packets x 4096 bytes, cycles, 867 Mbps GE transfer from 0x c065800 to 0x822ed800, 16 packets x 8192 bytes, cycles, 875 Mbps GE transfer from 0x c03d800 to 0x c065800, 16 packets x 64 bytes, 19393 cycles, 422 Mbps GE transfer from 0x c03d800 to 0x c065800, 16 packets x 128 bytes, 29196 cycles, 561 Mbps GE transfer from 0x c03d800 to 0x c065800, 16 packets x 256 bytes, 48433 cycles, 676 Mbps GE transfer from 0x c03d800 to 0x c065800, 16 packets x 512 bytes, 84933 cycles, 771 Mbps GE transfer from 0x c03d800 to 0x c065800, 16 packets x 1024 bytes, cycles, 820 Mbps GE transfer from 0x c03d800 to 0x c065800, 16 packets x 2048 bytes, cycles, 851 Mbps GE transfer from 0x c03d800 to 0x c065800, 16 packets x 4096 bytes, cycles, 867 Mbps GE transfer from 0x c03d800 to 0x c065800, 16 packets x 8192 bytes, cycles, 875 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 80818 cycles, throughput= 612Mbps. STATSA.RxGoodFrames =1000 STATSA.RxOctets = STATSA.TxGoodFrames =1000 STATSA.TxOctets = STATSA.Frame64 =8 STATSA.Frame65t127 =248 STATSA.Frame128t255 =248 STATSA.Frame256t511 =248 STATSA.Frame512t1023 =248 STATSA.Frame1024tUp =1000 STATSA.NetOctets = STATSB.RxGoodFrames =1000 STATSB.RxOctets = STATSB.TxGoodFrames =1000 STATSB.TxOctets = STATSB.Frame64 =8 STATSB.Frame65t127 =248 STATSB.Frame128t255 =248 STATSB.Frame256t511 =248 STATSB.Frame512t1023 =248 STATSB.Frame1024tUp =1000 STATSB.NetOctets = GE test complete.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/50288.html