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.

ccs6.0里在线调试(debug)dsp28335时好时坏

Other Parts Discussed in Thread: TMS320F28335

     ccs6.0 里编译成功后,debug时好时坏,dsp为28335,仿真器瑞泰创新的xds200u。

     配置目标文件里选的是xds 200 usb emulator,TMS320F28335;仿真器驱动应该是装好了,端口里显示xds2xx Emulator CDC Serial Port (COM9) 和xds2xx User CDC Serial Port (10)。

     点击debug 后,目标板能连接上,但是无法运行。

     test connection为:

     An error occurred while soft opening the controller.  

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

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

     The value is '-250'  (0xffffff06) .

     The title is 'SC_ERR_ECOM_EMUNAME' .

     The explanation is:

     An attempt to access the named emulator via USCIF ECOM has failed.

     另外debug 下拉菜单里有工程名和配置文件(.ccxml),应该点击哪个?有什么区别?

  • 这个报错信息应该是仿真器驱动或通信存在问题,可能需要跟瑞泰确认是否驱动安装上还有遗漏。

    工程名就是调试这个工程,而配置文件是一个调试器的启动,你可以用它调试多个不同的其它工程。

  •      重新配置配置文件后,test  configuration如下

    Test configuration

    [Start: Texas Instruments XDS2xx USB Emulator_0]

     

    Execute the command:

     

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

     

    [Result]

     

     

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

     

    C:\DOCUME~1\ADMINI~1\LOCALS~1\APPLIC~1\TEXASI~1\

        CCS\TI\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 'May 21 2014'.

    The library build time was '18:02:25'.

    The library package version is '5.1.507.0'.

    The library component version is '35.34.40.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.

     

    -----[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: Texas Instruments XDS2xx USB Emulator_0]

  • 测试连接通过,应该是可以连接,可以调试运行了,现在的问题是什么?