the local address map

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

the local address map

490 Views
yansongzhu
Contributor III

when I set the local address map:

0x00000000 - 0x0FFFFFFF for DDR2 256M

0x10000000 - 0x4FFFFFFF for nandflash 1G

the P2020 board won't work correctly.

but, when I set:

0x00000000 - 0x0FFFFFFF for DDR2 256M

0x40000000 - 0x7FFFFFFF for nandflash 1G

there have a 744M memory gap, then the board will work normally.

it seems that the space must be aligned.

Can you explain it for me? thank you!

 

 

Labels (1)
Tags (1)
0 Kudos
2 Replies

355 Views
alexander_yakov
NXP Employee
NXP Employee

Yes, starting address for each address space block must be aligned by boundary divisible size of this block. That is, for 256M memory devices starting address must be divisible by 256M, but for 1G memory block its starting address must be divisible by 1G.


Have a great day,
Alexander
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

355 Views
yansongzhu
Contributor III

thank you!

another question:

Can you tell me which document that I can find the explaination?

0 Kudos