zoukankan      html  css  js  c++  java
  • 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.

      工程文件 

     

     

     

     

  • 相关阅读:
    揭秘淘宝286亿海量图片存储与处理架构
    从能做的事做起,做越来越多的事
    用表驱动代替switchcase
    文件过滤驱动中的重入处理
    谈谈对APC的一点理解
    StartIo例程的作用
    C++各大名库的介绍
    IRQL
    FastIO
    一道面试题,看这段代码最后抛出什么异常
  • 原文地址:https://www.cnblogs.com/because/p/2510612.html
Copyright © 2011-2022 走看看