avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] linking bootloader and main application at once


From: Shaun Jackman
Subject: Re: [avr-gcc-list] linking bootloader and main application at once
Date: Mon, 2 Oct 2006 09:29:06 -0600

On 10/2/06, dimax un <address@hidden> wrote:
If all you need is to program two hex files into flash why not to do it?
You can use following trick:
1. avr-objcopy hex1 to bin1
2. avr-objcopy hex2 to bin2
3. merge bin1 and bin2 (may require some scripting). Take care to add
bin2 to bin1 at the correct address where the bootloader starts.
4. avr-objcopy bin12 to hex12

Try...

      cat bootloader.hex application.hex >image.hex

Cheers,
Shaun




reply via email to

[Prev in Thread] Current Thread [Next in Thread]