使用ccs7.3
可以正常build ,AM5718开发板采用Jtag方式连接仿真器xds100v3,再连接电脑。
可以正常进入debug界面(debug选项中选择dsp芯片),也可以得到运行后的结果。但是无论是加断点进行调试,或者是只进入debug界面不进行任何操作,等待十几秒后都会出现错误 no source available for "0x95022c00"
例程代码如下
/*
* ======== main.c ========
*/
#include <xdc/std.h>
#include <xdc/runtime/Error.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
/*
* ======== taskFxn ========
*/
Void taskFxn(UArg a0, UArg a1)
{
System_printf("enter taskFxn()\n");
Task_sleep(10);
System_printf("exit taskFxn()\n");
System_flush(); /* force SysMin output to console */
}
/*
* ======== 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")8;
BIOS_exit(0);
}
BIOS_start(); /* does not return */
return(0);
}





