[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] STK500v2 speed problems
From: |
David A. Lyons |
Subject: |
Re: [avrdude-dev] STK500v2 speed problems |
Date: |
Sat, 19 Mar 2011 02:23:26 -0700 |
Someone seems to have had exactly the same problem in January:
<http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=785679>
I found that by Googling "SCK period : 276.7 us" (since that looked way too
high).
The answer "johjoh" found was:
Fixed it! Seems like the "SCK period" parameter had been
set to 276.7 us, which is what caused the slowness. Running
avrdude with -B 1 solved the problem, and automatically saved
this parameter as well
Cheers,
--Dave
On Mar 18, 2011, at 3:49 PM, Klaus Rudolph wrote:
> Hi all,
>
> I today program a at90s8515 a few times and need around 40 sec to write
> and 10 sec to verify. After a few programmings I now need 250 sec. Why?
>
>
> I use:
> avrdude -p 8515 -c stk500v2 -P /dev/ttyS0 -e -v -U flash:w:cservo8.srec
>
> avrdude: Version 5.6cvs, compiled on Jan 14 2009 at 11:11:38
> Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
>
> System wide configuration file is "/opt/linux//etc/avrdude.conf"
> User configuration file is "/home/zfrdh/.avrduderc"
> User configuration file does not exist or is not a regular
> file, skipping
>
> Using Port : /dev/ttyS0
> Using Programmer : stk500v2
> AVR Part : AT90S8515
> Chip Erase delay : 20000 us
> PAGEL : P00
> BS2 : P00
> RESET disposition : dedicated
> RETRY pulse : SCK
> serial program mode : yes
> parallel program mode : yes
> Timeout : 200
> StabDelay : 100
> CmdexeDelay : 25
> SyncLoops : 32
> ByteDelay : 0
> PollIndex : 3
> PollValue : 0x53
> Memory Detail :
>
> Block Poll Page
> Polled
> Memory Type Mode Delay Size Indx Paged Size Size #Pages
> MinW MaxW ReadBack
> ----------- ---- ----- ----- ---- ------ ------ ---- ------
> ----- ----- ---------
> eeprom 4 12 128 0 no 512 0 0
> 4000 9000 0x80 0x7f
> flash 4 12 128 0 no 8192 0 0
> 4000 9000 0x7f 0x7f
> signature 0 0 0 0 no 3 0 0
> 0 0 0x00 0x00
> fuse 0 0 0 0 no 1 0 0
> 0 0 0x00 0x00
> lock 0 0 0 0 no 1 0 0
> 9000 9000 0x00 0x00
>
> Programmer Type : STK500V2
> Description : Atmel STK500 Version 2.x firmware
> Programmer Model: STK500
> Hardware Version: 2
> Firmware Version Master : 2.01
> Topcard : Unknown
> Vtarget : 5.1 V
> SCK period : 276.7 us
> Varef : 5.0 V
> Oscillator : 3.686 MHz
>
>
> What I am doing wrong? What can I change to get old timings?
> I am a bit confused about that problem. Is there a problem with the
> device, parameters inside the stk500? Some corrupted init files?
>
> Thanks!
> Klaus
>
>
>
> _______________________________________________
> avrdude-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avrdude-dev