dfu-util is a tool for Device Firmware Upgrade to the Duo via the USB port.
-
Connect the Duo to your computer via the USB port.
-
Press and hold the 'SETUP' button and then press the 'RESET' button, release the 'SETUP' button once you see the RGB is flashing in yellow color.
-
To use dfu-util, you need to download an USB library driver for the Duo, we make use of Zadig to install quickily. There is an usage guide provided.
-
Run Zadig after downloading and in the following screen, press the 'Install Driver' button.
-
Download the dfu-util.
-
Start 'Command Prompt' and navigate to the folder you downloaded the dfu-util
-
Rename it to dfu-util.exe
c:\> ren dfu-util-static.exe dfu-util.exe
-
Suggest you to put the dfu-util.exe to your downloaded Duo firmware folder.
Use Brew to install or follow the instructions from the official website.
-
Install brew or start the Terminal to install it directly:
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
In the Teminal, type this command to install the dfu-util:
$ brew install dfu-util
-
Download the dfu-util or use the package manager of your distribution to get the latest version:
$ sudo apt-get install dfu-util
-
If you download dfu-util we suggest putting the binary into the Duo firmware folder.
-
Type in command line box:
$ dfu-util --version
-
Sample output:
dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org