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.

[参考译文] TMS570LS3137:十六进制和输出文件存储器

Guru**** 2601915 points
Other Parts Discussed in Thread: UNIFLASH

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/744066/tms570ls3137-hex-and-out-file-memory

器件型号:TMS570LS3137
主题中讨论的其他器件:UNIFLASH

您好!

我实际上在生成十六进制和输出文件。 输出文件大小约为4MB、十六进制文件大小约为7MB、但微控制器程序闪存为3MB。 我仍然能够使用 UNIFLASH 刷写 hex 文件。 我很困惑十六进制文件是否已完全刷写、因为当我打开十六进制文件时、我可以看到7M 的位置。 OUT 和 HEX 文件之间如何存在如此大的差异。 能不能有人回答我的问题。

谢谢

Vivekananda  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!
    .out 和*。hex 字段不仅包含代码、还包含大量额外信息。 输出文件也包含调试信息。
    hex 文件是 ASCII 文件、包含地址和一些额外符号(如空格)。 正常情况下、*。out 和*。hex 文件明显大于存储器占用空间。
    在存储器中、您仅加载代码的二进制表示。

    此致、
    米罗