Ubuntu 18.04 安装 Vivado 2018.2,默认不会安装 Cable Driver,导致 JTAG 不能正确识别芯片,要手动安装。
Driver 在 Vivado 安装目录下,例如,我将 Vivado 安装在 /op/ 下,则 Driver 路径为,
/opt/Xilinx/SDK/2018.2/data/xicom/cable_drivers/lin64/install_script/install_drivers
如下直接执行安装,重新拔插 cable 即可正常识别,
$ sudo ./install_drivers INFO: Installing cable drivers. INFO: Script name = ./install_drivers INFO: HostName = Rescuer INFO: Current working dir = /opt/install_script/install_drivers INFO: Kernel version = 5.3.0-41-generic. INFO: Arch = x86_64. Successfully installed Digilent Cable Drivers --File /etc/udev/rules.d/52-xilinx-ftdi-usb.rules does not exist. --File version of /etc/udev/rules.d/52-xilinx-ftdi-usb.rules = 0000. --Updating rules file. --File /etc/udev/rules.d/52-xilinx-pcusb.rules does not exist. --File version of /etc/udev/rules.d/52-xilinx-pcusb.rules = 0000. --Updating rules file. INFO: Digilent Return code = 0 INFO: Xilinx Return code = 0 INFO: Xilinx FTDI Return code = 0 INFO: Return code = 0 INFO: Driver installation successful. CRITICAL WARNING: Cable(s) on the system must be unplugged then plugged back in order for the driver scripts to update the cables.
参考 Xilinx 官方AR (比较陈旧,适当参考即可) https://www.xilinx.com/support/answers/54381.html
完。