[Top][All Lists]

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

Re: [avr-gcc-list] Allocating variables to a fixed address

From: David Kelly
Subject: Re: [avr-gcc-list] Allocating variables to a fixed address
Date: Mon, 11 May 2009 08:44:47 -0500
User-agent: Mutt/

On Mon, May 11, 2009 at 02:55:17PM +0200, Robert von Knobloch wrote:
> Weddington, Eric wrote:
> > Why do you need global variables to be at a specific address?
> >   
> Because my software consists of a:
> A fixed part - main plus User Interface - This is test equipment for
> small electronic products
> and
> Several loadable parts which can be loaded via rs232 as Intel hex and
> 'blown' into the flash as required - These are custom-built for each
> product.
> The entire code is one entity, loadables will be added and removed and I
> cannot have this affecting the main code.

Sounds to me as if you are making the "bootloader" too big and should
simply link an entire application for every possible target. What you
are doing would make more sense if the loadable modules could run out of

David Kelly N4HHE, address@hidden
Whom computers would destroy, they must first drive mad.

reply via email to

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