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".
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"
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:
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.
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.batResults in file: log\BHprobe_USB560m.logbin\XDSProbe.exe -v -F BH560USBm.out -p0x0 -r -o log\BHprobe_USB560m.log...
SUCCESS: Command reported no errors.Results in file: log\BHprobe_USB560m.logbin\XDSProbe.exe -v -F BH560USBm.out -p0x0 -i -o log\BHprobe_USB560m.log...
SUCCESS: Command reported no errors.Results in file: log\BHprobe_USB560m.logbin\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.logbin\XDSProbe.exe -v -F BH560USBm.out -p0x0 -g -o log\BHprobe_USB560m.log...
SUCCESS: Command reported no errors.Press any key to continue . . .
=====================================================================================
I forgot to mention that I am using the USB560M with two LEDs.
Quince Jackson when trying to connect to a TMS320C6455
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
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.
Here is the ccs file.
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?
Here is the log file. I am working on the steps outlined above.
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.
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:
After these, we may know more for the next road to take.
Hi :
I encounter the same problem, what the solution of the problem at last?
xiaoyan bian