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/TIDA-01281: Programming TMS320F28035 using Spectrum Digital XDS200

Part Number: TIDA-01281
Other Parts Discussed in Thread: TMS320F28035, UNIFLASH

Tool/software: Code Composer Studio

Hello,

I'm trying to program TMS320F28035 with Spectrum Digital XDS200 debug probe but it fails to connect with the target board,

When I perform JTAG test on it I get this error:

[Start: Texas Instruments XDS2xx USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\NAYADE~1\AppData\Local\TEXASI~1\
CCS\ccs920\0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.
The library build date was 'Aug 26 2019'.
The library build time was '12:55:28'.
The library package version is '8.3.0.00003'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '13' (0x0000000d).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.

-----[Print the reset-command hardware log-file]-----------------------------

This emulator does not create a reset log-file.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-233' (0xffffff17).
The title is 'SC_ERR_PATH_BROKEN'.

The explanation is:
The JTAG IR and DR scan-paths cannot circulate bits, they may be broken.
An attempt to scan the JTAG scan-path has failed.
The target's JTAG scan-path appears to be broken
with a stuck-at-ones or stuck-at-zero fault.

[End: Texas Instruments XDS2xx USB Debug Probe_0]

Kindly help me figure it out.

  • Hi,

    Additional clarifications and troubleshooting tips can be found at the Debugging JTAG page - just search for the error number. 

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

    Hope this helps,

    Rafael

  • Hello,

    I referred this thing before and couldn't find a solution out of it.Although I found a solution while going through other posts.Found out that the TMS and TDO pins have been interchanged in the reference design. Now the problem is that I'm able to identify and read the memory on UNIFLash and the JTAG scan tests succeeds on CCS too, but I'm not able to erase flash through both the applications.

    Below is the error message that I receive:

    [12/4/2019, 1:35:50 AM] [INFO] C28xx: Erasing Flash memory...
    [12/4/2019, 1:35:50 AM] [INFO] C28xx: Erasing Flash Sector A
    [12/4/2019, 1:36:10 AM] [ERROR] C28xx: Error occurred during flash operation: Timed out waiting for target to halt while executing FlashAPIInterface2803xV1_00.out
    [12/4/2019, 1:36:10 AM] [ERROR] C28xx: Flash Programmer: Error erasing flash memory. Flash operation timed out waiting for the algorithm to complete. Operation cancelled.

    How to I move forward with this error?

  • Hi,

    At this point I would check the bootmode of the device. The message indicates the Debug Probe does not have control over the device and this may be due to the processor running code and preventing the connection to be successful. 

    Regards,

    Rafael