2024-06-05 02:12 AM - edited 2024-06-05 02: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.
2024-06-07 04:15 AM - edited 2024-06-25 03:47 AM
Hello @Draxter
Regarding this issue, we are aware of it and it's currently under investigation.
Internal ticket number: 171192 (This is an internal tracking number and is not accessible or usable by customers).
As a workaround, we suggest connecting your MCU using a HUB instead of plugging it directly into the PC.
Thanks,
Amine.
2024-06-07 04:15 AM - edited 2024-06-25 03:47 AM
Hello @Draxter
Regarding this issue, we are aware of it and it's currently under investigation.
Internal ticket number: 171192 (This is an internal tracking number and is not accessible or usable by customers).
As a workaround, we suggest connecting your MCU using a HUB instead of plugging it directly into the PC.
Thanks,
Amine.
2024-06-13 10:51 PM
@Amine_Jridi thank you. Connecting the board to an external USB HUB solves the problem.
We are unable to understand what is root cause. Why use a USB HUB instead of a direct connection to a computer?
2024-07-30 01:02 PM - edited 2024-07-30 01:03 PM
Hello Amine,
Is there any progress on this issue?
I'm using v2.17.0 and I have the same symptoms on my DELL when I plug STM32F0 board on the laptops USB-C ports.
If I use a USB C to A cable on my USB hub, it works. If I use a USB C to A plug converter, then its the same as using a USB C cable.
BR
2024-08-04 02:59 AM
@new_earth75 answer from STMicroelectronics support:
In fact, the issue is coming from the USB bootloader state machine which hangs and stuck in busy state.
This issue is seen only on recent machines with high speed USB controllers, and putting a hub resolves the issue.
Other possible solutions :
- Using dfuse
- Using connectors downgrading the USB speed then putting some more latency in the transmission to make it work