AnsweredAssumed Answered

stm32L1 FLASH_ProgramHalfPage  error FLASH_ERROR_WRP

Question asked by Raquel ciordia on Jan 18, 2017
Latest reply on Feb 13, 2017 by Robert Vice



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.