Content originally posted in LPCWare by frame on Wed Apr 18 05:36:02 MST 2012
This method basically works fine. We had used it with success for other controllers years ago.
You should only accept that your have (or might have) the following problems:
1.
The time for writing one block of data is hardly predictable. If it involves a block erase, it takes --much-- longer.
2.
You might get problem when trying to save under timing constraints, i.e. when the power of the device is switched off, and saving must be done with the remaining charge of capacitors.
With byte-erasable EEPROM, only one byte might getting corrupted. With this flash cycling method, you've got to deal with possibly corrupted blocks.