使用 WinUSB WritePipe 时出现 ERROR_SEM_TIMEOUT

发布于 2024-09-02 12:49:41 字数 194 浏览 7 评论 0原文

我经常在使用 WinUSB WritePipe 函数时遇到 ERROR_SEM_TIMEOUT 错误。这似乎表明存在超时,但如果我等待一段时间并重试,我将永远无法写入。我以 64 字节卡盘写入 USB 设备,通常不会出现问题。一旦开始出现错误,我可能必须拔下 USB 并关闭我的应用程序,然后再重试。有人遇到过这个问题吗?

I often get ERROR_SEM_TIMEOUT errors using the WinUSB WritePipe function. This would seem to indicate that there is a timeout, but if I wait a period of time and try again I'm never able to write. I'm writing in 64 byte chucks to the USB device and often don't have problems. Once I start getting the error, I may have to unplug the USB and and close my app before trying again. Has anybody experienced this problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文