Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001024

Chris Holgate <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #994 is|0                           |1
           obsolete|                            |

--- Comment #22 from Chris Holgate <[email protected]> 2010-10-16 20:29:58 BST 
---
Created an attachment (id=1000)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1000)
STM32 USB driver package fixing double buffering configuration bug.

The bug which was causing alternate bulk transfer packets to fail was due to
misconfiguration of the receive bulk transfer endpoint.  My own class driver
masked the bug because of the particular order in which it configured the
endpoints.  The updated USB driver package should fix this problem for the
serial port class driver.  A couple of points to note:

1) When using the serial port class driver, the variable length bulk transfer
option must be deselected.  This option may benefit from another descriptive
name in order to avoid confusion.

2) To avoid buffer overflow conditions on large transfers, all calls to the
serial port receive functions should specify a buffer which is a multiple of
the bulk transfer message size for the bulk transfer endpoint (usually 64
bytes).

-- 
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.

Reply via email to