avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] How about changing the "stk500" programmer to V2 by de


From: Henrik Brix Andersen
Subject: Re: [avrdude-dev] How about changing the "stk500" programmer to V2 by default?
Date: Wed, 20 Sep 2006 10:21:47 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Sep 20, 2006 at 12:40:57AM +0200, Joerg Wunsch wrote:
> I've now created a "stk500generic" (internal name in AVRDUDE, it's
> mapped into the -c stk500 programmer type) programmer which is
> actually a stub programmer: it only has an open() function, and
> subsequently tries to open the device specified as stk500v1 first,
> failing that as stk500v2.  (The timeouts in the stk500v1 protocol
> implementation are much shorter than those in the stk500v2 one, so
> doing it the other way around would take an eternity for stk500v1
> programmers to establish the connection.)  That way, a connection will
> be established regardless of the actual firmware version.  If one of
> both protocol versions could successfully establish communication, a
> message is printed that suggests the user would better use either -c
> stk500v1 or -c stk500v2, and the remaining communication is left to
> the acutal protocol version-specific module then.

That sounds like a very good solution. Any ETA on when avrdude-5.2
will be out?

Regards,
Brix
-- 
Henrik Brix Andersen <address@hidden>

Attachment: pgp9_NLo3JP8q.pgp
Description: PGP signature


reply via email to

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