Knowledge Base Article

How do I enable the USB-Blaster in the Quartus II Programmer on SUSE 11 Linux?

Description

To enable the USB-Blaster™ cable in the Quartus® II Programmer on SUSE 11 Linux, perform the following steps:

  1. Add the following lines to the file /etc/udev/rules.d/51-usbblaster.rules:
    BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666", PROGRAM="/bin/sh -c 'K=%k; K=26061{K#usbdev}; printf /proc/bus/usb/%%03i/%%03i26061{K%%%%.*} 26061{K#*.}'", RUN ="/bin/chmod 0666 %c"
    BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666", PROGRAM="/bin/sh -c 'K=%k; K=26061{K#usbdev}; printf /proc/bus/usb/%%03i/%%03i26061{K%%%%.*} 26061{K#*.}'", RUN ="/bin/chmod 0666 %c"
    BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666", PROGRAM="/bin/sh -c 'K=%k; K=26061{K#usbdev}; printf /proc/bus/usb/%%03i/%%03i26061{K%%%%.*} 26061{K#*.}'", RUN ="/bin/chmod 0666 %c"
  2. Create a file named /etc/hotplug/usb/usbblaster and add the following lines to it:
    #! /bin/sh
    # /etc/init.d/usbblaster
    #
    ### BEGIN INIT INFO
    # Provides:       usbblaster
    # Default-Start:  3 5
    # Default-Stop:   0 1 2 6
    # Short-Description: USB blaster
    # Description:  USB blaster
    ### END INIT INFO

    USBDIR=/dev/bus/usb
    case "" in
        start)
     echo -n "Starting USB blaster"
     mkdir -p /.usbfs
     mount -n -t usbfs usbfs /.usbfs -obusmode=0700,devmode=0600,listmode=0644
     ln -sf /.usbfs/devices /devices
     mount --rbind /proc/bus/usb
     ;;
        stop)
     echo -n "Stopping USB blaster"
     umount
     umount /proc/bus/usb
     ;;
        *)
     echo "Usage: ./21_2 {start|stop}"
     exit 1
     ;;
    esac
    exit 0
  3. Make the file executable.
  4. Complete your installation by setting up the programming hardware in Quartus II software. Details on this process can be found in Setting Up Programming Hardware in Quartus II software.
Updated 17 days ago
Version 2.0
No CommentsBe the first to comment