I Have added
FLASH_Unlock(); FLASH_ReadOutProtection(ENABLE); FLASH_Lock();
to my code and unfortunately it has locked my micro-controller. I use Manage Enviroment run time window to add "Flash" library to my project and I can't access to stm32 opt files individually to erease protection bits. Please Help me