AnsweredAssumed Answered

Hard Fault when erasing Flash sector 3

Question asked by Patrick Hudson on Apr 17, 2018
Latest reply on Apr 20, 2018 by Patrick Hudson

Hello,

 

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?

 

LPC54608 MPU

 

Thanks

Outcomes