Content originally posted in LPCWare by Lien.Nguyen on Tue Feb 14 19:57:40 MST 2012
Hi Marc,
Writing to memory is split up into two separate operations, writing and erase/program. The first operation which will be called “writing” is not really updating the memory, but only updating the temporary data register called the “page register”. The second operation which is called “erase/program” can be used to actually update the non-volatile memory.
In the first stage, you provide 6 LSBs of the address to select the offset on the "page register". And, in the second stage, MSBs of the address are provided,LSBs are “don’t care”
You can refer to section 36.5 in the UM for more detail.
Best Regards,
Lien