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.

[参考译文] TMS320F28335:代码在 CCS12中运行、跳过独立的行

Guru**** 2595800 points
Other Parts Discussed in Thread: TIDM-1022

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1193466/tms320f28335-code-runs-in-ccs12-skips-lines-stand-alone

器件型号:TMS320F28335
主题中讨论的其他器件:TIDM-1022

我正在使用'F28335和 CCS12开发 PFC 电路的代码。

我们有自己的目标板。

该代码在 CCS12中运行正常。

在独立模式下,ControlCalcs()的一个部分始终会丢失。

我在 ControlCalcs()的开头和结尾切换一个端口,因此我知道它一直在运行。

优化器已关闭。  我打开了它、只是为了查看会发生什么、代码确实运行了一些其他指令。

这有点难诊断!!  我已经在这方面工作了很长时间、但现在没有进展。

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

    请检查在独立模式下、您的代码是否会复制到与连接 CCS12时相同的 RAM 位置。

    您可以查看我们的示例参考设计、例如 TIDM-1022

    Shamim