主题中讨论的其他器件:TMS320F28335、 C2000WARE
工具与软件:
我刚收到 LaunchPad、想要开始在器件中测试自定义代码。 我从资源中心导入了示例"adc_ex1_soc_epwm"、并尝试在调试会话中运行该示例。 调试会话启动时、会失败并显示以下错误:
IcePick_C_0: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.0.0.3178)
我使用的是 Code Composer Studio theia 1.5.1。 当我打开 Code Composer Studio 时、应用程序会自动检测电路板。 当我首次尝试运行时、系统要求升级 XDS 探针中的 FW。
我已经尝试过的东西:
第一步: 检查与 LaunchPad 附带的演示应用的通信-工作
使用串行端口打开会话时、可以看到 TI 标识和 LaunchPad 文档中指示的 ADC 定期更新。
第二步:创建一个空项目并测试探测器配置-失败
使用 Code Composer Studio 12.8.1.00005、我创建了一个空工程(带有 main)和正确的微控制器(TMS320F28p550sj9)、并在目标配置中使用了"Test Connection"按钮(使用 XDS110 USB 探针)。 此操作失败、并出现以下错误:
-----[Print the reset-command hardware log-file]----------------------------- The scan-path will be reset by toggling the JTAG TRST signal. The controller is the XDS110 with USB interface. The link from controller to target is direct (without cable). The software is configured for XDS110 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). -----[An error has occurred and this utility has aborted]-------------------- This error is generated by TI's USCIF driver or utilities. The value is '-233' (0xffffff17). The title is 'SC_ERR_PATH_BROKEN'. The explanation is: The JTAG IR and DR scan-paths cannot circulate bits, they may be broken. An attempt to scan the JTAG scan-path has failed. The target's JTAG scan-path appears to be broken with a stuck-at-ones or stuck-at-zero fault. [End: Texas Instruments XDS110 USB Debug Probe]
第三步:测试了使用另一个板(使用 TMS320F28335的集线站)调试应用 CCS 12.8 -工作成功
为集线站运行另一个应用程序、与此扩展坞进行通信是有效的。
第四步:尝试在 CCS Theia 上为 F28004x Launchpad 运行相同的示例- 工作(但我必须手动将 XDS 探针更改为110、因为它出于某种原因使用了100)。
通过同一示例在干净的工作区中启动了一个新项目。 出现与探头相关的错误、但注意到它是配置中的错误探头。 我更改为 XDS110并开始工作。
我已在 TI/C2000文件夹中安装 C2000ware 版本5.02和5.04。 然而、这两个 CCSS 都使用了 Resource Explorer 参考 v5.03、要求我安装它、并从此处提取示例。