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!
It is useful for me. Thanks!
Hi,
vector of exceptions is given by base address in IVPR register + offset of an exception:
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