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.

F28335电机控制程序调试编译问题



如题,在CCS4导入HVACI_Sensorless.c例程编译时提示出错如下:

"../SRC/HVACI_Sensorless.c"
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 211: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 610: warning: subscript out of range
"../SRC/HVACI_Sensorless.c", line 610: warning: subscript out of range

看了下对应的错误行为:

PWMDAC_INIT_MACRO(7,pwmdac1) // PWM 7A,7B

PWMDAC_MACRO(7,pwmdac1)

不明白提示:“脚本超出范围”是啥意思,求高手指点!!!