|
ZTEX EZ-USB FX2 SDKThis SDK is especially designed for the ZTEX boards, but also works with other EZ-USB FX2 based hardware. The SDK consists in a Firmware Development Kit for EZ-USB FX2 devices and a Java API for the development of the host software. The package is Open Source and distributed under the GPLv3. A unique macro approach gives developers a maximum of flexibility in endpoint setup just by calling a few macros and without the need of studying the USB specification. These features distinguish the ZTEX SDK from the products of competitors. The package is known to work under Linux and Windows (both 32 and 64 Bit), but should work on every operating system which supports libusb and Java, see also the porting page on the Wiki. The Java API allows the development of platform-independent host software. FeaturesThe main features are:
SDK overviewThe following diagram gives an overview about the usage of the different parts of the ZTEX EZ-USB FX2 SDK.
The firmware of the EZ-USB FX2 device is developed using the Firmware Development Kit. It can be uploaded either by a utility which is a part of the SDK or by the host software itself using the Java API. The host software usually consists of a single jar archive which contains
On Linux this jar archive has no additional software requirements. The libusb(Java) library communicates directly with the EZ-USB FX2 device using kernel routines. On Windows a libusb driver is required. (This driver is a part of the ZTEX SDK package). The libusb(Java) library communicates with the EZ-USB FX2 device using that driver. Other programming languagesThe JAVA API is required in order to include things like uploading Firmware and Bitstream into the host software. If the external upload utility FWLoader is used instead the host software can be developed in any other programming language.A C example using the libusb library for the USB communication can be found in the SDK and on the examples page. System requirementsThe system requirements for the compilation of the firmware and the host software are
|