dfu-util is a host side implementation of the DFU 1.0 and DFU 1.1 specifications of the USB forum. DFU is intended to download and upload firmware to/from devices connected over USB. It ranges from small devices like micro-controller boards to mobile phones. Using dfu-util you can download firmware to your DFU-enabled device or upload firmware from it.
See the manual page for examples of use.
To install dfu-util on Raspberry Pi, enter the command in Terminal:
$ sudo apt install dfu-util