这个提示啥意思

2019-08-02 15:36发布


Error:Illegal opcode (XXXX) at pc= 0x0000000c  Illgal opcode at pc =0x0000000c和
   Error:SIMmay not be in stable,Advisable to correct the error before running这样类似的警告
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
11条回答
ousj
1楼-- · 2019-08-03 02:24
int main( )
{
short int * speech_samples; /* Array of speechsamples */
INT32 file_length;/* Number of samples in speech file */
INT32 num_read; /*number of elements read from file */
charpSpeechFilename[100];
   char *argv[]={"dg105.wav"};
FILE *speech_file;
   intPartitionNumber;
FLOAT PredictedMos;
strcpy(pSpeechFilename,argv[0]);
/* open speech file*/
if((speech_file =fopen(pSpeechFilename, "rb")) == NULL )
{
printf("Cannot open file %s ", pSpeechFilename ) ;
exit(-1) ;
}
/* Read speechsamples from file */
fseek(speech_file,0 , SEEK_END) ;
file_length =(ftell(speech_file))/(sizeof(short int)) ;
fseek(speech_file,0 , SEEK_SET) ;
speech_samples =(short int *)calloc(file_length, sizeof(short int)) ;
num_read =fread(speech_samples, sizeof(short int), file_length, speech_file);
printf("num_read=%d",num_read);
   return 0;
}
小小猫咪
2楼-- · 2019-08-03 08:23
芯片是哪个型号啊,CCS是哪个版本?
ousj
3楼-- · 2019-08-03 14:18
算了,先结贴了,明天再说吧
huangfeng33
4楼-- · 2019-08-03 14:36
应该不是你源代码的问题,可能是哪里设置有误,GEL文件或者CMD文件。。。
拿起书本
5楼-- · 2019-08-03 15:17
 精彩回答 2  元偷偷看……

一周热门 更多>