Gmane
From: Christopher James Huff <cjameshuff <at> gmail.com>
Subject: avrdude slowdown (stk500v2_getsync() problem)
Newsgroups: gmane.comp.hardware.avr.avrdude.devel
Date: 2006-08-13 23:21:58 GMT (2 years, 2 weeks, 1 day, 12 hours and 36 minutes ago)
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 <cjameshuff <at> gmail.com>
POV-Ray TAG: <chris.huff <at> tag.povray.org>
http://tag.povray.org/