cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F411CEU6 Black Pill – DFU Mode "USB device not recognized"

DRIFTYY777
Visitor

STM32F411CEU6 Minimum System Board Microcomputer STM32 ARM Core Board


I'm unable to flash my board using USB DFU mode. When I enter DFU mode, Windows fails to recognize the device and shows a USB error. However, UART flashing works correctly using PA9 (TX) and PA10 (RX)


- Hold the BOOT0 button
- Pressed and released RESET button
- Then released BOOT0
- Windows shows a popup:
_USB device not recognized. The last USB device you connected to this computer malfunctioned
- Device Manager says "USB Device Descriptor Failed"
- STM32CubeProgrammer and dfu-util do not detect the device

And also I installed STM32CubeProgrammer, Drivers and more but still cant enter dfu mode 
On the other hand Im unable to flash board with UART which I dosent like 

Note- Im new to STM boards

I'd appreciate help in diagnosing and fixing the USB DFU issue on my STM32F411CEU6 Black Pill board.

 
1 REPLY 1
Andrew Neil
Super User

@DRIFTYY777 wrote:

Note- I'm new to STM boards


Note that Black Pill is not an ST Product - you need to go to the manufacturer for support with it.

I would suggest that you start with a genuine ST board - such as the NUCLEO-F411RE:

https://www.st.com/en/evaluation-tools/nucleo-f411re.html

This not only gives you a fully documented and supported board - with plenty of ready-to-go tutorials and examples - but also includes a free, genuine ST-Link.

 

PS:

I have a feeling that Black Pills may not use the ST USB Bootloader - it might be their own, proprietary one?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.