[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #18529] Low write speed with usbasp programmer (40 by
[avrdude-dev] [bug #18529] Low write speed with usbasp programmer (40 byte/s)
Fri, 15 Dec 2006 17:42:40 +0000
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Summary: Low write speed with usbasp programmer (40 byte/s)
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Friday 12/15/2006 at 17:42 UTC
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Assigned to: None
Originator Name: jim doe
Originator Email: address@hidden
Discussion Lock: Any
I've just put together this usbasp programmer (mega8, xtal, and
I see good read speeds (6 kbyte/s), but the write speed seems to
be 'wrong' (40 byte/s).
I get this message in the kernel log every 5 seconds:
kernel: usb 2-2.2: avrdude timed out on ep0out len=200/200
This timeout does not cause any data problems! (Verify is OK)
I think something is wrong with the function usbasp_transmit in
the file usbasp.c. It seems that the call to usb_control_msg()
is the one that times out after 5000 ms.
I can increase the write speed by lowering the timeout value,
but I don't think thats the right way to do it.
I did the test on x86 linux 2.6.15 with an intel uhci and libusb-0.1.12.
The programmer runs the usbasp.2006-09-16.hex firmware.
Reply to this item at:
Message sent via/by Savannah
- [avrdude-dev] [bug #18529] Low write speed with usbasp programmer (40 byte/s),