element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZUBoard ZU1CGboard JTAG Not Recognized in Vitis 2022.2
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 4 replies
  • Answers 1 answer
  • Subscribers 333 subscribers
  • Views 1780 views
  • Users 0 members are here
  • jtag
  • zu1cgboard
  • vitis
  • ftdi
Related

ZU1CGboard JTAG Not Recognized in Vitis 2022.2

greendino846
greendino846 over 1 year ago

Hi all,

I have a relatively untouched ZUBoard1cg and my goal is to program it via the USB/JTAG port. However, the device is not recognized as a hardware target in Vivado/Vitis.

I have a 15V 3A power supply, correct boot switch configuration. I am running Vitis/Vivado 2022.2 on Ubuntu 22.04 virtual box, with a Windows 11 host. I have a USB cord going into my windows PC, and USB passthrough into the Linux virtual box.

To verify that this was not a virtual box issue, I tested the serial output from the example program that shipped with the board.

When I boot from QSPI, I successfully got serial output on Tera Term (windows), and Minicom (Ubuntu), but surprisingly NOT Vitis Serial Terminal (Ubuntu). Similarly, when switching SW2 to boot from JTAG, I was able to connect via Tera Term/Minicom but not Vitis serial Terminal (as well as still not being able to see the board as a hardware target in Vivado and Vitis).

This suggested to me that I can communicate successfully with the board, but Vitis (and/or FTDI configuration) is the problem.

I read up on things a bit, and a first step was to verify Xilinx FTDI drivers:

https://support.xilinx.com/s/article/66440?language=en_US

and those appear installed.

Now, the next piece of information I found came from Xilinx documentation, which suggests that an EEPROM needs programmed for Xilinx to recognize FTDI devices:

https://docs.amd.com/r/en-US/ug908-vivado-programming-debugging/Programming-FTDI-Devices-for-Vivado-Hardware-Manager-Support

Which gave me the following questions.

1. Is programming the EEPROM on the FTDI really the necessary step for anyone programming via JTAG with the zuboard? Or am I missing something else that's causing JTAG to be unrecognizable in Vitis/Vivado? (I figure something like this EEPROM would be pre-configured. Or automatically accepted by Xilinx, the FT2232H seems like a standard FTDI IC)

2. If it is the required step, what serial number do I use in the "program_ftdi" command?

I did attempt to run the following in Vitis, from the documentation.

program_ftdi -write -ftdi FT2232H -serial 0ABC01 -vendor "Future Technology Devices International, Ltd" -board "zu1cgboard"

But it resulted in:

"ERROR: Must detect at least 1 device in order to program the eeprom."

So it's clear that I would need to perform this somehow in a terminal/Windows where the FTDI can be detected, if it is the step to making the board recognizable in Vitis. Does anyone have suggestion on whether this is the right direction to make the zu1cgboard JTAG functional? Or troubleshooting steps in the case programming the eeprom is unnecessary?

Thanks

  • Sign in to reply
  • Cancel
  • padudle
    0 padudle over 1 year ago

    It has been a while since I have used my ZuBoard but looking at the user's guide and schematics confirms my recollection that the FTDI chip on the zuboard is programmed at the factory and ready to go.  You should only have to reprogram it if something goes wrong and accidentally overwrite its program.  If that happens you have to get a special version of the FTDI programming file, probably from Avnet, to make it work as a Xilinx JTAG cable again.

    Also, I am still suspicious of the Ubuntu virtual machine.  The special JTAG cable drivers in Vivado really need access to hardware. Virtualization might work for a serial port but not for a JTAG debug cable.  I would throw a second SSD into your machine to boot Ubuntu natively and run Vivado.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • andycap
    0 andycap over 1 year ago in reply to padudle

    I use Ubuntu VMs for Vitas, works fine.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • andycap
    0 andycap over 1 year ago

    Is your user in the dialout group?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • greendino846
    0 greendino846 over 1 year ago

    Thanks to both for the sanity check. I believe the issue was with file permissions. Running the the following allowed the device to be connected to vitis serial terminal and allowed the device to be discovered in Vivado.  

    sudo chmod 666 /dev/ttyUSB1

    More info at:

    https://support.xilinx.com/s/question/0D52E00006lNCntSAG/how-to-connect-to-vitis-serial-terminal?language=en_US

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube