cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 ST-Link Utility v4.0.0 gives message ''could not update the option bytes'' but option bytes updated

Dmitry Bravikov
Associate II
Posted on December 29, 2016 at 14:58

Hello,

I use ST-Link Utility v4.0.0 and STM32F103RC.

Command

ST-LINK_CLI.exe -c SWD -OB RDP=1

gives message 'could not update the option bytes' but option bytes updated. And command returns an error code.

GUI gives the same message.

It happens for F1 but not for others (e.g F4).

#bug #stm32-st-link-utility #option-bytes #stm32f1
2 REPLIES 2
Jeroen3
Senior
Posted on December 29, 2016 at 16:43

Yes, I also recently had a struggle with the option bytes. There is some funny business in the 103 parts. Keil also refuses to program. I traced it down to something with the fpec unlock, but I won'tbe using option bytes since I can't reliably program them.

https://community.st.com/0D50X00009XkhN8SAJ

Read protection does seem to work though, since that only requires erasing.

Imen.D
ST Employee
Posted on December 30, 2016 at 12:37

Dear

Bravikov.Dmitry

‌,

I confirm the issue about option bytes,

I

reported it internally for working to resolve this.

We apologize for any inconvenience this may cause and thank you for your understanding.

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen