A tool to flash ARM based CPU's such as stm32.
Read from address 0x08000000 1024 bytes and save to a somefile.bin.
dfu-flasher --bus-device BUS:DEVICE read 0x8000_0000:1024 --file-name some_file.bin
Write to flash address 0x08000000 1024 using somefile.bin as input.
dfu-flasher --bus-device BUS:DEVICE read 0x8000_0000:1024 --file-name some_file.bin