|
Topics of this Site:
MAIN - Wodan II
EZ-USB (FX2)
SDCC
LabVIEW
Downloads

|
Here's some description of the files you can download from this site:
|
LibUSB 0.1.7
|
Linux library for using the USB-BUS. Used in the USB-Frontends and (To my knowledge) by fx2_programmer for programming the EZ-USB Device. This is the library, which I'll have to include into LabVIEW. Programming with libusb is pretty easy, so I recommend using libusb instead of communicating with the kernel.
|
|
SDCC 2.3.0 (Release)
|
I started Programming FX2 Devices using SDCC. Pretty easy if you have fx2regs.h. SDCC 2.3.5 did not compile firmware correctly, so I had to go back to the last release of SDCC. I already mailed one person of the SDCC Team, but I don't have an answer yet.
|
|
FX2REGS.H
|
fx2regs.h is needed for programming FX2 Devices via SDCC. It defines stuff like Special Function Registers, Buffer addresses and memory mapped registers. If you read the FX2 Technical Reference Manual (or at least understood the last pages where register and other stuff are described bitwise, you'll understand what this file does for you. I recommend reading the Technical Reference Manual. At least Chapter 1 (First pages), Chap 3, Chap 8, Chap 11 and Chap 13 are worth having a look at them. Chapter 15 should be a good reference for programming after having understood how the FX2 works. UPDATED: I linked to the cypress manual at this point, and the link might be out of date soon - the chapters still seem fine and I'd still recommend reading it.
|
|
FX2-Programmer
|
I downloaded this Programm as well as some other stuff from Vladimir Dergachev's Project Site. He uses the Cypress controller as well. I DO NOT RECOMMEND HIS WAY OF CONTACTING THE CYPRESS CONTROLLER... :-)
But anyway I learned a lot about the FX2 device by just reading his sourcecodes. They are quite hard to read, but anyway you should read them once in a while, just to c how the endpoint buffers work. His sources are not really documented, but I guess if you need any help, you can mail him and he'll help you understanding it.
|
|
Trials package
|
A tarred/bzipped directory with my best Programming trials. All of them should be documented - If any of them isn't just don't read it, should be unimportant. One day I'll rename them all, but for now they're just called trial1-...6 I guess. You should start with 1 and end with 6. I wrote some programs, which can't really be understood without having the hardware, which was (in those cases) connected to the USB-Device. Trial1 is just communicating with the endpoint buffers (wrapping around any given bytes in the endpoint1-OUT Buffer). There are other examples using the parallel io-interface as-is and as a software implemented SPI Interface (Writing to an Analog-Devices DAC - No read function yet), as well as an implementation of the hardware I2C Interface (Talking to an EEPROM). Have fun with it - Use it if you like - Send Comments to jdopke_at_physik.uni-wuppertal.de
|
(To be continued...)
|