Cypress技术william hill官网
直播中

陈韵瑄

7年用户 1015经验值
私信 关注
[问答]

当FX3处于U2状态时WaitForXfer功能无法正常工作

我使用的是EZ-USB FX3 SDK VSON 1.3。目标板是CyPress FX3 DVK设备板Rev 3。FX3的固件是“CyfxBulkPMANIN OUT”的DMAIL示例。主机应用程序是“BulkRoop.exe”。主机OS是Windows Ser7专业64位(日文)与Service PACK 1。1。使用“USB控制中心”对FX3进行编程。2。运行BulkLoop.EXE。选择设备,输出EP和EP。检查“停止错误”。按下“开始”按钮。它在几秒钟内停止,因为传输失败。但是,如果在FX3固件中禁用U1/U2状态,它可以正常工作。(使用CyU3pUsBLPMDeable函数)但我不想使U1/U2状态禁用。所以,我使用了一个威廉希尔官方网站 调试程序(JTAG-ICE),用于FX3固件和VisualStudio的BulkRoad应用程序。然后,我认为当FX3处于U2状态时,WaitForXfer访问不能正常工作。你知道这个问题的解决方法吗?BeginDataXfer或WaitForXfer有虫子吗?主机应用程序知道FX3处于哪个状态吗?如果是,哪种API?或者,USB设备驱动程序负责这个问题?请帮帮我。

以上来自于百度翻译


     以下为原文
          I'm using EZ-USB FX3 SDK verson 1.3. The target board is Cypress FX3 DVK Device board Rev.3. FX3's firmware is "cyfxbulklpmaninout" in dma_examples. The host application program is "bulkloop.exe". The host OS is Windows7 Professional 64bit (Japanese) with Service Pack 1. 1. Program the FX3 using "USB Control Center". 2. Run bulkloop.exe. Select device, OUT EP and IN EP. Check "Stop on Error". Push "Start" button. It stops within a few seconds, because a transfer failed. However, it works properly if U1/U2 state is disabled in FX3 firmware. (using CyU3PU***LPMDisable function.) But I don't want to make U1/U2 state disabled. So, I used an In-Circuit debugger(JTAG-ICE) for FX3 firmware and VisualStudio for BulkLoop application program. Then, I think that WaitForXfer accessing doesn't work properly when the FX3 is in U2 state. Do you know the solution for this problem? Is there a bug in BeginDataXfer or WaitForXfer? Can the host application program know which status the FX3 is in? If so, which API? Or, the USB device driver is responsible for this problem? Help me, please.   

回帖(7)

陈韵瑄

2019-7-4 10:02:52
当FX3处于U2状态时,WaitForXfer函数不能正常工作。我使用的是EZ-USB FX3 SDK VSON 1.3。目标板是CyPress FX3 DVK设备板Rev 3。FX3的固件是“CyfxBulkPMANIN OUT”的DMAIL示例。主机应用程序是“BulkRoop.exe”。主机OS是Windows Ser7专业64位(日文)与Service PACK 1。1。使用“USB控制中心”对FX3进行编程。2。运行BulkLoop.EXE。选择设备,输出EP和EP。检查“停止错误”。按下“开始”按钮。它在几秒钟内停止,因为传输失败。但是,如果在FX3固件中禁用U1/U2状态,它可以正常工作。(使用CyU3pUsBLPMDeable函数)但我不想使U1/U2状态禁用。所以,我使用了一个威廉希尔官方网站 调试程序(JTAG-ICE),用于FX3固件和VisualStudio的BulkRoad应用程序。然后,我认为当FX3处于U2状态时,WaitForXfer访问不能正常工作。你知道这个问题的解决方法吗?BeginDataXfer或WaitForXfer有虫子吗?主机应用程序知道FX3处于哪个状态吗?如果是,哪种API?或者,USB设备驱动程序负责这个问题?请帮帮我。

以上来自于百度翻译


     以下为原文
          WaitForXfer function doesn't work properly, when the FX3 is in U2 state.   
   
I'm using EZ-USB FX3 SDK verson 1.3.   
The target board is Cypress FX3 DVK Device board Rev.3.   
FX3's firmware is "cyfxbulklpmaninout" in dma_examples.   
The host application program is "bulkloop.exe".   
The host OS is Windows7 Professional 64bit (Japanese) with Service Pack 1.   
   
1. Program the FX3 using "USB Control Center".   
2. Run bulkloop.exe.   
Select device, OUT EP and IN EP.   
Check "Stop on Error".   
Push "Start" button.   
It stops within a few seconds, because a transfer failed.   
   
However, it works properly if U1/U2 state is disabled in FX3 firmware.   
(using CyU3PU***LPMDisable function.)   
But I don't want to make U1/U2 state disabled.   
   
So, I used an In-Circuit debugger(JTAG-ICE) for FX3 firmware and   
VisualStudio for BulkLoop application program.   
Then, I think that WaitForXfer accessing doesn't work properly   
when the FX3 is in U2 state.   
   
Do you know the solution for this problem?   
   
Is there a bug in BeginDataXfer or WaitForXfer?   
Can the host application program know which status the FX3 is in?   
If so, which API?   
Or, the USB device driver is responsible for this problem?   
   
Help me, please.   
举报

傅姁妮

2019-7-4 10:16:51
你好,
请在www. CyPress网站上创建技术支持案例-GT;支持和技术支持。我们的工程师可以帮助你通过。
当做,
加亚特里

以上来自于百度翻译


     以下为原文
   Hi,
     
    Please create tech support case at www.cypress.com-> Support-> Technical support. One of our engineers can assist you through.
     
    Regards,
    Gayathri
举报

张婷婷

2019-7-4 10:34:55
你好,
是否可以带上故障案例的USB追踪并张贴在这里?
-普吉

以上来自于百度翻译


     以下为原文
   Hi,
    Is it possible to take the USB trace of the failure case and post here?
    -PRJI
举报

陈韵瑄

2019-7-4 10:42:49
给Gayathri。谢谢你的回复。我试试看。事实上,我们决定让我们的系统让U1/U2状态失效。虽然我认为这不是一个好的选择,但这是我们的选择。因为我们必须转向更高优先级的任务。

以上来自于百度翻译


     以下为原文
          To Gayathri.   
   
Thank you for your reply.   
I'll try it.   
   
Actually, we decided to allow our system to make U1/U2 states disabled this time.   
Although I think it's not a good option, it's our choice.   
Because we have to move on to higher-priority tasks.   
举报

更多回帖

发帖
×
20
完善资料,
赚取积分