avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] avr.c cleanups


From: Jan-Hinnerk Reichert
Subject: Re: [avrdude-dev] avr.c cleanups
Date: Mon, 8 Dec 2003 19:32:46 +0100
User-agent: KMail/1.5.1

On Monday 08 December 2003 19:13, Theodore A. Roth wrote:
> Jan-Hinnerk,
>
> I haven't been following your avr.c cleanup patches too closely as
> I've been busy with other stuff, so I don't know exactly what
> you've been doing.

I just moved stuff out of avr.c that doesn't belong there, so we have 
a clearer sight on the things that are really programmer related.

> Do you remember this post?
>
>  
> http://mail.nongnu.org/archive/html/avrdude-dev/2003-09/msg00026.ht
>ml

Yes, I have seen it before. Looks like some work to do ;-)

> From a high level design perspective, I think that it make more
> sense and is more logically clear to handling reading and writing
> in a general to specific manner. Such as:
>
>   device -> page -> byte

Agreed.

> All programmers should provide a page based read and write method
> that gets called in avr.c. Then, leave the byte programming issue
> up to the programmer.

IMHO, the programmer still needs to export byte-read/write operations 
for "term.c". However, I have never looked into "term.c"

/Jan-Hinnerk






reply via email to

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