18646|1

1

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

用hex2000.exe转换out文件生成的.i10文件是什么原因 [复制链接]

我刚开始学dsp,在用hex2000转out文件为hex文件时发现,有时候转换后的文件除了hex文件外还有个.i10文件,不知道这是什么原因造成的,求高手指导!!!

最新回复

If you use hex utility version 17.6.0.STS, then you are probably experiencing the bug described in this forum thread.Otherwise, my best guess is that you have an initialized section on PAGE 1, and you shouldn't. Visit this article for background on memory pages. The hex utility only converts initialized sections, like .text and .data. Uninitialized sections, like the stack and .ebss, are ignored. Usually (bordering on always), a C2000 linker command file has initialized sections on PAGE 0, and uninitialized sections on PAGE 1. The hex utility always outputs data for PAGE 0 and PAGE 1 in different files. Usually, no output is needed for PAGE 1, and so only one file is output. If, for some reason, there are initialized sections on PAGE 0 and PAGE 1, then two files are output. If you have not specified a name for the second output file, then the hex utility automatically chooses an output file name and issues the warning diagnostic you show in your post.Thanks and regards,-Georgehttps://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/761417/compiler-tms320f28377s-warning-data-is-being-written-to-auto-generated-file把带有初始化部分的地址段 定义在cmd的page0 就只生成一个hex了  详情 回复 发表于 2022-7-7 22:55
点赞 关注
 

回复
举报

3

帖子

1

TA的资源

一粒金砂(中级)

沙发
 

If you use hex utility version 17.6.0.STS, then you are probably experiencing the bug described in this forum thread.

Otherwise, my best guess is that you have an initialized section on PAGE 1, and you shouldn't. Visit this article for background on memory pages. The hex utility only converts initialized sections, like .text and .data. Uninitialized sections, like the stack and .ebss, are ignored. Usually (bordering on always), a C2000 linker command file has initialized sections on PAGE 0, and uninitialized sections on PAGE 1. The hex utility always outputs data for PAGE 0 and PAGE 1 in different files. Usually, no output is needed for PAGE 1, and so only one file is output. If, for some reason, there are initialized sections on PAGE 0 and PAGE 1, then two files are output. If you have not specified a name for the second output file, then the hex utility automatically chooses an output file name and issues the warning diagnostic you show in your post.

Thanks and regards,

-George

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/761417/compiler-tms320f28377s-warning-data-is-being-written-to-auto-generated-file

把带有初始化部分的地址段 定义在cmd的page0 就只生成一个hex了

 
 

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

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

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

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