LPC824 Page Erase (actually a sector erase???)

Discussion created by volkeroth on Aug 15, 2017
Latest reply on Feb 27, 2018 by Kerry Zhou

I'm toying with the idea to design/implement some kind of EEPROM simulation for the LPC824 and therefore trying to understand the concept of page erases - especially regarding flash wear.

Since the according command only exists in the IAP API and the concept of erasing pages inside a sector seems to contradict the idea of flash, I wonder if the page erase command just performs a sector erase internally but reads/restores all other pages with some embedded 1kB buffer. If this should be the case, consecutive page erasing wouldn't help to reduce the flash wear and I'd go for a 2 sector approach.

So is my assumption true or does the page erase command really only affect the page (and not the whole sector)?