cancel
Showing results for 
Search instead for 
Did you mean: 

How ''Disable Read Out Protection'' ?

musatoff
Associate II
Posted on October 03, 2012 at 18:13

I have demoboard with STM32F417 and ST-Link v2. After some software fault, read out protection was activated. STlink utility print 

20:07:57 : Connected via SWD.

20:07:57 : Device ID:0x411 

20:07:57 : Device family :STM32F4xx

20:07:57 : Cannot read memory!

                  Disable Read Out Protection and retry.

What I mast to do to disable read out protection. I can't to do full erase of chip with the same error:

ST-LINK_CLI.exe -c SWD UR -OB RDP=0 WRP=0xFFFFFFFF -ME

STM32 ST-LINK CLI v1.3.0

STM32 ST-LINK Command Line Interface

Connected via SWD.

Device ID:0x411 

Device family :STM32F4xx

Updating option bytes...

Could not update the option bytes!

Full chip erase...

Read out protection is activated

This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10
Dhananjay Khairnar
Associate II
Posted on April 27, 2017 at 08:59

Take any other HEX file and programe it. It will remove read out protection