您的位置:首页 > 其它

CCS 3.3 创建DSP TMSC6726B工程

2012-05-20 20:17 267 查看
1. 安装 CCS 3.3

2. 点击Setup CCStudio v3.3 添加仿真器



3. 导入TMSC6726B 的软件仿真器



4. 打开CCS 3.3。

新建Project

      


  5. 新建Test1工程



6. 新建源文件,并保存文件名test1.c

#include <stdio.h>

void main()
{
int a=0;
while(1)
{
a++;
}
}


7. 添加test1.c至工程。

8. 添加库文件

  C:\CCStudio_v3.3\C6000\cgtools\lib\rts6700.lib

9. 拷贝了一个CMD文件(例子中的,暂时先用着)

/*
*  Copyright 2001 by Texas Instruments Incorporated.
*  All rights reserved. Property of Texas Instruments Incorporated.
*  Restricted rights to use, duplicate or disclose this code are
*  granted through contract.
*/
/*
*  ======== volume.cmd ========
*
*/

MEMORY
{
ISRAM       : origin = 0x0,         len = 0x100000
}

SECTIONS
{
.vectors > ISRAM
.text    > ISRAM

.bss     > ISRAM
.cinit   > ISRAM
.const   > ISRAM
.far     > ISRAM
.stack   > ISRAM
.cio     > ISRAM
.sysmem  > ISRAM
}


10. 将CMD文件添加至工程中。

11. 编译运行就可以了,编译结果如下。

-----------------------------  test1.pjt - Debug  -----------------------------
[test1.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"E:/2-DSP/C6726/Prj/Test1/test1/Debug" -d"_DEBUG" -mv6700 -@"Debug.lkf" "test1.c"

[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>

Build Complete,
0 Errors, 0 Warnings, 0 Remarks.


  工程文件
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: