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.

TMS320DM6467T: 不能在 CCS 中 debug

Part Number: TMS320DM6467T

CCS 11: https://www.ti.com/tool/download/CCSTUDIO

XDS560Plus 驱动 : https://www.arrowsolution.com.cn/Public/Home/down/1441789634_1327592584.rar

verify 时会卡住

debug 时会卡在 configuring debugger 界面。

向任何回答表示感谢!

  • 请问是自己的开发板吗?到target configuration file里点击test connection看是否能通过?

  • 是买的俊竹科技的开发板,test connection 就跟verify connection 用的命令行指令差不多,也会卡住。换了一台电脑,重新安装了CCS 和 驱动,还是不行。

  • 请换个低版本的ccs试试。

  • 换了CCS8 依旧不行。我看到 https://software-dl.ti.com/ccs/esd/documents/ccs_downloads.html 说 CCS 9 及以后已经不再支持 XDS510了,那CCS 8 支持 XDS510 估计也一定支持 XDS560, 所以试了CCS8,结果还是不行。

  • 您用的xds560plus是合众达的仿真器?先确认一下仿真器驱动有没有安装好? target configuration file是怎么配置的?方便截个图吗?

  • 仿真器驱动装好了

    这是target configuration 的图,我没改什么

  • target configuration file里选择的是TI的xds560仿真器,不是seed的xds560仿真器。如果安装正确的话,应该有seed的仿真器选项。可以看一下下面的seed仿真器安装使用手册。
    https://www.arrowsolution.com.cn/Public/Home/down/1509948026_1040710363.pdf

  • 把安装路径改到ccs_base后能找到seed了,但verfiy connection 和 test connenction是灰色的,flash 还是会卡住

  • 即使不接仿真器,target configuration file配置好,点击save按钮后,Test Connection按钮就会有效。

  • 这是安装完 SEEDXDS560 驱动后新增的文件:

    ├── common
    │   ├── targetdb
    │   │   └── connections
    │   │   └── SEED-XDS560PLUS_Connection.xml
    │   └── uscif
    │   ├── uscif.out
    │   ├── xds560.out
    │   └── xds560v26.out
    └── emulation
    └── seed
    ├── SEED-XDS560PLUS Version.exe
    ├── seedxds560usb.inf
    ├── seedxds560usb.sys
    ├── seedxds560usb_ntamd64.cat
    ├── seedxds560usbv26.sys
    └── USBorPCI.exe

    6 directories, 10 files

    我对比了一下 SEED-XDS560PLUS_Connection.xml TIXDS560_Connection.xml,发现
    前者少了ID 为 DiagnosticCommand 的属性:
    <property Name="Diagnostic Command" Type="hiddenfield" Value="%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity" ID="DiagnosticCommand"/>
    从TIXDS560_Connection.xml复制这一行后,SEEDXDS560 的 verify connection 和test
    connection不再是灰色的了,但还是会卡死,就跟之前选 TIXDS560 时一样。

    Load 或 debug 会报错:

    IcePick_C_0: Error initializing emulator: (Error -2083 @ 0x0) Unable to communicate with the debug probe. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.6.0.00172)

  • 建议联系一下arrowseed看一下仿真器的问题。

  • 您好!现在换了一个仿真器,是TI的XDS100V3, 现在test connection 没有问题,但新建一个工程烧录程序时会出现如下错误:

    C64XP: File Loader: Verification failed: Values at address 0x80000800 do not match Please verify target memory and memory map.

    C64XP: GEL: File: C:\Users\wzy\Desktop\x264\Debug\x264.out: a data verification error occurred, file load failed.

    我看了一下工程中默认生成的cmd中有

    DDR2:         o = 0x80000000  l = 0x20000000  /* 512MB of external DDR */

    然后所有的sections都分配到DDR2上了。

    请问这是什么原因?是DDR2有问题吗?该如何解决呢?比如把sections分配到别的什么地方吗?

  • 新问题麻烦另起新帖,方便其他客户查看,谢谢!