News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Arrow USB Programmer and Linux Mint

Started by ag, February 02, 2018, 10:57:52 AM

Previous topic - Next topic

ag

I am trying to setup a Arrow USB Blaster on Linux Mint 18 but this was not successful. As described in the readme I copied the file libjtag_hw_arrow.so into the directory quartus/linux64 of the Intel PSG installation directory and the file 51-usbblaster.rules into /etc/udev/rules.d.

In the file /etc/modprobe.d/blacklist.conf I added:
blacklist ftdi_sio
blacklist usbserial


I also made
sudo useradd -G plugdev USERNAME

When the USB Programmer is plugged in, dmesg shows
[  128.095195] usb 3-5: new high-speed USB device number 7 using xhci_hcd
[  128.227194] usb 3-5: New USB device found, idVendor=0403, idProduct=6010
[  128.227199] usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  128.227203] usb 3-5: Product: Arrow USB Blaster
[  128.227205] usb 3-5: Manufacturer: Arrow
[  128.227207] usb 3-5: SerialNumber: AR1TCNM0


but the Programmer is not listed in Quartus (16.1.2)


Does anyone have an idea, why the programmer cannot be used?


davorin

Is "jtagd" daemon running as root?

me@debian:~$ ps ax | grep jtagd
10339 ?        Sl     0:00 jtagd
11377 pts/1    S+     0:00 grep jtagd


Had the same problem as you this morning until I saw your "blacklist" comment (o;

Now it detects without problems on Debian 9:

me@debian:~$ /opt/intelFPGA/17.1/quartus/bin/jtagconfig -n
1) Arrow-USB-Blaster [USB0]
  020F30DD   10CL025(Y|Z)/EP3C25/EP4CE22

2) DE-SoC [1-6.4.3]
  4BA00477   SOCVHPS
  02D020DD   5CSEBA6(.|ES)/5CSEMA6/..



ag

Thank you! When running jtagd as root, the programmer works  :)

cpg

A little more information that was useful to me when I was fixing this.

Editing the provided 51-usbblaster.rules to contain
SUBSYSTEM=="usb",\
ENV{DEVTYPE}=="usb_device",\
ATTR{idVendor}=="0403",\
ATTR{idProduct}=="6010",\
MODE="0666",\
NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}",\
RUN+="/bin/chmod 0666 %c"


Replacing the stock Arrow-USB-Blaster line with the above allows jtagd to run as root without starting Quartus as root.

With the other readme instructions plus the blacklist instructions, this allows me to see the programmer.

I am using Quartus Prime Lite 18.0, on (X)Ubuntu 16.04.

Code adapted from http://www.fpga-dev.com/altera-usb-blaster-with-ubuntu/