I'm trying to merge two hex files, one is a custom bootloader, the other is my user application. The bootloader starts at 0x80002000 (sits on top of DFU bootloader), the user application starts at 0x80008000. Both start locations were done by modifying trampoline.h.
I'm trying to merge the two files with srec_cat, and I get the following error:
srec_cat: Bootloader.hex: 2: warning: redundant 80000000 value srec_cat: Bootloader.hex: 2: warning: redundant 80000001 value srec_cat: Bootloader.hex: 2: contradictory 80000002 value (previous = 40, this one = 10)
If I use the -multi option it works, but it sounds like that's just overwriting, when neither hex file should be overlapping.
I've been reading AVRFreaks all day, and the only thing I can think is that maybe I need to make a custom linker script, instead of playing with the trampoline? I can't figure out how to do that in AS6 though, any thoughts?