While debugging my program I get the following error:
"Trouble Reading PC Register: (Error -1143 @ 0x6) Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.0.681.0)"
I have seen this happen on 3-4 different lines of code and the code remains unchanged. I have had some (very little) success restarting CCS or restarting my machine to get past this point.
I had been working along fine with no problems for awhile. I literally ran a test and had success, then reran the test and ran into this failure and it has been plaguing me ever since. Not sure what other [relevant] information I can give, but if I'm missing something please ask.
------------------------------------------
Code Composer Studio
Version: 5.1.0.201205041800
Build id: N201205041800
-----------------------------------------------
//edit
Upgraded to:
Code Composer Studio
Version: 5.2.1.00018
Problem still persists.
-----------------------------------------------
//further edits:
I have been able to consistently bypass this error in the simulator which makes me think it is solely an emulation problem. I am using the Blackhawk USB560 JTAG emulator (Model #:BH-USB-560). The chip I am using is TI C5509A DSP.