avrdude-dev
[Top][All Lists]
Advanced

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

RE: [avrdude-dev] Bad programming speed on AT90S8535 using AVRdude


From: Alex Shepherd
Subject: RE: [avrdude-dev] Bad programming speed on AT90S8535 using AVRdude
Date: Thu, 23 Oct 2003 08:03:35 +1300

Hi,

While I have been following this, its only just occurred to me this
morning that the change I did a while ago to use the 64bit Pentium
Performance Hardware Clock to achieve more accurate delays may be
causing a problem if your system does not actuall have one.

>From what I remember the docs said that if the real hardware clock was
not available it emulated one in software which will tick at a much
slower rate and depending on how long (or short) the requested delay is
may be causing this problem. What I mean is that if the emulated clock
ticks as say 100ms and we ask for a 1 ms delay we will actually wait
100ms until we see a tick even though we only wanted to wait 1 ms.

The easiest way to check this would be to revert to a earlier version of
AvrDude. I think a 4.0 version shoud do the trick. Maybe download an
earlier version of WinAVR and try that with the 8535.

> I have got problems with the programming speed when using
> AVRdude on the AT90S8535. It needs about 2 min 10 sec to 
> program the AVR with 8192 bytes.
> 
> There is no speed difference between the Pony-Stk200 dongle
> or the Dontronics DT006 dongle. But if I program an ATmega163 
> with 8192 bytes (using AVRdude) the programming time is only 
> about 10 seconds.
> 

However I note your comments about being able to program a ATMega163 in
10s ok which would tend to blow away my theory. However aren't the Megas
page programmed and the 8535 individual byte programmed.

Maybe the minimum tick delay is still a lot longer than the required
tick delay.

What is the spec of your PC and what processor is it?

Cheers

Alex

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden 
> On Behalf Of idefixx
> Sent: Wednesday, 22 October 2003 7:15 p.m.
> To: address@hidden
> Subject: Re: [avrdude-dev] Bad programming speed on AT90S8535 
> using AVRdude
> 
> 
> Additionally I've now tried to program the AT90S8535 with the 
> original STK500 board with the result that programming speed 
> is even slower:
> 
> Using parallel programming dongle Dontronics DT006:
> Flash write time: 102 sec
> Verifying time: 3.83 sec
> 
> Using STK500 board:
> Flash write time:  113sec
> Verifying time: 3.11 sec
> Strange is, for writing 40% of the memory the STK500 uses 
> less than 15 sec, but the writing process gets slower and 
> slower the more of the memory is written.
> 
> Write delay used in avrdude.conf:
> min: 4000
> max: 9000
> 
> By the way, when using the STK500, avrdude complains about a 
> missing pagel and bs2 value in the config file.
> 
> Regards.
> /idefixx
> 
> 
> 
> _______________________________________________
> avrdude-dev mailing list
> address@hidden 
> http://mail.nongnu.org/mailman/listinfo/avrdud> e-dev
> 





reply via email to

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