PS0:我是纯新手,导师需要用DSP做一个东西,然后给了我一套开发板,让我自行摸索。
背景描述:
A、采用TMS320C6678芯片;
B、采用评估板,仿真器是XDS560v2;其实这个仿真器是板上仿真器,和评估板打包一起买的;
C、开发环境为CCS 5.2.1.00018;编译器的版本号TI v7.3.4;
问题描述:
我只是想看看怎么把程序烧写进去,所以程序是例程的,如下:
#include <stdio.h> // standard I/O needed for printf
#include <c6x.h>
void Delay()
{
unsigned int i,p;
i=5000;
p=5000;
while(i--) p++;
}
void main(void) {
unsigned int i;
int m = 0;
for(i=0;i<10;i++)
printf("m=%d\n", m++);
Delay();
while(1) ;
}
对此进行Build,出现了如下错误:
Generated resource conflict:
two resources of the same name: /First_C6678/Debug/.metadata/.plugins/org.eclipse.cdt.make.core/specs.obj
generated by different tools
tool1: C6000 Compiler
tool2: C6000 Compiler
总之,请大家帮帮本菜鸟,祝大家新年愉快。
PS1:请问大家,对于新手,有没有比较靠谱的教程?如果说是官方文档,也请说明是哪一个,因为我真的是小白。。
