NOR's base address for p2020 in Codewarrior

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

NOR's base address for p2020 in Codewarrior

跳至解决方案
2,172 次查看
敏赵
Contributor I

Hello there,

I know the NOR's address is assigned in ff000000~ffffffff in Codewarrior for p2020rdb-pc, and the uboot should be in the last 512K of NOR flash.

12326_12326.jpgnor.jpg

Now I an designing a product using p2020cpu refering to the design of p2020rdb-pc,

I want to know can I design the NOR's base address to  ef000000? Nor the base address must be ff000000 for p2020 cpu?

 

Best regards,

Min Zhao

标签 (1)
0 项奖励
回复
1 解答
1,847 次查看
lunminliang
NXP Employee
NXP Employee
0 项奖励
回复
5 回复数
1,847 次查看
addiyi
NXP Employee
NXP Employee

If you choose to modify the the memory map, and to map the NOR to ef000000, you have to modify the base address for NOR device in FlashProgrammer according with memory map.

Adrian

1,847 次查看
敏赵
Contributor I

Do you mean I can design my NOR base address as long as I modify relevant configuration?

Best regards,

Min Zhao

0 项奖励
回复
1,847 次查看
addiyi
NXP Employee
NXP Employee

Yes, you're right.

Adrian

1,847 次查看
敏赵
Contributor I

In RDB_P2020_init_rom.tcl,I found the codes:


# Set interrupt vectors in SRAM

# IVPR

reg ${SPR_GROUP}IVPR = 0xFFFF0000

# debug - (a valid instruction should exist to be fetched)

reg ${SPR_GROUP}IVOR15 = 0x0000F000

# program

reg ${SPR_GROUP}IVOR6 = 0x0000F700

Where can I find the field descriptions about SPR_GROUP,like this

register.jpg

Best regards,

Min Zhao

0 项奖励
回复
1,848 次查看
lunminliang
NXP Employee
NXP Employee
0 项奖励
回复