[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] How to set SCK for STK500_v2 or USBASP ?
From: |
Joerg Wunsch |
Subject: |
Re: [avrdude-dev] How to set SCK for STK500_v2 or USBASP ? |
Date: |
Tue, 13 Oct 2009 14:52:46 +0200 |
User-agent: |
Mutt/1.5.11 |
Ahoj Vaclave,
> I started experimenting with avrdude and two programmers hardware -
> STK500_v2 and USBASP. But the programming is terribly slow. Is there
> any parameter for avrdude command line to set SCK period ? For
> example, if I have 1MHz internal clock, I want to set SCK=4us. If I
> use 16MHz clock, I want to set SCK=0.4us manually. Is it possible to
> do it somehow (like it is in AvrStudio) ?
Option -B4, at least for stk500v2 (I'm not sure about USPasp).
> How avrdude decides which SCK period can be used ?
STK500 and AVRISPmkII store the last SCK clock period used in an
EEPROM, and use that as a default next time.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)