Can't erase flash after writing to it.
I have a program that writes to flash using HAL_FLASH_Program().Before it does, I erase the flash with this function:bool Erase_Flash(void) { static FLASH_EraseInitTypeDef EraseInitStruct; uint32_t PAGEError = 0; HAL_StatusTypeDef status; print...