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.

[参考译文] CCS/TMS320C6655:当对环路代码进行-O3优化时、CGTV7.4.x 将关闭中断。

Guru**** 2539330 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/742955/ccs-tms320c6655-cgtv7-4-x-will-turn-off-interrupt-when-do--o3-optimization-at-loop-codes

器件型号:TMS320C6655

工具/软件:Code Composer Studio

大家好、

我的客户使用 CGT V7.4.24 进行 C6655 DSP 代码编译。 他们发现如果使用-O3选项、一些循环代码将关闭中断。

这将导致无法实时执行高优先级中断。  

您能否帮助确认是否有关闭编译器这种行为的选项?

您可以按附加项目进行检查。

我还附加了 main.c 的.asm 文件、您可以搜索 DINT 和 Rint、它会关闭并打开中断。

此外、CGT v8.x 也没有这 种行为、但由于稳定性原因、客户无法更改为 CGTv8.x。

请帮助修复 CGT V7.x

谢谢!

BR、
Dennye2e.ti.com/.../8081.test.7ze2e.ti.com/.../main_5F00_7424.asm