Jump to content
  • 0

Can't detect HS2 programmer on Ubuntu?


d.signer

Question

I can't seem to detect my digilent HS2 programmer on Ubuntu.

I have two different Linux hosts, one with Ubuntu (20.04.5 LTS) and one with Gentoo.

On both of these I start the same binary (NFS mounted) hw_server version 2020.2 as user root.

From a third host I launch Vivado 2020.2 using "vivado -mode tcl" and type:

set host hostname # either Ubuntu or Gentoo hostname

open_hw_manager
connect_hw_server -url TCP:$host:3121
get_hw_targets *
disconnect_hw_server
close_hw_manager

When using the ubuntu host I get "No matching targets found". On the gentoo host I get "gentoohostname:3121/xilinx_tcf/Digilent/210249A854FC"

I can see the device on the ubuntu host using lsusb:

Bus 001 Device 013: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC

And when I plug it in in the kernel log:

[2539448.089177] usb 1-1.3: new high-speed USB device number 13 using ehci-pci
[2539448.202616] usb 1-1.3: New USB device found, idVendor=0403, idProduct=6014, bcdDevice= 9.00
[2539448.202620] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[2539448.202622] usb 1-1.3: Product: Digilent USB Device
[2539448.202624] usb 1-1.3: Manufacturer: Digilent
[2539448.202626] usb 1-1.3: SerialNumber: 210249A854FC
[2539448.205199] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[2539448.205240] usb 1-1.3: Detected FT232H
[2539448.206322] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0

Which is the same (except the bus numbers) as on the Gentoo host.

I can't see why it's not detected on Ubuntu as I have not installed any special drivers as far as I know on the Gentoo host. Since I'm running as root I should not have any permission issues. I've run the vivado install_driver script but it only seem to set up the udev rules to make sure all users have permissions to access the device.

Any ideas how to resolve this?
 

Edited by d.signer
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @d.signer,

The dmesg/kernel output looks correct to me.

I know Linux systems do need an extra driver installed (as per this part of our Guide here or this Xilinx Answer Record here), though half of the process is simply user permissions, so I'm not certain why it would not be detected on the Ubuntu system but is detected on the Gentoo host.

Normally when I have seen this sort of error it is due to a different instance of the Vivado hardware manager already having control of the device. I'm not certain what the process is called in Linux, but in Windows this would be called as hw_server.exe. I don't think that is the issue you are experiencing, but it probably won't hurt to check.

If you download the Adept Utilities (https://digilent.com/reference/software/adept/start) and run either "dadutil enum" or "djtgcfg enum", does the JTAG HS2 show up in your system?

Thanks,
JColvin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...