element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Using Xilinx Tools Forum Error Scanning JTAG Chain
  • Forums
  • 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 12 replies
  • Subscribers 46 subscribers
  • Views 800 views
  • Users 0 members are here
Related

Error Scanning JTAG Chain

Former Member
Former Member over 9 years ago

If I connect the Zedboard via JTAG I get the following error in XMD:

XMD% connect arm hw
Error:No devices detected while scanning the JTAG chain
ERROR: Failed to Scan JTAG Chain
        Unknown Error

I followed the instructions in:

ZedBoard Configuration and Booting Guide V 1.1 Aug 2012

setting all the MIO jumpers to ground.

I have also tried a Xlinx PLatform Cable and get the same error.

I am running Xilinx 14.3 (Windows 7/64) which works with an ML507 board. The board's JTAG device is installed (Driver: FTDI v2.8.24.0) and this is detected by Adept as device "Zed":

===== Digilent Adept  Rev 2.2.0 =====
Loading board information...
Warning:  Could not find specific board information
Initializing Scan Chain...
Default information loaded.
Initialization Complete.
It then says "No Devices identified"

This would suggest both JTAG programmers and software are working, but the problem is on the board with the JTAG chain. Please help. Thanks.

  • Reply
  • Cancel
  • Cancel
Parents
  • zedhed
    0 zedhed over 9 years ago

    Hi bkeitch,

    After looking at this a little bit closer, I think I understand what is going on here.  The ZedBoard JTAG chain was designed to allow the FMC JTAG chain to be inserted into the scan chain which would allow for things like Boundary Scan Test or In-Circuit Programming of FMC devices.  When an FMC is attached to ZedBoard, the Carrier (in this case ZedBoard) FMC present signal FMC-PRSNT gets pulled down by the module.  This in turn enables the buffers in IC1 to connect the ZedBoard JTAG signals to their FMX-x equivalents.  Likewise, IC2 is a selector IC which connects the TDI-USB signal to FMC-TDO instead of the default TDO-FPGA signal.  

    So unless the chain gets completed on the FMC by connecting additional IC JTAG TAPs, when an FMC is connected, there is no longer a solid path for TDO-FPGA to reach the ZedBoard J15 connector OR the USB-JTAG circuit.  This would explain why you see interference with the Platform Cable when connecting your FMC-XM105 card.

    On some of the FMC cards, there is a series resistor before FMC-PRSNT reaches GND which would give one option for disabling FMC-PRSNT and restoring the chain.  However, that is not the case with the FMC-XM105 since FMC-PRSNT is tied directly to GND. 

    Looking closer, it does appear that the FMC JTAG signals reach the J5 connector on FMC-XM105.  I do not have an FMC-XM105 to try this on here, but it seems like you should be able to put a jumper across pins 6 and 7 on J5 and restore a signal path to the Carrier board to complete the JTAG chain.

    That might not be the ultimate solution, but I don’t think that you would damage anything by trying this either.  If it does solve the problem, could you please let us know?

     

    Regards,

    -Kevin

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
Reply
  • zedhed
    0 zedhed over 9 years ago

    Hi bkeitch,

    After looking at this a little bit closer, I think I understand what is going on here.  The ZedBoard JTAG chain was designed to allow the FMC JTAG chain to be inserted into the scan chain which would allow for things like Boundary Scan Test or In-Circuit Programming of FMC devices.  When an FMC is attached to ZedBoard, the Carrier (in this case ZedBoard) FMC present signal FMC-PRSNT gets pulled down by the module.  This in turn enables the buffers in IC1 to connect the ZedBoard JTAG signals to their FMX-x equivalents.  Likewise, IC2 is a selector IC which connects the TDI-USB signal to FMC-TDO instead of the default TDO-FPGA signal.  

    So unless the chain gets completed on the FMC by connecting additional IC JTAG TAPs, when an FMC is connected, there is no longer a solid path for TDO-FPGA to reach the ZedBoard J15 connector OR the USB-JTAG circuit.  This would explain why you see interference with the Platform Cable when connecting your FMC-XM105 card.

    On some of the FMC cards, there is a series resistor before FMC-PRSNT reaches GND which would give one option for disabling FMC-PRSNT and restoring the chain.  However, that is not the case with the FMC-XM105 since FMC-PRSNT is tied directly to GND. 

    Looking closer, it does appear that the FMC JTAG signals reach the J5 connector on FMC-XM105.  I do not have an FMC-XM105 to try this on here, but it seems like you should be able to put a jumper across pins 6 and 7 on J5 and restore a signal path to the Carrier board to complete the JTAG chain.

    That might not be the ultimate solution, but I don’t think that you would damage anything by trying this either.  If it does solve the problem, could you please let us know?

     

    Regards,

    -Kevin

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 9 years ago in reply to zedhed

    installing a jumper on J5 between pins 6 and 7 fixes the JTAG

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

    Kevin,

    Thanks so much for explaining that and taking the time to look into it. Yes, the jumped does work. I think this will be useful for everyone using the FMC-105 board with the Zedboard.

    Ben

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


    On Debug card J5 ( TDO ,TDI) make it short from sdk its working.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • ravi_1989
    0 ravi_1989 over 4 years ago in reply to Former Member

    Hello Mukesh

    I want to know that how to short (TDO and TDI) from SDK.

     

    Please help me out.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube