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.

CCS/66AK2G12: XDS200 connection very unreliable

Part Number: 66AK2G12
Other Parts Discussed in Thread: EVMK2GX

Tool/software: Code Composer Studio

I have the EVMK2GX TI dev board with integrated XDS200.

I experience numerous connection issues with the DSP core such as:

C66xx: Error connecting to the target: (Error -1143 @ 0x0) 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 9.2.0.00002)
C66xx: Trouble Reading Register ControlRegisters.DNUM: (Error -1202 @ 0x50) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 9.2.0.00002)

This seems to happen more often than not.

What does this mean and is there a known solution?

My board has the included SD card inserted, and the ARM core is running that included SDK. Is there some code on that bundled ARM environment  that is interfering with the state of the DSP occasionally?

If so how can this be disabled?

CCS version 10.1.1.00004

Thanks,

James

  • Hi James,

    James Hall2 said:
    C66xx: Error connecting to the target: (Error -1143 @ 0x0) 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 9.2.0.00002)
    C66xx: Trouble Reading Register ControlRegisters.DNUM: (Error -1202 @ 0x50) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 9.2.0.00002)

    Please see the below link for more details on this error:

    https://software-dl.ti.com/ccs/esd/documents/ccs_debugging_jtag_connectivity_issues.html#device-hung

    James Hall2 said:
    My board has the included SD card inserted, and the ARM core is running that included SDK. Is there some code on that bundled ARM environment  that is interfering with the state of the DSP occasionally?

    It is possible since the error can be caused by some bus contention issue due to the application execution. I don't have enough knowledge on the device or SDK to comment further.

    Thanks

    ki