OpenCores
URL https://opencores.org/ocsvn/usb_fpga_1_11/usb_fpga_1_11/trunk

Subversion Repositories usb_fpga_1_11

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /usb_fpga_1_11/trunk/docs/java/ztex
    from Rev 6 to Rev 8
    Reverse comparison

Rev 6 → Rev 8

/BitstreamUploadException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
BitstreamUploadException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/DeviceLostException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
DeviceLostException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
54,7 → 54,7
 
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?ztex/DeviceLostException.html" target="_top"><B>FRAMES</B></A> &nbsp;
227,7 → 227,7
 
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?ztex/DeviceLostException.html" target="_top"><B>FRAMES</B></A> &nbsp;
/Ztex1v1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
Ztex1v1
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
483,6 → 483,37
</table>
</td>
</tr>
<tr>
<td bgcolor="#ffffff" valign="top">1.0</td>
<td bgcolor="#ffffff" valign="top" colspan=2>
Temperature sensor support<p>
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
<tr>
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
</tr>
<tr>
<td bgcolor="#ffffff" valign="top">VR 0x58</td>
<td bgcolor="#ffffff" valign="top">Return temperature data:
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
<tr>
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
</tr>
<tr>
<td bgcolor="#ffffff" valign="top">0</td>
<td bgcolor="#ffffff" valign="top">Protocol</td>
</tr>
<tr>
<td bgcolor="#ffffff" valign="top">1..n</td>
<td bgcolor="#ffffff" valign="top">Data</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<P>
 
560,6 → 591,14
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_TEMP_SENSOR">CAPABILITY_TEMP_SENSOR</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Capability index for Temperature sensor support</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE>
 
<BR>
575,6 → 614,15
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../ztex/ConfigData.html" title="class in ztex">ConfigData</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#config">config</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The configuration data structure
is initialized if this kind of data is present in MAC EEPROM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugNewMessages">debugNewMessages</A></B></CODE>
 
679,6 → 727,14
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#tempSensorUpdateInterval">tempSensorUpdateInterval</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;smallest temperature sensor update interval in ms</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE>
 
826,6 → 882,16
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.io.InputStream, boolean, int)">configureFpga</A></B>(java.io.InputStream&nbsp;inputStream,
boolean&nbsp;force,
int&nbsp;bs)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean)">configureFpga</A></B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;force)</CODE>
 
845,6 → 911,16
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.io.InputStream, boolean, int)">configureFpgaHS</A></B>(java.io.InputStream&nbsp;inputStream,
boolean&nbsp;force,
int&nbsp;bs)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA using high speed mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;force,
int&nbsp;bs)</CODE>
855,6 → 931,16
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.io.InputStream, boolean, int)">configureFpgaLS</A></B>(java.io.InputStream&nbsp;inputStream,
boolean&nbsp;force,
int&nbsp;bs)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA using low speed mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;force,
int&nbsp;bs)</CODE>
967,6 → 1053,14
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashInfo()">flashInfo</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns information about Flash memory.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, byte[])">flashReadSector</A></B>(int&nbsp;sector,
byte[]&nbsp;buf)</CODE>
1043,6 → 1137,15
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)">flashUploadBitstream</A></B>(java.io.InputStream&nbsp;inputStream,
int&nbsp;bs)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uploads a Bitstream to the Flash.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)">flashUploadBitstream</A></B>(java.lang.String&nbsp;fwFileName)</CODE>
 
<BR>
1102,6 → 1205,22
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#init()">init</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializates the class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#InterfaceCapabilities(int)">InterfaceCapabilities</A></B>(int&nbsp;i)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns interface capability bit.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromRead(int, byte[], int)">macEepromRead</A></B>(int&nbsp;addr,
byte[]&nbsp;buf,
1162,6 → 1281,14
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printSpiState()">printSpiState</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prints out some debug information about SPI Flash.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#resetFpga()">resetFpga</A></B>()</CODE>
 
1178,6 → 1305,14
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#tempSensorRead(int)">tempSensorRead</A></B>(int&nbsp;idx)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read temperature sensor data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE>
 
1371,7 → 1506,7
<TH ALIGN="left"><B>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD>
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.io.InputStream, java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
1492,6 → 1627,18
</DL>
<HR>
 
<A NAME="CAPABILITY_TEMP_SENSOR"><!-- --></A><H3>
CAPABILITY_TEMP_SENSOR</H3>
<PRE>
public static final int <B>CAPABILITY_TEMP_SENSOR</B></PRE>
<DL>
<DD>Capability index for Temperature sensor support
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_TEMP_SENSOR">Constant Field Values</A></DL>
</DL>
<HR>
 
<A NAME="capabilityStrings"><!-- --></A><H3>
capabilityStrings</H3>
<PRE>
1742,7 → 1889,35
<DL>
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NVM_BUSY">Constant Field Values</A></DL>
</DL>
<HR>
 
<A NAME="tempSensorUpdateInterval"><!-- --></A><H3>
tempSensorUpdateInterval</H3>
<PRE>
public int <B>tempSensorUpdateInterval</B></PRE>
<DL>
<DD>smallest temperature sensor update interval in ms
<P>
<DL>
</DL>
</DL>
<HR>
 
