Resolved! STM32f0. No FLASH_CR_PER clear after erasing flash in HAL_FLASH_IRQHandler ?
In stm32f0xx_hal_flash.c line 319: /* Check if there are still pages to erase */ if(pFlash.DataRemaining != 0U) { addresstmp = pFlash.Address; /*Indicate user which sector has been erased */ HAL_FLASH_...