打印

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

[复制链接]
7737|6
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
justbybing|  楼主 | 2014-10-30 21:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
justbybing|  楼主 | 2014-10-30 21:17 | 只看该作者
求高手指点,谢谢。

使用特权

评论回复
板凳
tianli1980| | 2014-10-30 22:45 | 只看该作者
对CCS5使用的不多,一般使用CCS3.3,过来学习了。

使用特权

评论回复
地板
jxmzzr| | 2014-10-31 14:48 | 只看该作者
楼主输出hex干什么用呢?不是直接能下载吗?!

使用特权

评论回复
5
wei3890836| | 2014-11-6 11:50 | 只看该作者
ccs5在属性面板里有一个选项,生成.out文件时可以同步生成.hex文件或者.txt文件。
具体右击工程——properties——Build——Steps——Apply Predefined Step

使用特权

评论回复
6
wei3890836| | 2014-11-6 11:52 | 只看该作者
jxmzzr 发表于 2014-10-31 14:48
楼主输出hex干什么用呢?不是直接能下载吗?!

.hex文件可以脱离仿真器,用烧写器下载,有时候比较方便

使用特权

评论回复
7
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

粉丝