10891|5

172

帖子

0

TA的资源

一粒金砂(中级)

楼主
 

ccsv5与matlab连接步骤。。我也是新手大家讨论讨论 [复制链接]

百度来的资料。。。。。大家分享


Martin,

You can use CCS v5.1 today with Matlab via the xmakeilesetup infrastructure provided for CCSv4.

To do so, follow these instructions:

Type xmakefilesetup at the Matlab command prompt. A GUI opens.
Keep the "Template" as "gmake", uncheck "Display operational conifgurations only", then select "ti_c000_ccsv4" for the Configuration.
Click Apply on the XMakefile GUI, if you haven't used this tool before, a GUI will ask to browse to you CCS v4 installation folder. Use this tool to point to your CCS v5.1 installation folder (i.e.: C:\TI\ccsv5).
If you have previously used this tool with CCSv4 a "Tool Directories" tab should be present below, select that tab and copy your CCS v5.1 installation paths in the edit boxes, i.e:
CCS Installation: C:\TI\ccsv5
Code geeneration Tools: C:\TI\ccsv5\tools\compiler\c2000
Code geeneration Tools: C:\TI\bios_6_32_05_54
Click "Apply" on the GUI (don't close it).
Click on the "New" button next to "Configurations", the tool will offer to chose a name like "ticcs_c2000_ccsv4_clone", let's rename it "ticcs_c2000_ccsv5_based_on_v4", click "OK".
All tabs are now editable, you have to update "Compiler", "Linker" and "Archiver". Make sure that the paths are pointing to your CCS v5.1 installation folders, i.e.:
Under Compiler, the compiler section should poiint to something like : C:\TI\ccsv5\tools\compiler\c2000\bin\cl2000
Under Compiler, the arguments section should poiint to something like : -I"C:\TI\ccsv5\tools\compiler\C2000\include" -fr"[|||MW_XMK_DERIVED_PATH_REF|||]"
Under Linker, the Linker section should poiint to something like : C:\TI\ccsv5\tools\compiler\C2000\bin\cl2000
Under Archiver, the Archiver section should poiint to something like : C:\TI\ccsv5\tools\compiler\C2000\bin\ar2000
Click "OK" on the GUI to save your changes and close it.
You can now use the models you have created for CCSv3.3.

On your model or on a c2000 demo, double click on the "Target Preferences" block.
On the "IDE/Tool Chain" drop down, select "Texas Instruments Code Composer Studio v4 (makefile generation only)". Make sure that you save your target settings first as this will erase the existing configuration.
Select the apropiate board and processor. Restore your settings.
You are now ready to generate code using CCS v5.1. This approach will use a makefile based approach to compile and link the code using the CCS v5.1 command like tools. Once these steps are completed you can grab the generated *.out file in the code generation folder and download it on the target using CCS v5.1.

Even though this workaround is based on the CCS v4 support, you don't need to have it installed on your machine. This has been succesfully tested with Matlab R2011b and the pre-release of Matlab R2012a. It should also work with earlier versions of the xmakefilesetup tool.

I hope it helps,

Good luck,

Antonin.

最新回复

顶顶顶顶顶,有用  详情 回复 发表于 2016-4-4 14:13
 
点赞 关注(2)

回复
举报

164

帖子

1

TA的资源

一粒金砂(高级)

沙发
 
楼主,CCS和matlab连接有什么用? 能实现哪些功能,能否具体说一下,
我刚开始用CCS5.1,一直对matlab连接ccs很好奇,
14板的matlab支持中文,不知道连接过程是不是中文向导

点评

不是中文的  详情 回复 发表于 2014-4-23 20:13
 
 

回复

2856

帖子

260

TA的资源

五彩晶圆(高级)

板凳
 
matlab可以生成DSP算法(程序)。
 
 
 

回复

172

帖子

0

TA的资源

一粒金砂(中级)

4
 
樊旭超 发表于 2014-4-23 18:00
楼主,CCS和matlab连接有什么用? 能实现哪些功能,能否具体说一下,
我刚开始用CCS5.1,一直对matlab连接 ...

不是中文的
 
 
 

回复

47

帖子

2

TA的资源

一粒金砂(中级)

5
 
楼主好人
 
 
 

回复

2

帖子

2

TA的资源

一粒金砂(初级)

6
 
顶顶顶顶顶,有用
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/9 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表