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.

CCS5.5, 芯片28335,变量定义的问题请教



您好:

请问我用CCS5.5, 芯片28335开发工程;

发现如果变量定义在DSP2833x_GlobalVariableDefs.c里,一切正常;

如果定义在其他的.c文件里,变量始终是0;定义结构体的话,也始终是0;

比如在其他的.c里定义:

void  function(void)

{

static  long Cnt;

Cnt++;

if(Cnt == 10)

{

进不去;

}

}

Debug发现,if(Cnt == 10)根本进不去;Cnt定义在函数体的外面,也是这样;同时,Debug,watch窗口,还不能查看Cnt的值,

提示Err:Memory map prevented reading 0x00010BFA@Data

请问该如何处理?

非常感谢!