: > The Nexys has to be about my favourite board - compact, dirt cheap (even : > with the S3-1000 part), the same pinout FX2 header as their other boards : > (with 6 extra IOs even) and the key point for me is the Cypres EZ-USB : > device on the board has all the key pins conencted to produce your own : > USB interface using the FPGA and the Cypress part.
: Yes... in theory. But have you gotten it working yet?
Yup. Mind you I'm only using it for a high speed data interface and not trying to get the JTAG working - from my viewpoint the board has a perfectly good JTAG header on it and Digilent do cheap and functional USB2 JTAG cables...
: It's not a problem with the board, it's just that getting the fx2 all : ready to go is a non-trivial exercise, and most existing open source : projects for it do some wierd things, require oddbal build : environments rather than simply the SDCC complier on its own, want to : do the host side in python, etc... What happened to good old C and : Makefiles?
I looked at using open source code and SDCC, but couldn't face it. Why make life complicated...
Cypress provide some decent example projects for use with the Keil tools, and a download of a limited version of uVision / C51 etc. with commercial and code size restrictions. Using those tools you can get things running quite rapidly by modifying the example projects. The EZ-USB device isn't the simplest thing in the world though. I'd not be comfortable distributing any code built with SDCC as everyone seems to use the fx2regs.h file written and (C) by Keil. (Nothing to stop someone producing their own from the monumental tech. ref manual)
: I did manage to get the FPGA programmed through the USB using some : modified open source programming tools, but then had to put it back on : the shelf to work on other things before I could get the data : flowing. Would be great if there were a simple, open, framework for : doing USB data communication (firmware stub + fpga code stub + libusb : host code)
Again I used their CyUsb windows driver as there was then example code to work from. Even if you want to end up with a FOSS stack it's worth starting with the Keil tools and CyUsb / MSVC as otherwise there are to many unknowns and pitfalls.