element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Can't make JTAG connect on Zedboard CTT with Vivado 2014.2
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 176 subscribers
  • Views 126 views
  • Users 0 members are here
Related

Can't make JTAG connect on Zedboard CTT with Vivado 2014.2

Former Member
Former Member over 9 years ago

Can someone help me on this? I'm a JTAG newbie...

I'm working through the CTT for the Zedboard, but I'm having trouble connecting the JTAG-over-USB to upload the baremetal "Hello World" app.

Everything works fine until I try to run the app on the hardware from the SDK.  The hw_server shows up as TCP:127.0.0.1:3121, but attempting to connect to it says "Checking the status of the hardware server", but nothing else ever happens.

Opening an xmd console in the SDK causes the program to become unresponsive.

Running xmd from a shell prompt, every "connect " command I can compose just reads "cable not connected"

JP7-JP11 all set to ground.

Using Ubuntu Trusty 64-bit :
UART shows up as /dev/ttyACM0
JTAG shows up as /dev/ttyUSB0
I have read/write access to both (via dialout group)

dmesg when the board is powered up reads:

[ 9385.724105] usb 3-2: new full-speed USB device number 8 using xhci_hcd
[ 9385.798803] usb 3-2: New USB device found, idVendor=04b4, idProduct=0008
[ 9385.798810] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[ 9385.798814] usb 3-2: Product: Cypress-USB2UART-Ver1.0G
[ 9385.798817] usb 3-2: Manufacturer: 2012 Cypress Semiconductor
[ 9385.798820] usb 3-2: SerialNumber: 836801551411
[ 9385.810949] cdc_acm 3-2:1.0: This device cannot do calls on its own. It is not a modem.
[ 9385.810978] cdc_acm 3-2:1.0: ttyACM0: USB ACM device
[ 9386.016218] usb 2-1.3: new high-speed USB device number 11 using ehci-pci
[ 9386.113599] usb 2-1.3: New USB device found, idVendor=0403, idProduct=6014
[ 9386.113606] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 9386.113610] usb 2-1.3: Product: Digilent USB Device
[ 9386.113613] usb 2-1.3: Manufacturer: Digilent
[ 9386.113616] usb 2-1.3: SerialNumber: 210248570949
[ 9386.115948] ftdi_sio 2-1.3:1.0: FTDI USB Serial Device converter detected
[ 9386.115994] usb 2-1.3: Detected FT232H
[ 9386.115998] usb 2-1.3: Number of endpoints 2
[ 9386.116031] usb 2-1.3: Endpoint 1 MaxPacketSize 512
[ 9386.116034] usb 2-1.3: Endpoint 2 MaxPacketSize 512
[ 9386.116037] usb 2-1.3: Setting MaxPacketSize 512
[ 9386.116442] usb 2-1.3: FTDI USB Serial Device converter now attached to ttyUSB0

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Have you looked at Sven Andersson's Zynq Design from scratch blog? He uses Ubuntu as his platform as well so there might be some good advice on how to setup the JTAG interface: http://svenand.blogdrive.com/archive/160.html#.U7QbafldU40

     

    There are some changes in how Vivado 2014.2 handles setting up the JTAG interface (the 'Configure JTAG Settings' option in the SDK has been decprecated and replaced by using the 'Target Connections' view). You should make sure that you have the JTAG 'Auto Detect' as well. We will be posting a Vivado 2014.2 version of the CTT in the near future as well.

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Thanks Gary (and Sven).  It's working now... In my case it was Sven's advise plus one other thing, which I'll record here for anyone who happens to hit the same problem.

    i) Install the Digilent runtime/utility/drivers from the Digilent website, as explained in part 13 of Sven's blog. I installed the ones that shipped with Vivado, but the Digilent ones were the ones that worked with Ubuntu.
    ii) Make sure that the Xilinx SDK hasn't inherited any http_proxy or https_proxy environment variables, or that the proxy is configured enough to pass the requests through cleanly, as this interferes with the SDK's attempt to talk to the hardware server.  I was using ntlmaps which was forwarding everything to a remote Windows Network proxy, at which point the xmd<->hw_server packets were just being dropped.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify 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 © 2023 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