各位前辈我是用的是andy yin之前在论坛上给出的K1_TCP3D_STK测试工程,在c6670测试板上跑程序时控制台一直显示下面的信息,我没有修改程序只是想看一下结果(使用的是little-endian build模式),有没有哪位前辈可以给我指点一下,为什么我的结果一直是test fail呢?感激不尽!
[C66xx_4] Initialize DSP main clock = 122.88MHz/29×236 = 999MHz
Initialize DDR speed = 66.67MHzx20/1 = 1333.333MTS
DDR3 leveling has failed, STATUS = 0x40000024
Memory pattern filling Test fails at 0x80000000, Write 0xffffffffffffffff, Readback 0xcdffffffffffffff
Memory pattern filling Test fails at 0x80000008, Write 0xffffffffffffffff, Readback 0xdbffffffffffffff
Memory pattern filling Test fails at 0x80000010, Write 0xffffffffffffffff, Readback 0xaeffffffffffffff
Memory pattern filling Test fails at 0x80000018, Write 0xffffffffffffffff, Readback 0xbfffffffffffffff
Memory pattern filling Test fails at 0x80000020, Write 0xffffffffffffffff, Readback 0x ffffffffffffff
Memory pattern filling Test fails at 0x80000030, Write 0xffffffffffffffff, Readback 0xff19ffffffffffff
Memory pattern filling Test fails at 0x80000038, Write 0xffffffffffffffff, Readback 0xffa6ffffffffffff
Memory pattern filling Test fails at 0x80000040, Write 0xffffffffffffffff, Readback 0x ddffffffffffff
Memory address Test fails at 0x80000000, Write 0x8000000480000000, Readback 0x 480000000
Memory address Test fails at 0x80000020, Write 0x8000002480000020, Readback 0x 2480000020
Memory address Test fails at 0x80000028, Write 0x8000002c80000028, Readback 0x 2c80000028
Memory address Test fails at 0x80000030, Write 0x8000003480000030, Readback 0x 3480000030
Memory address Test fails at 0x80000038, Write 0x8000003c80000038, Readback 0x 3c80000038
Memory address Test fails at 0x80000040, Write 0x8000004480000040, Readback 0x 4480000040
Data pattern Test fails at 0x80000000, Write 0xaaaaaaaaaaaaaaaa, Readback 0x aaaaaaaaaaaa
Data pattern Test fails at 0x80000000, Write 0x5555555555555555, Readback 0x 100555555555555
Data pattern Test fails at 0x80000008, Write 0xcccccccccccccccc, Readback 0x3300cccccccccccc
Data pattern Test fails at 0x80000008, Write 0x3333333333333333, Readback 0xcc00333333333333
Data pattern Test fails at 0x80000010, Write 0xf0f0f0f0f0f0f0f0, Readback 0x8000f0f0f0f0f0f0
Data pattern Test fails at 0x80000010, Write 0x f0f0f0f0f0f0f0f, Readback 0x80000f0f0f0f0f0f
Data pattern Test fails at 0x80000018, Write 0xff00ff00ff00ff00, Readback 0x8000ff00ff00ff00
Data pattern Test fails at 0x80000018, Write 0x ff00ff00ff00ff, Readback 0x800000ff00ff00ff
Data pattern Test fails at 0x80000020, Write 0xffff0000ffff0000, Readback 0x ffff0000
Data pattern Test fails at 0x80000020, Write 0x ffff0000ffff, Readback 0x 100ffff0000ffff
Data pattern Test fails at 0x80000028, Write 0xffffffff00000000, Readback 0x ffff00000000
Data pattern Test fails at 0x80000028, Write 0x ffffffff, Readback 0xff000000ffffffff
Data pattern Test fails at 0x80000030, Write 0x 0, Readback 0x5555000000000000
Data pattern Test fails at 0x80000030, Write 0xffffffffffffffff, Readback 0x5555ffffffffffff
Data bit walking Test fails at 0x80000038, Write 0x 1, Readback 0x3333000000000001
Data bit walking Test fails at 0x80000038, Write 0xfffffffffffffffe, Readback 0x3333fffffffffffe
Data bit walking Test fails at 0x80000040, Write 0xfffffffffffffffd, Readback 0x fffffffffffd
Data bit walking Test fails at 0x80000048, Write 0x 4, Readback 0xff00000000000004
Data bit walking Test fails at 0x80000048, Write 0xfffffffffffffffb, Readback 0x fffffffffffb
Data bit walking Test fails at 0x80000050, Write 0x 8, Readback 0x8000000000000008
Data bit walking Test fails at 0x80000050, Write 0xfffffffffffffff7, Readback 0x8000fffffffffff7
Data bit walking Test fails at 0x80000058, Write 0x 10, Readback 0x8000000000000010
Data bit walking Test fails at 0x80000058, Write 0xffffffffffffffef, Readback 0x8000ffffffffffef
Data bit walking Test fails at 0x80000060, Write 0x 20, Readback 0x 100000000000020
Data bit walking Test fails at 0x80000060, Write 0xffffffffffffffdf, Readback 0xff00ffffffffffdf
Data bit walking Test fails at 0x80000068, Write 0x 40, Readback 0xff00000000000040
Data bit walking Test fails at 0x80000068, Write 0xffffffffffffffbf, Readback 0x ffffffffffbf
Data bit walking Test fails at 0x80000070, Write 0x 80, Readback 0xff00000000000080
Data bit walking Test fails at 0x80000078, Write 0x 100, Readback 0x ff000000000100
Data bit walking Test fails at 0x80000080, Write 0x 200, Readback 0x ff000000000200
Data bit walking Test fails at 0x80000080, Write 0xfffffffffffffdff, Readback 0xff00fffffffffdff
Data bit walking Test fails at 0x80000088, Write 0x 400, Readback 0xff00000000000400
Data bit walking Test fails at 0x80000088, Write 0xfffffffffffffbff, Readback 0x fffffffffbff
Data bit walking Test fails at 0x80000090, Write 0x 800, Readback 0x8000000000000800
Data bit walking Test fails at 0x80000090, Write 0xfffffffffffff7ff, Readback 0x80fffffffffff7ff
Data bit walking Test fails at 0x80000098, Write 0x 1000, Readback 0x8000000000001000
Data bit walking Test fails at 0x80000098, Write 0xffffffffffffefff, Readback 0x8000ffffffffefff
Data bit walking Test fails at 0x800000a0, Write 0x 2000, Readback 0x 100000000002000
Data bit walking Test fails at 0x800000a0, Write 0xffffffffffffdfff, Readback 0x 100ffffffffdfff
Data bit walking Test fails at 0x800000a8, Write 0x 4000, Readback 0xff00000000004000
Data bit walking Test fails at 0x800000a8, Write 0xffffffffffffbfff, Readback 0x ffffffffbfff
Data bit walking Test fails at 0x800000b0, Write 0x 8000, Readback 0xffff000000008000
Data bit walking Test fails at 0x800000c0, Write 0x 20000, Readback 0x ff000000020000
Data bit walking Test fails at 0x800000c0, Write 0xfffffffffffdffff, Readback 0x fffffffdffff
Data bit walking Test fails at 0x800000c8, Write 0x 40000, Readback 0xff00000000040000
Data bit walking Test fails at 0x800000c8, Write 0xfffffffffffbffff, Readback 0x fffffffbffff
Data bit walking Test fails at 0x800000d0, Write 0x 80000, Readback 0x8000000000080000
Data bit walking Test fails at 0x800000d0, Write 0xfffffffffff7ffff, Readback 0x8000fffffff7ffff
Data bit walking Test fails at 0x800000d8, Write 0x 100000, Readback 0x8000000000100000
Data bit walking Test fails at 0x800000d8, Write 0xffffffffffefffff, Readback 0x8000ffffffefffff
Data bit walking Test fails at 0x800000e0, Write 0xffffffffffdfffff, Readback 0x ffffffffdfffff
Data bit walking Test fails at 0x800000e8, Write 0x 400000, Readback 0xff00000000400000
Data bit walking Test fails at 0x800000e8, Write 0xffffffffffbfffff, Readback 0x ffffffbfffff
Data bit walking Test fails at 0x800000f0, Write 0x 800000, Readback 0xffff000000800000
Data bit walking Test fails at 0x800000f8, Write 0x 1000000, Readback 0x ff000001000000
Data bit walking Test fails at 0x80000100, Write 0x 2000000, Readback 0x 77000002000000
Andy Yin1:
那是DDR测试结果输出,在EVM板上load程序到core0上测试试试。
qiushi wei:
回复 Andy Yin1:
andy前辈,之前您写的TCP3D测试程序使用的码块长度为6144,我想请问一下这个6144的码块长度中包含着CRC校验么?
我有这么一个想法,就是使用MATLAB生成一组数据,假设这组数据是几个6144的code block,我对他们直接进行turbo编码,而在编码之前不进行CRC的添加,请问如果我把这些数据按照软信息的方式输入到DSP中使用TCP3D进行译码,最后能出来正确的结果么?