Hi All,
I am developing a USB device driver on Windows XP. The device is a
USB to serial converter. I am able to configure the BULK_IN & INTERRUPT
pipes and am also able to communicate over them. At times, all BULK_IN &
INTERRUPT requests return STATUS_INVALID_PARAMETER. I have verified the
length and the pipe handle for these requests and they are fine. For the
BULK_IN request it is 64 bytes and for the INTERRUPT request it is 10 bytes.
My device supports these sizes only. When I try to reset the device when I
get such an error message the USBD returns STATUS_UNSUCCESSFUL. When I try
to reset the pipes, it returns STATUS_INVALID_PARAMETER. What could be the
reason behind this behaviour? This doesn’t occur often and hence I am not
sure if the INVALID_PARAMETER problem is because of invalid length or handle
being passed.
Can anyone let me know the reason behind such a behaviour and the way to
overcome it?
TIA,
Balaji.
Send and receive Hotmail on your mobile device: http://mobile.msn.com