Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

USB Without NIOS

Is anyone aware of some sample HDL code that accesses the DE2 USB chip (ISP1362) as a Device WITHOUT NIOS or any other processor implementation? In other words, by just programming a Verilog or VHDL state machine to access the chip?

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    First of all, thanks for your response! Unfortunately your driver which you are providing does not work on windows7 64 bit. Can I use the driver from libusb?

    fisa

    --- Quote End ---

    I have tested it to work under Windows 7 64bit SP1. You can try re-generating the driver from libusb-win32. Good luck!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    mzakharo, no, it's never too late. It appears you have done an excellent job here. At some point I switched over to the Saxo-L board from KNJN with a smaller, but adequate, Cyclone and an easier USB device. But I am very interested in your code. Thank you!

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Oh cool - this board is using a very neat USB controller, I like the implementation of FIFO interface to the USB chip:

    http://www.knjn.com/docs/knjn%20fx2%20fpga%20boards.pdf - section 13.

    Maybe the Altera DE-2 project I/O interface can be extended to use something like it. Right now I think the I/O interface is a bit lacking in flow-control features.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I have tested it to work under Windows 7 64bit SP1. You can try re-generating the driver from libusb-win32. Good luck!

    --- Quote End ---

    Hi mzakharo

    It's finally working.. don't know why but windows now accepts the driver :)! Anyway thx for your help!