CCS 3.3 创建DSP TMSC6726B工程

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.

 

  工程文件 

 

 

 

 

 

 

 

 

转载于:https://www.cnblogs.com/because/archive/2012/05/20/2510612.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值