Skip to main content
Dams
Associate III
Question

STM32H725 - RDP locked to BB

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 !

 

 

 

 

 

 

 

    This topic has been closed for replies.

    3 replies

    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

    Dams
    DamsAuthor
    Associate III

    Hello,

    Thanks for support.
    I try with the command but I still have the same error:

    RDP AA.PNG

    Have you got another idea ?

    Regards,

    Jocelyn RICARD
    ST Employee

    Hello @Dams ,

    could you please share output of 

    STM32_Programmer_CLI.exe -c port=swd -ob displ

    Thank you

    Best regards

    Jocelyn