avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] [RFC] Boot Loader Support


From: ken restivo
Subject: Re: [avr-libc-dev] [RFC] Boot Loader Support
Date: Tue, 10 Sep 2002 12:35:16 -0700
User-agent: Mutt/1.3.25i

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Sep 09, 2002 at 04:59:02PM -0600, E. Weddington wrote:
> 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?

Absolutely. It could have saved me a lot of time iff I was working with the 
newer/bigger parts.

> 
> > 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?

Oops, sorry I forgot to add the link the first time. 
It's at http://tlw.com/bryce/robot/avr

> 
> > 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 mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/avr-libc-dev

- -- 
- ---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9fklze8HF+6xeOIcRAnLqAJ0S4vaf63OGkRiMYEzV/VqibkekqQCfeCrw
bq0SN0DdKD09sef7lg+Y3T4=
=WPCE
-----END PGP SIGNATURE-----




reply via email to

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