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.

C6657 MEMORY_TEST 错误

您好!刚接触C6657,使用TMDSEVM6657LS,CCS5.2.1.00018 ,在论坛里下载了STK_C6657_UART.7z软件例程,运行里面的Memory_Test工程,使用的PDK为pdk_C6657_1_1_1_4,编译后加载.out文件,加载到core_0报错,加载到core_1,程序能运行,但Memory_test结果错误,如下所示:

[C66xx_1] Memory Test with DMA fails at 0x10e05e20, Write 0x               0, Readback 0x 2104264000c0362
[C66xx_1] Memory Test with DMA fails at 0x10e05e28, Write 0x               0, Readback 0x            6000
[C66xx_1] Memory Test with DMA fails at 0x10e05e40, Write 0x               0, Readback 0x 2102264000c0362
[C66xx_1] Memory Test with DMA fails at 0x10e05e48, Write 0x               0, Readback 0x            6000
[C66xx_1] Memory Test with DMA fails at 0x10e05e60, Write 0x               0, Readback 0x1d738812028c1fd9
[C66xx_1] Memory Test with DMA fails at 0x10e05e68, Write 0x               0, Readback 0x  94736300100fd8
[C66xx_1] Memory Test with DMA fails at 0x10e05e70, Write 0x               0, Readback 0xd180a358c180a264
[C66xx_1] Memory Test with DMA fails at 0x10e05e78, Write 0x               0, Readback 0x         20c0fd8
[C66xx_1] Memory Test with DMA fails at 0x10e05e80, Write 0x               0, Readback 0x1ffb5c12008c1fd9
[C66xx_1] Memory Test with DMA fails at 0x10e05e88, Write 0x               0, Readback 0x  84736300100fd8
[C66xx_1] !!!Failed Memory Fill Test at 10 Units with pattern 0x               0 with EDMA CC0 TC1

 

[C66xx_1] Local L2 memory test at 189616739 cycle
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0x               0
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0xffffffffffffffff
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0xaaaaaaaaaaaaaaaa
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0x5555555555555555
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0xcccccccccccccccc
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0x3333333333333333
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0xf0f0f0f0f0f0f0f0
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0x f0f0f0f0f0f0f0f
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0xff00ff00ff00ff00
[C66xx_1] Passed Memory Fill Test from 0x  8226c0 to 0x  900000 with pattern 0x  ff00ff00ff00ff
[C66xx_1] Passed Memory Address Test from 0x  8226c0 to 0x  900000
[C66xx_1] Passed Memory Bit Walking from 0x  8226c0 to 0x  900000
[C66xx_1] Passed Times:        7   Failed Times:        1

 

[C66xx_1] DDR3 memory test at 243235189100 cycle
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0x               0
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0xffffffffffffffff
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0xaaaaaaaaaaaaaaaa
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0x5555555555555555
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0xcccccccccccccccc
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0x3333333333333333
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0xf0f0f0f0f0f0f0f0
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0x f0f0f0f0f0f0f0f
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0xff00ff00ff00ff00
[C66xx_1] Passed Memory Fill Test from 0x80000000 to 0x80010000 with pattern 0x  ff00ff00ff00ff
[C66xx_1] Passed Memory Address Test from 0x80000000 to 0x80010000
[C66xx_1] Passed Memory Bit Walking from 0x80000000 to 0x80010000
[C66xx_1] Passed Times:       18   Failed Times:        1

是例程有问题还是我操作的不对呢,谢谢答复!

  • 你是使用的下面链接STK_C6657压缩包中的memory test程序么,在其中有添加预定义宏DEVICE_C6657吧。

    http://www.deyisupport.com/question_answer/dsp_arm/c6000_multicore/f/53/t/47664.aspx?pi239031348=2

  • Andy Yin您好!谢谢您的快速解答,我在工程的编译设置中设置了预定义宏DEVICE_C6657,也修改了include文件路径,编译并生成了.out文件。

    我用您提供的样例再测试学习一下,需要加载gel文件吗?谢谢!

  • 您好,

    我对上传的例程进行了测试,没有问题呀,不需要加载gel,代码中有初始化DDR及PLL,你把DSP复位一下,把程序加载到core0进行测试看看。

x 出现错误。请重试或与管理员联系。