avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] AVR910 Programming speed


From: E. Weddington
Subject: Re: [avrdude-dev] AVR910 Programming speed
Date: Thu, 03 Apr 2003 09:39:20 -0700

On 3 Apr 2003 at 12:39, Bertolt Mildner wrote:

> I just started playing around with a AVR910 Programmer and avrdude.
> 
> I'm very disapointed over the programming speed.
> 
> Writeing 5342 Bytes to a AT90S8515 gives me the
> following times (erase, write, verify):
> 
> avrdude 3:30
> AVR Studio 4 1:10
> PonyProg2000 (SI-Prog hardware) 0:30
> 
> Are AVR910 programmers known to be slow in general?
> Anyone got an idea why avrdude is 3 times slower that AVR Studio? Is
> there any chance to get close to the 0:30 using a AVR910 programmer at
> all?
> 
> 
> My environment:
> Win2000, P-III 550MHz
> 
> recent CVS snapshot build using Cygwin
> command line is "avrdude -c avr910 -P COM2 -p 8515 -e -i test2.hex"
> 
> self built AVR910 programmer using firmware 2.2 or 2.3 from Atmel.
> Both minimaly tweaked because I use a AT90S2313 (instead of the
> AT90S1200) running at 4MHz.
> 

This is just a guess.

The avr910 is a serial port based programmer. Currently avrdude does 
all serial communications through POSIX calls, which for Windows, has 
to go through the Cygwin layer (dll) before it gets to the Windows 
OS. Perhaps this could be slowing it down?

Ted Roth recently split up and re-organized the serial communications 
layer in avrdude so native Win32 calls can be used to handle the 
serial comms. I have done *some* work on writing up the win32 serial 
port stuff. However, it is not finished. I'm planning to get to it 
within 1-2 weeks. If you are interested in finishing it before that 
time let me know and we can coordinate.

Eric




reply via email to

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