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.

[参考译文] TMS320F28375S:升级到 C2000Ware 5.4.0.00后、SysCtl_setEMIF1ClockDivider 出现问题

Guru**** 2479015 points
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1465197/tms320f28375s-issue-with-sysctl_setemif1clockdivider-after-upgrading-to-c2000ware-5-4-0-00

器件型号:TMS320F28375S
主题中讨论的其他器件:SysConfigC2000WARE

工具与软件:

团队成员、您好!

在将我的开发环境从 C2000Ware 5.3.0.00更新至 C2000Ware 5.4.0.00版并将 SysConfig 从1.19.0升级至1.22.0版后、我遇到问题。 我的现有代码在 C2000Ware 5.3.0.00和 SysConfig 1.19.0中正常运行、升级后现在显示错误。

为了查明原因、我首先降级到 SysConfig 1.19.0、同时保持 C2000Ware 5.4.0.00、但错误仍然存在。 但是、当我在使用 SysConfig 1.22.0时恢复到 C2000Ware 5.3.0.00时、问题已解决。

似乎只有在我升级到 C2000Ware 5.4.0.00时才会出现问题。

返回到我的错误, 错误发生在syscfg/device.c文件中,特别是在函数:

"SYSCTL_setEMIF1ClockDivider (SYSCTL_EMIF1CLK_DIV_SYSCTL_EMIF1CLK_DIV_1);"

问题是整个sysctl.h文件看起来都被着色(不可执行)、我无法解决这个问题。

对于可能导致此行为的原因、我们非常感谢您提供任何见解或指导!

谢谢!

Muzammil Qureshi