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.

TMS320F280039C: The global variable initialization being skipped

Part Number: TMS320F280039C

Hi Experts,

My customer finds that the static variable in their app is not initilized after a firmware upgrade.

The static variable initilization should be in the cint00. Customer would reset the device after flashing the new app, the device would run bootloader then bracnh to the entry point of the app, then it executes cint00 and then main.

the cint00 should be executed in this process, however, it there any chance the cint00 decides not to initial the static avaraible?

Since the cint00 is written in assembly, we need your help to understand if this mechanism exists.

Regards,

Hang

  • 您好

    若使用TI提供的运行时支持库,全局变量初始化将由启动例程完成,前提是已启用运行时初始化功能;此功能通过链接时的特定选项进行控制。请查阅C28x编译器手册中的子章节“运行时初始化”以及“指定全局变量初始化类型”。