STM DFU Firmware Updater

Single-file WebUSB updater for STM DFU devices and ST DfuSe .dfu firmware images. Use a Chromium-based browser over https:// or http://localhost, then put the target board into DFU mode before connecting.

Firmware

The app tries to read the DFU functional descriptor after connect. Use this only as an override.
Optional. Use this when the STM bootloader does not expose its DfuSe memory descriptor.
No firmware loaded.

Device

No DFU device selected.
Idle.

Notes

  • The selected USB interface must expose DFU class 0xfe/0x01. STM DfuSe mode commonly uses protocol 0x02.
  • The app parses the DfuSe target table and writes each element to its declared flash address.
  • If the device disconnects after manifestation, that is normal for many STM bootloaders.