cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to erase / program flash memory - read out protection

Dhanyakumar Hosamane
Associate II
Posted on June 13, 2017 at 09:15

STM32L053 Nucleo Board.

I am trying to program or erase board using ST-LINK_CLI.exe (Ver 1.3.0) / STM32-LINK Utility (Ver 2.3.0) but I get error message saying 'Read out protection is activated' 

I am not able to erase or program boards. Similarly, I am not able to program/debug example project using Atolloic Studio.

Can you please help to find a way tp erase / program boards by disabling 

Read out protection

#stm32l053 #readout-protection #nucleo-64
1 ACCEPTED SOLUTION

Accepted Solutions
Dhanyakumar Hosamane
Associate II
Posted on July 22, 2017 at 12:48

I was using OLD version of ST utility which was not supported to erase option bytes and remove read protection. The new version of ST link utility (V4.0.0) helped me to remove read /write protection

View solution in original post

3 REPLIES 3
Nesrine M_O
Lead II
Posted on June 13, 2017 at 11:45

Hi

hosamane.dhanyakumar

,

To disable memory read protection go to : STM32 ST-LINK Utility >Target > Option Bytes:

0690X00000607G6QAI.png

please refer toRDP (Read Out Protection) section on your reference manual to have idea about this type of protection

-Nesrine-

Dhanyakumar Hosamane
Associate II
Posted on July 22, 2017 at 12:48

I was using OLD version of ST utility which was not supported to erase option bytes and remove read protection. The new version of ST link utility (V4.0.0) helped me to remove read /write protection

I did not find STM32 ST-LINK Utility for Linux...