有两个程序Bootloader和APP,如何将两个工程编译后的可执行文件(.out或.hex或.bin格式)合成一个?
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.
这两个问题是一个问题吧:TMS320F280025: How to merge two executables into one
那边会有相关的工程师来回复你。
也请参考一下这个链接:TMS320F2800137: How to merge the two C2000 Bin files?
因为bin文件就是最终直接烧录到器件中的内容,除了开头部分以外,不包含任何的地址信息及调试信息,所以可以算好地址,手动合并,将中间空着的地方全部填0即可;这个步骤也可以自己编写脚本来实现;
hex文件有自己的格式,相比bin文件,主要是多了地址信息以及校验信息;
out文件除了地址信息以外,还多了调试符号。