LPC1788 - IAP erase sector always returns BUSY

Hello,

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.

Regards,

M

More questions in this forum