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.

TMS320F28069M: Problem debugging project in CCS with F2806x ISO controlCARD

Part Number: TMS320F28069M
Other Parts Discussed in Thread: TMS320F28069, C2000WARE

Tool/software:

Hello,

I have a DSP Development Kit R1.2, which is composed of PSIM software version 2021b, and a DSP Development Board (F2806x ISO controlCARD and the DSP Board). Following the tutorials in PSIM example files, I've generated the code for the target F2806x. In Code Composer Studio 12.7.1, I imported the auto-generated code and built the project. So far, so good.

However, after setting up the target configuration (emulator XDS100v2 and the target TMS320F28069 - since it is the closest match), I tried to launch the target configuration. Still, CCS informed me (every single time) that it was not possible to connect the target. So I am stuck in that part of the process, not being able to use the emulator capabilities of my DSP Development Board, and I need to go further to debug the example with CCS and the built-in emulator and finally monitor the waveforms with PSIM's DSP Oscilloscope.

Please help me with this issue, I will be grateful.

Kind Regards,

P.S. when I ran Test Connection in the Target Configuration section CCS gets the following results:

[Start: Texas Instruments XDS100v2 USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]


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

C:\Users\vinic\AppData\Local\TEXASI~1\CCS\
ccs1271\0\0\BrdDat\testBoard.dat

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

This utility has selected a 100/110/510 class product.
This utility will load the adapter 'jioserdesusb.dll'.
The library build date was 'Apr 19 2024'.
The library build time was '14:04:01'.
The library package version is '12.7.0.00130'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '4' (0x00000004).
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]-----------------------------

The scan-path will be reset by toggling the JTAG TRST signal.
The controller is the FTDI FT2232 with USB interface.
The link from controller to target is direct (without cable).
The software is configured for FTDI FT2232 features.
The controller cannot monitor the value on the EMU[0] pin.
The controller cannot monitor the value on the EMU[1] pin.
The controller cannot control the timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '0' (0x0000).

-----[The log-file for the JTAG TCLK output generated from the PLL]----------

There is no hardware for programming the JTAG TCLK frequency.

-----[Measure the source and frequency of the final JTAG TCLKR input]--------

There is no hardware for measuring the JTAG TCLK frequency.

-----[Perform the standard path-length test on the JTAG IR and DR]-----------

This path-length test uses blocks of 64 32-bit words.

The test for the JTAG IR instruction path-length failed.
The JTAG IR instruction scan-path is stuck-at-ones.

The test for the JTAG DR bypass path-length failed.
The JTAG DR bypass scan-path is stuck-at-ones.

-----[Perform the Integrity scan-test on the JTAG IR]------------------------

This test will use blocks of 64 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Test 2 Word 0: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 1: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 2: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 3: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 4: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 5: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 6: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 7: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
The details of the first 8 errors have been provided.
The utility will now report only the count of failed tests.
Scan tests: 2, skipped: 0, failed: 1
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 2
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 3
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 4
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 5
Some of the values were corrupted - 83.3 percent.

The JTAG IR Integrity scan-test has failed.

-----[Perform the Integrity scan-test on the JTAG DR]------------------------

This test will use blocks of 64 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Test 2 Word 0: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 1: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 2: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 3: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 4: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 5: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 6: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 7: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
The details of the first 8 errors have been provided.
The utility will now report only the count of failed tests.
Scan tests: 2, skipped: 0, failed: 1
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 2
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 3
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 4
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 5
Some of the values were corrupted - 83.3 percent.

The JTAG DR Integrity scan-test has failed.

[End: Texas Instruments XDS100v2 USB Debug Probe_0]

  • Hi,

    Please make sure that the switches are configured correctly so that your device is using wait-boot mode, and you are enabling TRST signal to be connected to the device.

    I have attached the control card users guide in case you were unable to find it (it can be found in c2000ware). 

    Best Regards,

    Ben Collier

    CC2806x_InfoSheet_Rev0.4_20Jan2014.pdf

  • Hello Benjamin,


    Thank you for replying. I was working with the default settings, SW1 ON both positions and SW3 ON both positions, and I got the message I shared before.


    I followed your suggestion: SW1 OFF position 1 and ON position 2 for wait-boot mode. I also enabled the TRST signal (SW3 ON position 1). However, I've got the same result and the same message as before.


    Please let me know if there's any set-up that I might need to include in the TARGET CONFIGURATION dialogue box.

    Kind regards,

    Vinicio Iñiguez-Morán

  • Vinicio,

    Are you using an external debug probe, or are you using the one on the docking station? 

    I wonder if the control card has been damaged. Did you purchase it directly from ti.com? 

    Best Regards,

    Ben Collier

  • Hello Ben,


    I'm currently using the built-in debug probe. To clarify, the card was not directly acquired from ti.com, but was obtained through my University.


    I think I am missing some advanced configuration (target configuration dialog box) since the card has not been used before, and two different computers have recognized it (I checked the device manager). In the image that follows, I show you the default advanced target configuration in CCS.

    How does it look to you?

    Regarding damages in the card, if any, it should be from the factory.

    Kind regards,


    Vinicio

  • Hi,

    I think I am missing some advanced configuration (target configuration dialog box) since the card has not been used before,

    So you received the box, unopened with original packaging? 

    and two different computers have recognized it (I checked the device manager).

    The computer is recognizing the XDS100. As your earlier test shows, the XDS100 is probably working fine. 

    The JTAG DR Integrity scan-test has failed.

    The XDS100 is responding to requests from the PC, but the XDS100 is unable to establish a connection with the F2806X device.

    How does it look to you?

    This looks fine, the default settings should work fine.

    Best Regards,

    Ben Collier