2024-12-06 02:25 AM
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 !
2024-12-09 01:37 AM
Hello @Dams ,
Can you please test:
STM32_Programmer_CLI.exe -c port=SWD mode=UR -ob RDP=0xAA
Best regards
Jocelyn
2024-12-20 01:07 AM
Hello,
Thanks for support.
I try with the command but I still have the same error:
Have you got another idea ?
Regards,
2024-12-20 09:57 AM
Hello @Dams ,
could you please share output of
STM32_Programmer_CLI.exe -c port=swd -ob displ
Thank you
Best regards
Jocelyn