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.

[参考译文] TMS320F280039C:刷写问题

Guru**** 2455560 points
Other Parts Discussed in Thread: LAUNCHXL-F280039C, TMS320F280025C

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1322817/tms320f280039c-issue-in-flashing

器件型号:TMS320F280039C
主题中讨论的其他器件:TMS320F280025C、LAUNCHXL-F280039C

您好!

我有一个项目、其中 F280025C 已替换为 F280039C、相关迁移文档: www.ti.com/.../spruiw4.pdf

尝试在 F280039C 工程(通用电机控制库)的电机控制 SDK 5.1中验证与 XDS110 (来自 TMS320F280025C 评估套件)的连接时、出现以下错误:

[Start]

Execute the command:

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

[Result]


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

C:\Users\SEBAST~1\AppData\Local\TEXASI~1\
    CCS\ccs1210\0\0\BrdDat\testBoard.dat

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

This utility has selected a 100/110/510 class product.
This utility will load the adapter 'jioxds110.dll'.
The library build date was 'Jun  2 2023'.
The library build time was '12:47:07'.
The library package version is '9.12.0.00150'.
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]

有趣的是、当我在电机控制 SDK 4.0中执行同样的操作(目标是 F280025C、但硬件是 F280039C)时、验证会成功。

哪里出了问题?

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

    您好!

    您在使用什么硬件? TI 评估板或定制 PCB? 请检查目标配置文件设置和高级设置。

    此致!

    凯文

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

    您好!

    我使用定制电路板和 LAUNCHXL-F280039C 对其进行了测试、得到的结果相同:

    这是直接位于 LAUNCHXL 上的日志、开箱即用(我测试了几个):

    [Start]
    
    Execute the command:
    
    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity
    
    [Result]
    
    
    -----[Print the board config pathname(s)]------------------------------------
    
    C:\Users\SEBAST~1\AppData\Local\TEXASI~1\
        CCS\ccs1210\0\0\BrdDat\testBoard.dat
    
    -----[Print the reset-command software log-file]-----------------------------
    
    This utility has selected a 100/110/510 class product.
    This utility will load the adapter 'jioxds110.dll'.
    The library build date was 'Jun  2 2023'.
    The library build time was '12:47:07'.
    The library package version is '9.12.0.00150'.
    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]

    那么、这正是 TI 电路板的同一个问题。 验证在 universal_motorcontrol_test 项目属性中完成:

    在.ccxml 下进行的验证正常工作、并且在该处正确识别 XDS110:

    我可以使用通用电机控制固件使 LAUNCHXL 套件刷新一次、现在尝试在 CCS 中刷新时总是出现此错误:

    如果我重新启动 PC、关闭器件电源或使用另一个 USB 端口也没关系。 始终会发生相同的错误

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

    我发现这个误差只发生在通用电机控制项目中、我真的不知道为什么。

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

    您好!

    这应该是所使用的目标配置文件存在的问题。 您是否可以尝试下面 Academy 模块中介绍的"选项2:手动启动目标配置":

    https://dev.ti.com/tirex/explore/content/c2000_academy_2_05_00_51/_build_c2000_academy_2_05_00_51/source/c2000_get_started/c2000_getstarted.html#set-up-target-configuration

    此致!

    凯文