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.

[参考译文] TMS320F28066:如何删除28066 .ebss

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1122329/tms320f28066-how-to-remove-28066-ebss

器件型号:TMS320F28066

你好

使用28066时、发现全局变量不是0。

我想问、在上电后、EBSS 段是否不会自动清零?

想知道我是否有配置问题、或者是否真的需要手动清除 EBSS 段?

谢谢你

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

    对于 COFF 格式、默认情况下未初始化的变量不会初始化为零。 用户需要显式初始化它们。

    对于 EABI 格式、未初始化的变量默认初始化为0  

    此致、

    Veena