cancel
Showing results for 
Search instead for 
Did you mean: 

unable to update Options bytes

Reema O
Associate II
Posted on October 27, 2017 at 23:32

Hi All, 

I am trying reprogram my board- MCU-STM32F405RGT6, programmer/debugger: ST-Link/V2. It says read protection activated (when I check my options byte REAd protection is set to level 1 ). I try to change the read protection to level 0 it says: Option bytes cannot be set Reset target device

9 REPLIES 9
Posted on October 28, 2017 at 22:30

Hello!

Are you use the latest FW version of STLink v2 debuger   and stlink utility?

i tried with  F429ZI and had success.

0690X00000608liQAA.png

regards

vf

Posted on October 29, 2017 at 17:59

FW version of STLink V2 dedugger and utilty is 

0690X00000608kNQAQ.png

Is F429ZI is different that this

Posted on October 29, 2017 at 23:42

Hello again.

After some search here, i found a board with same die like yours. Here are the results.

0690X00000608XhQAI.png

STLink utility is the latest version as yours also.

my firmware of stlink device is

0690X00000608mvQAA.png

Used theese settings.

0690X00000608n0QAA.png

I didn't use hardware reset.

Regards

vf

Posted on October 30, 2017 at 16:26

0690X00000608neQAA.png

It still does not work. My Target voltage is 3.2V, is their a way to change it?

Posted on October 30, 2017 at 17:42

Firmware V2J23S4 is too old . Suggest to upgrade.

Posted on October 30, 2017 at 21:00

More likely something else bollixed up with the design.

Connectivity issues.

NRST driven by a push-pull driver.

Voltages on VCAP pins.

Device orientation.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on October 30, 2017 at 20:17

Even after upgrading firmware version problem still exist

0690X00000608f3QAA.png0690X00000608f4QAA.png

How is that for your device Target voltage is 2.9V. Does this has anything to do with read protection?

Is there any need to set BOR Level?

Posted on October 30, 2017 at 21:55

VCAP_1 and VCAP_2 is 1.18 V

Reema O
Associate II
Posted on January 22, 2018 at 19:22

Solved