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/CC2642R: Problem with XDS200

Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG

Tool/software: Code Composer Studio

Hello,

I have a problem with xds200 spectrum Digital .

The debug windows show :

Cortex_M4_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.4.0.00006)
Cortex_M4_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

Any ideas?

Best Regards,

SIDI

  • SIDI,

    Without additional context it is difficult to make an accurate assessment. In any case, error 1170 can be found at the Debugging JTAG page below (just search for the error number). 

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

    Hope this helps,

    Rafael

  • Ok, I'll describe the context.

    I made a program with the cc26x2r1_lauchpad (with the xds110 included) and I am trying to port the program to the cc2642r1 using the xds200 digital spectrum.

    This is how I encounter this problem:

    "

    Cortex_M4_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.4.0.00006)


    Cortex_M4_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.4.0.00006)


    Cortex_M4_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.4.0.00006)

    "

    Best Regards, 

    SIDI

  • Sidi, 

    So, the disconnect happens when you try to connect to the device or the device connects fine and the issue only happens when the code is loaded to the custom board with the CC2462R1?

    If the former, then I would investigate the JTAG connections and the ability to connect to the device manually. the page I sent before should help. 

    If the issue happens after the code is loaded to the target, does it tthrow the error right away or only when you run it after it halts on the main() function?

    In case the issue happens during initialization, it may require a simple re-configuration or do a different setting on the Sysconfig or TI-RTOS configuration files. This may still be the case if the problem manifests itself after your application code starts to run, but at this point the number of possible root causes increases exponentially. 

    This process is to try to isolate the problem to a specific step of the device connection. 

    Hope this helps,

    Rafael