#flash #stm32 #arm #address #read #pure #bus-device

app dfu-flasher

Dfu-flasher redone in pure Rust

7 releases

0.4.2 May 10, 2021
0.4.1 May 9, 2021
0.4.0 Apr 7, 2021
0.3.1 Mar 28, 2021
0.2.0 Sep 6, 2020

#70 in #flash

MIT license

52KB
1.5K SLoC

Dfu-flasher

A tool to flash ARM based CPU's such as stm32.

Examples

Read

Read from address 0x0800_0000 1024 bytes and save to a some_file.bin.

dfu-flasher --bus-device BUS:DEVICE read 0x8000_0000:1024 --file-name some_file.bin

Write

Write to flash address 0x0800_0000 1024 using some_file.bin as input.

dfu-flasher --bus-device BUS:DEVICE read 0x8000_0000:1024 --file-name some_file.bin

Dependencies

~7–16MB
~198K SLoC