[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] Avrdude : how to slow it down ?
From: |
Till Harbaum |
Subject: |
Re: [avr-chat] Avrdude : how to slow it down ? |
Date: |
Wed, 14 Sep 2005 17:58:05 +0200 |
User-agent: |
KMail/1.7.2 |
On Wednesday 14 September 2005 17:31, Bernard Fouché wrote:
> On kernel 2.6.x usleep(3) works well now. This was posted some time ago
> when kernel 2.4.x had some
The timer granularity is something that changed in the latest 2.6-kernels. I
don't have the details in mind, but there has definitely been changes.
> granularity problems, I just ran it on kernel 2.6.12 and it was okay by
> 1 or 2 ms:
A granularity of 1 or 2 ms may already be very bad if you are trying to do
bit-banging on e.g. the printerport, since you might have several calls to
these delay functions per bit. 2ms more delay than expected per bit will make
the tansmission of 50kBytes require over 13 additional minutes (2ms * 50000
bytes * 8 bits).
Ciao,
Till
--
Dr.-Ing. Till Harbaum Tel.: +49 721 4998963
BeeCon GmbH Fax: +49 721 4998962
Haid-und-Neu Strasse 7, 76131 Karlsruhe Mobil: +49 179 9087904
address@hidden http://www.beecon.de