[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] avrdude stk500_2_ReceiveMessage(): timeout
From: |
Onno van Eijk |
Subject: |
Re: [avr-chat] avrdude stk500_2_ReceiveMessage(): timeout |
Date: |
Sat, 10 Jun 2006 06:07:59 +0200 |
User-agent: |
Thunderbird 1.5.0.2 (X11/20060521) |
Thanks Bill,
You're solution solved the problem perfectly. I would have never dreamed
up that solution myself. Thanks again.
Onno
> It is possible that the 276uS SCK period on the STK500 board should be
> 8.68uS or so, that is assuming it correlates with Baud rate.
>
> Bill
>
>
> On 6/5/06, * Onno van Eijk* <address@hidden
> <mailto:address@hidden>> wrote:
>
> Hi,
>
> I am trying to program an Atmega32 on a stk500 development board by
> using avrdude.
>
> > avrdude -p atmega32 -P /dev/ttyS5 -c stk500v2 -U
> flash:w:MessageBoard.hex
>
> starts the programming proces. And usaly it programs the chip but it is
> very slow (writing 4224 bytes of flash takes about 118 seconds) and
> produces a lot of stk500_2_ReceiveMessage90; timeout messages.
>
> I asume this is not 'normal' behaviour. Does anybody have any
> suggestions to speed up the programming proces and eliminate the
> timeout
> messages? Is the problem with avrdude, the serial drivers or with the
> stk500?
>
> I use avrdude on Ubuntu 6.06, kernel 2.6.15-23-amd64 but have
> experienced the same problem on my labtop (ubuntu 5.10, kernel
> 2.6.12-10-386) on both avrdude 5 as 5.1
>
> To be complete I added the output below.
> Thanks,
> Onno
>
>
> $:~/src/avr/messageboard$ avrdude -p atmega32 -P /dev/ttyS5 -c stk500v2
> -U flash:w:MessageBoard.hex -v -v -v
> <the rest of the message has been stripped>