[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: |
Robert von Knobloch |
Subject: |
Re: [avr-gcc-list] Allocating variables to a fixed address |
Date: |
Mon, 11 May 2009 15:56:34 +0200 |
User-agent: |
Thunderbird 1.5.0.14 (X11/20060911) |
David Kelly wrote:
> 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
> RAM.
That would be no use, the loadables must be non-volatile.
This is a tester that will be sent to a factory (somewhere).
When a new product is to be tested, I can e-mail them the test routine
which they then burn into flash (each of these is 0x900 bytes, there can
be up to 0x0a of them).
This will never be so often as to compromise the flash lifetime, but I
must create a system whereby the 'resident' code is fixed (but
maintainable) and the loadable parts can be freely added, overwritten
etc. I think you will see that this needs the interface to be completely
fixed (variable access, call locations) for all common parts, while the
internals of e.g. the resident part is immaterial to the loadables.
Provided strict adherence to the interface is observed, then a working
system is realisable (I have written such systems in the past but not
with AVRs or GCC).
To realise this interface (API), I must be able define the
variables/function calls in the resident part at known (or. at least
fixed) addresses.
Robert
- [avr-gcc-list] Allocating variables to a fixed address, Robert von Knobloch, 2009/05/11
- RE: [avr-gcc-list] Allocating variables to a fixed address, Schwichtenberg, Knut, 2009/05/11
- RE: [avr-gcc-list] Allocating variables to a fixed address, Weddington, Eric, 2009/05/11
- Re: [avr-gcc-list] Allocating variables to a fixed address, Robert von Knobloch, 2009/05/11
- Re: [avr-gcc-list] Allocating variables to a fixed address, David Kelly, 2009/05/11
- Re: [avr-gcc-list] Allocating variables to a fixed address,
Robert von Knobloch <=
- RE: [avr-gcc-list] Allocating variables to a fixed address, Weddington, Eric, 2009/05/11
- Re: [avr-gcc-list] Allocating variables to a fixed address, David Kelly, 2009/05/11
- RE: [avr-gcc-list] Allocating variables to a fixed address, Stu Bell, 2009/05/11
- Re: [avr-gcc-list] Allocating variables to a fixed address, Robert von Knobloch, 2009/05/12
- Re: [avr-gcc-list] Allocating variables to a fixed address, Jan Waclawek, 2009/05/12
- Re: [avr-gcc-list] Allocating variables to a fixed address, Jan Waclawek, 2009/05/12
- [avr-gcc-list] Re: Allocating variables to a fixed address, David Brown, 2009/05/12
- Re: [avr-gcc-list] Allocating variables to a fixed address, David Kelly, 2009/05/11
- RE: [avr-gcc-list] Allocating variables to a fixed address, Stu Bell, 2009/05/11
- [avr-gcc-list] Re: Allocating variables to a fixed address, David Brown, 2009/05/11