Hi,All
My board is i.MX6SL,and when I read reference manual, I found MMDC Core Address Space Partition Register(MMDC_MDASP) said Field CS0_END(6-0) have the relation between density and value (i.MX6SLRM.pdf P2032) :
000_0000 256Mb
000_0001 512Mb
001_1111 8Gb (1GB)
011_1111 16Gb (2GB) - default
111_1111 32Gb (4GB)
but I also refer to (0x80000000 + density_per_CS)/0x2000000 -1
and I found the result is not equal to the value above. For example,
per_CS_density is 512 Mb ,1CS (and now this Lpddr2 is used by my board) and result is
(0x8000_0000 +0x2000_0000)/0x200_0000-1=0x4F but value above is 000_0001
so can you give me some explains?
Hi tony
I think that your calculation is correct,
"value above is 000_0001" is absolute address value,
for real board you should calculate board specific value.
Best regards
igor