We develop a OTA upgrade feature for a LPC845 based project.
We noticed that IAP - ERASE PAGE command (59 dec) is able to erase a single 64 byte page which is extraordinarily.
Two questions arrives:
1) Is this reliable? I mean what's behind IAP in case of loss of power during write page ?
The concern is that entire sector (where the page is) can be corrupted?
Or just page in discussion.
2) There is a restriction to not access FLASH while this IAP is in progress.
So the best approach (reliable) is to wait for IAP complete.
How can we calculate worst case wait over temp range and Vdd?
Thanks for clarifications.