avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #29913] 246 Byte Bug - AVRdude crashes


From: Andreas Schweigstill
Subject: [avrdude-dev] [bug #29913] 246 Byte Bug - AVRdude crashes
Date: Wed, 02 Jun 2010 19:30:25 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Follow-up Comment #3, bug #29913 (project avrdude):

I also experienced such problems and found the reason for such file
size depending behaviour. A description of what I have found out can
be read here (in German language):

http://www.mikrocontroller.net/topic/96528

The problem is related to improper handling of USB zero-length packets
(ZLP) which was introduced by the libusb 0.1 API wrapper for libusb 1.0.

Some workarounds:
- use a very old Linux system which doesn't support libusb 1.0
- use a very new Linux kernel >=2.6.31 AND libusb >= 1.0.3

This ZLP problem affects also many other projects which use USB bulk
communication over libusb:

http://www.libusb.org/ticket/6

With best regards
Andreas Schweigstill


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?29913>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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