2024-06-05 2:12 AM - edited 2024-06-05 2:44 AM
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"
So, when I check the Read Unprotect (MCU) checkbox, I get:
"Please Power off Power on your device."
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:
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:
Solved! Go to Solution.
2025-06-13 3:51 PM
dfuse do not allow to flash elf file. it seems to not be a solution
2025-06-13 3:52 PM
where can i read how this incident has ended up. where is ticket 171192 ?
2025-11-10 8:19 AM
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.
2025-11-10 12:07 PM
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!
2025-11-10 12:45 PM
Does this affect STM32U5 series as well?