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.
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
Solved! Go to Solution.
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
Do you mean I can design my NOR base address as long as I modify relevant configuration?
Best regards,
Min Zhao
Yes, you're right.
Adrian
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
Best regards,
Min Zhao