• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Microcontrollers » Hercules™ Safety Microcontrollers » Hercules™ Safety Microcontrollers Forum » Error connecting to TMS570 HDK using BH560v2
Share
Hercules™ Safety Microcontrollers
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS

Error connecting to TMS570 HDK using BH560v2

Error connecting to TMS570 HDK using BH560v2

This question is answered
bert lenaerts
Posted by bert lenaerts
on Aug 14 2012 05:16 AM
Prodigy60 points

I try to connect our new blackhawk xds560v2 STM emulator to TI's TMS570 development board. I connected to this board before using the on-board xds100 emulator. With the new configuration however, I get the following error message:

Error connecting to the target: (Error -234 @ 0x0) The instruction scan-path cannot circulate bits, it may be broken. An attempt to scan the JTAG instruction registers has failed. The target's JTAG instruction path appears to be broken with a stuck-at-ones or stuck-at-zero fault. (Emulation package 5.0.791.0)

With the emulator, some config and diagnostic tools are supplied. If I try a JTAG path scan with the "BH560v2 config utility", it always works the first time after powercycling the development board. All the times after that, the same test will fail. I browsed through several threads here on the forum, and I already tried following suggestions:

- update the emulator firmware

- update the emulator drivers (through code composer)

- reduce the JTAG clock (down to 0.5 MHz)

- set the acces port designator to 0x02000100

None of this seems to work. I am a bit out of ideas now, and I would like to ask if any of you would have some further suggestions?

thanks already,

Bert

tms570 JTAG bh560v2 blackhawk xds560v2
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • bert lenaerts
    Posted by bert lenaerts
    on Aug 17 2012 06:49 AM
    Prodigy60 points

    In the meanwhile I performed some more tests, as suggested by the support desk of blackhawk, with following results:

    - In CCS, setting the option "TCLK looped-back with user specified limit" has a positive effect, but still produces following error message:  

    Error connecting to the target:
    (Error -2062 @ 0x0)
    Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
    (Emulation package 5.0.791.0)

    - Our newly developed board, also containing a TM570LS3137, behaves exactly the same under these tests. Actually, it is for testing this board that we bought the emulator for.

    - I tried the same setup (PC, emulator, software) on another target, a TMS320F28335 from the C2000 series, and this works well. The tests in Blackhawk's config utility succeed time after time.

    I am getting the impression here that the new TMS570 series are not yet fully supported by either driver software or programmer firmware. Does anybody else had a similar issue? Or is there somebody who successfully connected an external emulator to the TMS570 HDK, and if so, which programmer was it?


    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Christian Herget
    Posted by Christian Herget
    on Aug 20 2012 05:56 AM
    Intellectual1500 points

    Bert,

    I connected several external emulators to the HDK and they all worked: SD XDS510, SD XDS560v2 STM, BH XDS560M

    Unfortunately I don't have a BH XDS560v2. I guess you found and followed this post: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/161988/597503.aspx#597503

    The only issue I know so far is that 12MHz TCLK is not working, TCLK has to be limited to 6MHz.

    Best Regards,

    Christian

    ~~~ If a post answers your question, please mark it with the Verify Answer button. ~~~

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • bert lenaerts
    Posted by bert lenaerts
    on Aug 20 2012 07:40 AM
    Prodigy60 points

    Hi Christian,

    thanks for your reply. I indeed found and followed former post.

    There is one important detail that I did not mention in my previous posts: the "test connection" in CCS has always been successful (within certain TCLK limits), as opposed to what one might expect from similar tests in the blackhawk config utility. 

    When you say that SD XDS510, SD XDS560v2 STM and BH XDS560M all worked, do you mean then that you actually tried to start a debug session, or did you only push the "test connection" button?

    Which version of CCS are you using? I run CCS5.2.0, with updated Blackhawk drivers.

    Unfortunately, I do not have any other emulator to try with, but according to Blackhawk, and also to the integrity tests in CCS, this one should be working fine.

    regards,

    Bert

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Christian Herget
    Posted by Christian Herget
    on Aug 20 2012 08:14 AM
    Intellectual1500 points

    I currently using SD XDS510 USB Plus and SD XDS560v2 STM with CCS 5.2.1 and currently I don't have any Blackhawk drivers installed.

    For my tests with the BH XDS560M I used CCS 5.1.

    Can you please try to connect to the IcePick and DAP:

    • View the Target Configurations files in CCS: View --> Target Configurations
    • Than navigate to your current Target Configuration right-click it and choose: "Launch Selected Configuration"
    • The CCS Debug view should appear.
    • Perform a right-click in the upper left Debug window and choose: "View all cores"
    • Now you should see IcePick, DAP and Cortex-R4F
    • By right-clicking the IcePick you can choose "Connect Target" for just this debug module.
    • If this worked you can perform the same for the DAP and your JTAG connection should be fine.

    There is also this demo video how to use the IcePick, but this is for CCS 4.x and the handling is a little bit different.

    Best Regards,

    Christian

    ~~~ If a post answers your question, please mark it with the Verify Answer button. ~~~

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • bert lenaerts
    Posted by bert lenaerts
    on Aug 21 2012 02:03 AM
    Prodigy60 points

    We have a breakthrough: the programmer + target are working correctly on my collegue's computer. Since he runs the latest CCS5.2.1, I updated my version as well. Unfortunately, this doesn't seem to do the trick for me. The problem persists.

    Christian, when repeating the procedure you explain above, I end up with the familiar error (scan path cannot circulate bits) when trying to connect with IcePick.

    Bert

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • bert lenaerts
    Posted by bert lenaerts
    on Aug 21 2012 05:07 AM
    Verified Answer
    Verified by bert lenaerts
    Prodigy60 points

    Ok, one final update: starting a new project in my newly installed CCS and then trying to debug, fails the first time, but works after a retry. A slower TCK doesn't seem to remedy the occasional failures, but still I'm happy that at least I can start working on our new board now.

    Setting the core's "acces port designator" to 0x02000100 remains a necessary measure by the way. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Christian Herget
    Posted by Christian Herget
    on Aug 21 2012 05:54 AM
    Intellectual1500 points

    Good to hear, that this now works for you.

    Best Regards,
    Christian

    ~~~ If a post answers your question, please mark it with the Verify Answer button. ~~~

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use