AnsweredAssumed Answered

Is it possible to erase a flash sector asynchronously in the STM32F7

Question asked by Abu_El_Magd.Ali on May 9, 2017
Latest reply on May 9, 2017 by AvaTar

I attempted to erase a sector in the Flash. It seems I cannot do this asynchronously. The instruction that starts the operation blocks execution for the entire erase cycle. I used a controller before in the STM32L100 series and for that controller I could just start the erase operation and at the same time go manage other tasks and just check periodically that the flash is no longer busy to see that my operation is done. Am I doing something wrong or are things different for the STM32F7 controllers? The problem is that an external watchdog will reset the controller as I'm performing this erase.

Outcomes