I use mega128 with:
Lower 64k: The program in normal way.
Upper 64k: Data produced outside GCC. Available as bin (or hex) file.
Sofar I have a small Perl script that merges the two .bin files together and creates one .hex file. The hex file is programmed into mega128.
However, I like to debug with the JTAGICE and Studio 4.08.
For this I would like to link my .bin data for the upper 64k into my .elf file. The .elf will ofcourse be converted into a .coff.
I hope there is a way to do this within the makefile.
Please give me a hint on how to do this.
(Of course any other solution that does the job would be fine too)