[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
In general, please report any bugs encountered via http://savannah.nongnu.org/bugs/?group=avrdude.
avrdude: serial_open(): can't set attributes for device "com1"
,
Solution: This problem seems to appear with certain versions of Cygwin. Specifying
"/dev/com1"
instead of "com1"
should help.
Solution (short): setserial port low_latency
Solution (long): There are two problems here. First, the system may wait some time before it passes data from the serial port to the program. Under Linux the following command works around this (you may need root privileges for this).
setserial port low_latency
Secondly, the serial interface chip may delay the interrupt for some time.
This behaviour can be changed by setting the FIFO-threshold to one. Under Linux this
can only be done by changing the kernel source in drivers/char/serial.c
.
Search the file for UART_FCR_TRIGGER_8
and replace it with UART_FCR_TRIGGER_1
. Note that overall performance might suffer if there
is high throughput on serial lines. Also note that you are modifying the kernel at
your own risk.
Solutions: The reasons for this are the same as above. If you know how to work around this on your OS, please let us know.
Solution: You probably forgot to specify the -u option, which allows you to modify fuse bits. This is done to prevent corrupt data from changing the fuse bits without you knowing about it, and currently also prevents the user from changing the fuse bits by accident. This patch was added in response to a number of occasions when an AVR had stopped responding because the fuse bits got changed by an error caused by the programmer. Programmer of course meaning both the physical device, and the person sitting at the keyboard.
Solution: Currently, AVRDUDE uses the AVR910 device codes given in the
avrdude.conf
file, and matches them against the list of supported
devices reported by the programmer. Unfortunately, there are no device
codes at all for some of the newer AVR devices, and even worse, the
device codes listed in preprocessor.xls
of appnote AVR109 do not
match those once specified in AVR910.
Use the -F option to force AVRDUDE to continue anyway.
Solution: None at this time. Currently, the JTAG ICE mkII code cannot write to the flash ROM one byte at a time.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by Build Daemon user on October, 28 2005 using texi2html 1.76.