Solved
STM32F0 series. Waiting for Page Write/Erase completion.
Posted on December 20, 2017 at 18:20
Hello all.
HAL uses function 'FLASH_WaitForLastOperation' for polling flash 'BUSY' flag, while performing flash page erase or flash write. How can this function be executed from flash if flash bus is blocked during flash erase? Is CPU simply staying in stalled state instead of polling BUSY flag while a page is being erased? Is it a bug in HAL or an intentional trick?
#waiting-for-page-write/erase-completion