avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] [bug #40831] LUFA AVRISP-MKII fails with avrdude 6.0.1


From: Joerg Wunsch
Subject: Re: [avrdude-dev] [bug #40831] LUFA AVRISP-MKII fails with avrdude 6.0.1
Date: Mon, 22 Sep 2014 23:50:13 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

As Colin O'Flynn wrote:

> There is some current code in there, which as Dean mentioned is just not
> triggered. Would it seem cleaner to rearrange this such that if attempting
> to read from the endpoint fails, we switch to heuristic mode

No, no trial & error, please.

If at all, then apply a proper heuristics straight from the beginning.
For the Atmel tools, the EP numbers are well defined, so checking the
algorithm against these definitions should be easy.  For the
remainder, the algorithm must be clever enough to always detect the
correct EP setup situation.

The goal must be to have no hardcoded EP numbers in the code anymore.

-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



reply via email to

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