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.

[参考译文] AM6442:在 Re 运行 install_drivers.sh 后解决 XDS200 连接故障–查找根本原因

Guru**** 2999690 points

Other Parts Discussed in Thread: AM6442

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1656527/am6442-xds200-connection-failure-resolved-after-re-running-install_drivers-sh-looking-for-root-cause

器件型号: AM6442

尊敬的 TI 团队:

我在 Ubuntu Linux 上使用 AM6442 EVM 和 CCS 12.8.1。

大约两个月前、我使用 JTAG 和 MCU+SDK 工具成功刷写和调试了 R5FSS0_0 内核。 目标连接测试和应用程序刷写可以正常工作、没有任何问题。

最近、尝试再次连接时、CCS 在 Test Connection 操作期间报告了以下错误:

[Start: Texas Instruments XDS2xx USB Debug Probe_0]

This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.

E_RPCENV_IO_ERROR(-6) No connection
Failed to open i/o connection (xds2xxu:0)

An error occurred while soft opening the controller.

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

The explanation is:
An attempt to access the debug probe via USCIF ECOM has failed.

要进行故障排除、我需要重新运行 CCS 驱动程序安装脚本:

cd /home/asmgen2/ti/ccs1281/ccs/install_scripts
sudo ./install_drivers.sh

已引用此论坛:
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1397135/tda4ve-q1-ccs-an-attempt-to-access-the-debug-probe-via-uscif-ecom-has-failed?tisearch=e2e-sitesearch&keymatch=E_RPCENV_IO_ERROR%28-6%29%20No%20connection%20Failed%20to%20open%20i%2Fo%20connection%20%28xds2xxu%3A0%29%20%20SC_ERR_ECOM_EMUNAME%20An%20attempt%20to%20access%20the%20debug%20probe%20via%20USCIF%20ECOM%20has%20failed。 

运行脚本后:

  • 已在中正确检测到 XDS200 仿真器 lsusb。
  • CCS Test Connection 重新开始工作。
  • R5F 内核的 JTAG 刷写和调试成功完成。

我的问题是:

  1. install_drivers.sh 在 Linux 上具体配置了什么?
  2. 为什么 XDS200 在之前正常工作几个月后会停止工作?
  3. 该脚本是否会重新安装 USB 权限(udev 规则)、仿真器驱动程序或 CCS 所需的其他组件?
  4. Linux 更新、udev 配置更改或权限问题是否会导致此行为?
  5. 是否有建议的方法来诊断根本原因 SC_ERR_ECOM_EMUNAME 、何时 E_RPCENV_IO_ERROR(-6) 发生和?

如果有任何关于了解重新运行脚本解决该问题的原因的指导意见、我们将不胜感激。

谢谢、
Dinesh

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Ravilla:

    install_drivers.sh 在 Linux 上具体配置了什么?

    它确实会在 Linux 上配置 USB 器件驱动程序、以通过 CCS 识别连接的 JTAG 和 UART 端口。

    脚本是否重新安装 USB 权限(udev 规则)、仿真器驱动程序或 CCS 所需的其他组件?

    是的、执行上述操作。

    Linux 更新、udev 配置更改或权限问题是否会导致此行为?

    这可能是您的旧规则或权限已被撤销、您需要再次运行脚本的可能性。

    为什么 XDS200 在之前几个月内正常工作后会停止工作?
    是否有建议的方法来诊断根本原因 SC_ERR_ECOM_EMUNAME 以及何时 E_RPCENV_IO_ERROR(-6) 发生?

    请参阅 host-connection-error 以了解根本原因。

    此致、

    Tushar