Skip to main content
Dhanyakumar Hosamane
Associate II
June 13, 2017
Solved

Failed to erase / program flash memory - read out protection

  • June 13, 2017
  • 3 replies
  • 2842 views
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
This topic has been closed for replies.
Best answer by Dhanyakumar Hosamane
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

3 replies

Nesrine M_O
Associate
June 13, 2017
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
Dhanyakumar HosamaneAuthorBest answer
Associate II
July 22, 2017
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

IReta.1
Associate II
May 25, 2020

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