Forum Discussion

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

Installing Quartus II on Ubuntu 14.0 LTS and USB Blaster problem

Hi everybody,

I have installed Quartus II 15.0 (tried 13.1 as well) on Ubuntu 14 LTS and had no problem with the installation at all. However, the USB Blaster and jtag toolchain is not recognized in Ubuntu. Basically, I can compile my VHDL code, but I can not load it into my DE1-SoC Cyclone V. I have tried few steps which are available on few websites. They didn't work at all. Has anybody installed Quartus II on Ubuntu 14 LTS and loaded any code into FPGA chip? if so, Please tell me how did you fixed the USB Blaster and jtag server problem.

Second question?

I want to use the full licensed DS-5 IDE ALTERA Edition. It is free for those who have purchased any development board from ALTERA, because they can use SERIAL NUMBER that comes with the board to activate the DS-5. I didn't know this, and I throw out ALL the papers inside the box. is there any way to get the serial number off somewhere else?

thank you in advance

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi, are you able to access USBBlaster with root privilege?

    is present altera blaster if you type lsusb on terminal?

    if yes to both question you can setup USB setting port permission, see here:

    http://rocketboards.org/foswiki/view/documentation/usingusbblasterunderlinux

    or from Altera instruction page here:

    https://www.altera.com/support/support-resources/download/drivers/dri-index.html

    I am using Linux Mint 17.2 that is a derivative from Ubuntu, it work fine and I am able to compile and load my VHDL to DE1SOC, MAX10, MAX V MAX II.

    Best regards

    Robert
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I had similar problems with the Quartus Programmer on Fedora; I never tried it on Ubuntu, but I guess it'll work there as well: http://fpgacpu.ca/fpga/usb-blaster-debian.html (http://fpgacpu.ca/fpga/usb-blaster-debian.html).

    In a nutshell:

    • create the file "/etc/udev/rules.d/51-altera-usb-blaster.rules" (as root)

    • edit the file (as root), set the contents to "ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="666""

    It might also be required to set up the JTAG server:

    • create a directory for the JTAG server: "mkdir /etc/jtagd"

    • copy and rename the JTAG server config file: "cp /opt/altera/13.0sp1/linux/quartus/linux/pgm_parts.txt /etc/jtagd/jtagd.pgm_part"

    I'm afraid I cannot answer your second question, though.

    Best regards,

    GooGooCluster
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Many thanks for your replies. I think I did this before, but it didn't work. however, I might did something wrong, so I ll try it again.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    ~$ sudo lsusb

    [sudo] password for roosbeh:

    Bus 004 Device 002: ID 8087:8000 Intel Corp.

    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Bus 003 Device 002: ID 8087:8008 Intel Corp.

    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

    Bus 001 Device 004: ID 0bc2:ab21 Seagate RSS LLC

    Bus 001 Device 003: ID 413c:2107 Dell Computer Corp.

    Bus 001 Device 002: ID 046d:c077 Logitech, Inc.

    Bus 001 Device 005: ID 09fb:6810 Altera <<----- it is there

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    but what do you mean by access the USB-Blaster with root privilege ? I mean where is it in my computer?

    thank you both
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi, I intend to start Quartus as root instead of user, so do this:

    open shortcut from desktop and copy launch command

    then open a terminal type sudo and paste command, for my system quartus is located on /opt/altera your can be different:

    sudo /opt/altera/15.0/quartus/bin/quartus --64bit

    this launch quartus with root privilege so try open programmer and see if it work, if it is ok check rule otherwise tell us what happen on programmer pane and we can try fix it.

    lsusb don't require root privilege and must work also for simple user.

    Regards

    Roberto