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

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

Re: [avr-libc-dev] boot.h


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] boot.h
Date: Wed, 8 Jan 2003 13:19:39 +0100
User-agent: Mutt/1.2.5i

As Volkmar Dierkes wrote:

> > I didn't know the pagesize differed between processors.
> 
> Here is a list:
> 
> ATmega128  128 words
> ATmega16    64 words
> ATmega161   64 words
> ATmega162   64 words
> ATmega163   64 words
> ATmega169   64 words
> ATmega32    64 words
> ATmega323   64 words
> ATmega64   128 words
> ATmega8     32 words
> ATmega8515  32 words
> ATmega8535  32 words

> > Sure, it makes sense to put it in there.  What name to use?  I could
> > imagine SPM_PAGESIZE or something like that would be OK?
> 
> Good enough name to me.

OK, so we agreed on a name.  Does it make sense to have the variable
in terms of words, or should it rather be bytes?  I know the flash is
organized in words, but IMHO, SPM counts in bytes, so the loop count
is probably in bytes, too.  Am i mistaken here?

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

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