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: Error connecting when open with loadti.bat (Error -1266, Error code #4001)

Tool/software: Code Composer Studio

Hi,

Recently I' m trying to connect device and run .out file with out open CCS manually.

I found the DSS server tutorial and some "loadti" information on the forum.

Usually the procedure is like below:

  1. Open CCS v5.0
  2. Right click on "NewTargetConfiguration.ccxml" and run launch selected Configuration.
  3. Connect target CortexA15_0
  4. In tool bar -> scripts ->   TDA2xx MULTICORE initialization -> TDA2xx_MULTICORE_EnableAllCores
  5. Connect ARP32_EVE_1 (fig.1)
  6. load .out file in EVE_1

I used loadti.bat -l -c  NewTargetConfiguration.ccxml  test.out and got this:

Configuring Debug Server for specified target...
Done
Loaded FPGA Image: D:\ti\ccsv5\ccs_base\common\uscif\dtc_top.jbc
TARGET: Blackhawk XDS560v2-USB System Trace Emulator_0
Connecting to target...
IcePick_D: GEL Output: Ipu RTOS is released from Wait-In-Reset.

IcePick_D: GEL Output: Ipu SIMCOP is released from Wait-In-Reset.

IcePick_D: GEL Output: IVAHD C66 is released from Wait-In-Reset.

IcePick_D: GEL Output: IVAHD ICONT1 is released from Wait-In-Reset.

IcePick_D: GEL Output: IVAHD ICONT2 is released from Wait-In-Reset.

SEVERE: Cortex_M4_IPU1_C0: Error connecting to the target: (Error -1266 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.232.0)

SEVERE: emulation failure occurred
SEVERE: Error connecting to the target: emulation failure occurred
Error code #4001, could not connect to target!
Aborting!

How should I modify or set some files to connect the core I want.

I have check the .ccxml file but I have no idea where to set the target core.

The attached file contains ccxml file and a screenshot (fig.1) after the procedure mentioned above at css v5.0.

Thank you,

Kevin.