• 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 » Digital Signal Processors (DSP) » C6000 Single Core DSP » C64x Single Core DSP Forum » Troubles to connect to the board
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

Troubles to connect to the board

This question is not answered
Robert Smith
Posted by Robert Smith
on Mar 21 2012 04:55 AM
Intellectual610 points

I work with DM642 based custom board and CCS 3.3 with Blackhawk USB560 JTAG emulator. I always have troubles to connect to the board.

If I turn board on and try to connect to it, the CCS always(!!!) displays the following error message:

Error connecting to the target:
Error 0x80000240/-1156
Fatal Error during: Initialization, OCS,
Invalid data was scanned by the emulation controller.
Verify the board setup to make sure the scan chain is properly
defined.
If the setup is correct, then RESET EMULATOR.  This will disconnect each
target from the emulator.  The targets should then be power cycled
or hard reset followed by an emureset and reconnect to each target.


Sequence ID: 0
Error Code: -1156
Error Class: 0x80000240

Board Name: Blackhawk USB560bp - DM640,1,2,3 Emulator
Cpu Name: TMS320C6400_0

Abort:        Close Code Composer Studio.
Retry:        Try to connect to the target again.
Cancel:        Remain disconnected from the target
Diagnostic:    Run diagnostic utility.

In order to connect to board I have to reset board and quickly(!!!) reconnect. Only after these manipulations I successfully connect to board.

Can anyone explain this strange behavior?

Thank

DM642 CCS v3.3
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • RandyP
    Posted by RandyP
    on Mar 22 2012 22:00 PM
    Guru60360 points

    Robert,

    It would be easy to blame the old version of CCS you are using, but do make sure you have the latest patch release of it. If my memory is right, there was an SR12 or SR13 service release. And make sure your BlackHawk drivers are up-to-date for the version of CCS 3.3/SRnn that you have.

    The "no boot" boot mode is the most reliable one for use with emulation, and the host boot modes can have problems with emulation depending on what the state of the host boot process is. This is my first guess for what the problem is, meaning the solution would be to select "no boot" or EMIF boot. But you might already be doing that.

    Regards,
    RandyP

    Search for answers, Ask a question, click  Verify  when complete, Help others, Learn more.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Robert Smith
    Posted by Robert Smith
    on Jul 23 2012 10:32 AM
    Intellectual610 points

    Thank you for your reply. I worked on another project for 4 months, now I am returning to my old problems.

    Could you explain, what do you mean by "no boot" boot mode and EMIF boot?

    One more thing I notice in relation to this JTAG connectivity problem. If I erase executable image from flash (Flash mapped via EMIF), then I don't have described JTAG connectivity problem. So the problem happens only when I try to connect to board via JTAG while DSP loaded and executes image from flash.

    Could you comment

    Thanks

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • RandyP
    Posted by RandyP
    on Jul 23 2012 10:58 AM
    Guru60360 points

    Robert,

    Please see the datasheet and find Section 2.4 Bootmodes. There is a bullet for "EMIF boot" and a bullet for "no boot".

    You did not say in your first post which boot mode you were using. The recommendation to use "no boot" was made to help you prove to yourself whether the problem is with JTAG connectivity or not. JTAG connectivity is simply a symptom of another problem in most cases.

    Your experiment with erasing the executable image from flash was a good one. It has the same effect as above, and proves that the problem is not JTAG connectivity but something wrong with the contents of your executable image.

    Specifically, did you erase the entire contents of the flash, or did you leave the 1KB portion that is initially copied by the internal bootloader?

    A common method to debug this type of problem is to replace the executable code (not the 1KB secondary bootloader) with a small test program as simple as a B $ instruction followed by 7 NOPs. If you can get CCS control after booting with that code, then your secondary bootloader is working okay and your problem is in the executable code; if you cannot get CCS control in this case, then you will need to look at the 1KB secondary bootloader code.

    For more advice on boot debug, please go to the TI Wiki Pages and search for "Debugging Boot Issues" (quotes or not, okay).

    Regards,
    RandyP

    Search for answers, Ask a question, click  Verify  when complete, Help others, Learn more.

    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