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.

[参考译文] TMS320F280039:执行 c_int00函数的时间

Guru**** 2466550 points
Other Parts Discussed in Thread: TMS320F280039

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1489318/tms320f280039-executing-time-of-c_int00-function

器件型号:TMS320F280039

工具与软件:

您好、TI:

     我在我的项目中使用 TMS320F280039、而我们的客户对缩短启动时间有着很高的要求。

     我发现 c_int00函数需要很长时间(在我的项目中大约为75ms ),它的成本主要是 TI_auto_init (运行_cinit )函数。 TI 编译器工具似乎会 强制初始化所有 RAM 数据。  

是否有办法让一些不需要初始化的 RAM 数据肯定不由  c_int00 函数初始化?  

    谢谢!

此致、Yang.Ma

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

    可以设置不希望编译器初始化为 NOINIT 的变量、例如在链接器 cmd 文件中通过以下方式进行设置:

    .bss        :> RAMLS7   , type = NOINIT

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

    非常感谢、它在我的项目中有效。