LPC1788 - IAP erase sector always returns BUSY

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Marc Crandall on Mon Feb 06 14:10:27 MST 2012

I'm trying to erase some sectors of the internal flash using IAP but for a reason I can not figure out it is not working.

I'm preparing the sectors and this IAP command suceeds but when I try and erase the sectors I am returned BUSY (11).

I'm disabling interrupts.

Does anybody know why the IAP call would return BUSY?  Any suggestions of things I could try?

Thank you.