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.

Emulator disconnects from target - is there a way to tell where (and why?)

Hi,

I have an application running on a 28346 processor, and things run perfectly fine for a while (random amount of time) when all of a sudden the program hangs.  I would like to know where the program is hanging, but unfortunately, my emulator (Spectrum Digital C2000) is abruptly disconnected, and code composer puts up an error box that says : "Error: Error 0x200000024/-1135 Severe Error during: Register, Execution, Unrecoverable emulation error."

This happens sometimes immediately, sometimes after a few seconds, sometimes up to a minute after I start.  Also, the emulator seems to be OK in Code Composer - I can see the values updating in real time, all looks fine.  As soon as I press pause, I see the error.

Does anyone know why this is happening and what could cause the emulator to just drop out like that?

More importantly, is there any way to go back and see where the program was when the emulator checked out?

Any help would be greatly appreciated.

-Jeff

 

  • Hi,

    It is a generic emulation error so you would need to do some troubleshooting to figure out if it is a hardware issue or software issue.

    I would suggest trying to first connect and download a simple example program provided by TI (there are many examples included in the Header files and Peripheral examples package), as these are known good examples.

    Does you target connection work consistently? If it does not, the issue is probably at a lower level than CCS. The manufacturer of your emulator should have some diagnostic tools you can use to troubleshoot low level JTAG connection issues (for example, if you are using a Spectrum Digital emulator, try the SDConfig tool). If SDConfig reports errors then you need to look into hardware issues, either in the target board or emulator.

    Regards,

    Gautam