- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using SUSE 11.3 and trying to get the Quartus II programmer to recognize the USB Blaster.
Currently, the programmer does not recognize the USB Blaster under Hardware Setup. I have tried the following procedure without success with my board powered up and usbblaster connected to the board and the usb port on linux machine: 1. Added the following lines to the file "51-usbblaster.rules" file under /etc/udev/rules.d: BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf /proc/bus/usb/%%03i/%%03i$${K%%%%.*} $${K#*.}'", RUN+="/bin/chmod 0666 %c" BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf /proc/bus/usb/%%03i/%%03i$${K%%%%.*} $${K#*.}'", RUN+="/bin/chmod 0666 %c" BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf /proc/bus/usb/%%03i/%%03i$${K%%%%.*} $${K#*.}'", RUN+="/bin/chmod 0666 %c" 2. Added following line in /etc/init.d/boot.local /home/bin/altera/10.1/quartus/bin/jtagd 3. mkdir /etc/jtagd 4. cp /home/bin/altera/10.1/quartus/linux/pgm_parts.txt /etc/jtagd/jtagd.pgm_parts 5. touch /etc/jtagd/jtagd.conf 6. /home/bin/altera/10.1/quartus/bin/jtagconfig The result: No JTAG hardware available Any help would be appreciated.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following helped me to get the USB Blaster running on Ubuntu 10.04, it might help you too. Also there are quite a few threads about similar problems on various distributions here in the forum, so you might want to try a search.
I needed to remount the /dev/bus "filesystem" to /proc/bus as the Altera jtag tools seem to have the paths in /proc/bus/usb hardcoded. I put the following in my /etc/rc.local so it gets exectuted on every boot, don't know whether it works the same on SuSE, but there surely is an option to run commands on boot there too:
mount --bind /dev/bus /proc/bus
ln -s /sys/kernel/debug/usb/devices /proc/bus/usb/devices
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found a solution to my problem:
mkdir -p /dev/bus/usb/.usbfs mount -n -t usbfs usbfs /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 ln -sf /dev/bus/usb/.usbfs/devices /dev/bus/usb/devices mount --rbind /dev/bus/usb /proc/bus/usb- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks tklauser

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page