STM32G0: Flash SR register have "sticky" error bits PGAERR (5) and PGSERR (7)
I always get errors when trying to erase a flash page on STM32G0. I traced through the HAL code, and the error is caused by the fact that the FLASH->SR register almost always has two error bits set, PGAERR and PGSERR.So before spending more time on e...