Hi Chris, I'm writing an IAP bootloader for the LPC2114 and test it also on an LPC2106 and I saw, that the flash erase takes about 100ms. I think this depends on the charge pumps to get the internal stable programming voltage for the flash. I tested erasing one or all sectors and the time is nearly constant. If you use the keil IAP example there is also a for loop which takes about 300ms. This would explain your 400ms. Regards, Ralf
Message
IAP_Flash Programming Time
2005-04-29 by Ralf Knorr