TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320C6678: K1_STK_V1.1中的Memory_Test例程 DDR3 EDMA测试失败

Part Number:TMS320C6678

专家您好:

  本人使用的TMS320C6678自制板,外接5片MT41K256M16 DDR3芯片(包括ECC DDR)。已经按照自己板子的参数修改了DDR3 PHY Calc.xlsx和DDR3 Register Calc.xlsx,并且在GEL文件中配置了相应的寄存器。在对DDR3的测试中 ,TEST_BY_DSP_CORE可以成功,但是TEST_BY_DMA永远失败。

控制台部分输出如下:

DDR3 memory test with EDMA at 1705725 cycle
Memory Test with DMA fails at 0x80000000,Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000008,Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000010,Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000080, Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000088,Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000090,Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000100,Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000108,Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000110,Write 0x0000000000000000,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000180,Write 0x0000000000000000,Readback 0x0400000000000000

!!!Failed Memory Fill Test at 10 Units with pattern 0x0000000000000000 with EDMA CC0 TC0

Memory Test with DMA fails at 0x80000000,Write 0xffffffffffffffff,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000008,Write 0xffffffffffffffff,Readback 0x0400000000000000

Memory Test with DMA fails at 0x80000010,Write 0xffffffffffffffff,Readback 0x0000000000000000

Memory Test with DMA fails at 0x80000018,Write 0xffffffffffffffff,Readback 0x0000000000000000

Memory Test with DMA fails at 0x80000020,Write 0xffffffffffffffff,Readback 0x0000000000000000

Memory Test with DMA fails at 0x80000028,Write 0xffffffffffffffff,Readback 0x0000000000000000

Memory Test with DMA fails at 0x80000030,Write 0xffffffffffffffff,Readback 0x0000000000000000

Memory Test with DMA fails at 0x80000038,Write 0xffffffffffffffff Readback 0x0000000000000000

Memory Test with DMA fails at 0x80000040,Write 0xffffffffffffffff,Readback 0x0000000000000000

Memory Test with DMA fails at 0x80000048,Write 0xffffffffffffffff,Readback 0x0000000000000000

!!!Failed Memory Fill Test at 10 Units with pattern Oxffffffffffffffff with EDMA CCO TC1

求助各位专家,想知道是哪里的问题

Nancy Wang:

请问例程有做过修改吗?单步调试看一下。

,

user6486457:

只是修改了例程中的main pll和ddr的初始化参数,其他都没有动过。

,

user6486457:

您好,我将DDR end address设置为0x81000000,这样测试可以通过,但是一旦end address大于这个值,测试就会失败,不懂是什么原因

,

Nancy Wang:

DSP core读写的时候所有地址都是可以的吗?

单步调试看看。

,

user6486457:

DSP core是可以的。

换地址又测了一下,发现是起始地址和结束地址差值不能超过0x1000000

,

Nancy Wang:

只能单步调试程序看一下了,看一下是到哪一步有问题,这个例程都是测试过的,应该是没有问题的。

,

user6486457:

您好,我单步调试了一下,发现单步调试是通过的。这会是什么原因,还是读写均衡没配好吗?

,

Nancy Wang:

不太清楚了,单步能通过配置也没有问题。

可以试一下psdk中的EDMA驱动看看。

ti-processor-sdk-rtos-c667x\edma3_lld_2_12_05_30E\examples\edma3_driver

,

user6486457:

您好,我现在有一个猜想,电源功率不够会不会造成测试失败

,

Nancy Wang:

开发板建议使用 +12V / 3.0A DC (36W) 供电,如果功率达不到的话,可以换一个电源试试。

,

user6486457:

问题解决了,确实是电源的锅,换一个就好了。

,

Nancy Wang:

感谢分享!

赞(0)
未经允许不得转载:TI中文支持网 » TMS320C6678: K1_STK_V1.1中的Memory_Test例程 DDR3 EDMA测试失败
分享到: 更多 (0)