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.
大家好,本人刚接触DSP编程,工作需求在研究BCP协处理用法
问题描述:
在CCS5.2中导入mcsdk pdk tms320c6670 1.0.0.20中BCP_exampleProject,配置target为C6670 Device Functional Simulator, Little Endian之后
编译,debug,载入到Core0
运行时会卡在SrioDevice_init()函数中
#ifndef SIMULATOR_SUPPORT
/* Loop around till the SERDES PLL is not locked. */
while (1)
{
uint32_t status;
/* Get the SRIO SERDES Status */
CSL_BootCfgGetSRIOSERDESStatus(&status);
if (status & 0x1)
break;
}
#endif
不能跳出循环
把#ifndef SIMULATOR_SUPPORT条件编译注释掉,
以及后面一处#ifndef SIMULATOR_SUPPORT条件编译注释掉后,例程可以运行起来,但结果都是fail
请问该如何解决?
谢谢