1. 下载开源合并工具 srec_cat.exe
https://sourceforge.net/projects/srecord/
2. command of combining two hex files
C:\Program Files\srecord\bin\srec_cat.exe ..\..\atmc_bootloader\MDK-ARM\atmc_bootloader\atmc_bootloader.hex -Intel ..\..\atmc\MDK-ARM\atmc\atmc.hex -Intel -o ..\..\release\atmc_release.hex -Intel
3. command of combining two bin files
C:\Program Files\srecord\bin\srec_cat.exe ..\..\atmc_bootloader\MDK-ARM\atmc_bootloader\atmc_bootloader.bin -Binary -crop 0x000000 0x00FFFF ..\..\atmc\MDK-ARM\atmc\atmc.bin -Binary -crop 0x000000 0x0C0000 -offset 0x020000 -o ..\..\release\atmc_release.bin -Binary