AnsweredAssumed Answered

Disabling Flash readout protection through sram

Question asked by pey.carles on Oct 6, 2015
Latest reply on Oct 23, 2015 by Nesrine M
Hi all,

Anyone knows why the following code is not disabling the flash memory readout protection? It is being executed on a STM32F103 microcontroller.

FLASH_Unlock();
FLASH_ReadOutProtection(DISABLE);
FLASH_UserOptionByteConfig(OB_IWDG_SW, OB_STOP_NoRST, OB_STDBY_NoRST);
FLASH_Lock();
__disable_irq();
NVIC_SystemReset();


Thanks

Outcomes