avr-chat
[Top][All Lists]
Advanced

[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: Thu, 08 Jun 2006 20:17:25 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060521)

>> 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
> 
> This is a longshot, but is there a possibility that some other program
> has the serial port open?  I have gotten timeouts like this when I've
> had kermit running simultaneously with avrdude.
> 
> galen

Unfortunately, the shot missed. I dubble checked and as far as I can
tell no other programs have the serial port open. Thanks for the
suggestion though.

Onno





reply via email to

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