cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55CG is under read/write protection in STM32CubeProgrammer_CLI and no protection in STM32CubeProgrammer.

VBuse
Associate II

In STM32CubeProgrammer I can set RDP on AA level and BB level, but in CLI mode read/write protection is constantly in BB. In CLI protection byte doesnt change, I mean I can't change it

and can't write FUS or stack, and even check the fuse version.

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=usb1 -rdu

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.1.0

     -------------------------------------------------------------------

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in FS Mode

SN         : 207D308E3036

FW version : 0x011a

Device ID  : unknown

Warning: Device is under Read Out Protection

Disabling memory Read Protection...

Memory Read Protection disabled successfully

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=usb1 -rdu

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.1.0

     -------------------------------------------------------------------

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in FS Mode

SN         : 207D308E3036

FW version : 0x011a

Device ID  : unknown

Warning: Device is under Read Out Protection

Disabling memory Read Protection...

Memory Read Protection disabled successfully

1 REPLY 1
VBuse
Associate II

More action

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.1.0

     -------------------------------------------------------------------

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in FS Mode

SN         : 207D308E3036

FW version : 0x011a

Device ID  : unknown

Warning: Device is under Read Out Protection

Error: RDP level is set to 1 (0xBB), try using Read UnProtect (-rdu) command in order to remove the Read Out Protection.

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=usb1 -fwdelete

     -------------------------------------------------------------------

                      STM32CubeProgrammer v2.1.0

     -------------------------------------------------------------------

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : DFU in FS Mode

SN         : 207D308E3036

FW version : 0x011a

Device ID  : unknown

Warning: Device is under Read Out Protection

Error: fwdelete command is not supported for such device