We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am working on LPC2468.
I able to use IAP with disabling Interrupts,but I want some interrupts to work even with IAP.
I can done this with remapping of interrupt vectors in RAM & executing it from RAM itself.
Anyone can help me out for this.
Anu
The interrupts are always jumping to low addresses.
That is why the MEMMAP register allows you to map a part of RAM to overlay the 64 first bytes of the flash with an alternating interrupt table that will point to your ISR in RAM.
So the processor jumps to a low address in flash, but finds the remapped interrupt table and picks up the new jump address - then continuing into RAM code within the RAM address range.
The goal is to have your ISR and all required code in a separate segment that gets stored in the flash, but is linked as having a RAM address. The startup code will then copy the required functions from flash to RAM, making sure that when your remapped interrupt vectors points into RAM, you will have the required code available there.