[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [RFC] Boot Loader Support
From: |
E. Weddington |
Subject: |
Re: [avr-libc-dev] [RFC] Boot Loader Support |
Date: |
Mon, 09 Sep 2002 16:59:02 -0600 |
On 9 Sep 2002 at 15:36, ken restivo wrote:
> Very cool, thanks!
>
> The avr-boot.h functions look pretty efficient; I'm sure they'll be
> very useful to many, especially those with the larger parts who get to
> write their bootloaders in c. Alas, I have an atmega163 with only 16K
> flash, and budget of only 512 bytes for a bootloader, so I'm stuck
> writing mine in assembler. Oh well.
>
So I can safely say that you would vote to include assembly macros to
do the same thing as well then?
> It might also be helpful to include Bryce Denney's main.lcf or a
I can't seem to find that. Could you send me a copy?
> sample Makefile with some of the --defsyms in it, or both. BTW, when I
> used -nodefaultlibs and -nostartfiles, then I had to manually define
> __stack as well. Fun fun fun.
>
> - -ken
Also, I forgot to mention that the macro boot_mem_read() in avr-
boot.h, essentially does the same (or is supposed to) as the macros
_LPM() and _ELPM() in ina90.h. However, there have been some recent
posts on avr-gcc-list about problems with the macros in ina90.h,
especially trying to use them on an ATmega128. But again, I haven't
tested boot_mem_read() on other devices so I don't know if it could
be a straight-across replacement for those macros.
Eric
- [avr-libc-dev] [RFC] Boot Loader Support, E. Weddington, 2002/09/09
- Re: [avr-libc-dev] [RFC] Boot Loader Support, ken restivo, 2002/09/09
- Re: [avr-libc-dev] [RFC] Boot Loader Support,
E. Weddington <=
- [avr-libc-dev] timer.h, Chris Baugher, 2002/09/15
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/16
- Re: [avr-libc-dev] timer.h, Joerg Wunsch, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Joerg Wunsch, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Theodore A. Roth, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Theodore A. Roth, 2002/09/30