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 & Tria 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Mini-ITX Hardware Design PJTAG header & ARM debug problems
  • 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 Not Answered
  • Replies 6 replies
  • Subscribers 337 subscribers
  • Views 2175 views
  • Users 0 members are here
Related

PJTAG header & ARM debug problems

Former Member
Former Member over 9 years ago

Hi,

We are using MITX board with Linux kernel from Xilinx. Facing issues with linux kernel driver for USB, we are trying to debug it with Segger J-Link base with PJTAG header on the board.

I set-up DS-5 tools from ARM to work with J-link base. So it show s up as J-link USB in the connections section. When I try to connect to the ARM processor 0 or 1, the error I get is:

Could not measure total IR len. TDO is constant high.

The tool is reporting the correct information as I have verified the voltage on the header pins (5,7,9 & 13 for TDO etc..) to be about that.I have tried independent and cascaded modes but no help. Is there any way I can debug the problem?

Thanks,
Michael

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

    Hello Michael,

     

    There is a reference design showing how to use the ARM DSTREAM on the Mini-ITX Reference Design page:

     

    http://zedboard.org/support/design/2056/17

     

    As detailed in the design you do need to program the PL first to connect the PS PJTAG signals to the PJTAG header via EMIO pins if you have not done this step yet.

     

    -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

    Hello Gary,

    Thanks very much for the quick response. Very helpful. I didn't know about the PJTAG header connectivity to PL.

    Best,
    Michael

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

    I added in the recommended PJTAG to EMIO  interface to our bit-stream according the reference design. But the issue still remains..is it because Xilinx Z7100 is not supported by J-Link base? Do we need to get the other expensive tools ? Is U-link Pro  recommended?

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

    Hi Michael,

    First of all, let me state that we cannot provide support for something that have have not tested ourselves and therefore we will not recommend the J-Link or U-Link Pro solutions for your application as we have only tested using DSTREAM.

    That being said, I am not aware of anything that would technically prevent either of those devices from connecting to the Z7100 device on Mini-ITX.

    Keep in mind that the Zynq PS also requires settings to redirect (multiplex) the PJTAG connections to EMIO ports for them to connect to your PL design.  This implies that an FSBL with this PS configuration be used to first configure the MIO (EMIO is implied with this configuration) prior to loading the bitstream.  You can do this from Xilinx SDK also by configuring the PS (ps7_init) and loading PL bitstream from a debug configuration.

    Since you did not mention whether or not you have tried the reference design that Gary pointed out, I would suggest that you do this first.  That reference design provides the FSBL and the bistream within a BOOT.BIN file that can be used to boot your Mini-ITX board with a minimal PS and PL configuration needed to redirect the PJTAG interface to through the PL and provide access to the DAP out to the physical header.  If that example BOOT.BIN file enables your J-Link to connect, then it is simply a matter of identifying the differences between the reference design and the design that you are currently working on in order to add the hooks needed to connect to the DAP.  If the example BOOT.BIN file does not enable your J-Link to connect, then it is more likely a target configuration issue with ARM DS-5 which is addressed differently.

    For the DS-5 target configuration, take a look at the following ARM guide for bringing up new platform configurations:

    https://community.arm.com/groups/tools/blog/2013/11/01/new-platform-bring-up-with-ds-5

    In either case, please let us know about the outcome and please be detailed in what you have tried.  Since you are trying something that likely has not been tried before, your knowledge and experience in this will be very helpful to this community.

    Regards,

    -Kevin

    • 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 zedhed

    Hi Kevin,

    It is understandable that support is not provided because replicating the issues is harder. Please bear with me as I am new to using FPGA tools & as well as hardware.

    Anyway, I was successful in utilizing the reference design as is with provided BOOT.bin and getting the J-link basic to recognize the ARM DAP via the PJTAG header. I did not go past that point in terms of actual debugging process after hardware is recognized.

    My next step was to add this PJTAG feature to our current hardware design. That's where I have issues currently. Our design has a top level module which instantiates a wrapper module, which in turn instantiates the module where PJTAG connectivity to processing_system is port mapped etc. While PJTAG_TDI, TMS & TCK (inputs) show up in the routed design, PJTAG_TDO (output) does not. Synthesis spews warning such as:
    Net PJTAG_TDO in module wrapper does not have driver.
    Implementation report says/; "Could not create 'DRIVE' constraint because cell PJTAG_OBUFT_TRUE.jtag_obuft_inst is not directly connected to top level port.
    So looks like TDO is getting trimmed somewhere in the process causing the problems, though I have verified that all of connectivity in top module, wrapper etc. is intact. Some pointers in this direction will be very helpful.

    Thank you!
    Michael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • maxmackey
    0 maxmackey over 7 years ago

    Content of the debugging is done for the removal of the factors for the individuals. All the issues of the https://www.beezmap.com/profile/KathleenDFlores have been linked for the uploading of the pages. The route is donning for the approval for the actors for the bugging and its types.

    • 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 © 2026 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