how to change p2020 effective address from 32-bit to 36bit in *.tcl

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

how to change p2020 effective address from 32-bit to 36bit in *.tcl

Jump to solution
986 Views
982576385
Contributor I

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!

0 Kudos
1 Solution
968 Views
yipingwang
NXP TechSupport
NXP TechSupport

You cannot use 4G DDR memory and other memories at the same time.

View solution in original post

0 Kudos
3 Replies
980 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

0 Kudos
976 Views
982576385
Contributor I

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!

0 Kudos
969 Views
yipingwang
NXP TechSupport
NXP TechSupport

You cannot use 4G DDR memory and other memories at the same time.

0 Kudos