usts 12 00 00 c0 babble detected ,what this error mean?

when my application program buffer is not multiple of 512 bytes, error as

usts 12 00 00 c0 babble detected ,

what this error mean?

thank you very much indeed.
stone

Where are you seeing this message?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of zhonghong200@163.com
Sent: Friday, August 27, 2010 3:26 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] usts 12 00 00 c0 babble detected ,what this error mean?

when my application program buffer is not multiple of 512 bytes, error as

usts 12 00 00 c0 babble detected ,

what this error mean?

thank you very much indeed.
stone


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

By bus hound on the packet

hong zhong wrote:

when my application program buffer is not multiple
of 512 bytes, error as usts 12 00 00 c0 babble
detected , what this error mean?

It means that you need to submit read URBs that are a multiple of the endpoint’s maximum packet size. Why? Well, think about it. The device doesn’t know how much memory has been allocated on the host side to receive the packet. It only sees an “IN” token and has every right to send up to the maximum endpoint packet size (in this case, 512) that it previously advertised in the endpoint descriptor.