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.

DM6446 connected with Blackhawk USB560m emulator, Error 0x00000020/-1060 occured!

Other Parts Discussed in Thread: CCSTUDIO

Hello,

I was using Blackhawk USB560m to download binary file to DM6446 DSP and debug it. The CCS 3.3 I am using is the latest version (SR12). And the version of  Blackhawk emulator driver is also the latest one.

The Blackhawk USB560m emulator and the CCS 3.3 worked well with the DM6446 DSP. However, few days ago, they began to not work properly any more.

The GEL file I am using is "BH-default.gel". Before I clicked "Debug -> Connect" on the CCS menu, I had clicked "Debug -> Reset Emulator". It seemed the emulator can connect to the DSP. Then I used "File -> Load Program" to download program to the DSP. So far, everything looked normal. The problem is that when I clicked the "Run" button, the DSP seemed to be not working. And when I clicked the "Halt" button, an error message appeared as follows. The data displayed in the memory view window were not correct.


"Trouble Halting Target CPU:
Error 0x00000020/-1060
Error during: Execution,
An unknown error prevented the emulator from accessing the processor
in a timely fashion.
It is recommended to 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."

And the following two messages appeared in the bottom box of CCS 3.3.

"Trouble Halting Target CPU: Error 0x00000020/-1060 Error during: Execution,  An unknown error prevented the emulator from accessing the processor in a timely fashion. It is recommended to 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: 15 Error Code: -1060 Error Class: 0x00000020"

"Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint opcodes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging."


I shuted down all the powers for the board, the emulator, and the computer. Then I restarted them. But the problem remains.

Does anyone have any idea about it?

Thanks!

Rooter

 

  • Would be possible to obtain the program you are trying to run? It will help us reproduce the problem. It will be very difficult for us to investigate the issue if we cannot reproduce the issue.

    You may also want to try using the correct DM6446 gel files. They should be in (assuming default install directory): C:\CCStudio_v3.3\boards\davinci_revd\gel

    Thanks

    ki

  • Yes, thank you Ki.

    If you look at the BH-default.gel file, or the information it prints to the output window, it instructs you to update this import to use the correct GEL file(s) provided from the board vendor.

    cheers, Andrew