完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我们使用EZ-USB芯片组来控制一个设备,它通过WINDOWS:WreWreFiffe()和::Read Fiffe()接口,使用完成端口(CyPress团队提供的建议)实现异步。最近,尤其是Windows 10,当在队列操作中调用:GETQueIDFultEntEngStUnEnter()时,函数返回一个错误,并且::GETLASTReNORR()返回0xE000 000 011——这是带外的。因为设置了应用位标志,这意味着这个错误是由应用程序设置的。奇怪的是,这个错误有时与成功完成的操作重合——但是我们不能(也不必)依赖一个特殊的案例代码来知道操作何时成功完成,特别是当操作系统告诉我们有错误时。
我们如何纠正这个问题:这样:GETQueIDFultEndoStUnSUTE()不会在成功中返回错误,还是解释这个错误代码,以便我们能够以有意义和有见识的方式处理它? 我们的实现对芯片组的影响是: CY7C68013A-128AXC CY7C68013A-56LFXC 以上来自于百度翻译 以下为原文 We're controlling a device using an EZ-USB chipset that operates on Windows via the ::WriteFile() and ::ReadFile() interface, and made asynchronous using Completion Ports (a suggestion provided by the Cypress team). Lately, and particularly with Windows 10, when calling ::GetQueuedCompletionStatus() on a queued operation, the function returns an error, and ::GetLastError() returns 0xe0000011 — which is out-of-band. Because the application bit-flag is set, this would imply that this error is set by the application. Oddly enough, this error sometimes coincides with the operation completing successfully — but we can't (and shouldn't have to) rely on a special case code to know when an operation has completed successfully, especially when the OS is telling us there's been an error. How do we either correct this issue so ::GetQueuedCompletionStatus() doesn't return an error on success, or interpret this error code so we can handle it in a meaningful and informed way? The chipsets affected by our implementation are: CY7C68013A-128AXC CY7C68013A-56LFXC |
|
相关推荐
2个回答
|
|
在进一步的调查中,看起来这是一个SyyCon UBIO错误代码,特别是UBiObjyReXXACTHOLL错误。根据SyyCon文档:
UBiObjeReX-XACTACH错误(0xE000 000 011) 已检测到XACT错误。此错误由USB主机控制器驱动程序报告。 根据微软文档,这可能是由于一些问题: 一个坏的USB电缆 -产生USB通信错误的设备。 -主机控制器错误地标记适当的USB事务。 我们已经用一个全新的USB交换机交换了USB电缆,虽然这减少了错误发生的概率,但它最终还是会出现。我们需要设置一个USB跟踪来查看XACT错误是否合法。 奇怪的是,虽然我们已经有一些错误,现在,他们从来没有像过去几周一样频繁,我们没有改变我们的硬件/软件在那个时候。显然,我们希望稳定控制器和设备之间的通信——供应链发生了什么变化,或者那些可能导致这些错误的芯片的设计更改?我们怎样才能从这些错误中恢复过来呢? 以上来自于百度翻译 以下为原文 Upon further investigation, it looks like this is a Thesycon USBIO error code, specifically USBIO_ERR_XACT_ERROR. According to Thesycon documentation: USBIO_ERR_XACT_ERROR (0xE0000011) A XACT error has been detected. This error is reported by the USB host controller driver According to Microsoft documentation, this could be due to a number of issues: - A bad USB cable - The device generating USB communication errors. - The host controller flagging a proper USB transaction in error. We've already swapped out the USB cable with a brand new one, and while this reduced the probability of the error occurring, it does still end up occurring. We need to set up a USB trace to see whether the xact error is legit or not. The weird thing is, while we've had these errors for a while now, they've never been as frequent as they have been in the last few weeks, and we've made no changes to our hardware/software in that time. Obviously we'd like to stabilize communication between the controller and the device — have there been any changes in the supply chain, or design changes on those chips that might cause these kinds of errors? How can we go about recovering from these errors? |
|
|
|
hgq1133 发表于 2018-11-13 09:10 你好,亚当, 请从下面的链接升级驱动程序到CysB3的最新版本。 HTTP://www. CyPress .COM/FIL/32671. 在从上面的链接安装EZ-PD协议分析器之后,驱动文件位于下面的目录中。 C:程序文件(x86) CyPress CY4500 EZ-PD协议分析器 1驱动程序DRIVALIONVANDROR驱动程序Bin lt;OSNEXT & GT;lt;OSL架构& GT; 最好的问候, 斯里纳斯 以上来自于百度翻译 以下为原文 Hello Adam, Kindly, upgrade the driver to the latest version of CYUSB3 from the below link. http://www.cypress.com/file/322371 After installing the EZ-PD protocol analyzer from the above link, the driver files are located in the following directory. C:Program Files (x86)CypressCY4500 EZ-PD Protocol Analyzer1.0driversDriverBinaryVendor_Driverbin Best regards, Srinath S |
|
|
|
只有小组成员才能发言,加入小组>>
740个成员聚集在这个小组
加入小组1977 浏览 1 评论
1734 浏览 1 评论
3504 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1665 浏览 6 评论
1445 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
212浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
116浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
315浏览 2评论
266浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
452浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-16 22:04 , Processed in 0.826867 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 www.ws-dc.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号