Texas Instruments
  • Samples Cart - Add Samples Samples & Purchase Cart
  • |
  • Contact Us
  • |
  • TI Worldwide: United States
  • |
  • my.TI Login
  • Products
  • Applications
  • Design Support
  • Sample & Buy

  • All Searches
TI Home » TI E2E Community » Support Forums » ARMĀ® & DSP Microprocessors » C6000 Single Core DSP » C64x Single Core DSP Forum » "Failed to retrieve the Wait in Reset Mode" error message from ccs 3.3
  • Join
  • Sign In with my.TI Login

TI E2E™ Community

  • Home
  • Support Forums
  • Videos
  • Blogs
  • Groups
  • More ...
  • Go
  • Advanced Search
Share
Details
Rate This
  • 10 Replies
  • 3 Subscribers
  • 4778 Views
  • Postedover 3 years ago
Options
  • Subscribe via RSS
Tags
  • -
  • #pragma
  • "anti-aliasing filter" Nyquist
  • "CLK module" TSK_sleep "GLB_Module" Timer Clock CLKIn Frequency
  • .OUT
  • 3
  • 3730
  • 5-6k interface
  • 6211
  • 6415
  • 6416
  • 6416 flash
  • 6418
  • 6424
  • 6424 64x Ethernet EMAC interrupt delay
  • 6424 cche
  • 6424 CSL
  • 6424 EDMA3
  • 6437
  • 6437 dsp_fir_gen
  • 6437 sin math
  • 6455
  • 6455 EMIF RATE
  • 6455 PCI master throughtput
  • 6455 srio
Forum - Title

"Failed to retrieve the Wait in Reset Mode" error message from ccs 3.3

C6000 Single Core DSP

C6000 Single Core DSP

Welcome to the C6000 Single Core DSP Section of the TI E2E Support Community. Ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers. To post a question, click on the forum tab then "New Post".

  • Get this RSS feed
  • Home
  • Announcements
  • Forums
New Post

"Failed to retrieve the Wait in Reset Mode" error message from ccs 3.3

This question is not answered
Quince Jackson
Posted by Quince Jackson
on May 11, 2009 2:55 PM
Prodigy60 points

I am getting the error message below when trying to connect to a TMS320C6455 via JTAG using CCS v3.3.  I am using a Blackhawk USB560 JTAG Emulator.

Has anyone ever seen this error message before and if so what was the cause?   The JTAG was initially working for a couple of days and then I started seeing this error.  Intermittent at first then a consistent failure.   Voltage levels are correct and I can probe the vias for the JTAG signals on the bottom side of the board and they look good. I am using a BGA package.  Any insight would be greatly appreciated.

 

