

R, -reset Issue USB reset signalling once we're finished. D, -download FILE Write firmware from FILE into device. Note: Upload support is currently broken. U, -upload FILE Read firmware from device into FILE. If you don't supply this option, the maximum possible size for your combination of host OS and USB device is chosen (for optimal performance). t, -transfer-size Specify the number of bytes per USB transfer. a, -alt ALT Specify the altsetting of the DFU interface by name or by number. i, -intf INTF-NR Specify the DFU interface number. c, -cfg CONFIG-NR Specify the configuration of the DFU device. p, -path BUS-PORT.PORT Specify the path to the DFU device.

However, as soon as you have multiple DFU devices, dfu-util will detect this and abort, asking you to specify which device it shall use. If you only have one standards-compliant DFU device attached to your PC, this is optional.

Both VENDOR and PRODUCT are hex-numbers which must start with 0x. d, -device VENDOR:PRODUCT Specify vendor/product ID of the DFU device. OPTIONS -l, -list List the currently attached DFU capable USB devices. In the OpenMoko project (for example), this program is used to communicate with the specially enhanced u-boot boot loader, which implements the DFU device side.
#Openmoko u boot serial#
NAME dfu-util - Device firmware update (DFU) USB programmer SYNOPSIS dfu-util DESCRIPTION dfu-util is a program that implements the host (PC) side of the USB DFU (Universal Serial Bus Device Firmware Upgrade) protocol.
