2576|0

2

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

CCS5.4常见编译错误与解决方案 [复制链接]

1.使用CCS5.4 编译TI的28335,产生如下警告:
warning: entry-point symbol other than "_c_int00" specified:  "code_start"
一种解决方法,不用管它,因为C入口地址最终是由用户的CMD文件覆盖的,警告不影响使用。
二是,在编译选项里面link标签页,把Code Entry Point(-e)编辑框里面的code_start删除,就不会产生该警告了。
这里提出一种解决方法。

官方的文档《2802x C/C++ Header Files and Peripheral Examples Quick Start》中有这样一段:

When I build the examples, the linker outputs the following: warning: entry point other than _c_int00 specified. What does this mean?
This warning is given when a symbol other then _c_int00 is defined as the code entry point of the project. For these examples, the symbol code_start is the first code that is executed after exiting the boot ROM code and thus is defined as the entry point via the –e linker option. This symbol is defined in the DSP2802x_CodeStartBranch.asm file. The entry point symbol is used by the debugger and by the hex utility. When you load thecode, CCS will set the PC to the entry point symbol. By default, this is the _c_int00 symbol which marks the start of the C initialization routine. For the DSP2802x examples,the code_start symbol is used instead. Refer to the source code for more information.

entry point符号是debugger所使用的。程序连接时已经制定了一个,而程序的文件中也定义了一个,导致冲突。在CCS4中,可以这样来解决

    然后将“code_start”替换成“_c_int00”,或者放置空白(前提是你的程序中已经有定义)就可以消除此WAINING

2.使用CCS5.4编译28335 例子程序,错误如下:

This project was created using a version of Code Generation tools that is not currently installed: 5.2.1 [C2000]. Please install the Code Generation tools of this version, or migrate the project to one of the supported versions.

解决方法:右击项目,打开属性对话框,选CCS BUILD标签,在 Code Generation tools栏目里面选中

TI V6.0.1即可.

3.使用CCS4编译28335 例子程序,错误如下:

CCS4 No rule to make target `clean'.

解决方法:右击项目,打开属性对话框,选Info标签,Text file encoding\other,选中UTF-8,问题解决,

然后,再改为原来的Text file encoding\Inherited from container(GKB),仍可以正确编译


4.使用CCS3.3编译28335,错误如下:

can't find input file 'rts2800_fpu32.lib'

解决办法:

在ccs的component manager里边选择Code Composer Studio->build tools->tms320c28xx->选中Texas Instrument C2000 Code generation tools<5.0.0B2> 保存设置退出,重新编译,上面的问题(WARNING: invalid compiler option --float_support=fpu32 (ignored) 和  error:  can\'t find input file \'rts2800_fpu32.lib\') 就不会出现了

 
点赞 关注

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

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/10 下一条
【有奖直播】2025是德科技数字月-数字新品来助阵
直播时间:3月19日(周三)14:00
直播奖励:小米口红充电宝、倍思充电线、是德科技十周年鼠标垫

查看 »

 
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
快速回复 返回顶部 返回列表