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