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.
配置ddr3之后,进行了读写测试,总有一小部分错误,大概错误率0.1%,发现TI提供了一个优化算法MLO,地址如下:
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/53263.aspx
由于板子上面没有sd卡,提供的MLO没办法用串口下载,有没有u-boot-spl.bin文件来进行优化。
谢谢!
可惜现在只有uart。
通过下面的函数测试,把出错的地址打印,发现都是集中在某几个区域出现,怀疑是地址线的问题,您有什么建议吗??
如果是地址线有问题,应该怎么检测呢??
还是说ddr配置没有配置好?
int test_dram_demo(uint start, uint len,uint val) { uint i; uint end = start+len; uint errorcount=0; for(i=start;i<end;i+=4) *(volatile uint*)i = val; for(i=start;i<end;i+=4) { if(*(volatile uint*)i != val) { errorcount++; printf("%x\t",i); } } return errorcount; }
printf("%d\n",test_dram_demo(0x80000000,40000000,0x55555555));