用于 Vivado 硬件管理器支持的 FTDI 器件编程 - 2023.2 简体中文

Vivado Design Suite 用户指南: 编程和调试 (UG908)

Document ID
UG908
Release Date
2023-10-19
Version
2023.2 简体中文
对于在 AMD JTAG 软件工具(如 XSDB 或 AMD Vivado™ Hardware Manger)中识别为 USB-to-JTAG 接口的 FTDI 器件,必须对 FTDI 器件上的 EEPROM 进行编程。要进行 FTDI 编程,请使用 Vivado 安装中包含的 program_ftdi 实用工具来完成该操作。完成编程后,在 Vivado 中会将此 FTDI 器件识别为有效的编程线缆。
注释: 如需了解板上实现的详细信息(包括 FTDI 连接方式),请参阅 XTP610 中提供的 AMD VCK190 板级原理图:https://china.xilinx.com/products/boards-and-kits/vck190.html。请确保 FTDI 连接(包括 ADBUS0-7)与 VCK190 实现相匹配。
注释: program_ftdi 实用工具将对要用作为 USB-to-JTAG 接口的 Channel A(通道 A)进行配置。如果器件具有多个通道(以 FT4232H 为例),那么这些通道会配置为默认 RS232 UART 模式。如果不希望使用默认 RS232 UART 模式,那么可以使用 FTDI 提供的 FT_PROG EEPROM 实用工具来为任意未使用的通道更改端口配置,这样不会影响 AMD JTAG 软件工具中识别 FTDI 器件的能力。

program_ftdi 实用工具支持以下 FTDI 工具:

  • FT232H
  • FT2232H
  • FT4232H
命令参考如下所示。

****** program_ftdi v2023.1 
**** Build date : Apr 16 2023-14:45:22 
** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved. 
** Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.




Short Description:
Write/Read to FTDI EEPROM for Xilinx JTAG Tools support


Syntax:
program_ftdi {-write -ftdi=<ftdi_part> -serial=<serial_number> [options] | 
-write -filein=<cfg_filein> |
-read [-fileout=<cfg_fileout>] |
-erase} [-help] 


options: 
Name Description 
------------------------------------------------------------------------------------------------------
-f, -fdti Specify the ftdi device to be programmed <FT232H | FT2232H | FT4232H> 
-s, -serial Serial number to be written into the EEPROM
[-v, --vendor] Vendor information
[-b, --board] Name of the board/product being programmed
[-d, -desc, -description] A short description of the board
-fi, -filein Input file with all fields to be written
[-fo, -fileout] File to which the FDI EEPROM should be read back
[-lh, -longhelp] Get long help description for program_ftdi util 


Examples:
program_ftdi -write -ftdi FT2232H -serial 0ABC01 -vendor "my vendor co" -board "my board" -desc "my product desc" 
program_ftdi -write -filein <path_to_config_file>
program_ftdi -read
program_ftdi -read -fileout <path_to_config_file>
program_ftdi -erase
注释: 请务必在编程前验证并更新先前示例中的“Vendor”(供应商)、“Board”(开发板)、“Description”(描述)和“Serial Number”(序列号)字段。