Skip to content
Tim Ansell edited this page Jul 26, 2015 · 1 revision

Modified Download Script

#!/bin/bash -e

DEVS=$(lsusb|grep 04b4|sed 's/:.*//;s/Bus //;s/Device //;s/ /\//')

if [ -z "$1" ]; then
    echo "$0: usage: $0 <file>"
    exit 1;
fi

for dev in $DEVS;do
    echo "Downloading $1 to $dev"
    /sbin/fxload -D /dev/bus/usb/$dev -t fx2lp -I $1
done

exit 0

Add the following to /etc/udev/rules.d/99-cypress.rules

ATTR{idVendor}=="04b4", MODE:="666"
Clone this wiki locally