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.

关于数组的疑问

Other Parts Discussed in Thread: TMS320F28335

芯片:TMS320F28335

定义全局数组如下

float Array[12] = {0};

...

main

{

.......

}

代码烧录到Flash中运行

main函数中有对数组的赋值操作

调试过程中,在CCS中复位或restart时,已经赋值的元素数值还是会存在

但是在调试过程中发现,复位或者restart后只有数组的第一个元素会被清0,这是什么原因呢