Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Christopher James Huff <cjameshuff <at> gmail.com>
Subject: avrdude slowdown (stk500v2_getsync() problem)
Newsgroups: gmane.comp.hardware.avr.avrdude.devel
Date: Sunday 13th August 2006 23:21:58 UTC (over 11 years 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 
POV-Ray TAG: 
http://tag.povray.org/
 
CD: 3ms