<A NAME="config"><!-- --></A><H3>
config</H3>
<PRE>
public <A HREF="../ztex/ConfigData.html" title="class in ztex">ConfigData</A> <B>config</B></PRE>
<DL>
<DD>The configuration data structure
is initialized if this kind of data is present in MAC EEPROM.
In this case MAC EEPROM writes to addresses 0 to 79 are disabled, see <A HREF="../ztex/Ztex1v1.html#macEepromWrite(int, byte[], int)"><CODE>macEepromWrite(int,byte[],int)</CODE></A>.
In order to override this behavior set this variable to null.
If no configuration data is present <A HREF="../ztex/Ztex1v1.html#config"><CODE>config</CODE></A> is null.
<P>
<DL>
</DL>
</DL>
 
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
<A NAME="constructor_detail"><!-- --></A>
1777,6 → 1952,25
</TR>
</TABLE>
 
<A NAME="init()"><!-- --></A><H3>
init</H3>
<PRE>
protected void <B>init</B>()
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
<DL>
<DD>Initializates the class.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#init()">init</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL>
</DD>
<DD><DL>
 
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL>
</DD>
</DL>
<HR>
 
<A NAME="valid()"><!-- --></A><H3>
valid</H3>
<PRE>
1887,6 → 2081,20
</DL>
<HR>
 
<A NAME="InterfaceCapabilities(int)"><!-- --></A><H3>
InterfaceCapabilities</H3>
<PRE>
public boolean <B>InterfaceCapabilities</B>(int&nbsp;i)</PRE>
<DL>
<DD>Returns interface capability bit.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - capability index (0..47)
<DT><B>Returns:</B><DD>interface capability bit.</DL>
</DD>
</DL>
<HR>
 
<A NAME="checkCompatible(int, int, int, int)"><!-- --></A><H3>
checkCompatible</H3>
<PRE>
1989,6 → 2197,34
</DL>
<HR>
 
