CCS软件使用方法之仿真教程

1. 仿真?#

安装仿真器驱动

仿真器型号是:XDS510PLUS,下载一个驱动。进行安装:

选CCS版本,> 4.1.3 选下面

这里选择CCS的安装目录

我安装完之后,在设备管理器中设备还是显示未知设备,我右击更新驱动提醒:已找到驱动但是未安装成功(因为INF签名)。

需要进入特殊的模式安装:(开始>设置>更新和安全>恢复>高级启动下的立即重新启动,之后选择 疑难解答>高级选项>启动),重启后进入蓝屏的选择界面,选择(禁用驱动程序强制签名)菜单进入系统。之后再安装驱动。
参考:

解决Win10安装驱动时,INF不包含数字签名信息

SEED-XDS510PLUS 在CCS5.5.0中的配置问题

接下来怎么仿真呢?

1.1 目标配置文件CCXML#

添加好并保存后。测试连接,出错。

也可以不添加直接在项目属性 > General 下配置好仿真器后点验证(Verify)。但也都也报同样的错

 

-----[Print the reset-command software log-file]----------------------------- This utility has selected a 100/110/510 class product. This utility will load the adapter 'seedjca8990isa.dll'. 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 '-600' (0xfffffda8). The title is 'SC_ERR_LIB_ANY_LOCATE'. The explanation is: A required dynamic library could not be located. The library isn't on the search path. [End]

最后重新装了下从官网SEED-XDS510PLUS下的驱动就好了(看网上的讨论,差点以为XDS510只支持到CCS5,其实可以的)

[Start] Execute the command: %ccs_base%/common/uscif/dbgjtag.exe -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity [Result] [End]

又报错: Debugger Initialization Error: tixds6000.vdr

8.1. General — Code Composer Studio 12.5.0 Documentation

The last release to support the XDS510USB debug probe is CCSv8.3.

换软件版本了。

2. CCSV3.3 安装#

默认目录不变,其他一路忽略即可。

安装完成并配置仿真器后,点 Debug > Connect 报错

Error connecting to the target: Error 0x80000200/-141 Fatal Error during: OCS, This error was generated by TI's USCIF driver. SC_ERR_KNL_OPEN <-141> This utility has failed to open its kernel mode driver. Either it has been disabled or an install/un-install failed. I/O Port = 0 Board Name: C671x XDS510 Emulator Cpu Name: TMS320C6710_0 Abort: Close Code Composer Studio. Retry: Try to connect to the target again. Cancel: Remain disconnected from the target Diagnostic: Run diagnostic utility. Error connecting to the target: Error 0x80000200/-171 Fatal Error during: OCS, This error was generated by TI's USCIF driver. SC_ERR_REG_DETECT_CTLR <-171> The wrong controller address value has been used. A controller cannot be detected even though the selected port does match the hardware configuration. The standard XDS560 ports are 0x0, 0x1, 0x2 and 0x3. The standard XDS100usb ports are 0x0, 0x1, 0x2 and 0x3. The standard XDS100pp ports are 0x378, 0x278 and 0x3BC. The standard XDS510 ports are 0x240, 0x280, 0x320 and 0x340. I/O Port = 0 Board Name: C671x XDS510 Emulator Cpu Name: TMS320C6710_0 Abort: Close Code Composer Studio. Retry: Try to connect to the target again. Cancel: Remain disconnected from the target Diagnostic: Run diagnostic utility.

重新安装 c6713的驱动,(参考4节中的在安全模式下安装驱动)。

配置的时候看到属性已经自动填上了,感觉会成功

保存后,设备上电,连接成功。😃

  • 13
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
CCS12是一款基于Eclipse的集成开发环境,用于对Texas Instruments公司的DSP芯片进行软件开发。而28335则是TI的一款数字信号处理器芯片。以下是关于如何使用CCS12进行28335芯片开发的指南: 1. 下载安装CCS12 在TI的官网上下载并安装CCS12,安装完成后,打开CCS12。 2. 创建新的工程 在CCS12的菜单栏中依次点击File -> New -> CCS Project,弹出New CCS Project对话框,按照要求填写工程名、项目名、目标设备等信息,最后点击Finish按钮。 3. 配置工程 在工程目录下,右键点击.cproject文件,选择Open With -> Text Editor,打开.cproject文件,并按照以下步骤进行配置: (1)添加编译器路径 在编译器路径下添加28335芯片的编译器路径,例如: ``` <toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.9.DSP" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.9"> <option id="com.ti.ccstudio.buildDefinitions.core.compiler.path.0" name="Compiler Directory" superClass="com.ti.ccstudio.buildDefinitions.core.compiler.path" value="C:/ti/ccsv6/tools/compiler/c2000_6.2.9"/> </toolChain> ``` (2)添加链接器脚本 在链接器脚本路径下添加28335芯片的链接器脚本,例如: ``` <toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.2.9.DSP" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.2.9"> <option id="com.ti.ccstudio.buildDefinitions.core.linkerFile.path.0" name="Linker File" superClass="com.ti.ccstudio.buildDefinitions.core.linkerFile.path" value="D:/28335/28335.cmd"/> </toolChain> ``` 4. 编写代码 在工程目录下,打开main.c文件,编写28335芯片的应用程序代码。 5. 编译 在菜单栏中依次点击Project -> Build Project,编译工程。 6. 烧录 使用JTAG仿真器将编译好的程序烧录到28335芯片中,即可在芯片上运行程序。 希望以上步骤能够帮助您进行CCS12中28335芯片的开发。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值