Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

USB Blaster Fedora 10

HI,

Here is what I did to get USB blaster to work and get the DE1 developkment board detected.

I used this Altera link

http://www.altera.com/support/software/dri...-usb_b-lnx.html (http://www.altera.com/support/software/drivers/dri-usb_b-lnx.html)

and did the following

1. Check if USB is installed (Fedora newer version have this mounted by default)# ls -l /proc/bus/usb/

total 0

dr-xr-xrwx 2 root root 0 2009-07-30 17:01 001

dr-xr-xrwx 2 root root 0 2009-07-30 17:01 002

-r-xr-xrwx 1 root root 0 2009-07-30 18:21 devices

=> two usb controllers (0,1) are in my machine.

If there is none, check this link

http://linuxusbguide.sourceforge.net/usb-g...1.0.9/x180.html (http://linuxusbguide.sourceforge.net/usb-guide-1.0.9/x180.html)

2. Check# ls -l /etc/hotplug.d/usb/

total 16

-rw-r--r-- 1 root root 4547 2007-06-26 23:54 gpsd.hotplug

-rw-r--r-- 1 root root 1162 2009-07-30 18:19 gpsd.usermap

Edit the .usermap file and add the lines as specified on Altera's link (Driver Setup on RedHat Linux Enterprise 4 and Below# 1)

3. Create a file /etc/hotplug.d/usb/usbblaster and do as in# 2 on http://www.altera.com/support/software/dri...-usb_b-lnx.html (http://www.altera.com/support/software/drivers/dri-usb_b-lnx.html)

4. Change permissions

chmod +x /etc/hotplug.d/usb/usbblaster

chmod -R 557 /proc/bus/usb

3. Plugin the usb for the dev board and run # jtagconfig

1) USB-Blaster [USB 2-1.6]

020B30DD EP2C15/20

Confirm this by running this command as normal user in another terminal.

If ok, please run Quartus -> Programmer to see the device in there too.

Please add your experiences for any variations in your linux kernel/version.

I saw the directory /etc/hotplug.d instead of the expected /etc/hotplug in Fedora 10.

Btw, the kernel I have is

uname -a

Linux smart1.workhorse.com 2.6.27.25-170.2.72.fc10.i686.PAE# 1 SMP Sun Jun 21 18:51:33 EDT 2009 i686 athlon i386 GNU/Linux

Thanks

No RepliesBe the first to reply