1、CentOS版本信息
$ cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
2、SDSoC下载地址:
3、安装
4、驱动安装
4.1、install_drivers
$ cd ~/Xilinx/Vivado/2019.1/data/xicom/cable_drivers/lin64/install_script/install_drivers/
$ ls
52-xilinx-digilent-usb.rules install_digilent.sh setup_xilinx_ftdi
52-xilinx-ftdi-usb.rules install_drivers
52-xilinx-pcusb.rules setup_pcusb
$ sudo ./install_drivers
INFO: Installing cable drivers.
INFO: Script name = ./install_drivers
INFO: HostName = localhost.localdomain
INFO: Current working dir = /home/ac/Xilinx/Vivado/2019.1/data/xicom/cable_drivers/lin64/install_script/install_drivers
INFO: Kernel version = 3.10.0-957.el7.x86_64.
INFO: Arch = x86_64.
USB udev file exists and will not be updated.
--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 exists.
--File /etc/udev/rules.d/52-xilinx-pcusb.rules version = 0002
--File 52-xilinx-pcusb.rules exists.
--File 52-xilinx-pcusb.rules version = 0002
--File 52-xilinx-pcusb.rules is already updated.
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.
$ ls /etc/udev/rules.d
52-digilent-usb.rules 99-vmware-scsi-udev.rules
52-xilinx-digilent-usb.rules 52-xilinx-pcusb.rules
52-xilinx-ftdi-usb.rules 70-persistent-ipoib.rules
$ sudo udevadm control --reload-rules
4.2、安装digilent.adept.runtime-2.19.2.x86_64.rpm和digilent.adept.utilities-2.2.1.x86_64.rpm
下载地址:https://reference.digilentinc.com/reference/software/adept/start
$ sudo dmesg --clear
$ dmesg
[ 2274.644948] usb 1-1: new high-speed USB device number 7 using ehci-pci
[ 2274.950294] usb 1-1: New USB device found, idVendor=0403, idProduct=6014
[ 2274.950299] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2274.950301] usb 1-1: Product: Digilent USB Device
[ 2274.950303] usb 1-1: Manufacturer: Digilent
[ 2274.950304] usb 1-1: SerialNumber: 210512180081
[ 2275.089932] usbcore: registered new interface driver ftdi_sio
[ 2275.089960] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2275.089997] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
[ 2275.090056] usb 1-1: Detected FT232H
[ 2275.091996] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 2275.950610] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 2275.950631] ftdi_sio 1-1:1.0: device disconnected
$ dadutil enum
Found 1 device(s)
Device: JtagHs1
Product Name: Digilent JTAG-HS1
User Name: JtagHs1
Serial Number: 210512180081
$ djtgcfg enum
Found 1 device(s)
Device: JtagHs1
Product Name: Digilent JTAG-HS1
User Name: JtagHs1
Serial Number: 210512180081
$ djtgcfg init -d JtagHs1
Initializing scan chain...
Found Device ID: 13722093
Found Device ID: 4ba00477
Found 2 device(s):
Device 0: ARM_DAP
Device 1: XC7Z010
4.3、启动vivado, Open Hardware Manager, 点击Auto Connect
提示以下错误:
[Labtoolstcl 44-494] There is no active target available for server at localhost. Targets(s) ", jsn-JTAG-HS1-210512180081" may be locked by another hw_server.
解决办法:
关机并更改虚拟机USB兼容性设置为USB 3.0
重新开机