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/CC2640R2F: flash error

Part Number: CC2640R2F

Tool/software: Code Composer Studio

I am trying to program CC2640R2FSMT 4*4 By using XDS110 Debugger present on cc2640r2f  launchpad.

i have used FOLLOWING connections

LAUNCHPAD                CC2640R2FSMT PINS

 JTAG_TDI         TO       JTAG_TDI  (PIN  16 )   

JTAG_TDO        TO        JTAG_TDO ( PIN 15)

TCK                    TO        TCK ( PIN 14 )

TMS                   TO          TMS  ( PIN 13 )

RESET              TO            RESET ( PIN 21 )

VCC 3.3V           TO         VDDS

GND                 TO          GND 

 

I tried with different JTAG TCLK frequency from 100khz to 2 Mhz sometimes programming flash successfully but we mostly got following errors. 

 

The Error By CCS

Cortex_M3_0: GEL Output: Memory Map Initialization Complete.
Cortex_M3_0: GEL Output: Board Reset Complete.
Cortex_M3_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.1.0.00012) 
Cortex_M3_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
Cortex_M3_0: File Loader: Memory write failed: Target failed to read 0x20000A6C
Cortex_M3_0: GEL: File: D:\BLE\GPIO_custum_hw\empty_CC2640R2_LAUNCHXL_tirtos_ccs\Debug\empty_CC2640R2_LAUNCHXL_tirtos_ccs.out: Load failed.