This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM57L843: Exception vectors for OTA

Part Number: RM57L843

Tool/software:

HI,

I am trying to implement OTA over TCP/IP on RM57. I read through the reference manual and fund out that this microcontroller has Bank 0 and Bank 1. So, my idea is to execute code from one bank (say bank 0) and use other bank (say bank 1) for writing the OTA code. However, the exception vectors at address 0x00000000 would be linked to bank 0 as that is the default bank that I will be using when I program the device for the first time. My question is when I program bank 1 during the OTA and eventually jump to it's entry point, how do I prevent the application from running the exceptions defined in bank 0 when exceptions such as abort or undef occurs while the processor is running code in bank 1? The branch instructions in the exception vector table seem to be relative jump and so it will always jump to bank 0 exception handlers. Any advice will be appreciated.

Thanks,

Ravi