We're working on an IAP solution. The iap function is running in ram (placed via RAMFUNC macro).
Erasing of flash sectors 0,1, 2 and 4 through 15 are successful (via FLASHIAP_EraseSector()) but if we attempt to erase sector 3 we experience a Hard Fault. The image size is ~ 260k bytes. We believe we have all application level interrupts disabled (can, usb etc). The Interrupt Vector Table has been copied to ram and the VTOR is pointing at the table in ram.
Anyone have any ideas or experience with a similar issue?