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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,955 次查看
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 项奖励
回复
1 解答
1,937 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,949 次查看
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 项奖励
回复
1,945 次查看
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 项奖励
回复
1,938 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复