Forum Discussion

AutoSpiderZ's avatar
AutoSpiderZ
Icon for New Contributor rankNew Contributor
5 years ago

USB Blaster issues with Ubuntu 20.01

Good Afternoon and Thank You for helping resolve this issue.

I have tried everything, scouring the internet for days to use my Altera USB Blaster on Ubuntu 20. It works with the drivers on my windows machine but I do all of my development on my Ubuntu laptop. I have set the permissions, but I get an error message from dmesg|tail when I first plug in my device to my PC. Also, installed Quartus II, and jtagd --debug shows a message can't claim interface. jtagconfig says that the chain is already in use. I took screenshots and have them on my developer blog here

https://codeandbuildit.com/2021/01/27/fpga-buck-boost-01-27-2021-programming-fpga/

Any help is greatly appreciated. Kind Regards, Mike

10 Replies

    • AutoSpiderZ's avatar
      AutoSpiderZ
      Icon for New Contributor rankNew Contributor

      Yes, and the permissions seem to be ok. The error seems to indicate the device is in use, but I don't think there is any process running that may be causing this ??? I've been working on my windows station, but this is not conducive to a more rapid development environment. I am looking forward to trying boundary scans as well, but, would like to do all of this from my more modern laptop with Ubuntu 20

  • YuanLi_S_Intel's avatar
    YuanLi_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    Can you try the following?

    • kill the jtagd process and run it as root.


    Thank You


    • AutoSpiderZ's avatar
      AutoSpiderZ
      Icon for New Contributor rankNew Contributor

      I have tried this to, but the errors are the same.

      • AutoSpiderZ's avatar
        AutoSpiderZ
        Icon for New Contributor rankNew Contributor

        I think the error message in dmesg|tail when I first attach the device is telling me it is not setup properly.

        [ 2074.649770] usb 1-3: new full-speed USB device number 2 using xhci_hcd
        [ 2074.826315] usb 1-3: New USB device found, idVendor=09fb, idProduct=6001, bcdDevice= 4.00
        [ 2074.826319] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
        [ 2074.826321] usb 1-3: Product: USB-Blaster
        [ 2074.826323] usb 1-3: Manufacturer: Altera
        [ 2074.826325] usb 1-3: SerialNumber: FYDK2020
        [ 2079.941816] usb 1-3: can't set config #1, error -110

  • YuanLi_S_Intel's avatar
    YuanLi_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    I did some searching. For this error, can you try to reinstall the driver and then remove all the unecesary USB to prevent it from being using?

    [ 2079.941816] usb 1-3: can't set config #1, error -110


    Thank You


  • YuanLi_S_Intel's avatar
    YuanLi_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


  • zener's avatar
    zener
    Icon for Occasional Contributor rankOccasional Contributor

    The photo of the USB blaster does not look like an Altera USB blaster even though it has Altera printed on it (in something which does not look like the font I've seen on Altera products).

    It might be that this device requires some other device driver, library or patch.