cancel
Showing results for 
Search instead for 
Did you mean: 

DFU mode read out protection

Draxter
Associate II

Hello, 

I am trying to connect to the STM32F072C8T6 microcontroller via USB in the STM32CubeProgrammer, however I am getting:

"Device is under read out protection ! If you want to disable RDP please reconnect with Read Unprotect enabled"

Draxter_0-1717577911683.png

So, when I check the Read Unprotect (MCU) checkbox, I get:

"Please Power off Power on your device."

Draxter_1-1717578006569.png

After turning the power off/on, I see the same messages. I cannot connect to the MCU via USB in the STM32CubeProgrammer.

I have tried different versions of STM32CubeProgrammer:

  • v2.16.0
  • v2.15.0
  • v.2.13.0
  • v.2.10.0
  • v.2.8.0

Moreover I tried on second computer with Windows 11 and I have the same issue.

I'm trying to connect my custom board, but I also checked another hardware board (BluePill ) with the same STM32F072C8T6 MCU and it doesn't work either.

Interestingly, using the DFU-util v0.8 program I can connect to the MCU and successfully read/write memory:

Draxter_1-1717580537175.png

Draxter_0-1717580509580.png

 

 

14 REPLIES 14

dfuse do not allow to flash elf file. it seems to not be a solution

where can i read how this incident has ended up. where is ticket 171192  ?

zeboss49
Associate III

Hello,

same issue with an STM32F429.

In my project, using a HUB does not solve the issue.
Maybe because the HUB is an USB3 HUB connected to a USB3 port on the PC.

It makes sense if the issue is related to speed.

I'll give a try using an USB2 port and come back to share my experience.

Hi @zeboss49,

Yes, please try connecting through a USB 2.0 port (or via a USB 2.0 hub connected to a USB 2.0 host).
That would be really helpful for the community to confirm whether the issue is related to USB 3.0 compatibility.

Thanks for checking and sharing your results!

Does this affect STM32U5 series as well?