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 <[EMAIL PROTECTED]>

Attachment: pgpu0mNZx9mxw.pgp
Description: PGP signature

_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to