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.

[参考译文] LP-EM-CC2745R10-Q1:XDS220 无法连接:SC_ERR_SWD_PROTOCOL

Guru**** 2650475 points

Other Parts Discussed in Thread: LP-EM-CC2745R10-Q1, ENERGYTRACE

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1575396/lp-em-cc2745r10-q1-xds220-cannot-connect-sc_err_swd_protocol

器件型号:LP-EM-CC2745R10-Q1
主题中讨论的其他部件: ENERGYTRACE

工具/软件:

我想使用 Spectrum Digital 提供的 XDS 220 ISO、但无法连接到它。

我将使用板上的 10 引脚连接器。

错误 I get 是 SC_ERR_SWD_PROTOCOL、带有以下日志

-----[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 'Aug 12 2025'.
The library build time was '07:30:43'.
The library package version is '20.3.0.3656'.
The library component version is '35.35.0.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 to enter SWD mode.

-----[Print the reset-command hardware log-file]-----------------------------

This emulator does not create a reset log-file.

-----[Perform the SWD Mode Integrity test]-----------------------------------

This test will read the IDCODE register 1 time.


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

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

The value is '-615' (0xfffffd99).
The title is 'SC_ERR_SWD_PROTOCOL'.

The explanation is:
The target failed to see a correctly formatted SWD header. The
connection to the target may be unreliable. Try lowering the
TCLK setting before trying again.

我尝试了将调试器时钟速率降低到 1MHz、没有运气。

这是 CCS 中配置的外观:

该探头是否应该与该控制器配合使用?

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

    您好:

    这个配置应该会起作用。  

    我可以使用板上的 10 引脚接头通过 20 转 10 引脚适配器连接到带 Spectrum Digital XDS220 的 LP-EM-CC2745R10-Q1。

    通过“Test Connections“按钮进行 JTAG 连接测试通过:

    检查您的适配器/连接、确保它们都正常。

    谢谢

    Ki

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

    我可以进行测试连接。  

    我有常规的 XDS200 与 220。  我通过 cTI20 连接到 cortex10 适配器。  我正在通过 SPIT XDS110 上的 3.3V 和 GND 引脚为 LaunchPad 供电。

    -----[Print the board config pathname(s)]------------------------------------
    
    /Users/xxx/.ti/ccs2030/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 'Aug 12 2025'.
    The library build time was '07:30:43'.
    The library package version is '20.3.0.3656'.
    The library component version is '35.35.0.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 to enter SWD mode.
    
    -----[Print the reset-command hardware log-file]-----------------------------
    
    This emulator does not create a reset log-file.
    
    -----[Perform the SWD Mode Integrity test]-----------------------------------
    
    This test will read the IDCODE register 1 time.
    
    The IDCODE register value is 0x6ba02477.
    
    The SWD Mode Integrity test has succeeded.
    Close

    我保留了默认连接设置:

    然后、我可以在 CCS 中启动调试会话并连接到 M33。  但是、当我尝试加载其中一个程序进行闪存时、收到错误消息。  我们中的几个人正在尝试这种方法、明天将提供更多信息。  

    XDS110 将是与该器件搭配使用的默认调试探针、它还具有一个安全调试管理器、我不确定我们是否通过 XDS200 支持该管理器。

    此致、

    John

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

    我看,可能是徒劳的最后  

    我尽量不要丢弃我之前专为处理所有 TI 器件而购买的昂贵 XDS 探头。 请注意、这种型号还支持以太网、我非常重视这一点。

    如果 TI 不将其淘汰、那会很好。

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

    如果看一下我最初发布的配置图像、就会发现我在 SWD TDO 引脚上具有相同的设置。

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

    更多示例/详细信息:

    电路板未通电日志、因此它会感应到某些电路是接通/断开的...

    但现在我已经尝试了 2 种不同的电源模式 — 一种来自同一笔记本电脑 USB、到 3.3V 转换器以跳线、以及一个外部 PSU、但即使电路板通电、绿色 LED 亮起、我得到的只是  SC_ERR_SWD_PROTOCOL。 运气不好……

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

    KI 你可以显示你的物理设置,与一个 pic 或两个? 包括如何为电路板供电。

    此外、您的 EVM 版本号是什么? 启动界面

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    XDS110 将是此器件使用的默认调试探针、它还具有一个安全的调试管理器、我不确定我们是否通过 XDS200 支持该管理器。

    不幸的是、情况似乎是这样。 它仅在 XDS110 上受支持。  

    因此、我们不建议使用非 XDS110 调试探针(对于此器件)。

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

    鉴于缺少对该器件的 XDS200 支持、最便宜的选择(29 美元)是获取 https://www.ti.com/tool/LP-XDS110

    它是一个精简版的 XDS110、可连接到您使用的 LaunchPad。  它还附带一根 10 引脚电缆、用于连接带有 Cortex 10 接头的定制电路板、您可以从中为电路板供电。  在测试 XDS200 连接时、我实际上是使用它为电路板供电。

    还有一个稍微昂贵的版本支持该器件的 EnergyTrace。   https://www.ti.com/tool/LP-XDS110ET

    此致、

    John

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

    我想这个问题就是这样。

    如果我需要测试 XDS220 探针、可能需要再制作一个线程、它是否不适用于任何新的 TI 器件?

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

    目前、CC234x 和 CC27x5 器件均支持 XDS110 以外的任何其他器件所不支持的功能。   

    此致、

    John