No data response from USB Control Transfer

asked 2022-06-24T03:00:35.787+00:00
Chinh Cao 1 Reputation point

Hello there,

I'm using winusb to communicate with a DFU device via control transfer. The problem is:

  • When sending a single request (DFU_CLRSTATUS, DFU_GETSTATUS, v.v.) it's working properly
  • When sending two or more requests consecutively, it doesn't work. For example: If I send DFU_CLRSTATUS (1), then DFU_GETSTATUS (2), the second call returns no data (TransferBufferLength=0).
  • It happens on some computers only (both win 10 and 11)

Thank you

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,238 questions
No comments
{count} votes