Hello,
My IAP functions update the flash, but toward the end of each programmed block there is always inconsistent data at the same offset from the beginning of the block (mostly): it differs from the data provided by the buffer in internal RAM but the IAP function "copy RAM to flash" returns no error (and yet - the programmed code is corrupt)! My chip is clocked by IRC, 12[MHz] (no PLL). I tried different IAP blocks sizes (using 256 now but it does not matter), clock speeds - to no avail. What could be the cause of this?
At least for other NXP chips, the IAP functions does need a number of bytes of RAM for own use.