AnsweredAssumed Answered

STM32 readout protection (level 1)

Question asked by spectre on Jun 15, 2012
Latest reply on Jun 19, 2012 by spectre
Hi,

when I enable the readout protection (level 1) using stm32-stlink-utility,
I can't write anymore on the eeprom.

if I try to disable the readout protection (level 0) using stm32-stlink-utility,
it works perfectly.


I'm using this software sequence,and it works perfectly without the readout protection enabled.

DATA_EEPROM_Unlock();
DATA_EEPROM_FixedTimeProgramCmd(ENABLE);
DATA_EEPROM_ProgramByte(Address,data);
DATA_EEPROM_FixedTimeProgramCmd(DISABLE);
DATA_EEPROM_Lock();

How Can I solve this issue ?

I'm using:
Windows 7 64bit
st link utility 2.2.0
target mcu: STM32L152V8T6
Vdd: about 2,4Vdc

regards

Outcomes