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.
Hai all;
I am doing an automotive project in LPC2368. Here I am using 512k FLASH of LPC2368 for storing some critical (real time) data .I reffered C:\Keil\ARM\Flash\LPC_IAP2_512 for flash programming.
sir,Is it neccessary to disable Interrupts before going to IAP programming(reading or writing to FLASH).
Since target receiving the critical data using some interrupts,Will IAP programming affect occurance of other interrupts at same time.
Sincerely shamsudheen OP
Description from NXP User Manual:
The on-chip flash memory is not accessible during erase/write operations. When the user application code starts executing the interrupt vectors from the user flash area are active. The user should either disable interrupts, or ensure that user interrupt vectors are active in RAM and that the interrupt handlers reside in RAM, before making a flash erase/write IAP call. The IAP code does not use or disable interrupts.
you may protect it from IRQ using a SWI. If you do have FIQs you will need to work on the VIC enable.
Dear sir;
Thanks for reply.
regards shamsudheen OP