"Failed to retrieve the Wait in Reset Mode"

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 May 11, 2009 4:16 PM
    Mastermind40420 points

    I will look around, but I think the "Wait in Reset" mode is for the C28x family so this may be improperly selected somewhere in either your CCSetup configuration for the BH or your CCS default settings. Which BlackHawk model do you have: USB560bp (bus powered), USB560m (one LED), USB560m (two LEDS)?

    An easy thing to try is to bring everything up like this:

    1. Close CCS.
    2. Power off the board, disconnect the BH USB cable, and remove the power from the BH (if you have that).
    3. Reapply power to the BH, connect the USB cable, then power on the board.
    4. Run the BHreset_USB560*.bat in a folder like C:\CCStudio_v3.3\blackhawk\Utility\BHProbe.2 . If it reports errors, we will need to dig further there, but it will probably just do a good reset and report no errors.
    5. Open CCS, Debug->Reset emulator, then Debug->Connect (or Alt-C).

    This should be past the point where you were getting the error before. If you get the error, post back with where in this process the error comes up.

    In Tools->Customize / Debug Properties, you would want to have "Connect to the target at startup" unchecked while debugging a problem like this; re-check it later if you want after everything is working again. If there are connection problems, it could also be helpful to change the name of OnTargetConnect() to xOnTargetConnect() in your default GEL file just to prevent anything extra from running until you know what the problem is.

    Please let us know if this gets you any farther, or where the problem hits and where the message is displayed.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Quince Jackson
    Posted by Quince Jackson
    on May 11, 2009 5:42 PM
    Prodigy60 points
    error_message.pdf

    I performed steps 1 through 5 and had  no reported errors.  See the message below.  My attempt to connect failed again with the same failure message.  I changed the name of the OnTargetConnect() and I even commented it out and still no change. 

    In my system I have 4 DSPs in a chain and the last two DSPs are failing to connect.  I have no issues with the first two.  I have attached a pdf of my ccs screen and the error message I am getting. .I first get the "Failed to retrieve the Wait in Reset Mode"  and then the message in the pdf file.

    ================================================================

    C:\CCStudio_v3.3\Blackhawk\Utility\BHProbe.2>call BHprobe_USB560m.bat
    Results in file: log\BHprobe_USB560m.log
    bin\XDSProbe.exe -v -F BH560USBm.out -p0x0 -r -o log\BHprobe_USB560m.log...

    SUCCESS: Command reported no errors.
    Results in file: log\BHprobe_USB560m.log
    bin\XDSProbe.exe -v -F BH560USBm.out -p0x0 -i -o log\BHprobe_USB560m.log...

    SUCCESS: Command reported no errors.
    Results in file: log\BHprobe_USB560m.log
    bin\XDSProbe.exe -v -f bin\bh-noscantest.cfg -F BH560USBm.out -p0x0 -i -o log\BHprobe_USB560m.log...

    SUCCESS: Command reported no errors.
    Results in file: log\BHprobe_USB560m.log
    bin\XDSProbe.exe -v -F BH560USBm.out -p0x0 -g -o log\BHprobe_USB560m.log...

    SUCCESS: Command reported no errors.
    Press any key to continue . . .

    =====================================================================================

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Quince Jackson
    Posted by Quince Jackson
    on May 11, 2009 6:28 PM
    Prodigy60 points

    I forgot to mention that I am using the USB560M with two LEDs.

    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 May 12, 2009 12:31 AM
    Mastermind40420 points

    Quince Jackson

    when trying to connect to a TMS320C6455

    Connecting to four C6455s is different that the first posting. Please post your .ccs file or email it to me privately. If you have not exported your configuration file yet, in CCSetup go to File->Export and give it a nice name like BH560m_C6455x4.ccs.

    Quince Jackson

    I performed steps 1 through 5 and had  no reported errors.  See the message below.  My attempt to connect failed again with the same failure message.  I changed the name of the OnTargetConnect() and I even commented it out and still no change. 

    In step 4, the batch file was BHreset_USB560m.bat, but BHprobe_USB560m.bat does that plus more. Please post your log file from that BHprobe run.

    Step 5 included connecting which seems to be where you are getting your errors but that is still not totally isolated. In PDM, please make sure Options->Connect System on Startup is unchecked so things do not happen before you intend for them to. And in your GEL file, make sure the Startup function is also commented out or renamed along with OnTargetConnect(). Now, let's expand the steps to go through to

    1. Close PDM.
    2. Power off the board, disconnect the BH USB cable, and remove the power from the BH.
    3. Reapply power to the BH, connect the USB cable, then power on the board.
    4. Run the BHreset_USB560m.bat in the folder C:\CCStudio_v3.3\blackhawk\Utility\BHProbe.2 .
    5. Open PDM.
    6. Double-click C6400PLUS_0 to open a CCS window.
    7. In that CCS window, click Debug->Reset emulator.
    8. Now do the Debug->Connect (or Alt-C). Note any results in output windows at the bottom, or any error messages.
    9. Close that CCS window.
    10. Repeat steps 6-9 for each C6455 one-at-a-time, closing CCS (not PDM) after each has connected.

    Steps 2-4 are sometimes necessary when things start going really bad. Once we get it working, they may not be necessary everytime you want to start emulating.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Quince Jackson
    Posted by Quince Jackson
    on May 12, 2009 9:40 AM
    Prodigy60 points
    BH560m_C6455x4.zip

    Here is the ccs file.

    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 May 12, 2009 3:46 PM
    Mastermind40420 points

    Everything looks fine in the .ccs file, at least viewing it in CCSetup.

    Do you have the BHprobe log and result of the one-at-a-time steps from above?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Quince Jackson
    Posted by Quince Jackson
    on May 12, 2009 4:11 PM
    Prodigy60 points
    BHprobe_USB560m_log.pdf

    Here is the log file.  I am working on the steps outlined above.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Quince Jackson
    Posted by Quince Jackson
    on May 12, 2009 4:58 PM
    Prodigy60 points

    DSP0 and DSP1 connected and DSP2 and DSP3 failed to connect.  The messages received are shown below

    .============================================================================================================

    DSP0 Log Window Results - GEL StartUp Complete.

    DSP1 Log Window Results - GEL StartUp Complete.

    DSP2 Log Window Results - Failed to retrieve the Wait in Reset Mode
    A fatal error occured while attempting to remove the remaining debug state that could not be removed at disconnect.  This might have occured because a breakpoint was set at an address that is no longer valid.  This behaviour may be turned off in the "Debug Properties" tab in the Customize dialog under the Option menu.

    DSP3 Log Window Results - Failed to retrieve the Wait in Reset Mode
    A fatal error occured while attempting to remove the remaining debug state that could not be removed at disconnect.  This might have occured because a breakpoint was set at an address that is no longer valid.  This behaviour may be turned off in the "Debug Properties" tab in the Customize dialog under the Option menu.

    -
    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 May 12, 2009 6:06 PM
    Mastermind40420 points

    Okay, this is getting tough, now. At least we know the scan chain is good, or your would not be able to connect to anything, and the configuration should be good since DSP0/1 work and they are duplicates of DSP2/3. Here are new comments or things to try:

    1. Sort of a desperation test would be to replace DSP2 with a BYPASS=6 and see if you can get to DSP3. Then try the other way around. I doubt that either of these would give any worthwhile results, but they are not too hard to try and could point to something new.
    2. There is nothing I can find in the C6455 datasheet that indicates we have a wait-in-reset mode. Some of our DSPs do, but the C6455 has the 'no boot' option which would really benefit from the wait-in-reset, but it does not appear to be there.
    3. Before trying to connect, see what you have set in the "Debug Properties" tab in the Customize dialog under the Option menu. Under "Target connection actions" you should already have "connect to the target at startup" unchecked. If "Remove remaining debug state at connect" is checked, try unchecking it, OK, then try to connect. This might only postpone the problem rather than solve it, but even then we would know more about the problem.
    4. Check the state of the EMU0 and EMU1 pins on DSP2 and DSP3. They should both be high. On some devices, either 10 or 01 implemented a wait-in-reset state. I cannot imagine this exists but is not documented anywhere, but it is definitely something to check. Also, check the reset pins, PORn and RESETn, plus clocks in and out, just to make sure where the problem is not. And look at all the emulation pins, too, for noise of bad levels.
    5. The next thing will be to play with the TCK speed and polarity in CCSetup. Right-click/Properties on the Blackhawk... line in CCSetup's left-hand pane. Then on one of the tabs you will have some choices to make for the clock. I have not run into this issue with the C6455 needing to run slower, plus the BH is very good about adapting to the clock speed that can be handled.
    6. Do you have multiple boards with this same problem? In other words, could it have to do with the board fabrication rather than the emulation?

    After these, we may know more for the next road to take.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • xiaoyan Bian
    Posted by xiaoyan Bian
    on Feb 9, 2012 2:20 AM
    Prodigy180 points

    Hi :

     I encounter the same problem, what the solution of the problem at last?

    xiaoyan bian

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
Share

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.

Products | Applications | Design Support | Sample & Buy RSS

TI Worldwide | About TI | Contact Us | Investor Relations | Press Center | Corporate Citizenship | Careers | Tags | my.TI Login | All Searches | Site Map

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