cancel
Showing results for 
Search instead for 
Did you mean: 

option byte programming failed

NHarr.2
Associate II

using stm32cubeprogrammer and i get the error - option byte programming failed

expected value for option byte "RDP": 0xAA, found: 0xE7

10 REPLIES 10
Imen.D
ST Employee

Hello @NHarr.2​,

Which board are you using? or using your own custom board?

Do you use the CubeProgrammer tool in GUI mode or via the command line interface (CLI mode)?

which version of CubeProgrammer ?

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
NHarr.2
Associate II

STM32F405RGT6 running on a vesc board. i am using the gui cube programmer v2.12

0693W00000Y9PyyQAF.pngit also show current value as E7.

NHarr.2
Associate II

@Imen DAHMEN​ 

Does STM32 Cube Programmer correctly identify the chip? Perhaps show the whole window to provide some context.

You're using an ST-LINK/V2 or V3? Authentic?

Direct USB connection, or via a hub or docking station?

Your board connects/functions otherwise?

What's voltage measured on VCAP pins?

What version of Windows?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

If you're going to nudge a thread, add more detail / context.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

0693W00000Y9XQkQAN.png

@Community member​ i am using st-link v2 non authentic via direct usb, the board powers on but will not connect via usb and isn't showing usual green led only blue, i have tried on windows 11 and ubuntu 20.

Try connecting under reset, checking NRST.

Did you try BOOT0 strapped to VDD?

check this ST video: STM32 Security tips - 3 RDP without POR

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen