#flasher #stm32 #dfu-util

dfu

The core DFU library used by DFU flasher

7 releases

0.4.2 May 10, 2021
0.4.1 May 9, 2021
0.4.0 Apr 7, 2021
0.3.0 Mar 27, 2021
0.2.1 Sep 6, 2020

#6 in #flasher

41 downloads per month
Used in dfu-flasher

MIT license

38KB
991 lines

Dfu library

Rust implementation of STM32 DFU flasher heavily based on STM32 dfu-util at https://github.com/dsigma/dfu-util/.

This crates is the core library and used by dfu-flasher binary crate.

Dependencies

For full list see Cargo.toml

  • usbapi-rs

Works

  • Reset STM32 to application mode.
  • Read from STM32 flash
  • Erase/Write to STM32 flash.
  • Mass erase.

Dependencies

~3MB
~62K SLoC