hi
i want to know how to change the effective address of p2020 from 32-bit to 36-bit .so I can use 4GB ddr with orther memories simultaneously. and i found configuration at the *.tcl
proc envsetup{}{
#environment setup
radix x
config hexprefix 0x
config memindentifier v
config memwidth 32
config memaccess 32
config menswap off
}
1. what's mean of this function?
2. could i use the functionfunction above to solve my question?
3. how could i do that
4.if not,where can I find the solution of changing the 32-bit effective address of p2020 to 36-bit?
thank you very much!
Solved! Go to Solution.
The width of the Virtual memory space is determined by the target processor's effective address size.
For e500v2 processors the width of the Virtual(effective) memory space is 32-bit.
For processors based on e500v2, the width of the physical memory address space is 36-bit.
It is impossible to change p2020 effective address to 36bit, in the memory map you could define 1G or 2G DDR memory in CodeWarrior initialization file.
thank you very much!
do you mean that i can not use 4GB with orther memories at the same time? for example,0x1:00000000-0x1:ffffffff for ddr ,and 0x0:00000000-0x0:ffffffff for nor flash and others?
thanks for your reply!
You cannot use 4G DDR memory and other memories at the same time.