SETUP HELP · FIRMWARE
Flashing Betaflight: DFU mode, 'No DFU device' and Windows drivers
Applies to: STM32 Betaflight flight controllers (F4, F7, G4, H7) · Windows 10/11 PCs
SYMPTOMS
You might see
- Firmware flasher says 'No DFU device' or never finds the board
- Device Manager shows STM32 BOOTLOADER with a warning, or an unknown device
- Board shows as a COM port normally but disappears when flashing
- Not sure which firmware target to pick
The firmware flasher can't find the board, says No DFU device, or the board vanishes from the PC the moment it reboots into the bootloader.
THE FIX
Why it happens
A flight controller shows up on the PC in two different ways:
- Normal mode (VCP): a COM port, e.g. STM32 Virtual COM Port, under Ports (COM & LPT). This is how the Betaflight App connects.
- Bootloader mode (DFU): STM32 BOOTLOADER under Universal Serial Bus devices. This is how firmware is written. On Windows it needs the WinUSB driver, which Windows often doesn't install by itself.
If the DFU driver is missing or wrong (for example Guillemot STM DFU Device), the flasher can't see the board.
Before you flash
- Do you need to? If the drone works, leave it. Betaflight's own guide: "Resist the urge to flash your flight controller with the latest firmware right away." Update to fix a real problem or incompatibility.
- Back up: Betaflight App → CLI →
diff all→ save the output to a file. Flashing wipes the setup. - Pick the right target: in the CLI,
versionorboard_nameshows the board's target. Flash that one, not a similar-sounding board.
Fix: get into DFU and install the driver
- Use a data USB cable, and unplug receivers, GPS and other serial devices if the board won't enter DFU.
- Enter DFU: the flasher does it for you, or type
blin the CLI, or hold the board's BOOT button (or bridge the BOOT pads) while plugging in USB. - Device Manager should now show STM32 BOOTLOADER. If it has a warning or a different name, install WinUSB:
- ImpulseRC Driver Fixer (GitHub, ImpulseRC): run it with the board plugged in; it replaces the broken driver.
- Or Zadig: Options → List All Devices → choose STM32 BOOTLOADER (only that one; the wrong device gets the wrong driver) → WinUSB → Replace Driver.
- Flash again. Then reconnect in normal mode and paste back the parts of your backup you need (or the full
diff allonly onto the same firmware version).
Gotchas
- Close the Betaflight App's connection, BLHeli/ESC configurators and serial terminals first: only one program
can hold the port (see
setup-which-usb-port). - A charge-only cable shows nothing at all, in either mode.
- After a flash, re-check ports, receiver, modes and the VTX table: defaults differ from your old setup
(see
hd-osd-without-msp,vtx-control-smartaudio-tramp).
Check it worked
The flasher finds the board in DFU and finishes; after it reboots, the board shows as a COM port again, the Betaflight App connects, and the Setup tab shows the version you flashed.
VERIFICATION
How this was checked
- Verified
- : against Betaflight's Firmware Installation guide and Oscar Liang's flight controller driver guide. Not bench-tested on the owner's fleet (no flashing was needed).
- Tested on
- Betaflight App firmware flasher, Windows 11 (docs checked, not bench-tested)
- Sources
This fix reflects the versions and date above. Always double-check against the maker's manual before changing your setup, and bench-test with props off. See the safety disclaimer.
RELATED
More firmware fixes
HEALTH CHECK
Not sure what's wrong?
Plug the drone in over USB and the free Health Check reads its arming flags, battery and setup in your browser, then links the fix for anything it finds. Nothing on the drone is changed.
Run a free health check