This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Disable interrupts in IAP

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

Parents
  • 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.

Reply
  • 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.

Children
No data