2023-01-27 10:41 AM
using stm32cubeprogrammer and i get the error - option byte programming failed
expected value for option byte "RDP": 0xAA, found: 0xE7
2023-01-29 10:58 AM
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
2023-01-29 11:21 AM
STM32F405RGT6 running on a vesc board. i am using the gui cube programmer v2.12
2023-01-29 11:44 AM
it also show current value as E7.
2023-01-30 03:54 PM
@Imen DAHMEN
2023-01-30 05:08 PM
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?
2023-01-30 05:09 PM
If you're going to nudge a thread, add more detail / context.
2023-01-30 05:53 PM
2023-01-30 06:19 PM
@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.
2023-01-31 10:12 AM
Try connecting under reset, checking NRST.
Did you try BOOT0 strapped to VDD?
check this ST video: STM32 Security tips - 3 RDP without POR