Content originally posted in LPCWare by a.unique.identifier on Sun Nov 24 02:35:05 MST 2013
Hello tha, sorry for the delay in answering - I haven't been online in a while.
Using the terminology in Chapter 21.8.7, I understood the interrupts must be turned off when using an IAP call to write to the Flash memory, where the program code and the interrupt vectors (normally) are stored, and not the EEPROM, where arbitrary user data may be stored. I always thought there was a technology difference between the "Flash" and "EEPROM" memory areas and hence my interpretation was re-enforced.
Disabling interrupts during a Flash write makes sense as the interrupt vectors are (normally) stored in Flash. This chapter also states that storing the interrupt vectors and handlers in RAM is an acceptable alternative to disabling the interrupts. The EEPROM has nothing to do with the interrupt vectors and so I understood a write to that memory is non-critical.
Could you please elaborate?