From 1e65f77173db05a3bd471c70bf11fd924ab73b5c Mon Sep 17 00:00:00 2001 From: joerg_wunsch Date: Thu, 3 Jun 2010 16:18:34 +0000 Subject: [PATCH] bug #29913: 246 Byte Bug - AVRdude crashes doc/avrdude.texi (Troubleshooting): Mention the libusb 0.1 API wrapper issue that is present in some Linux versions. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@944 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 6 ++++++ doc/avrdude.texi | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog b/ChangeLog index 84e23638..d6b62068 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-06-03 Joerg Wunsch + + bug #29913: 246 Byte Bug - AVRdude crashes + doc/avrdude.texi (Troubleshooting): Mention the libusb 0.1 API + wrapper issue that is present in some Linux versions. + 2010-03-19 Joerg Wunsch bug #29263: Can't build avrdude on windows using latest cygwin 1.7.1 diff --git a/doc/avrdude.texi b/doc/avrdude.texi index 1ec4489c..c22ed108 100644 --- a/doc/avrdude.texi +++ b/doc/avrdude.texi @@ -2418,6 +2418,19 @@ Solution: None by this time (2010 Q1). It is said that the AVR Dragon can only program devices from the A4 Xmega sub-family. +@item +Problem: when programming with an AVRISPmkII or STK600, AVRDUDE hangs +when programming files of a certain size (e.g. 246 bytes). Other +(larger or smaller) sizes work though. + +Solution: This is a bug caused by an incorrect handling of zero-length +packets (ZLPs) in some versions of the libusb 0.1 API wrapper that ships +with libusb 1.x in certain Linux distributions. All Linux systems with +kernel versions < 2.6.31 and libusb >= 1.0.0 < 1.0.3 are reported to be +affected by this. + +See also: @url{http://www.libusb.org/ticket/6} + @end itemize