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.

[参考译文] TMS320F28027:板载 XDS110和 TMS320F28027

Guru**** 2534260 points
Other Parts Discussed in Thread: MSP-EXP432E401Y, TMS320F28027, MSP432E401Y

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1030052/tms320f28027-onboard-xds110-and-tms320f28027

器件型号:TMS320F28027
主题中讨论的其他器件:MSP-EXP432E401YMSP432E401Y

尊敬的团队:

我的客户正在使用 板载 XDS110 (MSP-EXP432E401Y)来调试其定制 的 TMS320F28027板。 但 板载 XDS110无法调试 其定制 的 TMS320F28027板。

F28027板工作良好、因为独立的 XDS100V2和 XDS110仿真器可以对其进行调试。  

CCS Test Connection Log

[Start: Texas Instruments XDS110 USB Debug Probe]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\ADMINI~1\AppData\Local\TEXASI~1\
CCS\ccs1011\0\0\BrdDat\testBoard.dat

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

This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioxds110.dll'.
The library build date was 'May 7 2020'.
The library build time was '21:10:18'.
The library package version is '9.2.0.00002'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '5' (0x00000005).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.

-----[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]

客户尝试将 TCLK 频率降低至100kHz、500kHz、1MHz、2MHz、3MHz、 并且错误消息保持不变。

它们可以使用相同的方法来调试28035电路板。

使用独立 XDS110仿真器时的测试波形

使用 板载 XDS110仿真器时的测试波形

请帮助检查此问题。

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

    Susan、

    我将给出我的答案、但我也将与 MSP432团队联系、因为他们设计了此 LaunchPad。

    我不确定 XDS 复位输出信号是否与 F2802x JTAG 上的 TRSTn 信号等效。  在该 LaunchPad 上、我认为该信号是驱动目标 MSP432上复位的复位输出信号、而不是控制我们 JTAG 在 F28027上所需的测试复位信号。

    与 CCS Target 中的完全 JTAG 选择相比、XDS110实现看起来是4引脚 cJTAG。

    外部 XDS110将此信号正确地引入到标准 TI 14引脚接头。

    现在、在具有 TRSTn 的器件上、这是一个简单的信号、将其保持在低电平将使测试逻辑保持在复位状态、使其变为高电平将使测试逻辑退出复位状态。

    如果您在 MSP432 LP 上将仿真器配置为 XDS110目标配置中的完整 JTAG、然后手动(使用跳线)将 F28027上的 TRSTn 从低电平拉至高电平、然后进行连接、这可能会起作用。

    我将再次访问 MSP432论坛、以防他们有更多信息。

    最棒的

    Matthew

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

    谢谢 Matt!

    现在、客户可以使用板载 XDS110调试28027。

    但他无法使用 相同的板载 XDS110连接28035。

    使用 独立 XDS110仿真器时的测试波形:

    使用 板载 XDS110仿真器时的测试波形:

    请帮助检查此问题。

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

    您好!

    有人要求我提出一些意见。

    可以在下面的帖子中看到一些参考波形。 它们可能有助于比较电平、信令等

    https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/661170/ccs-tm4c123gh6pm-xds100v2-debugging-issue/2442314#2442314

     正确描述了复位 C2000上 JTAG 状态机所需的 TRST 信号、MSP432E401Y 10引脚 JTAG 连接器不具有该信号。 XDS Reset Out (XDS 重置)是 nReset (nReset)(也称为系统重置)。 有关各种引脚排列的详细信息、请访问:

    https://dev.ti.com/tirex/explore/node?node=AEnDVmEAFjxrbZ8Vfn.lBg__FUz-xrs__LATEST

    在大多数情况下、C2000器件可以在没有 TRST 信号的情况下进行连接、但这对于闪存编程等特定操作至关重要。

    https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/544269/tms320f28069f-jtag-programming-via-launchpad/1987763#1987763

    另一个方面是、某些 C2000电路板的 TRST 信号上具有一个极低的下拉电阻器、该下拉电阻器会影响 XDS110的运行(尽管它适用于 XDS100或其他调试探针)。 下面的主题中提到了一个参考:

    https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/628509/ccs-tmdsemu110-u-xds110-not-working-but-my-xds100v2-works-fine/2334404#2334404

    您似乎已经尝试了各种 TCLK 速度、这通常是一种尝试克服连接问题的好方法。 有关硬件和软件的其他提示、请访问:

    https://dev.ti.com/tirex/explore/node?node=AJ0stIncCUg6d9b-LOVu9w__FUz-xrs__LATEST

    希望这对您有所帮助、

    拉斐尔

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

    客户仍然无法连接28035。

    使用0xFE03E0E2执行测试。
    测试3字0:扫描出0xFE03E0E2并在0x5FE03E07中扫描。
    测试3字1:扫描出0xFE03E0E2并在0x0FE03E0C 中扫描。
    测试3字2:扫描出0xFE03E0E2 并在0x0FE03E0E 中扫描
    测试3字3:扫描出0xFE03E0E2并在0x0FE03E0E 中扫描。
    测试3字4:扫描出0xFE03E0E2并在0x0FE03E0E 中扫描。
    测试3字5:扫描出0xFE03E0E2并在0x0FE03E0E 中扫描。
    测试3字6:扫描出0xFE03E0E2并在0x0FE03E0E 中扫描。
    测试3字7:扫描出0xFE03E0E2并在0x0FE03E0E 中扫描。

    已提供前8个错误的详细信息。
    该实用程序现在将仅报告失败测试的计数。
    扫描测试:3、跳过:0、失败:1
    使用0x01FC1F1D 进行测试。
    扫描测试:4、跳过:0、失败:2
    使用0x5533CCAA 进行测试。
    扫描测试:5、跳过:0、失败:3
    使用0xAACC3355进行测试。
    扫描测试:6、跳过:0、失败:4
    一些值已损坏- 65.6%。

    JTAG IR 完整性扫描测试失败。

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

    Susan、

    请对延迟表示歉意。 您的客户是否能够解决此问题?

    无效数据读回问题主要与硬件有关。 我在上一个帖子(最后一个链接)中发送的调试 JTAG 页面包含有关此问题的信息-只需搜索无效数据读回即可。

    如基准中所述、该误差可能由下拉 TRST 电阻器引起。

    我没有更多的想法可以尝试、但希望这些想法足以解决这个问题。

    此致、

    拉斐尔