导入的是C6000的clock例程,编译运行后,不起作用
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.
建议在EVM板上跑下,clock module在仿真环境下我记得以前是不行的。 Not 100% sure, but you can try it.
谢谢!还有一个问题,导入sysbios中typical例程。
/*
* ======== taskFxn ========
*/
Void taskFxn(UArg a0, UArg a1)
{
System_printf("enter taskFxn()\n");
Task_sleep(10);
System_printf("exit taskFxn()1\n");
System_printf("exit taskFxn()2\n");
}
/*
* ======== main ========
*/
Int main()
{
Task_Handle task;
Error_Block eb;
System_printf("enter main()\n");
Error_init(&eb);
task = Task_create(taskFxn, NULL, &eb);
if (task == NULL) {
System_printf("Task_create() failed!\n");
BIOS_exit(0);
}
BIOS_start(); /* does not return */
return(0);
}
仿真时,进入task_sleep(10),就出不来了,也是需要硬件吗?
请问你这个问题解决了吗?我现在也遇到了同样的问题,感觉像是系统滴答没设置好!