Non-polling mode Flash Erasure
Hello, everyone. Can anyone tell me how? I want to do something while STM erases a sector, Since it is STM32F401, it takes too long to erase a sector. What can be the best solution?
Hello, everyone. Can anyone tell me how? I want to do something while STM erases a sector, Since it is STM32F401, it takes too long to erase a sector. What can be the best solution?
Use the nonblocking HAL call HAL_FLASHEx_Erase_IT.
Be aware that you cannot erase a sector in the same bank as you're executing and still run code.
As
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.