Skip to content

Instantly share code, notes, and snippets.

@zyuiop
Last active March 14, 2018 10:30
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 zyuiop/4c56e78e2595b1075c42bce636a69fe1 to your computer and use it in GitHub Desktop.
Save zyuiop/4c56e78e2595b1075c42bce636a69fe1 to your computer and use it in GitHub Desktop.
USB Blaster setup
file=$(mktemp)
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6002", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6003", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6010", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="09fb", ATTR{idProduct}=="6810", MODE="0666"' >> $file
sudo mv $file /etc/udev/rules.d/51-altera-usb-blaster.rules
sudo udevadm control --reload
jtagconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment