Disabling write protection fails on STM32F401RE
My board is stuck with all write protection Bytes enabled.
Please help thank you.
Running the following command fails to deactivate write protection.
STM32_Programmer_CLI -c port=swd -ob WRP0=0
-------------------------------------------------------------------
STM32CubeProgrammer v2.19.0
-------------------------------------------------------------------
ST-LINK SN : 066DFF3632524B3043204154
ST-LINK FW : V2J46M31
Board : NUCLEO-F401RE
Voltage : 3.24V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x433
Revision ID : Rev Z
Device name : STM32F401xD/E
Flash size : 512 KBytes
Device type : MCU
Device CPU : Cortex-M4
BL Version : 0xD1
UPLOADING OPTION BYTES DATA ...
Bank : 0x00
Address : 0x40023c14
Size : 8 Bytes
[==================================================] 100%
PROGRAMMING OPTION BYTES AREA ...
Bank : 0x00
Address : 0x40023c14
Size : 8 Bytes
[==================================================] 100%
UPLOADING OPTION BYTES DATA ...
Bank : 0x00
Address : 0x40023c14
Size : 8 Bytes
[==================================================] 100%
OPTION BYTE PROGRAMMING VERIFICATION:
Error: Expected value for Option Byte "wrp0": 0x0, found: 0x1
Error: Option Byte Programming failed Or modified by application after OB_LAUNCH
Time elapsed during option Bytes configuration: 00:00:00.054

