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/C6000-CGT: Debug dsp c66x running on ti-rtos and a15 running on linux

Part Number: C6000-CGT

Tool/software: Code Composer Studio

Hello,

I would like to debug the dsp c66x core running a software that contains ipc with a linux exp running on cortex-a15 , so I used a target config file without gelfiles but everytime I get this error:

 Error connecting to the target: (Error -183 @ 0x0) The controller has detected a cable break far-from itself. The user must connect the cable/pod to the target. (Emulation package 7.0.188.0)

so is there any other solution to  debug the dsp c66x core ?

  • Hi,

    Error 183 is covered in the Debugging JTAG reference below:
    software-dl.ti.com/.../ccs_debugging_jtag_connectivity_issues.html

    However, since you have Linux running on the A15, are you able to connect to it? The reason is that sometimes u-boot and Linux power down the debugging subsystem and prevents the JTAG from accessing the core. You can validate your connection by removing any SD cards (or halting u-boot) and connect to the device using CCS.

    If you are able to connect to the A15, then you need to release the C66x core from reset. From the Linux prompt you can try to issue the command mentioned in the post below:
    e2e.ti.com/.../2249699

    Hope this helps,
    Rafael
  • When I connect the JTAG DEBUGGER the board doesn't boot so I have to remove the JTAG DEBUGGER and boot  and then I reconnect the DEBUG but I don't need to connect the A15 . I create my target config file to connect only the dsp c66x core and load symbols and debug .

  • When I connect the JTAG DEBUGGER the board doesn't boot so I have to remove the JTAG DEBUGGER and boot and then I reconnect the DEBUG but I don't need to connect the A15 . I create my target config file to connect only the dsp c66x core and load symbols and debug .
  • Hi,

    Thanks for sending additional details and I am glad you found a workaround for the issue.

    One comment about the remark below:
    >>When I connect the JTAG DEBUGGER the board doesn't boot
    I am not entirely sure at what stage of the boot you are trying to connect to the A15, but when CCS connects to the core it automatically halts its execution.

    With this in mind, the safest approach is to halt the autoboot at the u-boot prompt, connect to CCS, put the core to run again and resume the normal u-boot/Linux boot process via the u-boot console.

    Regards,
    Rafael