cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to update option bytes

Tabrez
Associate

Hi All,

I am working on STM32H743VITx. Somehow by mistake "readout protection" is being on. RDP level has set to 1. I am trying to set it 0 by ST-Lint utilities (GUI & STM32Programmer both tried). but the message ''Could not set Option bytes!'' appeared. Please Help me out of this. #option-bytes

2 REPLIES 2
TDK
Guru

In STM32CubeProgrammer, connect, go to the OB tab, select 0xAA for the RDP, and hit apply.

If that doesn't work, post a screenshot of the error message you receive and the log messages.

 

ST-Link Utilities is deprecated and will not work for recent chips.

If you feel a post has answered your question, please click "Accept as Solution".

This is the error message I get when change to 0xAA for RDP

 

Tabrez_0-1725857271298.png

10:15:52 : UPLOADING OPTION BYTES DATA ...
10:15:52 : Bank : 0x00
10:15:52 : Address : 0x5200201c
10:15:52 : Size : 308 Bytes
10:15:52 : OPTION BYTE PROGRAMMING VERIFICATION:
10:15:52 : Error: Expected value for Option Byte "RDP": 0xAA, found: 0x0
10:15:52 : Error: Option Byte Programming failed Or modified by application after OB_LAUNCH
10:15:52 : Time elapsed during option Bytes configuration: 00:00:00.415