cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
2,464 Views
Registered: ‎04-17-2018

Program FPGA failed (ZedBoard, Vivado 2017.3 on Ubuntu)

I'm following the tutorials from the Zynq Book, but I'm getting an error when trying to program the FPGA from the SDK. The error message says:

 

"Program FPGA failed

 

Reason:

Could not find FPGA device on the board for connection 'Local'."

 

I'm using a Diligent ZedBoard and Vivado 2017.3 on Ubuntu 16.04.1 in a VMware Fusion VM on Mac.

 

I followed the same tutorial on a Windows 7 VM and it works properly, so I suspect it's a Linux related issue. Any suggestions?

0 Kudos
9 Replies
Highlighted
Mentor
Mentor
2,451 Views
Registered: ‎02-24-2014

Open the hardware manager and try to make a JTAG connection to the board.   If this doesn't work, you probably have a driver issue in connecting to the card.   Remember, on Linux boxes, installing the JTAG drivers is NOT automatic when vivado is installed,  it's a separate manual step.  

 

For Linux you need to follow the procedure outlined in the readme.txt 

 

<Vivado installation dir>/data/xicom/cable_drivers/lin64/install_script/install_drivers/readme.txt

 

Although in 2017.4, I didn't find a readme file, just some shell scripts to be executed via sudo..   With Vivado 2017.4 it's just:

 

sudo install_digilent.sh 

Don't forget to close a thread when possible by accepting a post as a solution.
Highlighted
Visitor
Visitor
2,435 Views
Registered: ‎04-17-2018

Hi 

 

 

0 Kudos
Highlighted
Moderator
Moderator
2,428 Views
Registered: ‎06-05-2013

Is there any other instance of vivado which is trying to access the board? If so please try to close all the vivado HW manager and re-initiate the connection.
Thanks.
-------------------------------------------------------------------------------------
For more information please refer to configuration resources https://forums.xilinx.com/t5/FPGA-Configuration/Configuration-Resources/m-p/753763/highlight/true#M5891
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
2,414 Views
Registered: ‎04-17-2018

Hi harshit, there shouldn’t be any other instance open. However, if I check with ps there are two processes called vivado among the running processes. When I close Vivado both of them shutdown. Is that normal?
0 Kudos
Highlighted
Visitor
Visitor
2,388 Views
Registered: ‎10-12-2017

Hi,

 

Are you trying to program the FPGA through Ubuntu virtual machine? I had same problem and couldn't resolve it. So, I had to install ubuntu as dual boot system.

 

Kind Reagrds,

Mithun

0 Kudos
Highlighted
Visitor
Visitor
2,380 Views
Registered: ‎04-17-2018

Hi Mithun, yes, I have Ubuntu in a virtual machine. Uhm, what a bummer. At least it works under a Windows VM.

0 Kudos
Highlighted
Mentor
Mentor
2,372 Views
Registered: ‎02-24-2014

I've used a JTAG cable before with a Ubuntu virtual machine..   First of all, you need to make sure that there are no drivers for the JTAG cable in the Host OS.    Remove them.     Then make sure the virtual machine (I'm assuming you are using Virtual Box) has the USB extension package installed.   Then after plugging in the JTAG cable,  go to the Devices menu and connect the JTAG USB device to the virtual machine.    Then the VM guest OS (Ubuntu) should see the cable.

 

Confirm this with "lsusb" on the Ubuntu command line.  

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos
Highlighted
Visitor
Visitor
2,363 Views
Registered: ‎04-17-2018

jmcclusk, I'm not really sure what the JTAG cable should look like in Linux. Physically, I just connect a regular USB cable to connector J17 on the ZedBoard. I'm using VMware Fusion, not VirtualBox, anyway the USB device is connected to the guest OS.

 

The ZedBoard shows up as follows with "lsusb:"

 

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

0 Kudos
Highlighted
Mentor
Mentor
2,356 Views
Registered: ‎02-24-2014

This is encouraging that your Guest OS can see the usb connection.    My only suggestion now is to reboot the guest OS, connect the USB to it, and try it again.

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos