完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,我用FX3与MT9P031图像传感器接口。PC使用CyPress通用驱动程序CyUSB.dll通过批量端点接收图像数据。我注意到,当运行在UB3.0中时,在接收10MB的图像快照时,一切都很好。当我切换到USB2.0时,在调用CYU3PDMALUtiGCHANNEL COMPRESBUFER()之后,偶尔会遇到CyuU3PyErrRoEnguliDista序列错误。在PC端,只有4MB的数据被接收,而不是10MB。一旦出现错误,什么都不能工作,我必须重新启动FX3。当我尝试接收更小尺寸的图像,低于4MB时,无论在USB3.0还是USB2.0上都能很好地工作。我只是想知道是否有人见过类似的问题。它似乎是一些缓冲区溢出问题。图像传感器运行24MHz,因此使用USB2.0,它应该足够快来传输数据。现在我不确定它是PC驱动程序问题还是固件问题。
以上来自于百度翻译 以下为原文 Hi, I am using FX3 to interface with MT9P031 image sensor. The PC is using Cypress generic driver, CyUSB.dll, to receive image data through Bulk endpoint. I notice that when running in USB3.0, everything works well in receiving 10MB of image snapshot. When I switch to USB2.0, I occasionally got an CY_U3P_ERROR_INVALID_SEQUENCE error after calling CyU3PDmaMultiChannelCommitBuffer(). On the PC side there is only 4MB of data being received, instead of 10MB. Once the error occurs, nothing will work again and I have to reboot FX3. When I try to receive smaller size image, below 4MB, everything works well both on USB3.0 and USB2.0. I just wonder whether anyone has seen similar problem. It does seem to be some buffer overflow issue. The image sensor is running 24MHz, so with USB2.0, it should be fast enough to transfer the data. Right now I am not sure whether it is a PC driver issue or a firmware issue. |
|
相关推荐
2个回答
|
|
您好!
你使用的是哪些OS,什么是XFELSE? 你能试着每次请求4MB吗? 也检查这个链接:HTTP://MSDN.MySo.CON/E-US/Labalay/FF58112.ASPX 您可以找到各种Windows操作系统的最大批量传输大小。 谢谢 尼基尔 以上来自于百度翻译 以下为原文 Hi Which OS are you using and what is xfersize you are setting? Can you try requesting 4MB each time? Also check this link out: http://msdn.microsoft.com/en-us/library/ff538112.aspx You can find max bulk transfer sizes for various Windows OS. Thanks Nikhil |
|
|
|
嗨,我使用VS2010在窗口7位64与CyPress SDK 1.2。我能够使它至少部分地通过一次接收4MB数据来工作。偶尔收到最后2MB数据仍然失败,但它比以前工作得更好。至少FX3不会停滞并能够恢复。我不确定为什么它会偶尔收到最后2MB失败。有什么想法吗?谢谢!
以上来自于百度翻译 以下为原文 Hi, I am using VS2010 on Window 7 64-bit with Cypress SDK 1.2. I was able to make it work at least partially by receiving 4MB data at a time. Occasionally it still fails on receiving the last 2Mb of data, but it works much better than before. At least FX3 will not stall and able to recover. I am not sure why it will occasionally fail on receiving the last 2Mb. Any idea? Thanks! |
|
|
|
只有小组成员才能发言,加入小组>>
750个成员聚集在这个小组
加入小组2055 浏览 1 评论
1811 浏览 1 评论
3622 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1747 浏览 6 评论
1499 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
484浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
339浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
401浏览 2评论
343浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
836浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-10 16:03 , Processed in 0.719467 second(s), Total 47, Slave 42 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号