Hi Chris,

a good solution is to make custom linker scripts for the application and for the bootloader with non overlaping .text memory. compile and link them separately. then either flash one file after the other (without erase in between) or merge the ihex files.

The solution I use is a custom linker script, with a new section defined called bootloader, then use the function attribute to but the bootloader function in that section, this means that the linker merges the two objects (and reports overlaps etc). You don't have to later merge the two hex files.

(not that I think it helps the original post)

Regards,

--
Peter Jansen
STS
Australian Antarctic Division
203 Channel Highway
Kingston
TAS  7050
AUSTRALIA
Phone +61 3 6232 3533

___________________________________________________________________________

   Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not 
the
intended recipient, you are notified that use or dissemination of this 
communication is
strictly prohibited by Commonwealth law. If you have received this transmission 
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 
3209 and
DELETE the message.
       Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________

Reply via email to