通过CCS5编译的.out文件怎么转化为hex文件呢?

[复制链接]
8383|6
 楼主| justbybing 发表于 2014-10-30 21:16 | 显示全部楼层 |阅读模式
通过CCS5编译的.out文件怎么转化为hex文件呢?或者编译之前怎么设置同时产生.out/.hex/.bin文件呢?
 楼主| justbybing 发表于 2014-10-30 21:17 | 显示全部楼层
求高手指点,谢谢。
tianli1980 发表于 2014-10-30 22:45 | 显示全部楼层
对CCS5使用的不多,一般使用CCS3.3,过来学习了。
jxmzzr 发表于 2014-10-31 14:48 | 显示全部楼层
楼主输出hex干什么用呢?不是直接能下载吗?!
wei3890836 发表于 2014-11-6 11:50 | 显示全部楼层
ccs5在属性面板里有一个选项,生成.out文件时可以同步生成.hex文件或者.txt文件。
具体右击工程——properties——Build——Steps——Apply Predefined Step
wei3890836 发表于 2014-11-6 11:52 | 显示全部楼层
jxmzzr 发表于 2014-10-31 14:48
楼主输出hex干什么用呢?不是直接能下载吗?!

.hex文件可以脱离仿真器,用烧写器下载,有时候比较方便
huangfeng33 发表于 2014-11-6 15:16 | 显示全部楼层
是这个吧,CCS手册说可以



2.1.5 How to Generate Binary-Format Files (TI-TXT and INTEL-HEX) The CCS installation includes the hex430.exe conversion tool. It can be configured to generate output objects in TI-TXT format for use with the MSP-GANG430 and MSP-PRGS430 programmers, as well as INTEL-HEX format files for TI factory device programming. The tool can be used either standalone in a command line (located in \ccsv5\ccs_base\tools\compiler\msp430\bin) or directly within CCS. In the latter case, a post-build step can be configured to generate the file automatically after every build by selecting predefined formats such as TI-TXT and INTEL-HEX in the "Apply Predefined Step" pulldown menu (Project → Properties → Build → Build Steps Tab → Post-Build Step → Apply Predefined Step). The generated file is stored in the \\Debug\ directory.



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

本版积分规则

82

主题

1106

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部