All,
I wrote a small tool for my own use, which some of you may find useful also. It allows to merge selected address ranges from two Intel hex files into a new hex file (currently limited to 64KB hex files).
I use it to copy calibration information in flash (which is stored at a known location) from an existing hex file into a newly compiled hex file where the calibration information is still blank, using this command:
hexmerge firmware-nocal.hex 0:FFFF calibration.hex F000:FFE0 firmware.hex
Program and source can be downloaded from:
greetings, Tom