cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
IdoNB
Visitor
Visitor
1,585 Views
Registered: ‎04-01-2020

ALVEO u250 USB JTAG - No hardware targets exist

Jump to solution

Hi,

I've recently  installed an Alveo u250 card that seems to be running fine.
I'm running on the following OS:
Ubuntu - VERSION="18.04.4 LTS (Bionic Beaver)", Kernel=  4.15.0-91-generic

I've installed the XRT, deployment and development target platforms and successfully flashed the card's firmware.

I’ve connected the micro USB and verified that the device is recognized by the OS (see below) but I have no targets in the HW manager under the localhost.

Am I missing anything? any additional drivers I might need to install?

 

USB-DEVICE:
T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 11 Spd=480 MxCh= 0
Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0403 ProdID=6011 Rev=08.00
S: Manufacturer=Xilinx
S: Product=A-U250-A64G
S: SerialNumber=2132049BF006
C: #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
I: If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
Bus 001 Device 011: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC

Thanks,
Ido

0 Kudos
1 Solution

Accepted Solutions
IdoNB
Visitor
Visitor
1,437 Views
Registered: ‎04-01-2020

Hi,

Issue solved by reinstalling the cable drivers after unplugging the micro USB.

Thanks,
Ido

View solution in original post

7 Replies
mcertosi
Xilinx Employee
Xilinx Employee
1,557 Views
Registered: ‎10-19-2015

Hi @IdoNB 

The card might have come programmed from the factory with a golden image. This golden image has a PCIe core and a path to the QSPI for flashing the full platform. 

Can you detect the card using the LSPCI tool? 

$lspci -vd 10ee: 

Can you see a blue light on the card? 

Have you ever used the hardware manager successfully on the computer in question?

Do you have FTDI drivers installed on the machine connected to the card via JTAG? 

Regards,

M

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
IdoNB
Visitor
Visitor
1,542 Views
Registered: ‎04-01-2020

Hi @mcertosi , thanks for your replay!

The card did came with a golden image and I've updated it's firmware as instructed in the getting started guide (ug1301). it is now running:

Card [0000:01:00.0]
    Card type:		u250
    Flash type:		SPI
    Flashable partition running on FPGA:
        xilinx_u250_xdma_201830_2,[ID=0x5d14fbe6],[SC=4.2.0]
    Flashable partitions installed in system:	
        xilinx_u250_xdma_201830_2,[ID=0x5d14fbe6],[SC=4.2.0]

 

Yes, I can detect the card using lspci:

01:00.0 Processing accelerators: Xilinx Corporation Device 5004
	Subsystem: Xilinx Corporation Device 000e
	Flags: bus master, fast devsel, latency 0
	Memory at 62000000 (64-bit, prefetchable) [size=32M]
	Memory at 64000000 (64-bit, prefetchable) [size=128K]
	Capabilities: [40] Power Management version 3
	Capabilities: [60] MSI-X: Enable+ Count=33 Masked-
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [1c0] #19
	Capabilities: [400] Access Control Services
	Capabilities: [410] #15
	Kernel driver in use: xclmgmt
	Kernel modules: xclmgmt

01:00.1 Processing accelerators: Xilinx Corporation Device 5005
	Subsystem: Xilinx Corporation Device 000e
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 60000000 (64-bit, prefetchable) [size=32M]
	Memory at 64020000 (64-bit, prefetchable) [size=64K]
	Memory at 50000000 (64-bit, prefetchable) [size=256M]
	Capabilities: [40] Power Management version 3
	Capabilities: [60] MSI-X: Enable+ Count=33 Masked-
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [400] Access Control Services
	Capabilities: [410] #15
	Kernel driver in use: xocl
	Kernel modules: xocl

 

Unfortunately I'm not near the PC at the moment so I'll be able to check for the blue light only tomorrow (will update). 

This is the first time I'm trying to use the HW manager on this copmuter.

I have installed the FTDI drivers (but I'm not sure how to verify that it was properly installed).

Thanks,
Ido

0 Kudos
mcertosi
Xilinx Employee
Xilinx Employee
1,526 Views
Registered: ‎10-19-2015

Hi @IdoNB,

EDIT - also try a reboot if you just installed the FTDI drivers. 

Looks like the card is working. That's good. Some of the older shells disabled the JTAG port if there is a shell programmed. The number 2018_3 in the shell name indicates it is old, even though it is the most recent version of the shell available to you. I recall one revision of the shells had a power on condition too, where the JTAG cable needed to be plugged in before power was applied to the card. You could test this with a cold reboot. Since this is old functionality though, it could be more reliable to update the shell. 

 

If you just want to see the card in hardware manager, you can use the virtual JTAG cable over PCIe if you need to debug. UG1281 would instruct you to use sdx_debug_hw. I like to do it manually with the following commands 

6. Start the xvc server (source xilinx tools) 
	a. $ xvc_pcie -d /dev/xvc_pub.mxxxx //replace .mxxxx the value specific to your machine in /dev/
		                            //you should be able to tab complete
7. In a new terminal - Start the hardware server (source xilinx tools)
$ hw_server -e "set auto-open-servers xilinx-xvc:localhost:10200" -e "set always-open-jtag 1"
In a 3rd terminal source Vivado tools, and open the Vivado gui. 

once that is connected, you can open vivado hardware manager from whichever computer is controlling your terminals. 

You shouldn't reprogram the FPGA using xvc though, because it will kill the PCIe link and take the server down. This will cause unpredictable behavior.  

Regards,

M

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Tags (3)
IdoNB
Visitor
Visitor
1,438 Views
Registered: ‎04-01-2020

Hi,

Issue solved by reinstalling the cable drivers after unplugging the micro USB.

Thanks,
Ido

View solution in original post

ddesigner_821
Visitor
Visitor
1,251 Views
Registered: ‎05-07-2020

Hi @IdoNB and @mcertosi,

 

I am having the same issue and this discussion has been really helpful.

My setup is very similar to the one described in this thread. To summarize:

Ubuntu 18.04

I can detect the card with lspci, see the blue light on the card, and I have never used the hardware manager on this machine before.

So my suspicion is that I do not have the right driver installed. Could you please clarify what drivers you are referring to? My understanding is  FTDI usb drivers, but I believe those come per-installed on ubuntu 18.04. Am I missing something here?

If it helps here is my usb-devices output:

T:  Bus=03 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0403 ProdID=6011 Rev=08.00
S:  Manufacturer=Xilinx
S:  Product=A-U250-A64G
S:  SerialNumber=
C:  #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio

Thanks a lot in advance,

0 Kudos
IdoNB
Visitor
Visitor
1,231 Views
Registered: ‎04-01-2020

Hi @ddesigner_821,

Try running the "install_drivers" script, make sure the cable is unplugged first.

You can find the script in:
/tools/Xilinx/Vivado/2019.2/data/xicom/cable_drivers/lin64/install_script/install_drivers/ 

 

 

ddesigner_821
Visitor
Visitor
1,188 Views
Registered: ‎05-07-2020
Thanks a lot. Resolved.
0 Kudos