This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好、TI 团队、
我使用 hex2000.exe 将*。out 文件转换为*。hex 文件。
当我尝试使用 hex2000.exe 转换 TMS320F2800137.out 时、无法创建 hex 文件。
请提供一些建议。 谢谢。
d:\>hex2000 -romwidth 16 -memwidth 16 -i -o D:\TMS320F2800137.hex D:\TMS320F2800137.out
警告:重复的段名 D:\TMS320F2800137.out (.data)(已忽略)
正在转换为 Intel 格式...
"D:\TMS320F2800137.out".data =>.data
警告:078000h 处的第 D:\TMS320F2800137.out (.data)节处于未配置状态
存储器(已跳过)
D:\>
请将文件放入 TMS320F2800137.out 然后将其附加到您的下一篇文章。
谢谢。此致、
-乔治
e2e.ti.com/.../TMS320F2800137.zip
请帮助检查此情况。
感谢您提交.out 文件。 这是非常不寻常的。 以下是文件头信息...
ofd2000 --obj_display=none,header TMS320F2800137.out OBJECT FILE: TMS320F2800137.out Object File Information File Name: TMS320F2800137.out Format: TI-COFF Version 2 File Type: executable file Time Stamp: Mon Jun 12 22:53:35 2023 Machine: TI C2000 Machine Endian: little endian Entry Point: 0x00000000 Vendor: Texas Instruments, Inc. Tool Version: 0.0.0 Number of Sections: 2 File Length: 263286 Symbol Table File Offset: 0x40446 String Table File Offset: 0x40446 TI-COFF f_flags: 0x0000010f TI-COFF f_flag: F_RELFLG (relocation info stripped) TI-COFF f_flag: F_LNNO (line numbers stripped) TI-COFF f_flag: F_LSYMS (local symbols stripped) CPU Generation: C2700 Control Data Endian: little endian
该命令 ofd2000 C28x 汇编工具手册中有相关说明。 线路 工具版本 指示创建该文件的链接器的版本。 我从未见过版本0.0.0。
它里面没有符号...
nm2000 -a TMS320F2800137.out <no output here>
该命令 2000年 记录在同一手册中。
下面是其中的几个部分...
ofd2000 --obj_display=none,sections TMS320F2800137.out OBJECT FILE: TMS320F2800137.out Section Information id name page load addr run addr size align alloc -- ---- ---- --------- -------- ---- ----- ----- 1 .data 256 0x00078000 0x00078000 0x200 1 Y 2 .data 256 0x00080000 0x00080000 0x20000 1 Y
它确实包含两个部分、这两个部分都名为 .数据 。 这就是十六进制实用程序发出这些错误诊断的原因。
该文件是如何创建的?
谢谢。此致、
-乔治