<A NAME="configureFpgaLS(java.io.InputStream, boolean, int)"><!-- --></A><H3>
configureFpgaLS</H3>
<PRE>
public long <B>configureFpgaLS</B>(java.io.InputStream&nbsp;inputStream,
boolean&nbsp;force,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Upload a Bitstream to the FPGA using low speed mode.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
</DD>
</DL>
<HR>
 
<A NAME="configureFpgaLS(java.lang.String, boolean, int)"><!-- --></A><H3>
configureFpgaLS</H3>
<PRE>
2223,10 → 2459,11
</DL>
<HR>
 
<A NAME="flashReadSector(int, byte[])"><!-- --></A><H3>
<A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3>
flashReadSector</H3>
<PRE>
public void <B>flashReadSector</B>(int&nbsp;sector,
int&nbsp;num,
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
2233,24 → 2470,23
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
java.lang.IndexOutOfBoundsException</PRE>
<DL>
<DD>Reads one sector from the Flash.
<DD>Reads a integer number of sectors from the Flash.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The number of the first sector to be read.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
</DD>
</DL>
<HR>
 
<A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3>
<A NAME="flashReadSector(int, byte[])"><!-- --></A><H3>
flashReadSector</H3>
<PRE>
public void <B>flashReadSector</B>(int&nbsp;sector,
int&nbsp;num,
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
2257,23 → 2493,24
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
java.lang.IndexOutOfBoundsException</PRE>
<DL>
<DD>Reads a integer number of sectors from the Flash.
<DD>Reads one sector from the Flash.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The number of the first sector to be read.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
</DD>
</DL>
<HR>
 
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3>
<A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3>
flashWriteSector</H3>
<PRE>
public void <B>flashWriteSector</B>(int&nbsp;sector,
int&nbsp;num,
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
2280,24 → 2517,23
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
java.lang.IndexOutOfBoundsException</PRE>
<DL>
<DD>Writes one sector to the Flash.
<DD>Writes a integer number of sectors to the Flash.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>buf</CODE> - The data.
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - The data.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
</DD>
</DL>
<HR>
 
<A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3>
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3>
flashWriteSector</H3>
<PRE>
public void <B>flashWriteSector</B>(int&nbsp;sector,
int&nbsp;num,
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
2304,15 → 2540,15
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
java.lang.IndexOutOfBoundsException</PRE>
<DL>
<DD>Writes a integer number of sectors to the Flash.
<DD>Writes one sector to the Flash.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - The data.
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>buf</CODE> - The data.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
</DD>
</DL>
<HR>
2425,10 → 2661,10
</DL>
<HR>
 
<A NAME="flashUploadBitstream(java.lang.String, int)"><!-- --></A><H3>
<A NAME="flashUploadBitstream(java.io.InputStream, int)"><!-- --></A><H3>
flashUploadBitstream</H3>
<PRE>
public long <B>flashUploadBitstream</B>(java.lang.String&nbsp;fwFileName,
public long <B>flashUploadBitstream</B>(java.io.InputStream&nbsp;inputStream,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
2439,7 → 2675,10
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
it is possible to construct fully autonomous devices.
<p>
Information about the bitstream is stored in sector 0.
If configuration data is present information about bitstream are stored there and Bitstream starts
at sector 0.
<p>
On all other devices the information about the bitstream is stored in sector 0.
This so called boot sector has the following format:
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
<tr>
2470,6 → 2709,32
The first sector of the Bitstream is sector 1.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.</DL>
</DD>
</DL>
<HR>
 
<A NAME="flashUploadBitstream(java.lang.String, int)"><!-- --></A><H3>
flashUploadBitstream</H3>
<PRE>
public long <B>flashUploadBitstream</B>(java.lang.String&nbsp;fwFileName,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Uploads a Bitstream to the Flash.
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
it is possible to construct fully autonomous devices.
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)"><CODE>flashUploadBitstream(InputStream,int)</CODE></A> for further details.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
2492,7 → 2757,7
<DD>Uploads a Bitstream to the Flash.
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
it is possible to construct fully autonomous devices.
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)"><CODE>flashUploadBitstream(String,int)</CODE></A> for further details.
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)"><CODE>flashUploadBitstream(InputStream,int)</CODE></A> for further details.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).
2549,6 → 2814,22
</DL>
<HR>
 
<A NAME="flashInfo()"><!-- --></A><H3>
flashInfo</H3>
<PRE>
public java.lang.String <B>flashInfo</B>()</PRE>
<DL>
<DD>Returns information about Flash memory.
The result contains the size and how much of the Flash is us used / reserved for / by the Bitstream.
If no Flash memeory is suppported an empty string is returned.
Returns Information about Flash memory.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
 
<A NAME="debugStackSize()"><!-- --></A><H3>
debugStackSize</H3>
<PRE>
3056,6 → 3337,34
</DL>
<HR>
 
<A NAME="configureFpgaHS(java.io.InputStream, boolean, int)"><!-- --></A><H3>
configureFpgaHS</H3>
<PRE>
public long <B>configureFpgaHS</B>(java.io.InputStream&nbsp;inputStream,
boolean&nbsp;force,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Upload a Bitstream to the FPGA using high speed mode.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
</DD>
</DL>
<HR>
 
<A NAME="configureFpgaHS(java.lang.String, boolean, int)"><!-- --></A><H3>
configureFpgaHS</H3>
<PRE>
3084,6 → 3393,34
</DL>
<HR>
 
<A NAME="configureFpga(java.io.InputStream, boolean, int)"><!-- --></A><H3>
configureFpga</H3>
<PRE>
public long <B>configureFpga</B>(java.io.InputStream&nbsp;inputStream,
boolean&nbsp;force,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
</DD>
</DL>
<HR>
 
<A NAME="configureFpga(java.lang.String, boolean, int)"><!-- --></A><H3>
configureFpga</H3>
<PRE>
3156,7 → 3493,7
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL>
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware or if configuration data is present and there is a write to addresses 0 to 79. In order to override this behavior set <A HREF="../ztex/Ztex1v1.html#config"><CODE>config</CODE></A> variable to null.</DL>
</DD>
</DL>
<HR>
3263,6 → 3600,50
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If FPGA number is not in range.</DL>
</DD>
</DL>
<HR>
 
<A NAME="tempSensorRead(int)"><!-- --></A><H3>
tempSensorRead</H3>
<PRE>
public double <B>tempSensorRead</B>(int&nbsp;idx)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
java.lang.IndexOutOfBoundsException</PRE>
<DL>
<DD>Read temperature sensor data.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>idx</CODE> - Temperature sensor index
<DT><B>Returns:</B><DD>Temperature in deg. C
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 or temperature sensor protocol is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If NVRAM access to ATxmega is not supported by the firmware.
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If idx is not in range.</DL>
</DD>
</DL>
<HR>
 
<A NAME="printSpiState()"><!-- --></A><H3>
printSpiState</H3>
<PRE>
public boolean <B>printSpiState</B>()
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Prints out some debug information about SPI Flash.<br>
<b>Only use this method if such kind of Flash is installed.</b>
<P>
<DD><DL>
 
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
 
/IncompatibleFirmwareException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
IncompatibleFirmwareException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/package-frame.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 -->
<TITLE>
ztex
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
23,6 → 23,8
Classes</FONT>&nbsp;
<FONT CLASS="FrameItemFont">
<BR>
<A HREF="ConfigData.html" title="class in ztex" target="classFrame">ConfigData</A>
<BR>
<A HREF="EzUsb.html" title="class in ztex" target="classFrame">EzUsb</A>
<BR>
<A HREF="IhxFile.html" title="class in ztex" target="classFrame">IhxFile</A>
/ZtexIhxFile1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
ZtexIhxFile1
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
141,6 → 141,21
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.io.InputStream, java.lang.String)">ZtexIhxFile1</A></B>(java.io.InputStream&nbsp;in,
java.lang.String&nbsp;name)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from a given file name and descriptor position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.io.InputStream, java.lang.String, int)">ZtexIhxFile1</A></B>(java.io.InputStream&nbsp;in,
java.lang.String&nbsp;name,
int&nbsp;pZtexDescriptorOffs)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from a given file name and descriptor position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.lang.String)">ZtexIhxFile1</A></B>(java.lang.String&nbsp;fileName)</CODE>
 
<BR>
283,6 → 298,50
</TR>
</TABLE>
 
<A NAME="ZtexIhxFile1(java.io.InputStream, java.lang.String, int)"><!-- --></A><H3>
ZtexIhxFile1</H3>
<PRE>
public <B>ZtexIhxFile1</B>(java.io.InputStream&nbsp;in,
java.lang.String&nbsp;name,
int&nbsp;pZtexDescriptorOffs)
throws java.io.IOException,
<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A>,
<A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></PRE>
<DL>
<DD>Constructs an instance from a given file name and descriptor position.<br>
This method can also read system resources, e.g. files from the current jar archive.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input.<DD><CODE>pZtexDescriptorOffs</CODE> - The position of the descriptor in bytes. The default position is 0x6c.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - If an read error occurred.
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged.
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - If the firmware image contains no valid ZTEX descriptor 1 at the specified position.</DL>
</DL>
<HR>
 
<A NAME="ZtexIhxFile1(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
ZtexIhxFile1</H3>
<PRE>
public <B>ZtexIhxFile1</B>(java.io.InputStream&nbsp;in,
java.lang.String&nbsp;name)
throws java.io.IOException,
<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A>,
<A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></PRE>
<DL>
<DD>Constructs an instance from a given file name and descriptor position.<br>
The ZTEX descriptor 1 is expected to be at the position 0x6c of the firmware image.<br>
This method can also read system resources, e.g. files from the current jar archive.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - If an read error occurred.
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged.
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - If the firmware image contains no valid ZTEX descriptor 1 at the specified position.</DL>
</DL>
<HR>
 
<A NAME="ZtexIhxFile1(java.lang.String, int)"><!-- --></A><H3>
ZtexIhxFile1</H3>
<PRE>
/JInputStream.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
JInputStream
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/package-summary.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 -->
<TITLE>
ztex
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
94,6 → 94,10
<B>Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../ztex/ConfigData.html" title="class in ztex">ConfigData</A></B></TD>
<TD>This class represents the configuration data space of ZTEX FPGA Boards that support it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<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>
</TR>
/package-tree.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 -->
<TITLE>
ztex Class Hierarchy
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
91,7 → 91,7
</H2>
<UL>
<LI TYPE="circle">java.lang.Object<UL>
<LI TYPE="circle">ztex.<A HREF="../ztex/EzUsb.html" title="class in ztex"><B>EzUsb</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IhxFile.html" title="class in ztex"><B>IhxFile</B></A><UL>
<LI TYPE="circle">ztex.<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>ConfigData</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/EzUsb.html" title="class in ztex"><B>EzUsb</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IhxFile.html" title="class in ztex"><B>IhxFile</B></A><UL>
<LI TYPE="circle">ztex.<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex"><B>ZtexIhxFile1</B></A></UL>
<LI TYPE="circle">ztex.<A HREF="../ztex/JInputStream.html" title="class in ztex"><B>JInputStream</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
<UL>
/EzUsb.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
EzUsb
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/IhxFile.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
IhxFile
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
137,6 → 137,13
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/IhxFile.html#IhxFile(java.io.InputStream, java.lang.String)">IhxFile</A></B>(java.io.InputStream&nbsp;in,
java.lang.String&nbsp;name)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from a given file name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/IhxFile.html#IhxFile(java.lang.String)">IhxFile</A></B>(java.lang.String&nbsp;fileName)</CODE>
 
<BR>
205,6 → 212,25
</TR>
</TABLE>
 
<A NAME="IhxFile(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
IhxFile</H3>
<PRE>
public <B>IhxFile</B>(java.io.InputStream&nbsp;in,
java.lang.String&nbsp;name)
throws java.io.IOException,
<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></PRE>
<DL>
<DD>Constructs an instance from a given file name.
This method can also read system resources, e.g. files from the current jar archive.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - If an read error occurred.
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged.</DL>
</DL>
<HR>
 
<A NAME="IhxFile(java.lang.String)"><!-- --></A><H3>
IhxFile</H3>
<PRE>
/ZtexScanBus1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
ZtexScanBus1
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/ZtexDevice1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
ZtexDevice1
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
145,10 → 145,16
<tr><td>0.0.0.0</td> <td>default Product ID (no product specified)</td></tr>
<tr><td>1.*.*.*</td> <td>may be used for experimental purposes</td></tr>
<tr><td>10.*.*.*</td> <td>used for ZTEX products</td></tr>
<tr><td>10.11.*.*</td> <td><a href="http://www.ztex.de/usb-fpga-1/usb-fpga-1.2.e.html">ZTEX USB-FPGA-Module 1.2</a></td></tr>
<tr><td>10.20.*.*</td> <td><a href="http://www.ztex.de/usb-1/usb-1.0.e.html">ZTEX USB-Module 1.0</a></td></tr>
<tr><td>10.11.*.*</td> <td>ZTEX USB-FPGA-Module 1.2</td></tr>
<tr><td>10.12.*.*</td> <td>ZTEX USB-FPGA-Module 1.11</td></tr>
<tr><td>10.13.*.*</td> <td>ZTEX USB-FPGA-Module 1.15 (not 1.15y)</td></tr>
<tr><td>10.14.*.*</td> <td>ZTEX USB-FPGA-Module 1.15x</td></tr>
<tr><td>10.15.*.*</td> <td>ZTEX USB-FPGA-Module 1.15y</td></tr>
<tr><td>10.20.*.*</td> <td>ZTEX USB-Module 1.0</td></tr>
<tr><td>10.30.*.*</td> <td>ZTEX USB-XMEGA-Module 1.0</td></tr>
<tr><td>10.0.1.1</td> <td>ZTEX BTCMiner firmware</td></tr>
</table></td></tr></table>
Please contact me (<a href="http://www.ztex.de/contact.e.html">http://www.ztex.de/contact.e.html</a>) if you want to register or reserve a Product ID (range).
Please contact us (<a href="http://www.ztex.de/contact.e.html">http://www.ztex.de/contact.e.html</a>) if you want to register or reserve a Product ID (range).
</td>
</tr>
<tr>
/ConfigData.html
0,0 → 1,907
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
ConfigData
</TITLE>
 
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ConfigData";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
 
</HEAD>
 
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
 
 
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
 
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?ztex/ConfigData.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ConfigData.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
 
 
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
 
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
ztex</FONT>
<BR>
Class ConfigData</H2>
<PRE>
java.lang.Object
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.ConfigData</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>ConfigData</B><DT>extends java.lang.Object</DL>
</PRE>
 
<P>
This class represents the configuration data space of ZTEX FPGA Boards that support it.
The internal format is
<pre>
&lt;Address&gt; &lt;Description&gt;
0..2 Signature "CD0"
3 Kind of FPGA Board, see <A HREF="../ztex/ConfigData.html#boardNames"><CODE>boardNames</CODE></A>, e.g. 2 for "ZTEX USB-FPGA Module",
4 FPGA Board series, e.g. 2
5 FPGA Board number (number behind the dot), e.g. 16
6..7 FPGA Board variant (letter), e.g. "b"
8..9 FPGA, see <A HREF="../ztex/ConfigData.html#fpgas"><CODE>fpgas</CODE></A>, e.g. 12 for X7A200T
10 FPGA package, see <A HREF="../ztex/ConfigData.html#packages"><CODE>packages</CODE></A>, e.g. 3 for FBG484
11..13 Speed grade + temperature range, e.g. "2C"
14 RAM size, format is ( n & 0xf0 ) << ( (n & 0xf) + 16 ) bytes
15 RAM type, see <A HREF="../ztex/ConfigData.html#ramTypes"><CODE>ramTypes</CODE></A>
16..25 Serial number, overwrites SN_STRING of the ZTEX descriptor.
If it is equal to "0000000000" (default) it is replaced by the unique MAC address.
26..27 Actual size of Bitstream in 4K sectors; 0 means Bitstream disabled (default)
28..29 Maximum size of Bitstream in 4K sectors; 0 means that either no Flash
is present or that this information is stored in Flash (exchangeable media)
30..79 Reserved
80..127 48 bytes user space
</pre>
<P>
 
<P>
<HR>
 
<P>
<!-- =========== FIELD SUMMARY =========== -->
 
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#boardNames">boardNames</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kinds of FPGA Boards.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#fpgas">fpgas</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FPGA's used on ZTEX FPGA Boards.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#packages">packages</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FPGA packages used on ZTEX FPGA boards.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#ramTypes">ramTypes</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RAM types and speed used on ZTEX FPGA boards.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ConfigData.html#ConfigData()">ConfigData</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ConfigData.html#ConfigData(ztex.Ztex1v1)">ConfigData</A></B>(<A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A>&nbsp;z)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance and connects it with z.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
 
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#connect(ztex.Ztex1v1)">connect</A></B>(<A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A>&nbsp;z)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the configuration data (if existent) from a device and connects it to this instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#data()">data</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the configuration data array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#disconnect()">disconnect</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disconnects the currently connected device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getBitstreamSize()">getBitstreamSize</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns actual size of bitstream in bytes sectors.
0 means that no bitstream is stored.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getFpga()">getFpga</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns FPGA information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getMaxBitstreamSize()">getMaxBitstreamSize</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns maximum size of bitstream in bytes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getName()">getName</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the FPGA Board.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getRamSize()">getRamSize</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns RAM size in bytes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getRamType()">getRamType</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns RAM type and speed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getSN()">getSN</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the serial number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getUserData(int)">getUserData</A></B>(int&nbsp;i)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns user data at index i.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#sendtUserData()">sendtUserData</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sends the user data to the FPGA Board.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setBitstreamSize(int)">setBitstreamSize</A></B>(int&nbsp;size)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the actual size of bitstream in bytes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setFpga(java.lang.String, java.lang.String, java.lang.String)">setFpga</A></B>(java.lang.String&nbsp;name,
java.lang.String&nbsp;pckg,
java.lang.String&nbsp;sg)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets FPGA information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setMaxBitstreamSize(int)">setMaxBitstreamSize</A></B>(int&nbsp;size4k)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum size of bitstream in 4 KByte sectors.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setName(java.lang.String, int, int, java.lang.String)">setName</A></B>(java.lang.String&nbsp;kind,
int&nbsp;series,
int&nbsp;number,
java.lang.String&nbsp;variant)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the FPGA Board.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setRam(int, java.lang.String)">setRam</A></B>(int&nbsp;size,
java.lang.String&nbsp;type)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets RAM information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setSN(java.lang.String)">setSN</A></B>(java.lang.String&nbsp;sn)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the serial number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setUserData(int, byte)">setUserData</A></B>(int&nbsp;i,
byte&nbsp;v)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets user data at index i to value v.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
 
<!-- ============ FIELD DETAIL =========== -->
 
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
 
<A NAME="boardNames"><!-- --></A><H3>
boardNames</H3>
<PRE>
public static final java.lang.String[] <B>boardNames</B></PRE>
<DL>
<DD>Kinds of FPGA Boards.
It's defined as
<pre><code>public static final String boardNames[] = {
"(unknown)" , // 0
"ZTEX FPGA Module" , // 1
"ZTEX USB-FPGA Module" // 2
};</code></pre>
<P>
<DL>
</DL>
</DL>
<HR>
 
<A NAME="fpgas"><!-- --></A><H3>
fpgas</H3>
<PRE>
public static final java.lang.String[] <B>fpgas</B></PRE>
<DL>
<DD>FPGA's used on ZTEX FPGA Boards.
It's defined as
<pre><code>public static final String fpgas[] = {
"(unknown)" , // 0
"XC6SLX9" , // 1
"XC6SLX16" , // 2
"XC6SLX25" , // 3
"XC6SLX45" , // 4
"XC6SLX75" , // 5
"XC6SLX100" , // 6
"XC6SLX150" , // 7
"XC7A35T", // 8
"XC7A50T", // 9
"XC7A75T", // 10
"XC7A100T", // 11
"XC7A200T", // 12
"Quad-XC6SLX150" // 13
};</code></pre>
<P>
<DL>
</DL>
</DL>
<HR>
 
<A NAME="packages"><!-- --></A><H3>
packages</H3>
<PRE>
public static final java.lang.String[] <B>packages</B></PRE>
<DL>
<DD>FPGA packages used on ZTEX FPGA boards.
It's defined as
<pre><code>public static final String packages[] = {
"(unknown)", // 0
"FTG256" , // 1 256 balls, 1.0mm
"CSG324" , // 2 324 balls, 0.8mm
"CSG484" , // 3 484 balls, 0.8mm
"FBG484" // 4 484 balls, 1.0mm
};</code></pre>
<P>
<DL>
</DL>
</DL>
<HR>
 
<A NAME="ramTypes"><!-- --></A><H3>
ramTypes</H3>
<PRE>
public static final java.lang.String[] <B>ramTypes</B></PRE>
<DL>
<DD>RAM types and speed used on ZTEX FPGA boards.
It's defined as
<pre><code>public static final String ramTypes[] = {
"(unknown)", // 0
"DDR-200 SDRAM", // 1
"DDR-266 SDRAM", // 2
"DDR-333 SDRAM", // 3
"DDR-400 SDRAM", // 4
"DDR2-400 SDRAM", // 5
"DDR2-533 SDRAM", // 6
"DDR2-667 SDRAM", // 7
"DDR2-800 SDRAM", // 8
"DDR2-1066 SDRAM" // 9
};</code></pre>
<P>
<DL>
</DL>
</DL>
 
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
 
<A NAME="ConfigData()"><!-- --></A><H3>
ConfigData</H3>
<PRE>
public <B>ConfigData</B>()</PRE>
<DL>
<DD>Constructs an empty instance.
<P>
</DL>
<HR>
 
<A NAME="ConfigData(ztex.Ztex1v1)"><!-- --></A><H3>
ConfigData</H3>
<PRE>
public <B>ConfigData</B>(<A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A>&nbsp;z)
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Constructs an instance and connects it with z. Also see <A HREF="../ztex/ConfigData.html#connect(ztex.Ztex1v1)"><CODE>connect(Ztex1v1)</CODE></A>.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>z</CODE> - The ztex device to connect with.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL>
</DL>
 
<!-- ============ METHOD DETAIL ========== -->
 
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
 
<A NAME="connect(ztex.Ztex1v1)"><!-- --></A><H3>
connect</H3>
<PRE>
public boolean <B>connect</B>(<A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A>&nbsp;z)
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Reads the configuration data (if existent) from a device and connects it to this instance.
After this user defined settings (e.g. serial number, bitstream size) are
stored on device immediately after they are altered.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>z</CODE> - The ztex device to connect with.
<DT><B>Returns:</B><DD>True if configuration data could be read.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL>
</DD>
</DL>
<HR>
 
<A NAME="disconnect()"><!-- --></A><H3>
disconnect</H3>
<PRE>
public boolean <B>disconnect</B>()</PRE>
<DL>
<DD>Disconnects the currently connected device.
After this modified settings are not stored on device anymore.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>True if a device was connected.</DL>
</DD>
</DL>
<HR>
 
<A NAME="data()"><!-- --></A><H3>
data</H3>
<PRE>
public byte[] <B>data</B>()</PRE>
<DL>
<DD>Returns a copy of the configuration data array.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>A copy of the configuration data array.</DL>
</DD>
</DL>
<HR>
 
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Returns the name of the FPGA Board.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>The name of the FPGA Board.</DL>
</DD>
</DL>
<HR>
 
<A NAME="setName(java.lang.String, int, int, java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public void <B>setName</B>(java.lang.String&nbsp;kind,
int&nbsp;series,
int&nbsp;number,
java.lang.String&nbsp;variant)</PRE>
<DL>
<DD>Sets the name of the FPGA Board.
Example: <pre>setName("ZTEX USB-FPGA Module", 2, 16, "b"); // denotes "ZTEX USB-FPGA Module 2.16b"</pre>
This setting is not transferred to the FPGA Board because is should not be altered by the user.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>kind</CODE> - Kind of FPGA Board, see <A HREF="../ztex/ConfigData.html#boardNames"><CODE>boardNames</CODE></A> for possible values, e.g. "ZTEX USB-FPGA Module"<DD><CODE>series</CODE> - FPGA Board series, e.g. 2<DD><CODE>number</CODE> - FPGA Board number (number behind the dot), e.g. 16<DD><CODE>variant</CODE> - FPGA Board variant (letter), e.g. "b"</DL>
</DD>
</DL>
<HR>
 
<A NAME="getFpga()"><!-- --></A><H3>
getFpga</H3>
<PRE>
public java.lang.String <B>getFpga</B>()</PRE>
<DL>
<DD>Returns FPGA information.
Notation of the result is &lt;name&gt;-&lt;package&gt;-&lt;speed grade and temperature range&gt;, e.g. XC7A200T-FBG484-2C.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>FPGA Information.</DL>
</DD>
</DL>
<HR>
 
<A NAME="setFpga(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
setFpga</H3>
<PRE>
public void <B>setFpga</B>(java.lang.String&nbsp;name,
java.lang.String&nbsp;pckg,
java.lang.String&nbsp;sg)</PRE>
<DL>
<DD>Sets FPGA information.
Example: <pre>setFpga("XC7A200T", "FBG484", "2C"); // denotes Xilinx part number XC7A200T-2FBG484C</pre>
This setting is not transferred to the FPGA Board because is should not be altered by the user.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the FPGA, see <A HREF="../ztex/ConfigData.html#fpgas"><CODE>fpgas</CODE></A> for possible values, e.g. "XC7A200T"<DD><CODE>pckg</CODE> - FPGA package, see <A HREF="../ztex/ConfigData.html#packages"><CODE>packages</CODE></A> for possible values, e.g. "FBG484"<DD><CODE>sg</CODE> - Speed grade and temperature range, e.g. "2C"</DL>
</DD>
</DL>
<HR>
 
<A NAME="getRamType()"><!-- --></A><H3>
getRamType</H3>
<PRE>
public java.lang.String <B>getRamType</B>()</PRE>
<DL>
<DD>Returns RAM type and speed.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>FPGA Information.</DL>
</DD>
</DL>
<HR>
 
<A NAME="getRamSize()"><!-- --></A><H3>
getRamSize</H3>
<PRE>
public int <B>getRamSize</B>()</PRE>
<DL>
<DD>Returns RAM size in bytes.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>RAM size in bytes.</DL>
</DD>
</DL>
<HR>
 
<A NAME="setRam(int, java.lang.String)"><!-- --></A><H3>
setRam</H3>
<PRE>
public void <B>setRam</B>(int&nbsp;size,
java.lang.String&nbsp;type)</PRE>
<DL>
<DD>Sets RAM information.
Example: <pre>setRam(128, "DDR2-800 SDRAM"); // sets RAM info to 128 MB DDR2-800 SDRAM</pre>
This setting is not transferred to the FPGA Board because is should not be altered by the user.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - RAM size in MBytes, e.g. 128<DD><CODE>type</CODE> - RAM type and speed, see <A HREF="../ztex/ConfigData.html#ramTypes"><CODE>ramTypes</CODE></A> for possible values, e.g. "DDR2-800 SDRAM"</DL>
</DD>
</DL>
<HR>
 
<A NAME="getMaxBitstreamSize()"><!-- --></A><H3>
getMaxBitstreamSize</H3>
<PRE>
public int <B>getMaxBitstreamSize</B>()</PRE>
<DL>
<DD>Returns maximum size of bitstream in bytes.
This is the amount of flash which should be reserved for the bitstream.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>Maximum size of bitstream in bytes sectors.</DL>
</DD>
</DL>
<HR>
 
<A NAME="setMaxBitstreamSize(int)"><!-- --></A><H3>
setMaxBitstreamSize</H3>
<PRE>
public void <B>setMaxBitstreamSize</B>(int&nbsp;size4k)</PRE>
<DL>
<DD>Sets the maximum size of bitstream in 4 KByte sectors.
This setting is not transferred to the FPGA Board because is should not be altered by the user.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size4k</CODE> - Maximum size of bitstream in 4 KByte sectors. E.g. a value of 256 reserves 1 MByte for the bitstream.</DL>
</DD>
</DL>
<HR>
 
<A NAME="getBitstreamSize()"><!-- --></A><H3>
getBitstreamSize</H3>
<PRE>
public int <B>getBitstreamSize</B>()</PRE>
<DL>
<DD>Returns actual size of bitstream in bytes sectors.
0 means that no bitstream is stored. The value is rounded up to a multiples of 4096.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>Actual size of bitstream in byte sectors.</DL>
</DD>
</DL>
<HR>
 
<A NAME="setBitstreamSize(int)"><!-- --></A><H3>
setBitstreamSize</H3>
<PRE>
public boolean <B>setBitstreamSize</B>(int&nbsp;size)
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Sets the actual size of bitstream in bytes. The value is rounded up to a multiple of 4096.
If a device is connected, this setting is transferred to the FPGA Board.
A warning is printed if bitstream size is larger then the reserved size (see <A HREF="../ztex/ConfigData.html#getMaxBitstreamSize()"><CODE>getMaxBitstreamSize()</CODE></A>).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - Actual size of bitstream in bytes.
<DT><B>Returns:</B><DD>True if a device is connected and setting was send.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL>
</DD>
</DL>
<HR>
 
<A NAME="getSN()"><!-- --></A><H3>
getSN</H3>
<PRE>
public java.lang.String <B>getSN</B>()</PRE>
<DL>
<DD>Returns the serial number. This is not necessarily the serial number
returned by the FPGA board according to the USB specification, see <A HREF="../ztex/ConfigData.html#setSN(java.lang.String)"><CODE>setSN(String)</CODE></A>
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>Serial number as stored in the configuration data space.</DL>
</DD>
</DL>
<HR>
 
<A NAME="setSN(java.lang.String)"><!-- --></A><H3>
setSN</H3>
<PRE>
public boolean <B>setSN</B>(java.lang.String&nbsp;sn)
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Sets the serial number.
During startup the firmware overwrites SN_STRING from the ZTEX descriptor (see <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>) by this value.
If it is equal to "0000000000" (default) it is replaced by the unique MAC address. <p>
This setting is transferred to the FPGA Board.
Change takes effect after the next restart of the firmware.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sn</CODE> - Serial number string. Only the first 10 characters are considered.
<DT><B>Returns:</B><DD>True if a device is connected and setting was send.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL>
</DD>
</DL>
<HR>
 
<A NAME="getUserData(int)"><!-- --></A><H3>
getUserData</H3>
<PRE>
public byte <B>getUserData</B>(int&nbsp;i)</PRE>
<DL>
<DD>Returns user data at index i.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - the index. Valid values are 0 to 47.
<DT><B>Returns:</B><DD>User data.
<DT><B>Throws:</B>
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If i is smaller than 0 or greater than 47.</DL>
</DD>
</DL>
<HR>
 
<A NAME="setUserData(int, byte)"><!-- --></A><H3>
setUserData</H3>
<PRE>
public void <B>setUserData</B>(int&nbsp;i,
byte&nbsp;v)
throws java.lang.IndexOutOfBoundsException</PRE>
<DL>
<DD>Sets user data at index i to value v. Use the method <A HREF="../ztex/ConfigData.html#getMaxBitstreamSize()"><CODE>getMaxBitstreamSize()</CODE></A>
to transfer the data to the FPGA Board.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index. Valid values are 0 to 47.<DD><CODE>v</CODE> - The value.
<DT><B>Throws:</B>
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If i is smaller than 0 or greater than 47.</DL>
</DD>
</DL>
<HR>
 
<A NAME="sendtUserData()"><!-- --></A><H3>
sendtUserData</H3>
<PRE>
public boolean <B>sendtUserData</B>()
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Sends the user data to the FPGA Board.
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>True if a device is connected and data could be send.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 is not supported.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
 
 
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
 
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?ztex/ConfigData.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="ConfigData.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
 
 
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 
<HR>
 
</BODY>
</HTML>
/CapabilityException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
CapabilityException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
55,7 → 55,7
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?ztex/CapabilityException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="CapabilityException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
214,7 → 214,7
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?ztex/CapabilityException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="CapabilityException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
/FirmwareUploadException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
FirmwareUploadException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/InvalidFirmwareException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
InvalidFirmwareException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/IhxParseException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
IhxParseException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/DeviceNotSupportedException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
DeviceNotSupportedException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/BitstreamReadException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
BitstreamReadException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/AlreadyConfiguredException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
AlreadyConfiguredException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/UsbException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
UsbException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/IhxFileDamagedException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
IhxFileDamagedException
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/Ztex1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 -->
<TITLE>
Ztex1
</TITLE>
 
<META NAME="date" CONTENT="2012-04-12">
<META NAME="date" CONTENT="2013-10-30">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
221,6 → 221,14
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1.html#init()">init</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializates the class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A></B>(int&nbsp;iface)</CODE>
 
262,6 → 270,16
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(java.io.InputStream, java.lang.String, boolean)">uploadFirmware</A></B>(java.io.InputStream&nbsp;ihxIn,
java.lang.String&nbsp;name,
boolean&nbsp;force)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uploads the firmware to the EZ-USB and manages the renumeration process.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A></B>(java.lang.String&nbsp;ihxFileName,
boolean&nbsp;force)</CODE>
 
