Silicon Labs EFM32: Is it possible to abort flash memory erasure in the middle?
Is possible.
By setting the "ERASEABORT" bit in the "MSC_WRITECMD" register (rewriting from 0 to 1), the flash memory erasing process can be forcibly interrupted.
It is also possible to set in advance to suspend flash memory erasing when an IRQ interrupt occurs. In this case, set the "IRQERASEABORT" bit in the "MSC_WRITECTRL" register (rewrite from 0 to 1).
You can check whether the flash memory erasing process has been interrupted by checking the "ERASEABORTED" bit in the "MSC_STATUS" register.
Experienced FAE
Free consultation is available.
From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.