Skip to content

Latest commit

 

History

History
73 lines (36 loc) · 2.14 KB

dfu.md

File metadata and controls

73 lines (36 loc) · 2.14 KB

DFU Installation Guide

dfu-util is a tool for Device Firmware Upgrade to the Duo via the USB port.

Enter DFU Mode

  • 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.

    image

Windows

  • 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.

    image

  • 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.

    image

OSX

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
    

Linux

  • 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.

Check Version

  • 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 [email protected]