WangXuan95 / FPGA-ftdi245fifo

An FPGA-based FT232H/FT600 chip controller for rapid data transmission via USB. 使用FT232H/FT600芯片进行FPGA与电脑之间的高速数据传输。
https://gitee.com/wangxuan95/FPGA-ftdi245fifo
GNU General Public License v3.0
263 stars 82 forks source link

Add abortpipe() to timeout on read #15

Open PatrickJohnDavies opened 5 months ago

PatrickJohnDavies commented 5 months ago

The D3XX DLL seems to freeze when calling readPipe() after having already called readPipe() with return status timeout error. The timeout happens because usb_loopback_simple.py attempts to receive twice as many bytes as are sent. data = usb.recv(txlen*2)

image

Reference page 9: https://ftdichip.com/wp-content/uploads/2020/08/AN_412_FT600_FT601-USB-Bridge-chips-Integration.pdf

Thank you for this very helpful project!