#!/bin/sh if [ $# -ne 1 ]; then echo "Usage: $0 firmware.bin" >&2 exit 1 fi dfu-util --device 0x3496:0x0005 -R -D $1