2024-09-06 05:50 AM
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
2024-09-06 06:05 AM
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.
2024-09-08 09:48 PM
This is the error message I get when change to 0xAA for RDP
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
2024-10-15 09:47 AM
Did you find any solutions for this? I have the same problem for stm32wb5mm dk
2024-10-16 12:24 AM
you can use command window in your STM32programmer install folder to execute 'STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe -c port=SWD mode=UR freq=4000 -rdu -hardrst' command to try.
this command is to change RDP to level 0.