cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 readout protection (level 1)

dhutchison1945
Associate II
Posted on June 15, 2012 at 08:55

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
1 REPLY 1
dhutchison1945
Associate II
Posted on June 19, 2012 at 15:08

Still unsolved