Skip to content

Instantly share code, notes, and snippets.

@berkedel
Last active February 17, 2016 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berkedel/13314d50ed59209ee7fc to your computer and use it in GitHub Desktop.
Save berkedel/13314d50ed59209ee7fc to your computer and use it in GitHub Desktop.
Redbear Duo - DFU Installation

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

  • 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 dfu-util@lists.gnumonks.org
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment