From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13513 invoked by alias); 16 Oct 2010 12:18:02 -0000 Received: (qmail 13494 invoked by uid 22791); 16 Oct 2010 12:18:01 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 16 Oct 2010 12:17:55 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id C2C972F78006 for ; Sat, 16 Oct 2010 13:17:52 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZUU3ExvA5m5g; Sat, 16 Oct 2010 13:17:52 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001024] STM32 USB driver and proposed USB API change X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: chris@zynaptic.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: john@dallaway.org.uk X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 16 Oct 2010 12:18:00 -0000 Message-Id: <20101016121749.7CBD62F7800E@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2010/txt/msg00091.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001024 --- Comment #19 from Chris Holgate 2010-10-16 13:17:42 BST --- (In reply to comment #18) > (In reply to comment #17) > > > The fact that you have a USB bus sniffer could be very useful here. Could you > > check to see if the host is sending anything else in addition to the packets > > containing the characters. In particular, is it sending out any zero length > > packets in between the character packets? > > The host does not send any out-packets other than the ones containing the > characters typed in minicom. Depending on how fast I type, there are > occasionally intermitted in-packets which are NAK-ed (device has nothing to > send). Ok - that eliminates on possible cause. The bug is obviously an issue with the double buffering on bulk endpoints, but I have not seen it before with my class driver. The most obvious difference here is that John's request is sized 'exactly' for a single character, while I have been using an oversized receive buffer. Does the problem still occur if the request specifies an RX buffer size of, say, 100 characters? Also, can you check that your build has asserts enabled, since most of the unexpected driver behaviour should be covered by assert conditions. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.