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.

XDS100v2仿真器连接问题

Other Parts Discussed in Thread: TMS320F28335

XDS100v2仿真器,同一台电脑,同一个驱动,C2Prog使用XDS100v2仿真器烧写程序一切正常,换CCS5.2,连接不上,然后Test Connection正常,可能会是什么原因?

[Start]

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:\DOCUME~1\Echo\LOCALS~1\APPLIC~1\.TI\220611375\
0\0\BrdDat\testBoard.dat

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

This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusb.dll'.
The library build date was 'Apr 2 2012'.
The library build time was '21:41:04'.
The library package version is '5.0.681.0'.
The library component version is '35.34.39.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 512 32-bit words.

The test for the JTAG IR instruction path-length succeeded.
The JTAG IR instruction path-length is 38 bits.

The test for the JTAG DR bypass path-length succeeded.
The JTAG DR bypass path-length is 1 bits.

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

This test will use blocks of 512 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.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.

The JTAG IR Integrity scan-test has succeeded.

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

This test will use blocks of 512 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.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.

The JTAG DR Integrity scan-test has succeeded.

[End]

  • 补充一下:
    相同的目标板,在CCS3.3下,用XDS510PLUS仿真器一切正常。
    相同的XDS100v2仿真器,连接28035的目标板一切正常。 

  • 这样看驱动是没什么问题的,检查一下target configuration的配置有没有问题,还有debug configuration中左边列表中对应的工程是否正确。 还有连不上的报错是什么?

  • target configuration就是选定XDS100v2连接,器件选择TMS320F28335,gel文件配置也正确。Lanch Selected Configuration,Connect Target以后,整个CCS5.2软件就失去响应了,没有任何报错。
    之前使用过XDS100v1,在CCS3.3下面,连接28335和2812也是同样的现象,当时也找不到原因。现在换CCS5.2和XDS100v2,又遇到这个问题。 

    以下是配置文件

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0">
    <instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections/TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/>
    <connection XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" id="Texas Instruments XDS100v2 USB Emulator_0">
    <instance XML_version="1.2" href="drivers/tixds100v2c28x.xml" id="drivers" xml="tixds100v2c28x.xml" xmlpath="drivers"/>
    <property Type="choicelist" Value="0" id="dataFileRequired"/>
    <platform XML_version="1.2" id="platform_0">
    <instance XML_version="1.2" desc="TMS320F28335_0" href="devices/f28335.xml" id="TMS320F28335_0" xml="f28335.xml" xmlpath="devices"/>
    <device HW_revision="1" XML_version="1.2" desc="TMS320F28335_0" description="" id="TMS320F28335_0" partnum="TMS320F28335">
    <cpu HW_revision="1.0" XML_version="1.2" description="CPU" id="C2800" isa="TMS320C28XX">
    <property Type="choicelist" Value="0" id="bypass"/>
    </cpu>
    </device>
    </platform>
    </connection>
    </configuration>
    </configurations>

  • 你的意思是用CCS XDS100V2连接F28035正常,连接F28335 test通过,但无法下载程序吗?

  • 补充一下:
    相同的CCS版本,同一个XDS100V2仿真器,同一块目标板,Win7x64系统下一切正常,XP系统下,C2Prog写入程序正常,CCS5.2 TestConnection正常,但是始终连接不上目标板。 换过2808,28335目标板,都是这个现象,卸载CCS5.2重新安装仍然如此。

  • 你的XP系统下的CCS是不是一开始工作正常,过了一段时间后仿真器就再也不能正常工作了,如果是的话就需要重新安装系统才能解决。

  • 我有自己的bootloader,都是通过串口更新程序,极少用JTAG,这次是因为要用graph看一个波形,才用一下仿真器。
    仿真器和驱动都是没有问题的,C2Prog工作一切正常,唯一可能性就是CCS5.2软件本身。每次一连接目标板,整个软件就失去响应,然后自己挂掉,没有任何提示。
    软件都有卸载功能,一个软件做到要重装系统来复位功能,也是醉了。我电脑上上百个软件,没有一个这样的。