I want to use 512MB Winbond YA71GG8IB DDR2, we use 4 pieces chips each with 16M × 8 BANKS × 8 BIT.
I change the configuration in x-load, and I now can use it.
But there are errors when I boot Linux kernel, I test the memory with mtest command from uboot, and I notice there is an interesting thing:
For example: I test from 0x81000000 to 0x82000000, there may be some errors, but when I re-test the area, there is no error now.
So I think it is the bank precharge problem, I notice there is an DDR2 initialisation sequence on AM3517 TRM (in section 9.2.3.4.2.6 .1), but I could not find any information about pad_ba_o, which is mentioned in this section. And I look for it in the x-load code, there is no bank precharge at all.
How to implement bank precharge in x-load?
or if it is another problem, please tell me, thank in advence.