cancel
Showing results for 
Search instead for 
Did you mean: 

USB connection RDP error with STM32CubeProgrammer CLI command

SWelc.1
Associate

I'm getting an RDP error even though I'm using the -rdu command, using STM32CubeProgrammer v2.11.0 in CLI mode:

C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -C port=usb1 -rdu -r32 0x08000000 0x100

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

            STM32CubeProgrammer v2.11.0

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

USB speed  : Full Speed (12MBit/s)

Manuf. ID  : STMicroelectronics

Product ID : STM32 BOOTLOADER

SN     : FFFFFFFEFFFF

DFU protocol: 1.1

Board    : --

Device ID  : unknown

Warning: Device is under Read Out Protection

Disabling memory Read Protection...

Memory Read Protection disabled successfully

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

This is on a fresh unflashed STM32F042 connected to USB. Why does it seem the -rdu command works but then doesn't work?

0 REPLIES 0