avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] avrdude slowdown (stk500v2_getsync() problem)


From: Christopher James Huff
Subject: [avrdude-dev] avrdude slowdown (stk500v2_getsync() problem)
Date: Sun, 13 Aug 2006 19:21:58 -0400

AVRISP MkII, AVRDUDE 5.1 on an iMac Core Duo (x86, might want to compare notes with someone using a MkII on a PPC Mac), OS X 10.4.7, libusb 0.1.12.

Programming and pretty much anything else that accessed the AVRISP was extremely slow, 5+ minutes to do anything with the AVRISP. The culprit turned out to be the function stk500v2_getsync() in stk500v2.c, which would make 33 attempts to do whatever it is supposed to do before giving up.

Since it still programmed the chips fine, I just commented the body of the function out, leaving the "return 0;" at the end. It seems to work fine...programming now takes about 3 seconds, rather than over 340 seconds. Presumably this breaks it for a STK500...

--
Christopher James Huff <address@hidden>
POV-Ray TAG: <address@hidden>
http://tag.povray.org/





reply via email to

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