Relocation of exception vector table about KEA128

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Relocation of exception vector table about KEA128

559 Views
jeffcharles
Contributor III

Hi,

I want to refresh the software with custom protocol via CAN interface. Once bootloader jumps to app, app will relocate the exception vector table(SCB_VTOR) immediately. Will the reset interrupt vector also be changed? I see that changing the IVBR has no effect on the location of the reset vector(0xFFFFFC-0xFFFFFF) about S12Z device, that is, bootloader and app share the reset handler. In addition, if a reset occurs during app operation, is SCB_VTOR reset to 0? What is the detailed process from the reset event to running the bootloader startup code?

Thanks,

Jeff

Labels (1)
0 Kudos
1 Reply

544 Views
EdwinHz
NXP TechSupport
NXP TechSupport

The reset interrupt vector should also be changed. I believe this Application Note will be useful for your inquiry: https://www.nxp.com/docs/en/application-note/AN2295.pdf

 

Best Regards,

Edwin.

0 Kudos