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/CODECOMPOSER: Differentiate the JTAG Debug probe connection by using the dbgjtag.exe

Part Number: CODECOMPOSER

Tool/software: Code Composer Studio

Hi,

I have two boards connected to my PC through JTAG connector. One is

  • TMS320-JTAG-USB for this connection in Target configuration file under the connection type  I am selecting Texas Instruments XDS100v2 USB Debug probe.
  • Spectrum Digital xds200- For this connection in Target configuration file under the connection type I have selected Texas instruments XDS2xx USB Debug probe.

When I open the target configuration file in Code composer studio and click on test connection for each of the connection, I am successfully getting this message.


The JTAG DR Integrity scan-test has succeeded.

I wanted to automate this task, so i just run the below command from the uscif folder in cmd.


dbgjtag.exe -f C:\Users\AppData\Local\TEXASI~1\CCS\ti\0\0\BrdDat\testBoard.dat -S integrity -rvtestBoard.dat -S integrity -rv

But this doesn't work for two JTAG Debug probe. By default it will run xds200.0ut and gives the value that its integrity scan test has succeeded. I wanted for both the JTAG Debug probe scan test to be done .

Kindly let me know is there any way to do test condition when more than two boards are connected by using different JTAG Debug probe by using dbgjtag.exe application.

Regards,

Dhanya

 

 

  • I think you are going to need to archive your baord data file to do this.

    From CCS run the utility on the first connection. Then go to the location where the board data file was generated. This is shown in the output window when the utility runs.

    It would be something like C:\Users\USERNAME\AppData\Local\TEXASI~1\CCS\ccs720b\0\0\BrdDat\testBoard.dat
    I think you are trying to point to this file already. Instead of pointing to it copy it somewhere and call it something unique BOARD1.
    Repeat for the second connection.

    you should now have BOARD1.dat and BOARD2.dat

    Then run the command

    dbgjtag.exe -f <path to file>\BOARD1.dat -S integrity -rvBOARD1.dat -S integrity -rv

    and then

    dbgjtag.exe -f <path to file>\BOARD2.dat -S integrity -rvBOARD2.dat -S integrity -rv

    I don't have access to hardware today to try this but that hopefully will work.

    Regards,
    John
  • HI John,

    Thank you. It helped me :)

    That worked.

    Regards,
    Dhanya