--- Quote Start ---
Hello,
I'm using the wsiausb of Tonyslagle. You search wisiausb.zip in the web and use the code in your DE2 o DE2-70 board.
I am now working in a project which needs to make the DE2-70 board as a USB device and the host is the PC.
When I try to probe the system, I found these problems:
1) If I connect both the blaster cable and the device cable to the pc or only the blaster, the host
shows initially the blaster, then I download the firmware to the FPGA and the system do the Enumeration and initialization
process and the ISP1362 is recognize by the host PC. But, if I disconnect the blaster cable, the system
is not respond, then I reset the driver by the firmware and the device is doesn't show by the host.
I am using the VISA USB Raw of National Instrument and its driver in the host.
2) If I work with both the blaster cable and the device cable connected, the system can transmit data
from PC to device successful, but when I try to send data from device to host PC, it show me a timeout error.
I check the firmware step by step and it apparently work correctly.
Please, if you can probe and solve these problem, you say me..
Thanks...
--- Quote End ---
Hello,
wsiausb project has a lot of shortcumings in its design - mainly the fact that if you compile it, the reported Fmax is lower than required for the desing to operate correctly. The fact that it works even sometimes can be just luck. Also, the state machine, designed part of wsiausb does not meet certain reset timing requirements (according to the Datasheet).
I have used the code in wsiausb as a reference to develop my own project attempts to improve the things mentioned above. You can find it here:
http://mzakharo.github.com/usb-de2-fpga/