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.

[参考译文] TMS320F28384S:十六进制生成

Guru**** 2393725 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1003640/tms320f28384s-hex-generation

器件型号:TMS320F28384S

您好!

对*。hex 生成有一个疑问。

使用编译器 V20.2.3 LTS (eabi 格式)、我们可以通过两种不同的方式获得两种不同的结果:

1) C2000十六进制实用程序、使用--romwidth=16 --ti_txt、生成了*。hex 但无法正常工作;

2) Cmd:hex2000.exe -i "proj_lab05b.out"-o "proj_lab05b.hex"-order MS -romwidth 16、*。hex 已生成并运行良好。

我是否错过了 C2000十六进制实用程序中的一些配置?

非常感谢。

BR、Jordan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    使用--ti_txt 时生成的输出文件中,地址对应于8位字节而不是16位字。  因此、地址加倍。  proj_lab05b.out 中地址为0x1000的段位于--ti_txt 输出文件中的地址0x2000。  读取 hex2000 --ti_txt 创建的文件中的工具需要考虑这种差异。  如果无法实现、则必须使用另一种十六进制格式、如-i (Intel)。

    谢谢、此致、

    乔治

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    乔治

    实际使用8位字节、结果与16位字节相同。

    让我们尝试使用-I (Intel)。

    非常感谢。

    BR、Jordan