459,6 → 477,22
</TR>
</TABLE>
 
<A NAME="init()"><!-- --></A><H3>
init</H3>
<PRE>
protected void <B>init</B>()
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
<DL>
<DD>Initializates the class.
<P>
<DD><DL>
 
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL>
</DD>
</DL>
<HR>
 
<A NAME="finalize()"><!-- --></A><H3>
finalize</H3>
<PRE>
838,6 → 872,38
</DL>
<HR>
 
<A NAME="uploadFirmware(java.io.InputStream, java.lang.String, boolean)"><!-- --></A><H3>
uploadFirmware</H3>
<PRE>
public long <B>uploadFirmware</B>(java.io.InputStream&nbsp;ihxIn,
java.lang.String&nbsp;name,
boolean&nbsp;force)
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE>
<DL>
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process.
<p>
Before the firmware is uploaded the device is set into a reset state.
After the upload the firmware is booted and the renumeration starts.
During this process the device disappears from the bus and a new one
occurs which will be assigned to this class automatically (instead of the disappeared one).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ihxIn</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input.<DD><CODE>force</CODE> - The compatibility check is skipped if true.
<DT><B>Returns:</B><DD>the upload time in ms.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - if the given firmware is not compatible to the installed one, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter)
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL>
</DD>
</DL>
<HR>
 
<A NAME="resetEzUsb()"><!-- --></A><H3>
resetEzUsb</H3>
<PRE>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.