2026-03-19 8:26 PM
STM32C5 unlock RDP2 need OEM key, How to use STM32CubeProgrammer to set the OEM key and RDP0 to RDP2?
Please provide me with a correct operation procedure. Thank you.
Solved! Go to Solution.
2026-03-23 3:36 AM - edited 2026-03-23 3:36 AM
Hi @ShimiaoWang,
You can set the RDP level 2 password by writing four 32-bit words into the password field and click on "Set password". If you want to set a password for RDP level 2 with boundary scan, you can write a 32-bit BSKEY.
Please carefully refer to How to set the RDP password keys and levels on STM32C5 MCUs - stm32mcu and STM32CubeProgrammer software description - User manual before any manipulation.
PS: @MGogr.1, STM32CubeProgrammer v2.22.0 supports STM32C5 and the message has been changed as per the screenshot from @ShimiaoWang.
Aziz
2026-03-19 10:14 PM
Cube Programmer supports for the following:
"Lock RDP command is only available with STM32U5/STM32WBA/STM32U0/STM32U3".
Since your Controller is C5 series it wont possible.
2026-03-23 3:36 AM - edited 2026-03-23 3:36 AM
Hi @ShimiaoWang,
You can set the RDP level 2 password by writing four 32-bit words into the password field and click on "Set password". If you want to set a password for RDP level 2 with boundary scan, you can write a 32-bit BSKEY.
Please carefully refer to How to set the RDP password keys and levels on STM32C5 MCUs - stm32mcu and STM32CubeProgrammer software description - User manual before any manipulation.
PS: @MGogr.1, STM32CubeProgrammer v2.22.0 supports STM32C5 and the message has been changed as per the screenshot from @ShimiaoWang.
Aziz
2026-03-23 8:57 PM
OK. Thanks.
I'll need to update my Programmer.