cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L053 Flash Write Protection

Khoa Tran
Associate II
Posted on June 30, 2015 at 06:06

I wrote Option Byte and Enalbled Write Protection all flash page.

I can't program MCU. It say flash is protected.

How can I fix this problem ?

Thank You.

Khoa Tran.
7 REPLIES 7
johnjohn9
Associate
Posted on June 30, 2015 at 07:12

Hi,

You can try using RFlasher from Raisonance to erase config on your micro.

Regards,

John

Khoa Tran
Associate II
Posted on June 30, 2015 at 10:17

Thank you John.

But I can't find RFlasher..Can you give me the download link ?

Khoa.

Amel NASRI
ST Employee
Posted on June 30, 2015 at 10:45

Hello tran.khoa,

You can use the

http://www.st.com/web/en/catalog/tools/PF258168

 software.

-Mayla-

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.

johnzhaoliu
Associate
Posted on June 30, 2015 at 13:57

Hi,

You may need to sign up and download the trail version. It use to be free. Things might have changed. But Mayla's recommendation should work too. I''m sorry I couldn't be more helpful.

Regards,

John

Khoa Tran
Associate II
Posted on July 02, 2015 at 02:44

Thank you Mayla and John.

I've tried using ST Utility before I started this thread but I can't fix the problem. I may have done something wrong. I will try again.

Khoa.

Posted on July 02, 2015 at 02:58

Well it's a bit hard to trouble-shoot with the information provided.

What exactly did you do to the part originally. How did you write the option bytes, and what exactly did you write to them?

Do the utilities indicate is can read the current state of the option bytes, or the content of the flash array?

There are definitely things you can do with the option bytes, protection levels, and OTP.

Finally you might try to access the System Loader via the USART, this provides access to a selection of commands that might be able to walk the part out of it's current state. These techniques generally require a review of all the relevant documentation and experimentation.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Khoa Tran
Associate II
Posted on July 03, 2015 at 02:43

Thank you clive1.

I fixed the problem with ST Utility.

I've tried using System Loader via USART too but It's not working.

Khoa.