require more bytes

85 views
Skip to first unread message

sun tony

unread,
Jan 28, 2015, 1:34:15 AM1/28/15
to lab...@googlegroups.com
Dear SIRs:

I bought a labtool hardware and developed  some kind of application base on source code(LPCXPRESSO & QT),
I have other labtool application require more than 512 bytes at one time transfer data from PC to labtool via usb,
From my study of source code , I found the limit was define by fw/program/usb_descriptors.h
/*! Size in bytes of the LabTool data endpoints. */
#define LABTOOL_IO_EPSIZE         512
But I modify this value more than 512 and try to send some data,
Here  always get transfer error timeout, during the callback 
Unknown command: Got transfer error: The USB communication with the LabTool hardware timed out!
Can any one help to notice me about this requirement?
Is it limit because LPC4370 the USB maximum packet size ?
Endpoint type Speed      Packet size (byte)
Bulk          High-speed 8, 16, 32, 64, or 512
Thanks!
Reply all
Reply to author
Forward
0 new messages