How to remap Interrupt Vector Offset for MPC5748G bootloader?

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

How to remap Interrupt Vector Offset for MPC5748G bootloader?

1,318 Views
xierxiaofeng
Contributor II

I want to update firmware of MPC5748G with CANFD, but I don't know if remap interrupt vector offset or not. How to remap?

Thanks!

0 Kudos
Reply
2 Replies

1,220 Views
xierxiaofeng
Contributor II

It is useful for me. Thanks!

0 Kudos
Reply

1,221 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

vector of exceptions is given by base address in IVPR register + offset of an exception:

pastedImage_1.png

vector of external interrupts is given by base address VTBA in INTC.IACKRn register + offset for individual external interrupt.

SW example can be found in this application note where are two projects - one for bootloader and one for user application. Search for INTC_Init function:

https://www.nxp.com/docs/en/application-note/AN5319.pdf 

https://www.nxp.com/docs/en/application-note-software/AN5319SW.zip 

Regards,

Lukas

0 Kudos
Reply