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.

TMS320F28377S: 使用const声明了一个数组,编译后数组值不正确

Part Number: TMS320F28377S


通过const声明了一个数组之后,DSP仿真发现该数据值是乱码。查看hex文件,发现生成的hex文件也是不正确的。请问是哪里存在问题?

全部赋值成0时,存在下面问题:

不赋值成0时,正常:

编译器v18 v21 v22都试过。