Hi all
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.
Hi all
The image is missing from your post. Can you please resend?
Thanks Biser
Another question
From comment of 28-27 reg_ibank_pos
Set to 0 to assign internal bank address bits from lower OCP
address bits, as shown in the tables for OCP Address to
DDR2/3/mDDR Address Mapping.
Set to 1, 2, or 3 to assign internal bank address bits from higher
OCP address, as shown in the tables for OCP Address to
DDR2/3/mDDR Address Mapping.
26-24 reg_ddr_term R/W 0h DDR2 and DDR3 termination resistor
How do OCP know the raw size from different ddr chips ?
Regards
Thanks again
And seems in this case we use from
7.3.3.4.1 Address Mapping when REG_IBANK_POS=0 and REG_EBANK_POS=0
but , what I still confuse is how does the EMIF translate the address ?
For example , assume we still use the same ddr2 chip , we access 0x2000004, this mean use the bank 1 column 0 and raw 0, but ,how does EMIF know its not bank 0 column 0 and raw 16k+1 ?
Sorry bother you again ,but the document doesn't say more detail about this,
Thanks and regards
Or , does this mean address translate
First column address , second bank address ,then raw address ?
When addressing SDRAM, if the REG_IBANK_POS field in the SDRAM Config register is set to 0, and the REG_EBANK_POS field in the SDRAM Config 2 register is also set to 0, the DDR2/3/mDDR memory controller uses the three fields, REG_IBANK, REG_EBANK and REG_PAGESIZE in the SDRAM Config register to determine the mapping from source address to SDRAM row, column, bank, and chip select.