cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H725 - RDP locked to BB

Dams
Associate III

Hello, 

I have a problem with a STM32H725, the Option byte RDP is locked to the value BB.
In fact, I try to change other option bytes and it always fail with this error: " Error: Option Byte Programming failed Or modified by application after OB_LAUNCH".
So maybe for may case the problem is not only for the RDP but for all option bytes.

I also try with this command without success: 
STM32_Programmer_CLI.exe -c port=SWD mode=UR freq=4000 -rdu -hardrst

 

My setup:
STM32CubeProgrammer V2.18.0 (updated today)
STlink-V2 (V2J45S7) and STlink-V3 (V3J15M7B5S1)

The problem may occurs with other MCU in the production, they are protected with RDP = 0xBB but if new release of firmware is ready, we have to flash them again. The operation is impossible if RDP stay at 0xBB value.

How can I do to change the option byte ?

Thanks to help me !

 

 

 

 

 

 

 

1 REPLY 1
Jocelyn RICARD
ST Employee

Hello @Dams ,

Can you please test:

STM32_Programmer_CLI.exe -c port=SWD mode=UR -ob RDP=0xAA

Best regards

Jocelyn