avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] avrdude: "can't set attributes for device" error


From: E. Weddington
Subject: Re: [avr-gcc-list] avrdude: "can't set attributes for device" error
Date: Thu, 18 Mar 2004 05:41:49 -0700

On 18 Mar 2004 at 10:33, Peter Hierholzer wrote:

> I am using avrdude on W2k and STK500 and get the error message:
>       avrdude -p atmega16 -P com1 -c stk500 -y -U flash:w:pg1.hex -U
> avrdude: serial_open(): can't set attributes for device "com1"
> 
> avrdude comes from the WinAvr20030913.
> 
> Reason for this error is that I have cygwin installed. 
> Avrdude needs cygwin1.dll 1.3.22-1.
> The newest cygwin release has cygwin1.dll 1.5.5-1.
> 
> Depending on the order in the search path either the cygwin1.dll from the
> WinAvr distribution or the cygwin1.dll from the cygwin release wins.
> 
> Any idea how to solve this conflict?
> 

Technically, there is no way to solve this. avrdude needs the version of Cygwin 
DLL that it was 
built with. This is discussed in the WinAVR README, and discussed in the Cygwin 
FAQ.

However! There is an experimental build of avrdude 4.3.0 that is not built with 
the Cygwin DLL:
<http://www.siwawi.arubi.uni-kl.de/avr_projects/#avrdudew32>
A binary executable is included in the package. These changes will (eventually) 
get rolled into 
the avrdude project (hopefully soon). This native Win32 version of avrdude has 
worked very 
well and has seemed to solve a lot of problems too.

Eric

_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list


reply via email to

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