The microcontroller (STM32G0 Series) does not work after FLASH read protection.
I am using stm32g030f6p9 microcontroller. I tried to make flash read protection: if ((FLASH->OPTR & FLASH_OPTR_RDP) != 0xbb) { FLASH->KEYR = 0x45670123; FLASH->KEYR = 0xCDEF89AB; while (FLASH->SR & FLASH_SR_BSY1); FLASH->...