• 在Ubuntu 18.04下使用Vivado Jtag加载FPGA


    在Ubuntu 18.04下使用Vivado Jtag加载FPGA,发现找不到器件。

    Vivado Hardware Manager找不到器件的记录信息:

    connect_hw_server -allow_non_jtag
    INFO: [Labtools 27-2285] Connecting to hw_server url TCP:localhost:3121
    INFO: [Labtools 27-3415] Connecting to cs_server url TCP:localhost:3042
    INFO: [Labtools 27-3414] Connected to existing cs_server.
    disconnect_hw_server localhost:3121
    

    根据相关文档,收到执行命令,安装JTAG电缆驱动,再拔插JTAG电缆驱动,再在Vivado里,能找到FPGA器件。下面是安装记录。不同Vivado版本,目录可能不一样。

    $ cd /opt/Xilinx/Vivado/2021.2/data/xicom/cable_drivers/lin64/install_script/install_drivers/
    /opt/Xilinx/Vivado/2021.2/data/xicom/cable_drivers/lin64/install_script/install_drivers$ ls -l
    total 28
    -rw-r--r-- 3 hankf hankf 3797 10月 16 06:05 52-xilinx-digilent-usb.rules
    -rw-r--r-- 3 hankf hankf 3315 10月 16 06:05 52-xilinx-ftdi-usb.rules
    -rw-r--r-- 3 hankf hankf  435 10月 16 06:05 52-xilinx-pcusb.rules
    -rwxr-xr-x 3 hankf hankf 2639 10月 16 06:05 install_digilent.sh
    -rwxr-xr-x 3 hankf hankf 2229 10月 16 06:05 install_drivers
    -rwxr-xr-x 3 hankf hankf 2016 10月 16 06:05 setup_pcusb
    -rwxr-xr-x 3 hankf hankf 2100 10月 16 06:05 setup_xilinx_ftdi
    /opt/Xilinx/Vivado/2021.2/data/xicom/cable_drivers/lin64/install_script/install_drivers$ sudo ./install_drivers 
    [sudo] password for hankf: 
    INFO: Installing cable drivers.
    INFO: Script name = ./install_drivers
    INFO: HostName = hankf-Latitude-5580
    INFO: Current working dir = /opt/Xilinx/Vivado/2021.2/data/xicom/cable_drivers/lin64/install_script/install_drivers
    INFO: Kernel version = 5.4.0-96-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.
    

    Vivado Hardware Manager能找到器件的记录信息:

    connect_hw_server -allow_non_jtag
    INFO: [Labtools 27-2285] Connecting to hw_server url TCP:localhost:3121
    INFO: [Labtools 27-3415] Connecting to cs_server url TCP:localhost:3042
    INFO: [Labtools 27-3414] Connected to existing cs_server.
    open_hw_target
    INFO: [Labtoolstcl 44-466] Opening hw_target localhost:3121/xilinx_tcf/Xilinx/822115130076A
    open_hw_target: Time (s): cpu = 00:00:03 ; elapsed = 00:00:06 . Memory (MB): peak = 8638.762 ; gain = 803.000 ; free physical = 23864 ; free virtual = 28190
    current_hw_device [get_hw_devices xcvc1902_1]
    refresh_hw_device -update_hw_probes false [lindex [get_hw_devices xcvc1902_1] 0]
    INFO: [Xicom 50-303] Debug core communication connected via DPC JTAG
    INFO: [Xicom 50-241] Successfully set up debug cores (no debug hub address specified).
    INFO: [Labtools 27-3656] DDRMC_2 is not enabled.
    INFO: [Labtools 27-3656] DDRMC_3 is not enabled.
    INFO: [Labtools 27-3656] DDRMC_4 is not enabled.
    INFO: [Labtools 27-2302] Device xcvc1902 (JTAG device index = 1) is programmed with a design that has 4 DDRMC core(s).
    INFO: [Labtools 27-2302] Device xcvc1902 (JTAG device index = 1) is programmed with a design that has 1 IBERT core(s).
    INFO: [Labtools 27-2302] Device xcvc1902 (JTAG device index = 1) is programmed with a design that has 1 SysMon core(s).
    
  • 相关阅读:
    JQuery学习之语法
    sysbench
    fio——IO基准测试
    Python待分析的模块
    Taglist
    tcprstat
    SQL注入
    Nytro MegaRaid
    dstat
    Python之hashlib模块
  • 原文地址:https://www.cnblogs.com/hankfu/p/15883519.html
Copyright © 2020-2023  润新知