Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Programming DE1-SoC FPGA only from Quartus Prime Lite Edition Ubuntu 16.04

  1. #11
    Join Date
    Dec 2008
    Posts
    149
    Rep Power
    1

    Default Re: Programming DE1-SoC FPGA only from Quartus Prime Lite Edition Ubuntu 16.04

    That's correct, "jtagconfig" is a part of Quartus.
    Your output means that it does not detect any USB blasters when you run as user jfrye. Next try to see if it works as root:

    Code:
    sudo  /home/jfrye/Quartus/quartus/bin/jtagconfig

  2. #12
    Join Date
    Feb 2018
    Posts
    15
    Rep Power
    1

    Default Re: Programming DE1-SoC FPGA only from Quartus Prime Lite Edition Ubuntu 16.04

    jfrye@jfrye-Inspiron-5547:~$ sudo /home/jfrye/Quartus/quartus/bin/jtagconfig
    [sudo] password for jfrye:
    No JTAG hardware available

    Still nothing

    Did some more investigating and saw this
    jfrye@jfrye-Inspiron-5547:~$ lsusb
    Bus 001 Device 005: ID 0bda:5754 Realtek Semiconductor Corp.
    Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
    Bus 001 Device 003: ID 8087:07dc Intel Corp.
    Bus 001 Device 009:ID 09fb:6810 Altera
    Bus 001 Device 002: ID 8087:8000 Intel Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    jfrye@jfrye-Inspiron-5547:~$ dmesg | tail
    [19384.983330] wlp2s0: authenticate with a0:ab:1b:75:f8:46
    [19384.985620] wlp2s0: send auth to a0:ab:1b:75:f8:46 (try 1/3)
    [19384.987823] wlp2s0: authenticated
    [19384.988216] wlp2s0: associate with a0:ab:1b:75:f8:46 (try 1/3)
    [19384.992448] wlp2s0: RX AssocResp from a0:ab:1b:75:f8:46 (capab=0x431 status=0 aid=2)
    [19385.003832] wlp2s0: associated
    [19385.003881] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
    [19411.895662] usb 1-1.3: new high-speed USB device number 9 using ehci-pci
    [19412.004477] usb 1-1.3: New USB device found, idVendor=09fb, idProduct=6810
    [19412.004481] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0


    That looks promising but I am not sure what exactly I have to do to make Quartus recognize the device is present to program it
    Last edited by jackfrye11; May 5th, 2018 at 10:51 AM.

  3. #13
    Join Date
    Dec 2008
    Posts
    149
    Rep Power
    1

    Default Re: Programming DE1-SoC FPGA only from Quartus Prime Lite Edition Ubuntu 16.04

    Then it's not a permission problem. I'm using Gentoo, but my USB blasters are identified by their name, e.g.

    Code:
    [  152.560929] usb 1-2: new high-speed USB device number 5 using ehci-pci
    [  152.757325] usb 1-2: New USB device found, idVendor=09fb, idProduct=6010
    [  152.757334] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [  152.757339] usb 1-2: Product: CV SoCKit
    [  152.757344] usb 1-2: Manufacturer: Altera

  4. #14
    Join Date
    Dec 2008
    Posts
    149
    Rep Power
    1

    Default Re: Programming DE1-SoC FPGA only from Quartus Prime Lite Edition Ubuntu 16.04

    Unless there was a stale jtagd process left over when you were running as user jfrye.
    To rule out this you could try

    Code:
    sudo killall -9 jtagd
    sudo /home/jfrye/Quartus/quartus/bin/jtagconfig
    If that does not detect anything it might be related to the FTDI driver. Perhaps somebody with a Ubuntu 16.04 system have some input...

  5. #15
    Join Date
    Feb 2018
    Posts
    15
    Rep Power
    1

    Default Re: Programming DE1-SoC FPGA only from Quartus Prime Lite Edition Ubuntu 16.04

    I have the answer. I will provide my files

    /etc/udev/rules.d/51-usbblaster.rules
    SUBSYSTEM=="usb",\
    ENV{DEVTYPE}=="usb_device",\
    ATTR{idVendor}=="09fb",\
    ATTR{idProduct}=="6810",\
    MODE="0666",\
    NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}",\
    RUN+="/bin/chmod 0666 %c"

    # USB-Blaster
    #BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666"
    #BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6002", MODE="0666"
    #BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6003", MODE="0666"

    # USB-Blaster II

    #BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6010", MODE="0666"
    #BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6810", MODE="0666"

    /etc/udev/rules.d/altera-usb-blaster.rules

    ATTR{idVendor}=="09fb", ATTR{idProduct}=="6001", MODE="666"


    I also copied pgm_parts.txt into the bin directory, which also has jtagd. I then ran jtagd. After that everything worked

  6. #16
    Join Date
    Dec 2008
    Posts
    149
    Rep Power
    1

    Default Re: Programming DE1-SoC FPGA only from Quartus Prime Lite Edition Ubuntu 16.04

    Glad you got it working. I would assume killing jtagd and running jtagconfig as root would have detected the USB blaster since all the udev rules are doing is changing the permissions to 666.

Similar Threads

  1. Modelsim-Altra @ Quartus Prime Lite Edition
    By briankim in forum General Altera Discussion
    Replies: 1
    Last Post: September 25th, 2017, 05:36 AM
  2. Quartus Prime Lite Edition Clock
    By gamzecabadag in forum General Altera Discussion
    Replies: 4
    Last Post: August 24th, 2017, 09:13 AM
  3. Problems with Quartus Prime 16.1 Lite Edition
    By nabilsolo in forum Quartus II and EDA Tools Discussion
    Replies: 13
    Last Post: February 27th, 2017, 03:59 PM
  4. (minor?) installation problem of Quartus Prime Lite in Ubuntu 16.04
    By GiuseppeScollo in forum General Altera Discussion
    Replies: 1
    Last Post: August 10th, 2016, 09:51 AM
  5. Problem with Quartus Prime 16.0 Lite Edition.
    By swarnava9 in forum General Altera Discussion
    Replies: 6
    Last Post: June 22nd, 2016, 08:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •