NOR's base address for p2020 in Codewarrior

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NOR's base address for p2020 in Codewarrior

ソリューションへジャンプ
2,191件の閲覧回数
敏赵
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,866件の閲覧回数
lunminliang
NXP Employee
NXP Employee
0 件の賞賛
返信
5 返答(返信)
1,866件の閲覧回数
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,866件の閲覧回数
敏赵
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,866件の閲覧回数
addiyi
NXP Employee
NXP Employee

Yes, you're right.

Adrian

1,866件の閲覧回数
敏赵
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,867件の閲覧回数
lunminliang
NXP Employee
NXP Employee
0 件の賞賛
返信