Hi, I've found an issue in FLASH_WaitForLastOperation function in code generated for STM32G070. May be it is valid for whole family. It is connected with ECC mechanism.The isseu is that if CFGBSY of flash SR is set it is never cleard until reset. So ...