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.

[参考译文] TMS320F28379D:XCP 问题

Guru**** 3022600 points

Other Parts Discussed in Thread: TMS320F28379D

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1671170/tms320f28379d-xcp-problem

部件号: TMS320F28379D

您好:

当我尝试在 Simulink C2000 中使用第三方外部模式(控制PMSM 加载双电机 (Dyno)- MATLAB 和 Simulink 示例)、并尝试使用控制台获取 XCP 测量时、我收到以下错误。

image.png

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    ",="" roboto,="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">您好、
    ",="" roboto,="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">
    ",="" roboto,="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">ControlDesk 日志中的错误可能是由于 XCP Master (ControlDesk) 和 XCP Slave(TMS320F28379D 目标)之间的分配不匹配引起的。
    ",="" roboto,="" arial,="" sans-serif;="" font-size:="" 16px;="" font-weight:="" 400;="" margin:="" 12px="" 0px="" text-decoration:="" none;="" border-bottom:="" rgb(10,="" 10,="" 10);"="">
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    如果您有其他问题、获取 MathWorks 产品支持的理想方法是 联系 MathWorks 现场技术支持。

    您也可以在 MATLAB Answers C2000 论坛上搜索答案或发布问题。 此外、 文档 和 示例中还提供了有关 MathWorks 支持 C2000的信息。

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

    您可以尝试以下操作吗:

    1.减少观测变量的数量(ODT 计数)
    2.检查目标中的内存分配(Simulink / XCP 配置)。 确保在目标软件中为 XCP 分配的内存区域足够大。
    3. 如果通过标准 USB 转串行桥接器(如 XDS100)使用较高的波特率(例如>1Mbps)、请尝试将其降低到 115,200bps 来排除导致格式错误的命令的通信噪声。