2015-10-06 03:24 AM
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 #read-protection
2015-10-23 09:18 AM
Hi pey.carles,
It seems that you miss the function that allow the access to option bytes sector: FLASH_OB_Unlock();-Syrine –