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.

[参考译文] 编译器/TMS570LS1224:如何解析十六进制文件并且我想开发一个引导加载程序?

Guru**** 2470720 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/678690/compiler-tms570ls1224-how-to-resolve-the-hex-file-and-i-want-to-develop-a-bootloader

器件型号:TMS570LS1224

工具/软件:TI C/C++编译器

尊敬的专家:

能否告诉我如何解析十六进制文件?现在我已经根据 QJ Wang 代码处理了 bin 文件加载。但我不知道如何开始解析用于引导加载程序的十六进制文件?

 

谢谢、此致

秋奇

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

    如果要将十六进制文件传输到引导加载程序、则需要添加代码以从十六进制记录获取数据。

    例如、Intel hex 具有5个字节的标头和1个字节的校验和、如果使用 CAN 引导加载程序、则只有2个字节的数据。