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/CC3220SF: Error connecting to hardware+ Unable to access the DAP. Reset the device, and retry the operation.

Part Number: CC3220SF
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Hi, 

I'm programing my cc3220SF custom board with a CC3220SF-LaunchPad

I program my custom board with uniflash using the Out of the box zip. The service pack is simplelink_cc32xx_sdk_4_10_00_07. I'm erasing the mcuflashimg.bin file from the user files to be able to debug my program.

I have my custom board with 010 SOP configuration.

The divice is in development mode.

With CCS, I try to debug the out of the box code or an empty proyect (Freertos version), I'm getting the following error on CCS:

    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).

I followed this article but I use the latest sdk and have de SOP on the 010 position and the device is in development mode.:
software-dl.ti.com/.../ccsv7_debugging_jtag_connectivity_issues.html


  • Hi Luis,

    • Please provide screenshot from Uniflash when you are connected (I need to see device status information).
    • Please make sure that you have programmed your custom board not a LaunchPad. For programming of LaunchPad is used UART from CC3220 LP.

    Because error code -1170 is at almost all cases show when your device is in production mode and JTAG is locked.

    Jan

  • Here is the uniflash infornation after connection. I can program the user files and the SDK but not run it in  debug mode on CCS.

  • Hi Luis,

    In case that you are able to debug from CCS with same uploaded image and SOP mode at CC3220SF LaunchPad, it looks like a hardware issue. Please make sure that your JTAG lines are properly connected (TDI, TDO, TCK, TMS, GND). Please share image which shows how your JTAG lines are connected from LaunchPad to your hardware. Please share schematic of your JTAG design as well.

    Jan

  • Could it be that the Jtag connectios are wrong even though Uniflash can connect to the device and flash it? 

    Should the custum board be externally powered? (We are using the 1.8V pre-regulated version)

    Connections from Develepmet board to JTAG connector 

    Here is the schematics of the JTAG connections

  • Hi,

    • CCS uses for debug JTAG that means pins TDI, TDO, TCK, TMS
    • Uniflash uses for programming UART (RX, TX, RST, GND)

    UART cannot be used for debugging by CCS. You need to use JTAG (4-wrire) or SWD (2-wire) connection. At image above you have still JTAG connected to CC3220SF chip at CC3225SF LaunchPad. You need to disconnect TDI, TDO, TCK, TMS jumpers and connect this lines to your hardware.

    Jan

  • Thanks, Jan