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.
在我做的DM8148的板子中,只使用了有1个32位的DDR控制器,两个DDR3芯片,共512M的内存。所以是1个32位的DDR控制器,2片16位的颗粒(MT41J128M16JT-125)。附件中是我计算出的寄存器的值,然后按照计算出的寄存器的值修改了PG2.1_DM814X_20Mhz_Si.gel.gel中下面的参数,其他地方没有修改。
//- DDR3 parameters
#define DDR3_EMIF_READ_LATENCY_DEFINE 0x0017020D
#define DDR3_EMIF_TIM1_DEFINE 0x1557B9BD
#define DDR3_EMIF_TIM2_DEFINE 0x40877FEA
#define DDR3_EMIF_TIM3_DEFINE 0x507F87FF
#define DDR3_EMIF_REF_CTRL_DEFINE 10001860
#define DDR3_EMIF_SDRAM_CONFIG_DEFINE 0x61C33AB2
修改前的参数值
//- DDR3 parameters
#define DDR3_EMIF_READ_LATENCY_DEFINE 0xC
#define DDR3_EMIF_TIM1_DEFINE 0x1557B9A5
#define DDR3_EMIF_TIM2_DEFINE 0x4C5F7FEB
#define DDR3_EMIF_TIM3_DEFINE 0x00000578
#define DDR3_EMIF_REF_CTRL_DEFINE 0x10001860
#define DDR3_EMIF_SDRAM_CONFIG_DEFINE 0x62833AB2
我运行PG2.1DM814x_baseboard\Base_Board\DDR3 中的ddr3_test测试程序后
[CortexA8] Test Suite version number is 1.0.
Build Date = Nov 3 2014 : Time = 16:55:02.
00 Testing ddr3Test...
ddr3_test: TODO - Disable the cache here
ddr3_test: Testing DDR connected to DDR0 failed !!!
Carrying out Incremental pattern test for DDR[0].
Incremental pattern Memory cell verification failed at addr 0x80000004.
Incremental Pattern write Test failed for DDR[0].
FAIL... error code -1... quitting
***ALL Tests Done***
测试一直没有成功过,请帮忙看一下是不是我修改寄存器的值有错误,