From: Pradeepa S. <pra...@gm...> - 2016-11-24 08:48:16
|
Hello All, I have been using libusbK with WinUSB for a long time now. Recently we found out a bug which had slipped away from us and has been in the source for 2 years. The issue is, when we call ReadPipe to read a bulk in endpoint sometimes we get a timeout. When we investigated more we found out that the issue comes only when our reply data amount is a multiple of 64 bytes. Nevertheless, when we get a timeout if I checked the transferred byte amount and the content, it has all the data the device had committed. I'm a bit perplexed at the moment due to this behavior. We have a STM32F4 IC in the device. It seems like it's committing all the data to the USB controller properly. Is there any one who had faced something similar? Or if this is a known issue can someone suggest a workaround? Thank you, Best Regards, Pradeepa Senanayake. |