Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Maximum JTAG clock rate specifications?

Other Parts Discussed in Thread: TMS320VC5506

How do I find out the maximum JTAG clock rate supported by a given C55x DSP? I am working with the TMS320VC5506, but I do not see any specifications for the maximum clock rate supported on the JTAG pins. I understand that some JTAG emulators have a legacy 10.368 MHz limit, but other JTAG emulators can use 35 MHz or faster. I also understand that the JTAG connection determines the target speed on the fly, but I would like to determine what my chip is rated for based on the data sheet. Where do I look?

  • My C5506 JTAG seems to be running with TCK at 12 MHz, which happens to match the 12 MHz crystal on my board. Would it be safe to assume that the JTAG interface on the chip runs at the native crystal clock rate? I seem to recall reading that somewhere, but I can't find it.

    Then again, the logic analyzer that I have on hand at the work bench only samples at 24 MHz, so I can't really tell for sure.

    Besides tracking down more complete documentation of the electrical and timing characteristics of the JTAG pins, which seem to be missing from the TMS320VC5506 data sheet, I am also interested in determining whether the XDS-560 would operate any faster with the C5506 than the XDS-510.

  • Brian,

    The JTAG speed is board-dependent which is why some of our drivers determine the maximum speed at run-time.  Note that not all drivers do this.  I believe the Spectrum Digital XDS510USB (the original, not the "Plus" version now available) emulators simply run at 12 MHz since those were USB 1.1 which is also 12 MHz...  Many other drivers dynamically determine the maximum clock speed which it can use.  The maximum speed will depend on trace lengths, signal integrity, number of devices in the scan chain, etc.

    JTAG clock speed is not the only consideration when it comes to debugging speed.  There are other factors that can increase the speed when it comes to single stepping, etc.  In general a 560 emulator will be faster than a 510 emulator.  If you spend all day stepping through code then it's probably worth the money!

    Brad

  • Thanks. I'm starting to get a more complete picture. I had read on the processors Wiki that ARM has a non-compliant JTAG method for dynamic speed determination, called Adaptive Clocking, but I didn't know whether "non-compliant" meant that all other complaint JTAG systems have fixed speeds, or just that they use different methods to dynamically determine the maximum speed.

    On my board, none of the chips besides the C5506 have boundary scan capabilities, so TCK is looped back and the wiring is direct from the C5506 to the 14-pin JTAG connector.

    I appreciate the comments on considerations besides the clock speed, but I still wonder why these pins do not have the usual electrical specifications and timing diagrams that are typically shown in the data sheet.  Have I missed something?

  • Brian,

    I have been tracking down the max TCK frequency for the C5506. I will get you the answer as soon as I find the number.

    Best Regards,

    Peter Chung

     

  • My question is mostly answered, but I want to leave this topic unanswered until we can find specifications for the max TCK frequency of the C5506.  That would be a definitive answer.

    Thanks, Peter.

  • Brian,

    How do you plan to use this information?  That is, let's say the answer is 20 MHz -- now what?  How about if it's 15 MHz?  I'm just concerned you're going to burn a lot of TI time for something that won't make any difference.  (Sorry, I don't mean to be rude.)

    Brad

  • That's a fair question. I was assuming that the information was already known because that aspect of the chip had been tested, and that I was effectively just requesting that it be documented somewhere. But if it hasn't been tested at all, then there's certainly no need to create an entirely new test just to report this value.

    Perhaps I am approaching the question from the wrong point of view. I assume that such parameters are designed, tested and confirmed as a regular matter of course when designing such a chip. For some reason, the idea of a pin which takes a clock signal, but for which the manufacturer provides absolutely no idea of the range of accepted clock speed seems like a strange situation. Again, I assumed that the value is known and it's simply a matter of copying some numbers from an internal document to a public document. In other words, I've been assuming that this is a simple oversight. On the other hand, since the JTAG port is a debugging feature and not a primary product feature, I could see how the same level of exhaustive testing and reporting might be skipped - and if that's the case then I certainly am not asking for a change.

    P.S. In my spare time, I am working with a small team who is designing a JTAG bench tool. They are primarily focused on supporting Xilinx parts. Obviously, I would like to contribute to their design such that the C5000 is supported, and particularly the C5506. The JTAG tool would be designed with a programmable clock speed, from 1 MHz to perhaps more than 20 MHz, depending upon what is supported. As with any interfacing design question, I expect to be able to compare the supported clock speed range of the two devices and select the highest supported speed that both have in common. It's a similar situation to interfacing a Texas Instruments serial A/D to the C5000: Each chip has documentation of the highest possible clock speeds, along with the available options for altering the clock speed, and the engineer presumably selects the fastest common clock that is supported by both chips.

  • Another point: Is it perhaps standard practice when the JTAG tool supports multiple speeds to simply increase the clock until communication fails, and then back off?  I seem to recall reading about one of the TI JTAG tools which would determine the clock speed during boundary scan by reacting to the chips on a particular test board.  I'm new to JTAG, unfortunately, with the C5506 being my first design, so if some of these questions are answered by standard practices in the JTAG world, then I apologize for being the "newbie."

  • Hi Brian,

    Thanks for clarification.

    It's not a matter of just making some already known number public (at least to the best of my knowledge).  If Peter can easily find the info then I imagine he will post it.  Personally I'm not counting on it.

    Let's see if I can give you a little more insight.

    Brian Willoughby said:
    Another point: Is it perhaps standard practice when the JTAG tool supports multiple speeds to simply increase the clock until communication fails, and then back off?

    Yes, though this feature is not available on all emulators.  For example, the Spectrum Digital XDS510USB operates at a fixed frequency (13 MHz by default).  Other emulators such as the Blackhawk USB510 have a few options available.  Here's a screenshot from the target setup in CCS 4.1.2:

    The default "automatic with faster limit" does essentially what you describe.  It will run patterns through the device to try and establish the fastest reliable connection speed.  I believe the fastest this can possibly go up to is 35 MHz.  I think a speed in the 20 MHz range is probably typical, but it will be influenced by board design, etc.

    I hope that helps clarify a bit more.

    Best regards,

    Brad

     

  • Thanks a lot, Brad, for privinding great supports on this subject in the forum.

    Brian,

    I have had a hard time to locate the informaiton for the C5506. We ( PE team and I ) have tried different locations but no luck so far. We will keep digging up files for the information.

    FYI, 16MHz is the max JTAG clock speed for the C5505 device (60nsec), so I expect that the C5506 would be in the same range.

    Best Regards,

    Peter Chung