<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!--NewPage-->
|
<!--NewPage-->
|
<HTML>
|
<HTML>
|
<HEAD>
|
<HEAD>
|
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
|
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
|
<TITLE>
|
<TITLE>
|
ztex
|
ztex
|
</TITLE>
|
</TITLE>
|
|
|
<META NAME="date" CONTENT="2011-07-18">
|
<META NAME="date" CONTENT="2012-04-12">
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
|
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
function windowTitle()
|
function windowTitle()
|
{
|
{
|
if (location.href.indexOf('is-external=true') == -1) {
|
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="ztex";
|
parent.document.title="ztex";
|
}
|
}
|
}
|
}
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
</HEAD>
|
</HEAD>
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
<A NAME="navbar_top"><!-- --></A>
|
<A NAME="navbar_top"><!-- --></A>
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TR>
|
<TR>
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TR ALIGN="center" VALIGN="top">
|
<TR ALIGN="center" VALIGN="top">
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
</TD>
|
</TD>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
</EM>
|
</EM>
|
</TD>
|
</TD>
|
</TR>
|
</TR>
|
|
|
<TR>
|
<TR>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../ch/ntb/usb/package-summary.html"><B>PREV PACKAGE</B></A>
|
<A HREF="../ch/ntb/usb/package-summary.html"><B>PREV PACKAGE</B></A>
|
NEXT PACKAGE</FONT></TD>
|
NEXT PACKAGE</FONT></TD>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../index.html?ztex/package-summary.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="../index.html?ztex/package-summary.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
<!--
|
<!--
|
if(window==top) {
|
if(window==top) {
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
}
|
}
|
//-->
|
//-->
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
|
|
</FONT></TD>
|
</FONT></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="skip-navbar_top"></A>
|
<A NAME="skip-navbar_top"></A>
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
<HR>
|
<HR>
|
<H2>
|
<H2>
|
Package ztex
|
Package ztex
|
</H2>
|
</H2>
|
The Java API of the <a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a>.
|
The Java API of the <a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a>.
|
<P>
|
<P>
|
<B>See:</B>
|
<B>See:</B>
|
<BR>
|
<BR>
|
<A HREF="#package_description"><B>Description</B></A>
|
<A HREF="#package_description"><B>Description</B></A>
|
<P>
|
<P>
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<B>Class Summary</B></FONT></TH>
|
<B>Class Summary</B></FONT></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/EzUsb.html" title="class in ztex">EzUsb</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/EzUsb.html" title="class in ztex">EzUsb</A></B></TD>
|
<TD>Provides methods for uploading firmware to Cypress EZ-USB devices.</TD>
|
<TD>Provides methods for uploading firmware to Cypress EZ-USB devices.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A></B></TD>
|
<TD>A class representing a firmware image loaded from an ihx (Intel Hex format) file.</TD>
|
<TD>A class representing a firmware image loaded from an ihx (Intel Hex format) file.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/JInputStream.html" title="class in ztex">JInputStream</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/JInputStream.html" title="class in ztex">JInputStream</A></B></TD>
|
<TD>Creates an input stream from a regular file or a system resource file (i.e. a file from the current jar file).</TD>
|
<TD>Creates an input stream from a regular file or a system resource file (i.e. a file from the current jar file).</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TD>
|
<TD>This class implements the interface-independent part of the communication protocol for the interaction with the ZTEX firmware.</TD>
|
<TD>This class implements the interface-independent part of the communication protocol for the interaction with the ZTEX firmware.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A></B></TD>
|
<TD>This class implements the communication protocol of the interface version 1 for the interaction with the ZTEX firmware.</TD>
|
<TD>This class implements the communication protocol of the interface version 1 for the interaction with the ZTEX firmware.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A></B></TD>
|
<TD>A class representing an EZ-USB device that supports the ZTEX descriptor 1 or an unconfigured EZ-USB device.</TD>
|
<TD>A class representing an EZ-USB device that supports the ZTEX descriptor 1 or an unconfigured EZ-USB device.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A></B></TD>
|
<TD>Represents a firmware image with ZTEX descriptor 1 loaded from an ihx (Intel Hex format) file.</TD>
|
<TD>Represents a firmware image with ZTEX descriptor 1 loaded from an ihx (Intel Hex format) file.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/ZtexScanBus1.html" title="class in ztex">ZtexScanBus1</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/ZtexScanBus1.html" title="class in ztex">ZtexScanBus1</A></B></TD>
|
<TD>A class used for finding the EZ-USB devices on the USB.</TD>
|
<TD>A class used for finding the EZ-USB devices on the USB.</TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
|
|
<P>
|
<P>
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<B>Exception Summary</B></FONT></TH>
|
<B>Exception Summary</B></FONT></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></B></TD>
|
<TD>Thrown if the FPGA is already configured.</TD>
|
<TD>Thrown if the FPGA is already configured.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></B></TD>
|
<TD>Signals that an error occurred while attempting to read a bitstream.</TD>
|
<TD>Signals that an error occurred while attempting to read a bitstream.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></B></TD>
|
<TD>Signals that an error occurred while attempting to upload the bitstream.</TD>
|
<TD>Signals that an error occurred while attempting to upload the bitstream.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></B></TD>
|
<TD>Thrown is a required capability is not available.</TD>
|
<TD>Thrown is a required capability is not available.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></B></TD>
|
<TD>Thrown if a device went lost after renumeration.</TD>
|
<TD>Thrown if a device went lost after renumeration.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</A></B></TD>
|
<TD>Thrown if a device is not supported, i.e. has the wrong USB ID's.</TD>
|
<TD>Thrown if a device is not supported, i.e. has the wrong USB ID's.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></B></TD>
|
<TD>Signals that an error occured while attempting to upload the firmware.</TD>
|
<TD>Signals that an error occured while attempting to upload the firmware.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></B></TD>
|
<TD>Signals that an ihx file is corrupt.</TD>
|
<TD>Signals that an ihx file is corrupt.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/IhxParseException.html" title="class in ztex">IhxParseException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/IhxParseException.html" title="class in ztex">IhxParseException</A></B></TD>
|
<TD>Signals that an error occurred while attempting to decode the ihx file.</TD>
|
<TD>Signals that an error occurred while attempting to decode the ihx file.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></B></TD>
|
<TD>Thrown while attempting to overwrite an existing firmware with an incompatible one.</TD>
|
<TD>Thrown while attempting to overwrite an existing firmware with an incompatible one.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></B></TD>
|
<TD>Thrown if a device runs with no or the wrong firmware, i.e. if the ZTEX descriptor is not found or damaged.</TD>
|
<TD>Thrown if a device runs with no or the wrong firmware, i.e. if the ZTEX descriptor is not found or damaged.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD WIDTH="15%"><B><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></B></TD>
|
<TD WIDTH="15%"><B><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></B></TD>
|
<TD>Signals an USB error.</TD>
|
<TD>Signals an USB error.</TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
|
|
<P>
|
<P>
|
<A NAME="package_description"><!-- --></A><H2>
|
<A NAME="package_description"><!-- --></A><H2>
|
Package ztex Description
|
Package ztex Description
|
</H2>
|
</H2>
|
|
|
<P>
|
<P>
|
The Java API of the <a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a>.
|
The Java API of the <a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a>.
|
<p>
|
<p>
|
This API is the host-side counterpart of the Firmware-Kit and allows user software to interact with
|
This API is the host-side counterpart of the Firmware-Kit and allows user software to interact with
|
EZ-USB devices running with such firmware. It uses <a href="../ch/ntb/usb/package-summary.html">libusbJava</a>, a Java wrapper
|
EZ-USB devices running with such firmware. It uses <a href="../ch/ntb/usb/package-summary.html">libusbJava</a>, a Java wrapper
|
for the libusb 0.1 and the libusb-win32 USB libraries. This API is known to run on Linux and Windows, but should work on every operating
|
for the libusb 0.1 and the libusb-win32 USB libraries. This API is known to run on Linux and Windows, but should work on every operating
|
system which supports libusb and Java.
|
system which supports libusb and Java.
|
<p>
|
<p>
|
<h2>Features</h2>
|
<h2>Features</h2>
|
The main features are:
|
The main features are:
|
<ul>
|
<ul>
|
<li> Platform independent host software. It is possible to pack all necessary files (libusb libraries, firmware, bitstream) into
|
<li> Platform independent host software. It is possible to pack all necessary files (libusb libraries, firmware, bitstream) into
|
one single jar archive which runs on both, Linux and Windows (and other OS's that support libusb and Java) </li>
|
one single jar archive which runs on both, Linux and Windows (and other OS's that support libusb and Java) </li>
|
<li> Licensed as Open Source under GPLv3 </li>
|
<li> Licensed as Open Source under GPLv3 </li>
|
<li> Firmware upload directly into the EZ-USB Microcontroller</li>
|
<li> Firmware upload directly into the EZ-USB Microcontroller</li>
|
<li> Access to EEPROM memory</li>
|
<li> Access to EEPROM memory</li>
|
<li> Firmware upload to EEPROM</li>
|
<li> Firmware upload to EEPROM</li>
|
<li> Support of Flash memory </li>
|
<li> Support of Flash memory </li>
|
<li> Bitstream upload directly to the FPGA (for <a href="http://www.ztex.de/usb-fpga-1/usb-fpga-1.2.e.html">ZTEX USB-FPGA-Modules</a>)</li>
|
<li> Bitstream upload directly to the FPGA (for <a href="http://www.ztex.de/usb-fpga-1/usb-fpga-1.2.e.html">ZTEX USB-FPGA-Modules</a>)</li>
|
<li> Bitstream upload to Flash memory (for <a href="http://www.ztex.de/usb-fpga-1/usb-fpga-1.2.e.html">ZTEX USB-FPGA-Modules</a>)</li>
|
<li> Bitstream upload to Flash memory (for <a href="http://www.ztex.de/usb-fpga-1/usb-fpga-1.2.e.html">ZTEX USB-FPGA-Modules</a>)</li>
|
</ul>
|
</ul>
|
|
|
<p>
|
<p>
|
<h2>Interaction with the firmware</h2>
|
<h2>Interaction with the firmware</h2>
|
Firmware built using the <a href="http://www.ztex.de/firmware-kit/index.e.html">Firmware Development Kit</a> supports an additional descriptor, the ZTEX descriptor 1. This descriptor
|
Firmware built using the <a href="http://www.ztex.de/firmware-kit/index.e.html">Firmware Development Kit</a> supports an additional descriptor, the ZTEX descriptor 1. This descriptor
|
identifies the device and firmware, provides compatibility information (e.g. to avoid that a device is loaded with the wrong firmware)
|
identifies the device and firmware, provides compatibility information (e.g. to avoid that a device is loaded with the wrong firmware)
|
and specifies the communication protocol. A description of the descriptor is given in <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.
|
and specifies the communication protocol. A description of the descriptor is given in <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.
|
<p>
|
<p>
|
The communication protocol defines how the functions provided by the firmware (see main features above)
|
The communication protocol defines how the functions provided by the firmware (see main features above)
|
can be accessed. Currently there is only one protocol implemented, the so called interface 1.
|
can be accessed. Currently there is only one protocol implemented, the so called interface 1.
|
A description of the interface is given in <A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A>.
|
A description of the interface is given in <A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A>.
|
<p>
|
<p>
|
The most importand classes for the interaction with the EZ-USB device / firmware are
|
The most importand classes for the interaction with the EZ-USB device / firmware are
|
<p>
|
<p>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top"><A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A></td>
|
<td bgcolor="#ffffff" valign="top"><A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A></td>
|
<td bgcolor="#ffffff" valign="top">Represents an EZ-USB device that supports ZTEX descriptor 1. These devices can be found using <A HREF="../ztex/ZtexScanBus1.html" title="class in ztex"><CODE>ZtexScanBus1</CODE></A>. </td>
|
<td bgcolor="#ffffff" valign="top">Represents an EZ-USB device that supports ZTEX descriptor 1. These devices can be found using <A HREF="../ztex/ZtexScanBus1.html" title="class in ztex"><CODE>ZtexScanBus1</CODE></A>. </td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top"><A HREF="../ztex/Ztex1.html" title="class in ztex"><CODE>Ztex1</CODE></A></td>
|
<td bgcolor="#ffffff" valign="top"><A HREF="../ztex/Ztex1.html" title="class in ztex"><CODE>Ztex1</CODE></A></td>
|
<td bgcolor="#ffffff" valign="top">Implementation of interface-independent part of the communication protocol, e.g. uploading the firmware to the EZ-USB and renumeration management.</td>
|
<td bgcolor="#ffffff" valign="top">Implementation of interface-independent part of the communication protocol, e.g. uploading the firmware to the EZ-USB and renumeration management.</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top"><A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A></td>
|
<td bgcolor="#ffffff" valign="top"><A HREF="../ztex/Ztex1v1.html" title="class in ztex"><CODE>Ztex1v1</CODE></A></td>
|
<td bgcolor="#ffffff" valign="top">Implemenetaion of the Interface 1, i.e. the interface dependent part of the communication protocol.</td>
|
<td bgcolor="#ffffff" valign="top">Implemenetaion of the Interface 1, i.e. the interface dependent part of the communication protocol.</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
|
|
<p>
|
<p>
|
<h2>SDK overview</h2>
|
<h2>SDK overview</h2>
|
The following diagram gives an overview about the usage of the different parts of the <a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a>.
|
The following diagram gives an overview about the usage of the different parts of the <a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a>.
|
<p>
|
<p>
|
<img src="../../imgs/ztex_firmware_kit-diagram.png" width="660" height="600" alt="ZTEX EZ-USB SDK overview for Linux and Windows">
|
<img src="../../imgs/ztex_firmware_kit-diagram.png" width="660" height="600" alt="ZTEX EZ-USB SDK overview for Linux and Windows">
|
<p>
|
<p>
|
The host software usually consists of a single jar archive which contains
|
The host software usually consists of a single jar archive which contains
|
<ul>
|
<ul>
|
<li> all necessary Java bytecode; </li>
|
<li> all necessary Java bytecode; </li>
|
<li> the libusb Java wrapper libraries for Linux (libusbJava.so) and Windows (libusbJava.dll), which are statically linked against libusb (no libusb installation required); </li>
|
<li> the libusb Java wrapper libraries for Linux (libusbJava.so) and Windows (libusbJava.dll), which are statically linked against libusb (no libusb installation required); </li>
|
<li> the firmware for the EZ-USB device (unless not installed in EEPROM); </li>
|
<li> the firmware for the EZ-USB device (unless not installed in EEPROM); </li>
|
<li> Bitstream for the FPGA (if required). </li>
|
<li> Bitstream for the FPGA (if required). </li>
|
</ul>
|
</ul>
|
This single jar archive runs on both, Linux and Windows (or other OS's that support libusb and Java).
|
This single jar archive runs on both, Linux and Windows (or other OS's that support libusb and Java).
|
<p>
|
<p>
|
On Linux this jar archive has no additional software requirements. The libusb(Java) library communicates directly with the EZ-USB device using kernel routines.
|
On Linux this jar archive has no additional software requirements. The libusb(Java) library communicates directly with the EZ-USB device using kernel routines.
|
<p>
|
<p>
|
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 device using that driver.
|
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 device using that driver.
|
|
|
<h2>Related Resources</h2>
|
<h2>Related Resources</h2>
|
For more information about this project visit the
|
For more information about this project visit the
|
<a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a> page.
|
<a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a> page.
|
<P>
|
<P>
|
|
|
<P>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<A NAME="navbar_bottom"><!-- --></A>
|
<A NAME="navbar_bottom"><!-- --></A>
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TR>
|
<TR>
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TR ALIGN="center" VALIGN="top">
|
<TR ALIGN="center" VALIGN="top">
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
</TD>
|
</TD>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
</EM>
|
</EM>
|
</TD>
|
</TD>
|
</TR>
|
</TR>
|
|
|
<TR>
|
<TR>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../ch/ntb/usb/package-summary.html"><B>PREV PACKAGE</B></A>
|
<A HREF="../ch/ntb/usb/package-summary.html"><B>PREV PACKAGE</B></A>
|
NEXT PACKAGE</FONT></TD>
|
NEXT PACKAGE</FONT></TD>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../index.html?ztex/package-summary.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="../index.html?ztex/package-summary.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
<!--
|
<!--
|
if(window==top) {
|
if(window==top) {
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
}
|
}
|
//-->
|
//-->
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
|
|
</FONT></TD>
|
</FONT></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="skip-navbar_bottom"></A>
|
<A NAME="skip-navbar_bottom"></A>
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
<HR>
|
<HR>
|
|
|
</BODY>
|
</BODY>
|
</HTML>
|
</HTML>
|
|
|