根据UG973说明(this option has been removed from the Linux installer beginning in Vivado 2015.4.),自从Vivado 2015.4版本开始就不自动安装cable下载线的驱动了,但是线的驱动还是留在的vivado安装后的文件里,执行如下命令即可安装:

cd /Xilinx/Vivado/2018.2/data/xicom/cable_drivers/lin64/install_script/install_drivers
sudo ./install_drivers

另外,Ubuntu版本是16.04.3,这点要注意,千万别18.04,目前根据官方手册指明还没支持该版本,跟petalinux一样的系统支持:

Operating Systems
Xilinx® supports the following operating systems on x86 and x86-64 processor
architectures.
Microsoft Windows Support
• Windows 7 SP1 Professional (64-bit), English/Japanese.
• Windows 10.0 Fall Creators update (version 1709), 10.0 Version 1803 (64-bit),
English/Japanese.
Linux Support
• Red Hat Enterprise Workstation/Server 7.2, 7.3, and 7.4 (64-bit)
• Red Hat Enterprise Workstation 6.6, 6.7, 6.8, and 6.9 (64-bit)
• SUSE Linux Enterprise 11.4 and 12.3 (64-bit)
• CentOS 7.2, 7.3, and 7.4 (64-bit)
• CentOS 6.7, 6.8, and 6.9 (64-bit)
• Ubuntu Linux 16.04.3 LTS (64-bit)

!!!注意:

安装电缆cable驱动之前,是点auto connect没任何反应,安装之后是点了会出现jsn-JTAG" may be locked by another hw_server类似的报错,也就是他报错说被另一个hw_server给锁定了,但是我们只启动一个vivado时也会报错,强制kill掉这个进程,再自动连接还是没用,但是在windows实体机下又可以连接成功

解决:

虚拟机的USB兼容性设置为USB3.0,因为我的下载线连接的是USB3.0,虚拟机默认是兼容USB2.0,所以在虚拟机关机时重新设置一下USB设置就成功了。

========================= ==============

卸载cable下载线驱动:执行如下命令

Run these commands as root:
rm -f /etc/udev/rules.d/52-xilinx-digilent-usb.rules
rm -f /etc/udev/rules.d/52-xilinx-ftdi-usb.rules
rm -f /etc/udev/rules.d/52-xilinx-pcusb.rules

参考文献-UG973

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