Hi all,
I am using 32-bit NOR flash as Boot flash for the MPC8358E processor. were I have configured RCWHR as 32-bit Boot [0x00700004] .and also chip select 0 configured as 32 bit. in Debug mode it's working fine. but I am facing a problem with the ROM version mode. I am getting a program exception error (0x0700) while running the code.
can anyone explain the following init .asm code
---------------------------------------------------------------------------
lis r3, gInterruptVectorTable@h
ori r3, r3, gInterruptVectorTable@l
sub r3,r3,0x0004
lis r4, gInterruptVectorTableEnd@h
ori r4, r4, gInterruptVectorTableEnd@l
lis r5, 0xFFFF
ori r5,r5,0xFFFC
loop:
lwzu r6, 4(r3)
stwu r6, 4(r5)
cmpw r3,r4
blt loop
blr
#endif //ROM_version
-----------------------------------------------
Regards,
Venkat