stm32L1 FLASH_ProgramHalfPage error FLASH_ERROR_WRP
Hi,
I am having a problem with the function FLASH_ProgramHalfPage it returns the error FLASH_ERROR_WRP but if I check the option bytes of my memory they are in Level 0 so it is not protected. Also I can connect my device to St-Link utility without changing the option bytes but if I run my code can not write in the memory because of the error mentioned.
I would like to know how this can happen if I haven't changed the option bytes of the memory.
Thanks in advance for your help.
#flash_error_wrp