你好,
我正在工作的USB设备,它从Windows PC接收数据通过USB和以太网Tansmit数据到从设备。我的端点配置是
EP 2 -自动输出,2X散装,512字节
EP4-自动输出,2X散装,512字节
EP6 - Au
tin,2x散装,512字节
EP8-自动输入,2X散装,512字节
我的柏树芯片工作在奴隶FIFO模式,斯巴达6
FPGA作为主人。我能够接收到我的主机PC上的数据通过端点6和8没有任何问题,我能够传输数据从主机PC到USB设备通过端点4没有任何问题。RX和Tx正在独立工作,没有任何问题。
但是,当我在端点2进行批量传输时,
通信在130字节块的130传输之后停止。
我有USB分析仪的校验数据。我没有收到我上次发送的数据包的确认。我已经附加了在ChIPSimulink上接收的信号。
请帮我解决这个问题。
塞浦路斯信号
151 K
以上来自于百度翻译
以下为原文
Hello,
I am working on USB device, which receives data from Windows PC over USB and Tansmit data over ethernet lines to slave devices. My end points configuration is
EP 2 - AUTOOUT, 2x Bulk, 512 Bytes
EP4 - AUTOOUT, 2x Bulk, 512 Bytes
EP6 - AUTOIN, 2x Bulk, 512 Bytes
EP8 - AUTOIN, 2x Bulk, 512 Bytes
My Cypress Chip is working in Slave FIFO Mode and Spartan 6 FPGA is acting as master. i am able to receive data on my host pc from u*** device via end point 6 and 8 without any problem and i am able to transmitt data from host pc to u*** device via end point 4 without any issue. Rx and Tx are working independently without any problem.
But when i am doing bulk transfer on end point 2, the communication stops after 130 transmission of 512 bytes chunk.
I have check data on USB Analyzer. I am not getting acknowledgement of my last transmitted packet. I have attached signals received on chipscope.
Please help me solve this issue.
0