cancel
Showing results for 
Search instead for 
Did you mean: 

How to Remove Readout Protection, Not able to Flash the code ?

RJANA.2
Associate III
 
4 REPLIES 4
Peter BENSCH
ST Employee

It depends on the RDP level whether you can remove it: level 1 is reversible, level 2 is a one-way street and not reversible.

For more details please read section Read protection (RDP) in the reference manual of your STM32.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Level 1 it is, suggest me to resolve this issue

@Peter BENSCH​ ench

Even there is No info in datasheet

Right, the data sheet does not contain any information on this because it is not a device-specific question, but a family-specific one. As I have already written, the information can be found in the reference manual.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

What mode of connectivity are you using?

Should be possible to walk the part out of RDP via the serial port and ROM based System Loader. With BOOT0=HIGH user code will not run, and not interfere with debug pins/connectivity.

You fail to mention which STM32, as I recall AN-3155 describes the loader commands.

Segger/J-Link used to have a specific STM32 tools to reset/recover the devices into a usable state.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..