URL
https://opencores.org/ocsvn/usb_fpga_1_15/usb_fpga_1_15/trunk
Subversion Repositories usb_fpga_1_15
[/] [usb_fpga_1_15/] [trunk/] [docs/] [java/] [ztex/] [Ztex1v1.html] - Rev 3
Compare with Previous | Blame | View Log
<!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> Ztex1v1 </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="Ztex1v1"; } } </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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../ztex/Ztex1.html" title="class in ztex"><B>PREV CLASS</B></A> <A HREF="../ztex/ZtexDevice1.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/Ztex1v1.html" target="_top"><B>FRAMES</B></A> <A HREF="Ztex1v1.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 Ztex1v1</H2> <PRE> java.lang.Object <IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../ztex/Ztex1.html" title="class in ztex">ztex.Ztex1</A> <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.Ztex1v1</B> </PRE> <HR> <DL> <DT><PRE>public class <B>Ztex1v1</B><DT>extends <A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></DL> </PRE> <P> This class implements the communication protocol of the interface version 1 for the interaction with the ZTEX firmware. <p> The features supported by this interface can be accessed via vendor commands and vendor requests via Endpoint 0. Each feature can be enabled or disabled by the firmware and also depends from the hardware. The presence of a feature is indicated by a 1 in the corresponding feature bit of the ZTEX descriptor 1, see <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>. The following table gives an overview about the features <table bgcolor="#404040" cellspacing=1 cellpadding=10> <tr> <td bgcolor="#d0d0d0" valign="bottom"><b>Capability bit</b></td> <td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td> </tr> <tr> <td bgcolor="#ffffff" valign="top">0.0</td> <td bgcolor="#ffffff" valign="top" colspan=2> EEPROM 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 0x38</td> <td bgcolor="#ffffff" valign="top">Read from EEPROM</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VC 0x39</td> <td bgcolor="#ffffff" valign="top">Write to EEPROM</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VR 0x3a</td> <td bgcolor="#ffffff" valign="top">Get EEPROM state. Returns: <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-1</td> <td bgcolor="#ffffff" valign="top">Number of bytes written.</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">2</td> <td bgcolor="#ffffff" valign="top">Checksum</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">3</td> <td bgcolor="#ffffff" valign="top">0:idle, 1:busy or error</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">0.1</td> <td bgcolor="#ffffff" valign="top" colspan=2> FPGA Configuration<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 0x30</td> <td bgcolor="#ffffff" valign="top">Get FPGA state. Returns: <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">1: unconfigured, 0:configured</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">1</td> <td bgcolor="#ffffff" valign="top">Checksum</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">2-5</td> <td bgcolor="#ffffff" valign="top">Number of bytes transferred.</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">6</td> <td bgcolor="#ffffff" valign="top">INIT_B states.</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">7</td> <td bgcolor="#ffffff" valign="top">Flash configuration result.</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">8</td> <td bgcolor="#ffffff" valign="top">Flash Bitstreambit order (1=swapped).</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VC 0x31</td> <td bgcolor="#ffffff" valign="top">Reset FPGA</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VR 0x32</td> <td bgcolor="#ffffff" valign="top">Send Bitstream</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">0.2</td> <td bgcolor="#ffffff" valign="top" colspan=2> Flash memory 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 0x40</td> <td bgcolor="#ffffff" valign="top">Get Flash state. Returns: <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">1:enabled, 0:disabled</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">1-2</td> <td bgcolor="#ffffff" valign="top">Sector size</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">3-6</td> <td bgcolor="#ffffff" valign="top">Number of sectors</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">7</td> <td bgcolor="#ffffff" valign="top">Error code</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VR 0x41</td> <td bgcolor="#ffffff" valign="top">Read one sector from Flash</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VC 0x42</td> <td bgcolor="#ffffff" valign="top">Write one sector to Flash</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">0.3</td> <td bgcolor="#ffffff" valign="top" colspan=2> Debug helper 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 0x28</td> <td bgcolor="#ffffff" valign="top">Get debug data. Returns: <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-1</td> <td bgcolor="#ffffff" valign="top">Number of the last message</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">2</td> <td bgcolor="#ffffff" valign="top">Stack size in messages</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">3</td> <td bgcolor="#ffffff" valign="top">Message size in bytes</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">≥4</td> <td bgcolor="#ffffff" valign="top">Message stack</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">0.4</td> <td bgcolor="#ffffff" valign="top" colspan=2> XMEGA 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 0x48</td> <td bgcolor="#ffffff" valign="top">Read XMEGA status information. Returns: <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">Error code</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">1-2</td> <td bgcolor="#ffffff" valign="top">Flash size in pages</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">3-4</td> <td bgcolor="#ffffff" valign="top">EEPROM sie in pages</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">5</td> <td bgcolor="#ffffff" valign="top">Flash page size as power of two (e.g. 9 means 512 bytes)</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">6</td> <td bgcolor="#ffffff" valign="top">EEPROM page size as power of two</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VC 0x49</td> <td bgcolor="#ffffff" valign="top">Reset XMEGA</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VRs 0x4A, 0x4B, 0x4C, 0x4D</td> <td bgcolor="#ffffff" valign="top">Read XMEGA NVM using PDI address space / relative to Flash address base / EEPROM address base / Fuse address base</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VCs 0x4B, 0x4C</td> <td bgcolor="#ffffff" valign="top">Write exactly one Flash / EEPROM page</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VCs 0x4D</td> <td bgcolor="#ffffff" valign="top">Write Fuse</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">0.5</td> <td bgcolor="#ffffff" valign="top" colspan=2> High speed FPGA configuration 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 0x33</td> <td bgcolor="#ffffff" valign="top">Read Endpoint settings. Returns: <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">Endpoint number</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">1</td> <td bgcolor="#ffffff" valign="top">Interface number</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VR 0x34</td> <td bgcolor="#ffffff" valign="top">Start FPGA configuration</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VC 0x35</td> <td bgcolor="#ffffff" valign="top">Finish FPGA configuration</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">0.6</td> <td bgcolor="#ffffff" valign="top" colspan=2> MAC EEPROM 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 0x3B</td> <td bgcolor="#ffffff" valign="top">Read from MAC EEPROM</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VC 0x3C</td> <td bgcolor="#ffffff" valign="top">Write to MAC EEPROM</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VR 0x3D</td> <td bgcolor="#ffffff" valign="top">Get MAC EEPROM state. Returns: <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">0:idle, 1:busy or error</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">0.7</td> <td bgcolor="#ffffff" valign="top" colspan=2> Multi-FPGA 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 0x50</td> <td bgcolor="#ffffff" valign="top">Return multi-FPGA information: <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">Number of FPGA's - 1</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">1</td> <td bgcolor="#ffffff" valign="top">Selected FPGA - 1</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">2</td> <td bgcolor="#ffffff" valign="top">Parallel configuration support (0:no, 1:yes)</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#ffffff" valign="top">VC 0x51</td> <td bgcolor="#ffffff" valign="top">Parameters: <table bgcolor="#404040" cellspacing=1 cellpadding=4> <tr> <td bgcolor="#d0d0d0" valign="bottom"><b>Parameter</b></td> <td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td> </tr> <tr> <td bgcolor="#ffffff" valign="top">index</td> <td bgcolor="#ffffff" valign="top">Select command<br> 0: Select single FPGA <br> 1: Select all FPGA's for configuration</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">value</td> <td bgcolor="#ffffff" valign="top">FPGA to select - 1</td> </tr> </table> </td> </tr> </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> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>, <A HREF="../ztex/Ztex1.html" title="class in ztex"><CODE>Ztex1</CODE></A></DL> <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 int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_DEBUG">CAPABILITY_DEBUG</A></B></CODE> <BR> Capability index for DEBUG helper support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_EEPROM">CAPABILITY_EEPROM</A></B></CODE> <BR> Capability index for EEPROM support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_FLASH">CAPABILITY_FLASH</A></B></CODE> <BR> Capability index for FLASH memory support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_FPGA">CAPABILITY_FPGA</A></B></CODE> <BR> Capability index for FPGA configuration support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_HS_FPGA">CAPABILITY_HS_FPGA</A></B></CODE> <BR> Capability index for AVR XMEGA support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_MAC_EEPROM">CAPABILITY_MAC_EEPROM</A></B></CODE> <BR> Capability index for AVR XMEGA support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_MULTI_FPGA">CAPABILITY_MULTI_FPGA</A></B></CODE> <BR> Capability index for multi FPGA support</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_TEMP_SENSOR">CAPABILITY_TEMP_SENSOR</A></B></CODE> <BR> 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 int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE> <BR> Capability index for AVR XMEGA support.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#capabilityStrings">capabilityStrings</A></B></CODE> <BR> The names of the capabilities</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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> 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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugNewMessages">debugNewMessages</A></B></CODE> <BR> Is set by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A> and contains the number of new messages.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromBytes">eepromBytes</A></B></CODE> <BR> Number of bytes written to EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromChecksum">eepromChecksum</A></B></CODE> <BR> Checksum of the last EEPROM transfer.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#enableExtraFpgaConfigurationChecks">enableExtraFpgaConfigurationChecks</A></B></CODE> <BR> Enables extra FPGA configuration checks.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_BUSY">FLASH_EC_BUSY</A></B></CODE> <BR> Signals that Flash memory it busy.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_CMD_ERROR">FLASH_EC_CMD_ERROR</A></B></CODE> <BR> Signals an error while attempting to execute a command.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_NO_ERROR">FLASH_EC_NO_ERROR</A></B></CODE> <BR> Means no error.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_NOTSUPPORTED">FLASH_EC_NOTSUPPORTED</A></B></CODE> <BR> Signals the the installed Flash memory is not supported.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_PENDING">FLASH_EC_PENDING</A></B></CODE> <BR> Signals that another Flash operation is pending.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_READ_ERROR">FLASH_EC_READ_ERROR</A></B></CODE> <BR> Signals an error while attempting to read from Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_TIMEOUT">FLASH_EC_TIMEOUT</A></B></CODE> <BR> Signals that a timeout occurred.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_WRITE_ERROR">FLASH_EC_WRITE_ERROR</A></B></CODE> <BR> Signals an error while attempting to write to Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashEC">flashEC</A></B></CODE> <BR> Last Flash error code obtained by <A HREF="../ztex/Ztex1v1.html#flashState()"><CODE>flashState()</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#tempSensorUpdateInterval">tempSensorUpdateInterval</A></B></CODE> <BR> 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 int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE> <BR> Signals an address error (invalid address or wrong page size).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_INVALID_DEVICE">XMEGA_EC_INVALID_DEVICE</A></B></CODE> <BR> Signals that the ATxmega controller is not supported.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NO_ERROR">XMEGA_EC_NO_ERROR</A></B></CODE> <BR> Means no error.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NVM_BUSY">XMEGA_EC_NVM_BUSY</A></B></CODE> <BR> Signals that the NVM is busy.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NVM_TIMEOUT">XMEGA_EC_NVM_TIMEOUT</A></B></CODE> <BR> Signals that an NVM timeout occurred.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_PDI_READ_ERROR">XMEGA_EC_PDI_READ_ERROR</A></B></CODE> <BR> Signals a PDI read error.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEC">xmegaEC</A></B></CODE> <BR> Last ATxmega error code obtained by <A HREF="../ztex/Ztex1v1.html#xmegaState()"><CODE>xmegaState()</CODE></A>.</TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_ztex.Ztex1"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields 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#certainWorkarounds">certainWorkarounds</A>, <A HREF="../ztex/Ztex1.html#controlMsgTimeout">controlMsgTimeout</A></CODE></TD> </TR> </TABLE> <!-- ======== 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/Ztex1v1.html#Ztex1v1(ztex.ZtexDevice1)">Ztex1v1</A></B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)</CODE> <BR> Constructs an instance from a given device.</TD> </TR> </TABLE> <!-- ========== 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> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#capabilityInfo(java.lang.String)">capabilityInfo</A></B>(java.lang.String pf)</CODE> <BR> Creates a String with capability information.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkCapability(int)">checkCapability</A></B>(int i)</CODE> <BR> Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkCapability(int, int)">checkCapability</A></B>(int i, int j)</CODE> <BR> Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkCompatible(int, int, int, int)">checkCompatible</A></B>(int productId0, int productId1, int productId2, int productId3)</CODE> <BR> Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkValid()">checkValid</A></B>()</CODE> <BR> Checks whether ZTEX descriptor 1 is available and interface 1 is supported.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#compatible(int, int, int, int)">compatible</A></B>(int productId0, int productId1, int productId2, int productId3)</CODE> <BR> Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.io.InputStream, boolean, int)">configureFpga</A></B>(java.io.InputStream inputStream, boolean force, int bs)</CODE> <BR> 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> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean)">configureFpga</A></B>(java.lang.String fwFileName, boolean force)</CODE> <BR> 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> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean, int)">configureFpga</A></B>(java.lang.String fwFileName, boolean force, int bs)</CODE> <BR> 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> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.io.InputStream, boolean, int)">configureFpgaHS</A></B>(java.io.InputStream inputStream, boolean force, int bs)</CODE> <BR> 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> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String fwFileName, boolean force, int bs)</CODE> <BR> 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> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.io.InputStream, boolean, int)">configureFpgaLS</A></B>(java.io.InputStream inputStream, boolean force, int bs)</CODE> <BR> 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> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String fwFileName, boolean force, int bs)</CODE> <BR> 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> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugLastMsg()">debugLastMsg</A></B>()</CODE> <BR> Returns the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugMsgSize()">debugMsgSize</A></B>()</CODE> <BR> Returns the size of messages in bytes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])">debugReadMessages</A></B>(boolean all, byte[] buf)</CODE> <BR> Reads debug messages from message stack.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugStackSize()">debugStackSize</A></B>()</CODE> <BR> Returns the size of message stack in messages.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromDisable()">eepromDisable</A></B>()</CODE> <BR> Disables the firmware stored in the EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromRead(int, byte[], int)">eepromRead</A></B>(int addr, byte[] buf, int length)</CODE> <BR> Reads data from the EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromState()">eepromState</A></B>()</CODE> <BR> Reads the current EEPROM status.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromUpload(java.lang.String, boolean)">eepromUpload</A></B>(java.lang.String ihxFileName, boolean force)</CODE> <BR> Upload the firmware to the EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromUpload(ztex.ZtexIhxFile1, boolean)">eepromUpload</A></B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile, boolean force)</CODE> <BR> Upload the firmware to the EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromWrite(int, byte[], int)">eepromWrite</A></B>(int addr, byte[] buf, int length)</CODE> <BR> Writes data to the EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashEnabled()">flashEnabled</A></B>()</CODE> <BR> Returns true if Flash memory is installed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashFirstFreeSector()">flashFirstFreeSector</A></B>()</CODE> <BR> Returns the first free sector of the Flash memory.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashInfo()">flashInfo</A></B>()</CODE> <BR> Returns information about Flash memory.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, byte[])">flashReadSector</A></B>(int sector, byte[] buf)</CODE> <BR> Reads one sector from the Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, int, byte[])">flashReadSector</A></B>(int sector, int num, byte[] buf)</CODE> <BR> Reads a integer number of sectors from the Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashResetBitstream()">flashResetBitstream</A></B>()</CODE> <BR> Clears a Bitstream from the Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashSectors()">flashSectors</A></B>()</CODE> <BR> Returns the number of sectors of the Flash memory or 0, if no Flash memory is installed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashSectorSize()">flashSectorSize</A></B>()</CODE> <BR> Returns the sector size of the Flash memory or 0, if no flash memory is installed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashSize()">flashSize</A></B>()</CODE> <BR> Returns the size of Flash memory or 0, if no Flash memory is installed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashState()">flashState</A></B>()</CODE> <BR> Reads the the Flash memory status and information.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashStrError()">flashStrError</A></B>()</CODE> <BR> Gets the last Flash error from the device.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashStrError(int)">flashStrError</A></B>(int errNum)</CODE> <BR> Converts a given error code into a String.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)">flashUploadBitstream</A></B>(java.io.InputStream inputStream, int bs)</CODE> <BR> Uploads a Bitstream to the Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)">flashUploadBitstream</A></B>(java.lang.String fwFileName)</CODE> <BR> Uploads a Bitstream to the Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)">flashUploadBitstream</A></B>(java.lang.String fwFileName, int bs)</CODE> <BR> Uploads a Bitstream to the Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashWriteSector(int, byte[])">flashWriteSector</A></B>(int sector, byte[] buf)</CODE> <BR> Writes one sector to the Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashWriteSector(int, int, byte[])">flashWriteSector</A></B>(int sector, int num, byte[] buf)</CODE> <BR> Writes a integer number of sectors to the Flash.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFlashEC()">getFlashEC</A></B>()</CODE> <BR> Gets the last Flash error from the device.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFpgaConfiguration()">getFpgaConfiguration</A></B>()</CODE> <BR> Returns true if the FPGA is configured.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFpgaConfigurationStr()">getFpgaConfigurationStr</A></B>()</CODE> <BR> Returns a string that indicates the FPGA configuration status.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#init()">init</A></B>()</CODE> <BR> Initializates the class.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#InterfaceCapabilities(int)">InterfaceCapabilities</A></B>(int i)</CODE> <BR> Returns interface capability bit.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromRead(int, byte[], int)">macEepromRead</A></B>(int addr, byte[] buf, int length)</CODE> <BR> Reads data from the MAC EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromState()">macEepromState</A></B>()</CODE> <BR> Reads the current MAC EEPROM status.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromWrite(int, byte[], int)">macEepromWrite</A></B>(int addr, byte[] buf, int length)</CODE> <BR> Writes data to the MAC EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macRead(byte[])">macRead</A></B>(byte[] buf)</CODE> <BR> Reads MAC address from MAC EEPROM.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#numberOfFpgas()">numberOfFpgas</A></B>()</CODE> <BR> Returns the number of FPGA's</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printFpgaState()">printFpgaState</A></B>()</CODE> <BR> Prints out the FPGA state.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printMmcState()">printMmcState</A></B>()</CODE> <BR> Prints out some debug information about *SD/MMC Flash cards in SPI mode.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printSpiState()">printSpiState</A></B>()</CODE> <BR> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#resetFpga()">resetFpga</A></B>()</CODE> <BR> Resets the FPGA.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#selectFpga(int)">selectFpga</A></B>(int num)</CODE> <BR> Select a FPGA</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> double</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#tempSensorRead(int)">tempSensorRead</A></B>(int idx)</CODE> <BR> Read temperature sensor data.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE> <BR> Returns a lot of useful information about the corresponding device.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#valid()">valid</A></B>()</CODE> <BR> Returns true if ZTEX interface 1 is available.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#valid(int, int)">valid</A></B>(int i, int j)</CODE> <BR> Returns true if ZTEX interface 1 and capability i.j are available.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPages()">xmegaEepromPages</A></B>()</CODE> <BR> Returns the number of the ATxmega EEPROM pages.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPageSize()">xmegaEepromPageSize</A></B>()</CODE> <BR> Returns the size of the ATXmega EEPROM pages.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPageWrite(int, byte[])">xmegaEepromPageWrite</A></B>(int addr, byte[] buf)</CODE> <BR> Writes data to EEPROM memory of ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromRead(int, byte[], int)">xmegaEepromRead</A></B>(int addr, byte[] buf, int length)</CODE> <BR> Reads data from EEPROM memory of ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEnabled()">xmegaEnabled</A></B>()</CODE> <BR> Returns true if ATxmega controller is available.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPages()">xmegaFlashPages</A></B>()</CODE> <BR> Returns the number of the ATxmega Flash pages.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPageSize()">xmegaFlashPageSize</A></B>()</CODE> <BR> Returns the size of the ATxmega Flash pages.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPageWrite(int, byte[])">xmegaFlashPageWrite</A></B>(int addr, byte[] buf)</CODE> <BR> Writes data to Flash memory of ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashRead(int, byte[], int)">xmegaFlashRead</A></B>(int addr, byte[] buf, int length)</CODE> <BR> Reads data from Flash memory of ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseRead(int)">xmegaFuseRead</A></B>(int addr)</CODE> <BR> Reads data one Fuse of ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseRead(int, byte[], int)">xmegaFuseRead</A></B>(int addr, byte[] buf, int length)</CODE> <BR> Reads data from Fuse memory of ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseWrite(int, int)">xmegaFuseWrite</A></B>(int addr, int val)</CODE> <BR> Writes one Fuse of the ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaNvmRead(int, byte[], int)">xmegaNvmRead</A></B>(int addr, byte[] buf, int length)</CODE> <BR> Reads data from the NVM of ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaReset()">xmegaReset</A></B>()</CODE> <BR> Resets the ATxmega.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaState()">xmegaState</A></B>()</CODE> <BR> Read ATxmega error and status information from the device.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError()">xmegaStrError</A></B>()</CODE> <BR> Gets the last ATxmega error from the device.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError(int)">xmegaStrError</A></B>(int errNum)</CODE> <BR> Converts a given error code into a String.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaWriteEeprom(ztex.IhxFile)">xmegaWriteEeprom</A></B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)</CODE> <BR> Uploads data to the EEPROM memory</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> long</CODE></FONT></TD> <TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaWriteFirmware(ztex.IhxFile)">xmegaWriteFirmware</A></B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)</CODE> <BR> Uploads firmware to the flash memory</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_ztex.Ztex1"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <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.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> <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, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> <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="CAPABILITY_EEPROM"><!-- --></A><H3> CAPABILITY_EEPROM</H3> <PRE> public static final int <B>CAPABILITY_EEPROM</B></PRE> <DL> <DD>Capability index for EEPROM support. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_EEPROM">Constant Field Values</A></DL> </DL> <HR> <A NAME="CAPABILITY_FPGA"><!-- --></A><H3> CAPABILITY_FPGA</H3> <PRE> public static final int <B>CAPABILITY_FPGA</B></PRE> <DL> <DD>Capability index for FPGA configuration support. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_FPGA">Constant Field Values</A></DL> </DL> <HR> <A NAME="CAPABILITY_FLASH"><!-- --></A><H3> CAPABILITY_FLASH</H3> <PRE> public static final int <B>CAPABILITY_FLASH</B></PRE> <DL> <DD>Capability index for FLASH memory support. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_FLASH">Constant Field Values</A></DL> </DL> <HR> <A NAME="CAPABILITY_DEBUG"><!-- --></A><H3> CAPABILITY_DEBUG</H3> <PRE> public static final int <B>CAPABILITY_DEBUG</B></PRE> <DL> <DD>Capability index for DEBUG helper support. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_DEBUG">Constant Field Values</A></DL> </DL> <HR> <A NAME="CAPABILITY_XMEGA"><!-- --></A><H3> CAPABILITY_XMEGA</H3> <PRE> public static final int <B>CAPABILITY_XMEGA</B></PRE> <DL> <DD>Capability index for AVR XMEGA support. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_XMEGA">Constant Field Values</A></DL> </DL> <HR> <A NAME="CAPABILITY_HS_FPGA"><!-- --></A><H3> CAPABILITY_HS_FPGA</H3> <PRE> public static final int <B>CAPABILITY_HS_FPGA</B></PRE> <DL> <DD>Capability index for AVR XMEGA support. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_HS_FPGA">Constant Field Values</A></DL> </DL> <HR> <A NAME="CAPABILITY_MAC_EEPROM"><!-- --></A><H3> CAPABILITY_MAC_EEPROM</H3> <PRE> public static final int <B>CAPABILITY_MAC_EEPROM</B></PRE> <DL> <DD>Capability index for AVR XMEGA support. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MAC_EEPROM">Constant Field Values</A></DL> </DL> <HR> <A NAME="CAPABILITY_MULTI_FPGA"><!-- --></A><H3> CAPABILITY_MULTI_FPGA</H3> <PRE> public static final int <B>CAPABILITY_MULTI_FPGA</B></PRE> <DL> <DD>Capability index for multi FPGA support <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MULTI_FPGA">Constant Field Values</A></DL> </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> public static final java.lang.String[] <B>capabilityStrings</B></PRE> <DL> <DD>The names of the capabilities <P> <DL> </DL> </DL> <HR> <A NAME="enableExtraFpgaConfigurationChecks"><!-- --></A><H3> enableExtraFpgaConfigurationChecks</H3> <PRE> public boolean <B>enableExtraFpgaConfigurationChecks</B></PRE> <DL> <DD>Enables extra FPGA configuration checks. Certain Bistream settings may cause false warnings. <P> <DL> </DL> </DL> <HR> <A NAME="eepromBytes"><!-- --></A><H3> eepromBytes</H3> <PRE> public int <B>eepromBytes</B></PRE> <DL> <DD>Number of bytes written to EEPROM. (Obtained by <A HREF="../ztex/Ztex1v1.html#eepromState()"><CODE>eepromState()</CODE></A>.) <P> <DL> </DL> </DL> <HR> <A NAME="eepromChecksum"><!-- --></A><H3> eepromChecksum</H3> <PRE> public int <B>eepromChecksum</B></PRE> <DL> <DD>Checksum of the last EEPROM transfer. (Obtained by <A HREF="../ztex/Ztex1v1.html#eepromState()"><CODE>eepromState()</CODE></A>.) <P> <DL> </DL> </DL> <HR> <A NAME="flashEC"><!-- --></A><H3> flashEC</H3> <PRE> public int <B>flashEC</B></PRE> <DL> <DD>Last Flash error code obtained by <A HREF="../ztex/Ztex1v1.html#flashState()"><CODE>flashState()</CODE></A>. See FLASH_EC_* for possible error codes. <P> <DL> </DL> </DL> <HR> <A NAME="FLASH_EC_NO_ERROR"><!-- --></A><H3> FLASH_EC_NO_ERROR</H3> <PRE> public static final int <B>FLASH_EC_NO_ERROR</B></PRE> <DL> <DD>Means no error. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_NO_ERROR">Constant Field Values</A></DL> </DL> <HR> <A NAME="FLASH_EC_CMD_ERROR"><!-- --></A><H3> FLASH_EC_CMD_ERROR</H3> <PRE> public static final int <B>FLASH_EC_CMD_ERROR</B></PRE> <DL> <DD>Signals an error while attempting to execute a command. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_CMD_ERROR">Constant Field Values</A></DL> </DL> <HR> <A NAME="FLASH_EC_TIMEOUT"><!-- --></A><H3> FLASH_EC_TIMEOUT</H3> <PRE> public static final int <B>FLASH_EC_TIMEOUT</B></PRE> <DL> <DD>Signals that a timeout occurred. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_TIMEOUT">Constant Field Values</A></DL> </DL> <HR> <A NAME="FLASH_EC_BUSY"><!-- --></A><H3> FLASH_EC_BUSY</H3> <PRE> public static final int <B>FLASH_EC_BUSY</B></PRE> <DL> <DD>Signals that Flash memory it busy. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_BUSY">Constant Field Values</A></DL> </DL> <HR> <A NAME="FLASH_EC_PENDING"><!-- --></A><H3> FLASH_EC_PENDING</H3> <PRE> public static final int <B>FLASH_EC_PENDING</B></PRE> <DL> <DD>Signals that another Flash operation is pending. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_PENDING">Constant Field Values</A></DL> </DL> <HR> <A NAME="FLASH_EC_READ_ERROR"><!-- --></A><H3> FLASH_EC_READ_ERROR</H3> <PRE> public static final int <B>FLASH_EC_READ_ERROR</B></PRE> <DL> <DD>Signals an error while attempting to read from Flash. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_READ_ERROR">Constant Field Values</A></DL> </DL> <HR> <A NAME="FLASH_EC_WRITE_ERROR"><!-- --></A><H3> FLASH_EC_WRITE_ERROR</H3> <PRE> public static final int <B>FLASH_EC_WRITE_ERROR</B></PRE> <DL> <DD>Signals an error while attempting to write to Flash. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_WRITE_ERROR">Constant Field Values</A></DL> </DL> <HR> <A NAME="FLASH_EC_NOTSUPPORTED"><!-- --></A><H3> FLASH_EC_NOTSUPPORTED</H3> <PRE> public static final int <B>FLASH_EC_NOTSUPPORTED</B></PRE> <DL> <DD>Signals the the installed Flash memory is not supported. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_NOTSUPPORTED">Constant Field Values</A></DL> </DL> <HR> <A NAME="debugNewMessages"><!-- --></A><H3> debugNewMessages</H3> <PRE> public int <B>debugNewMessages</B></PRE> <DL> <DD>Is set by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A> and contains the number of new messages. <P> <DL> </DL> </DL> <HR> <A NAME="xmegaEC"><!-- --></A><H3> xmegaEC</H3> <PRE> public int <B>xmegaEC</B></PRE> <DL> <DD>Last ATxmega error code obtained by <A HREF="../ztex/Ztex1v1.html#xmegaState()"><CODE>xmegaState()</CODE></A>. See XMEGA_EC_* for possible error codes. <P> <DL> </DL> </DL> <HR> <A NAME="XMEGA_EC_NO_ERROR"><!-- --></A><H3> XMEGA_EC_NO_ERROR</H3> <PRE> public static final int <B>XMEGA_EC_NO_ERROR</B></PRE> <DL> <DD>Means no error. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NO_ERROR">Constant Field Values</A></DL> </DL> <HR> <A NAME="XMEGA_EC_PDI_READ_ERROR"><!-- --></A><H3> XMEGA_EC_PDI_READ_ERROR</H3> <PRE> public static final int <B>XMEGA_EC_PDI_READ_ERROR</B></PRE> <DL> <DD>Signals a PDI read error. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_PDI_READ_ERROR">Constant Field Values</A></DL> </DL> <HR> <A NAME="XMEGA_EC_NVM_TIMEOUT"><!-- --></A><H3> XMEGA_EC_NVM_TIMEOUT</H3> <PRE> public static final int <B>XMEGA_EC_NVM_TIMEOUT</B></PRE> <DL> <DD>Signals that an NVM timeout occurred. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NVM_TIMEOUT">Constant Field Values</A></DL> </DL> <HR> <A NAME="XMEGA_EC_INVALID_DEVICE"><!-- --></A><H3> XMEGA_EC_INVALID_DEVICE</H3> <PRE> public static final int <B>XMEGA_EC_INVALID_DEVICE</B></PRE> <DL> <DD>Signals that the ATxmega controller is not supported. <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_INVALID_DEVICE">Constant Field Values</A></DL> </DL> <HR> <A NAME="XMEGA_EC_ADDRESS_ERROR"><!-- --></A><H3> XMEGA_EC_ADDRESS_ERROR</H3> <PRE> public static final int <B>XMEGA_EC_ADDRESS_ERROR</B></PRE> <DL> <DD>Signals an address error (invalid address or wrong page size). <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_ADDRESS_ERROR">Constant Field Values</A></DL> </DL> <HR> <A NAME="XMEGA_EC_NVM_BUSY"><!-- --></A><H3> XMEGA_EC_NVM_BUSY</H3> <PRE> public static final int <B>XMEGA_EC_NVM_BUSY</B></PRE> <DL> <DD>Signals that the NVM is busy. <P> <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> <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="Ztex1v1(ztex.ZtexDevice1)"><!-- --></A><H3> Ztex1v1</H3> <PRE> public <B>Ztex1v1</B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev) throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE> <DL> <DD>Constructs an instance from a given device. <P> <DL> <DT><B>Parameters:</B><DD><CODE>pDev</CODE> - The given device. <DT><B>Throws:</B> <DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</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="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> public boolean <B>valid</B>()</PRE> <DL> <DD>Returns true if ZTEX interface 1 is available. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#valid()">valid</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if ZTEX interface 1 is available.</DL> </DD> </DL> <HR> <A NAME="valid(int, int)"><!-- --></A><H3> valid</H3> <PRE> public boolean <B>valid</B>(int i, int j)</PRE> <DL> <DD>Returns true if ZTEX interface 1 and capability i.j are available. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>i</CODE> - byte index of the capability<DD><CODE>j</CODE> - bit index of the capability <DT><B>Returns:</B><DD>true if ZTEX interface 1 and capability i.j are available.</DL> </DD> </DL> <HR> <A NAME="compatible(int, int, int, int)"><!-- --></A><H3> compatible</H3> <PRE> public boolean <B>compatible</B>(int productId0, int productId1, int productId2, int productId3)</PRE> <DL> <DD>Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.<br> The given product ID is compatible <pre>if ( this.productId(0)==0 || productId0<=0 || this.productId(0)==productId0 ) && ( this.productId(0)==0 || productId1<=0 || this.productId(1)==productId1 ) && ( this.productId(2)==0 || productId2<=0 || this.productId(2)==productId2 ) && ( this.productId(3)==0 || productId3<=0 || this.productId(3)==productId3 ) </pre> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>productId0</CODE> - Byte 0 of the given product ID<DD><CODE>productId1</CODE> - Byte 1 of the given product ID<DD><CODE>productId2</CODE> - Byte 2 of the given product ID<DD><CODE>productId3</CODE> - Byte 3 of the given product ID <DT><B>Returns:</B><DD>true if the given product ID is compatible and interface 1 is supported.</DL> </DD> </DL> <HR> <A NAME="checkValid()"><!-- --></A><H3> checkValid</H3> <PRE> public void <B>checkValid</B>() throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE> <DL> <DD>Checks whether ZTEX descriptor 1 is available and interface 1 is supported. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#checkValid()">checkValid</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/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported.</DL> </DD> </DL> <HR> <A NAME="checkCapability(int, int)"><!-- --></A><H3> checkCapability</H3> <PRE> public void <B>checkCapability</B>(int i, int j) throws <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>Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>i</CODE> - byte index of the capability<DD><CODE>j</CODE> - bit index of the capability <DT><B>Throws:</B> <DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported. <DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if the given capability is not supported.</DL> </DD> </DL> <HR> <A NAME="checkCapability(int)"><!-- --></A><H3> checkCapability</H3> <PRE> public void <B>checkCapability</B>(int i) throws <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>Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>i</CODE> - capability index (0..47) <DT><B>Throws:</B> <DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported. <DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if the given capability is not supported.</DL> </DD> </DL> <HR> <A NAME="InterfaceCapabilities(int)"><!-- --></A><H3> InterfaceCapabilities</H3> <PRE> public boolean <B>InterfaceCapabilities</B>(int 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> public void <B>checkCompatible</B>(int productId0, int productId1, int productId2, int productId3) throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE> <DL> <DD>Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported. See <A HREF="../ztex/Ztex1v1.html#compatible(int, int, int, int)"><CODE>compatible(int,int,int,int)</CODE></A>. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>productId0</CODE> - Byte 0 of the given product ID<DD><CODE>productId1</CODE> - Byte 1 of the given product ID<DD><CODE>productId2</CODE> - Byte 2 of the given product ID<DD><CODE>productId3</CODE> - Byte 3 of the given product ID <DT><B>Throws:</B> <DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if the given product ID is not compatible or interface 1 is not supported.</DL> </DD> </DL> <HR> <A NAME="printFpgaState()"><!-- --></A><H3> printFpgaState</H3> <PRE> public void <B>printFpgaState</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 the FPGA state. <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 FPGA configuration is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="getFpgaConfiguration()"><!-- --></A><H3> getFpgaConfiguration</H3> <PRE> public boolean <B>getFpgaConfiguration</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>Returns true if the FPGA is configured. <P> <DD><DL> <DT><B>Returns:</B><DD>true if the FPGA is configured. <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 FPGA configuration is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="getFpgaConfigurationStr()"><!-- --></A><H3> getFpgaConfigurationStr</H3> <PRE> public java.lang.String <B>getFpgaConfigurationStr</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>Returns a string that indicates the FPGA configuration status. <P> <DD><DL> <DT><B>Returns:</B><DD>a string that indicates the FPGA configuration status. <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 FPGA configuration is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="resetFpga()"><!-- --></A><H3> resetFpga</H3> <PRE> public void <B>resetFpga</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>Resets the FPGA. <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 FPGA configuration is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="configureFpgaLS(java.io.InputStream, boolean, int)"><!-- --></A><H3> configureFpgaLS</H3> <PRE> public long <B>configureFpgaLS</B>(java.io.InputStream inputStream, boolean force, int 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> public long <B>configureFpgaLS</B>(java.lang.String fwFileName, boolean force, int 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>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>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="eepromState()"><!-- --></A><H3> eepromState</H3> <PRE> public boolean <B>eepromState</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>Reads the current EEPROM status. This method also sets the varibles <A HREF="../ztex/Ztex1v1.html#eepromBytes"><CODE>eepromBytes</CODE></A> and <A HREF="../ztex/Ztex1v1.html#eepromChecksum"><CODE>eepromChecksum</CODE></A>. <P> <DD><DL> <DT><B>Returns:</B><DD>true if EEPROM is ready. <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 EEPROM access is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="eepromWrite(int, byte[], int)"><!-- --></A><H3> eepromWrite</H3> <PRE> public void <B>eepromWrite</B>(int addr, byte[] buf, int length) 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>Writes data to the EEPROM. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The destination address of the EEPROM.<DD><CODE>buf</CODE> - The data.<DD><CODE>length</CODE> - The amount of bytes to be sent. <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 EEPROM access is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="eepromRead(int, byte[], int)"><!-- --></A><H3> eepromRead</H3> <PRE> public void <B>eepromRead</B>(int addr, byte[] buf, int length) 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>Reads data from the EEPROM. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address of the EEPROM.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to 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 EEPROM access is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="eepromUpload(ztex.ZtexIhxFile1, boolean)"><!-- --></A><H3> eepromUpload</H3> <PRE> public long <B>eepromUpload</B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile, boolean 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/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, <A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> <DL> <DD>Upload the firmware to the EEPROM. In order to start the uploaded firmware the device must be reset. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware image.<DD><CODE>force</CODE> - Skips the compatibility check if true. <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/Ztex1v1.html#compatible(int, int, int, int)"><CODE>compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter.) <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/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if EEPROM access is not supported by the firmware. <DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if an error occurred while attempting to upload the firmware.</DL> </DD> </DL> <HR> <A NAME="eepromUpload(java.lang.String, boolean)"><!-- --></A><H3> eepromUpload</H3> <PRE> public long <B>eepromUpload</B>(java.lang.String ihxFileName, boolean 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/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, <A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> <DL> <DD>Upload the firmware to the EEPROM. In order to start the uploaded firmware the device must be reset. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>ihxFileName</CODE> - The file name of the firmware image in ihx format. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>force</CODE> - Skips the compatibility check if true. <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/Ztex1v1.html#compatible(int, int, int, int)"><CODE>compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter.) <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/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if EEPROM access is not supported by the firmware. <DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if an error occurred while attempting to upload the firmware.</DL> </DD> </DL> <HR> <A NAME="eepromDisable()"><!-- --></A><H3> eepromDisable</H3> <PRE> public void <B>eepromDisable</B>() throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</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>Disables the firmware stored in the EEPROM. This is achived by writing a "0" to the address 0 of the EEPROM. <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/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if EEPROM access is not supported by the firmware. <DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if an error occurred while attempting to disable the firmware.</DL> </DD> </DL> <HR> <A NAME="flashStrError(int)"><!-- --></A><H3> flashStrError</H3> <PRE> public static java.lang.String <B>flashStrError</B>(int errNum)</PRE> <DL> <DD>Converts a given error code into a String. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>errNum</CODE> - The error code. <DT><B>Returns:</B><DD>an error message.</DL> </DD> </DL> <HR> <A NAME="flashStrError()"><!-- --></A><H3> flashStrError</H3> <PRE> public java.lang.String <B>flashStrError</B>()</PRE> <DL> <DD>Gets the last Flash error from the device. <P> <DD><DL> <DT><B>Returns:</B><DD>an error message.</DL> </DD> </DL> <HR> <A NAME="flashState()"><!-- --></A><H3> flashState</H3> <PRE> public boolean <B>flashState</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>Reads the the Flash memory status and information. This method also sets the variables <A HREF="../ztex/Ztex1v1.html#flashEnabled()"><CODE>flashEnabled()</CODE></A>, <A HREF="../ztex/Ztex1v1.html#flashSectorSize()"><CODE>flashSectorSize()</CODE></A> and <A HREF="../ztex/Ztex1v1.html#flashSectors()"><CODE>flashSectors()</CODE></A>. <P> <DD><DL> <DT><B>Returns:</B><DD>true if Flash memory is installed. <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> <HR> <A NAME="getFlashEC()"><!-- --></A><H3> getFlashEC</H3> <PRE> public int <B>getFlashEC</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>Gets the last Flash error from the device. <P> <DD><DL> <DT><B>Returns:</B><DD>The last error code. <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> <HR> <A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3> flashReadSector</H3> <PRE> public void <B>flashReadSector</B>(int sector, int num, byte[] buf) 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>Reads a integer number of sectors 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>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> </DL> <HR> <A NAME="flashReadSector(int, byte[])"><!-- --></A><H3> flashReadSector</H3> <PRE> public void <B>flashReadSector</B>(int sector, byte[] buf) 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>Reads one sector 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>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> </DL> <HR> <A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3> flashWriteSector</H3> <PRE> public void <B>flashWriteSector</B>(int sector, int num, byte[] buf) 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>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>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 to small.</DL> </DD> </DL> <HR> <A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3> flashWriteSector</H3> <PRE> public void <B>flashWriteSector</B>(int sector, byte[] buf) 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>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>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> </DL> <HR> <A NAME="flashEnabled()"><!-- --></A><H3> flashEnabled</H3> <PRE> public boolean <B>flashEnabled</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>Returns true if Flash memory is installed. <P> <DD><DL> <DT><B>Returns:</B><DD>true if Flash memory is installed. <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> <HR> <A NAME="flashSectorSize()"><!-- --></A><H3> flashSectorSize</H3> <PRE> public int <B>flashSectorSize</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>Returns the sector size of the Flash memory or 0, if no flash memory is installed. If required, the sector size is determined form the device first. <P> <DD><DL> <DT><B>Returns:</B><DD>the sector size of the Flash memory. <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> <HR> <A NAME="flashSectors()"><!-- --></A><H3> flashSectors</H3> <PRE> public int <B>flashSectors</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>Returns the number of sectors of the Flash memory or 0, if no Flash memory is installed. If required, the number of sectors is determined form the device first. <P> <DD><DL> <DT><B>Returns:</B><DD>the number of sectors of the Flash memory. <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> <HR> <A NAME="flashSize()"><!-- --></A><H3> flashSize</H3> <PRE> public long <B>flashSize</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>Returns the size of Flash memory or 0, if no Flash memory is installed. If required, the Flash size is determined form the device first. <P> <DD><DL> <DT><B>Returns:</B><DD>the size of Flash memory. <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> <HR> <A NAME="printMmcState()"><!-- --></A><H3> printMmcState</H3> <PRE> public boolean <B>printMmcState</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 *SD/MMC Flash cards in SPI mode.<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> <HR> <A NAME="flashUploadBitstream(java.io.InputStream, int)"><!-- --></A><H3> flashUploadBitstream</H3> <PRE> public long <B>flashUploadBitstream</B>(java.io.InputStream inputStream, int 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. <p> 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> <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..7</td> <td bgcolor="#ffffff" valign="top">ID, must be "ZTEXBS",1,1</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">8..9</td> <td bgcolor="#ffffff" valign="top">The number of sectors used to store the Bitstream. 0 means no Bitstream.</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">10..11</td> <td bgcolor="#ffffff" valign="top">The number of bytes in the last sector.</td> </tr> <tr> <td bgcolor="#ffffff" valign="top">12..sectorSize-1</td> <td bgcolor="#ffffff" valign="top">This data is reserved for future use and preserved by this method.</td> </tr> </table> <p> The total size of the Bitstream is computed as ((bs[8] | (bs[9]<<8) - 1) * flash_sector_size + ((bs[10] | (bs[11]<<8)) where bs[i] denotes byte i of the boot sector. <p> 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 fwFileName, int 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. <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)"><!-- --></A><H3> flashUploadBitstream</H3> <PRE> public long <B>flashUploadBitstream</B>(java.lang.String fwFileName) 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). <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="flashResetBitstream()"><!-- --></A><H3> flashResetBitstream</H3> <PRE> public void <B>flashResetBitstream</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>Clears a Bitstream from the Flash. This is achieved by writing 0 to bytes 8..9 of the boot sector, see <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)"><CODE>flashUploadBitstream(String)</CODE></A>. If no boot sector is installed the method returns without any write action. <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 possible.</DL> </DD> </DL> <HR> <A NAME="flashFirstFreeSector()"><!-- --></A><H3> flashFirstFreeSector</H3> <PRE> public int <B>flashFirstFreeSector</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>Returns the first free sector of the Flash memory. This is the first sector behind the Bitstream, or 0 if no boot sector is installed (or 1 if a boot sector but no Bitstream is installed). <P> <DD><DL> <DT><B>Returns:</B><DD>the first free sector of the Flash memory. <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.</DL> </DD> </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> public int <B>debugStackSize</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>Returns the size of message stack in messages. <P> <DD><DL> <DT><B>Returns:</B><DD>the size of message stack in messages. <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.</DL> </DD> </DL> <HR> <A NAME="debugMsgSize()"><!-- --></A><H3> debugMsgSize</H3> <PRE> public int <B>debugMsgSize</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>Returns the size of messages in bytes. <P> <DD><DL> <DT><B>Returns:</B><DD>the size of messages in bytes. <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.</DL> </DD> </DL> <HR> <A NAME="debugLastMsg()"><!-- --></A><H3> debugLastMsg</H3> <PRE> public final int <B>debugLastMsg</B>()</PRE> <DL> <DD>Returns the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A> <P> <DD><DL> <DT><B>Returns:</B><DD>the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A></DL> </DD> </DL> <HR> <A NAME="debugReadMessages(boolean, byte[])"><!-- --></A><H3> debugReadMessages</H3> <PRE> public int <B>debugReadMessages</B>(boolean all, byte[] buf) 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>Reads debug messages from message stack. The number of messages stored in buf is returned. The total number of new messages is stored in <A HREF="../ztex/Ztex1v1.html#debugNewMessages"><CODE>debugNewMessages</CODE></A>. The number of the latest message is returned by <A HREF="../ztex/Ztex1v1.html#debugLastMsg()"><CODE>debugLastMsg()</CODE></A>. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>all</CODE> - If true, all messages from stack are written to buf. If it is false, only the new messages are written to buf.<DD><CODE>buf</CODE> - The buffer to store the messages. <DT><B>Returns:</B><DD>the size of messages stored in buffer. <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.</DL> </DD> </DL> <HR> <A NAME="xmegaStrError(int)"><!-- --></A><H3> xmegaStrError</H3> <PRE> public java.lang.String <B>xmegaStrError</B>(int errNum)</PRE> <DL> <DD>Converts a given error code into a String. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>errNum</CODE> - The error code. <DT><B>Returns:</B><DD>an error message.</DL> </DD> </DL> <HR> <A NAME="xmegaStrError()"><!-- --></A><H3> xmegaStrError</H3> <PRE> public java.lang.String <B>xmegaStrError</B>()</PRE> <DL> <DD>Gets the last ATxmega error from the device. <P> <DD><DL> <DT><B>Returns:</B><DD>an error message.</DL> </DD> </DL> <HR> <A NAME="xmegaState()"><!-- --></A><H3> xmegaState</H3> <PRE> public int <B>xmegaState</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>Read ATxmega error and status information from the device. <P> <DD><DL> <DT><B>Returns:</B><DD>The last error code. <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 ATxmega controllers are not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaEnabled()"><!-- --></A><H3> xmegaEnabled</H3> <PRE> public boolean <B>xmegaEnabled</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>Returns true if ATxmega controller is available. <P> <DD><DL> <DT><B>Returns:</B><DD>true if ATxmega controller is available. <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 ATxmega controllers are not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaFlashPages()"><!-- --></A><H3> xmegaFlashPages</H3> <PRE> public int <B>xmegaFlashPages</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>Returns the number of the ATxmega Flash pages. <P> <DD><DL> <DT><B>Returns:</B><DD>The number of the ATxmega Flash pages. <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 ATxmega controllers are not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaEepromPages()"><!-- --></A><H3> xmegaEepromPages</H3> <PRE> public int <B>xmegaEepromPages</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>Returns the number of the ATxmega EEPROM pages. <P> <DD><DL> <DT><B>Returns:</B><DD>The number of the ATxmega EEPROM pages. <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 ATxmega controllers are not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaFlashPageSize()"><!-- --></A><H3> xmegaFlashPageSize</H3> <PRE> public int <B>xmegaFlashPageSize</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>Returns the size of the ATxmega Flash pages. <P> <DD><DL> <DT><B>Returns:</B><DD>The size of the ATxmega Flash pages. <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 ATxmega controllers are not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaEepromPageSize()"><!-- --></A><H3> xmegaEepromPageSize</H3> <PRE> public int <B>xmegaEepromPageSize</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>Returns the size of the ATXmega EEPROM pages. <P> <DD><DL> <DT><B>Returns:</B><DD>The size of the ATXmega EEPROM pages. <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 ATXmega controllers are not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaReset()"><!-- --></A><H3> xmegaReset</H3> <PRE> public void <B>xmegaReset</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>Resets the ATxmega. <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 NVRAM access to ATxmega is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaNvmRead(int, byte[], int)"><!-- --></A><H3> xmegaNvmRead</H3> <PRE> public void <B>xmegaNvmRead</B>(int addr, byte[] buf, int length) 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>Reads data from the NVM of ATxmega. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address of the NVM (PDI address space).<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to 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 NVRAM access to ATxmega is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaFlashRead(int, byte[], int)"><!-- --></A><H3> xmegaFlashRead</H3> <PRE> public void <B>xmegaFlashRead</B>(int addr, byte[] buf, int length) 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>Reads data from Flash memory of ATxmega. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the Flash memory base.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to 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 NVRAM access to ATxmega is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaEepromRead(int, byte[], int)"><!-- --></A><H3> xmegaEepromRead</H3> <PRE> public void <B>xmegaEepromRead</B>(int addr, byte[] buf, int length) 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>Reads data from EEPROM memory of ATxmega. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the EEPROM memory base.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to 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 NVRAM access to ATxmega is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaFuseRead(int, byte[], int)"><!-- --></A><H3> xmegaFuseRead</H3> <PRE> public void <B>xmegaFuseRead</B>(int addr, byte[] buf, int length) 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>Reads data from Fuse memory of ATxmega. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the Fuse memory base.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to 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 NVRAM access to ATxmega is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaFuseRead(int)"><!-- --></A><H3> xmegaFuseRead</H3> <PRE> public int <B>xmegaFuseRead</B>(int addr) 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>Reads data one Fuse of ATxmega. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The index of th Fuse. <DT><B>Returns:</B><DD>The Fuse 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 NVRAM access to ATxmega is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaFlashPageWrite(int, byte[])"><!-- --></A><H3> xmegaFlashPageWrite</H3> <PRE> public void <B>xmegaFlashPageWrite</B>(int addr, byte[] buf) 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>Writes data to Flash memory of ATxmega. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the Flash memory base.<DD><CODE>buf</CODE> - A buffer that stores 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 NVRAM access to ATxmega is not supported by the firmware. <DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash page size.</DL> </DD> </DL> <HR> <A NAME="xmegaEepromPageWrite(int, byte[])"><!-- --></A><H3> xmegaEepromPageWrite</H3> <PRE> public void <B>xmegaEepromPageWrite</B>(int addr, byte[] buf) 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>Writes data to EEPROM memory of ATxmega. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the EEPROM memory base.<DD><CODE>buf</CODE> - A buffer that stores 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 NVRAM access to ATxmega is not supported by the firmware. <DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the EEPROM page size.</DL> </DD> </DL> <HR> <A NAME="xmegaFuseWrite(int, int)"><!-- --></A><H3> xmegaFuseWrite</H3> <PRE> public void <B>xmegaFuseWrite</B>(int addr, int val) 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>Writes one Fuse of the ATxmega. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The index of th Fuse.<DD><CODE>val</CODE> - The value of th Fuse. <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 NVRAM access to ATxmega is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="xmegaWriteFirmware(ztex.IhxFile)"><!-- --></A><H3> xmegaWriteFirmware</H3> <PRE> public long <B>xmegaWriteFirmware</B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile) 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>, <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE> <DL> <DD>Uploads firmware to the flash memory <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware / data image. <DT><B>Returns:</B><DD>the upload time in ms. <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 NVRAM access to ATxmega is not supported by the firmware. <DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if the verification fails.</DL> </DD> </DL> <HR> <A NAME="xmegaWriteEeprom(ztex.IhxFile)"><!-- --></A><H3> xmegaWriteEeprom</H3> <PRE> public long <B>xmegaWriteEeprom</B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile) 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>, <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE> <DL> <DD>Uploads data to the EEPROM memory <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware / data image. <DT><B>Returns:</B><DD>the upload time in ms. <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 NVRAM access to ATxmega is not supported by the firmware. <DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if the verification fails.</DL> </DD> </DL> <HR> <A NAME="toString()"><!-- --></A><H3> toString</H3> <PRE> public java.lang.String <B>toString</B>()</PRE> <DL> <DD>Returns a lot of useful information about the corresponding device. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#toString()">toString</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a lot of useful information about the corresponding device.</DL> </DD> </DL> <HR> <A NAME="capabilityInfo(java.lang.String)"><!-- --></A><H3> capabilityInfo</H3> <PRE> public java.lang.String <B>capabilityInfo</B>(java.lang.String pf)</PRE> <DL> <DD>Creates a String with capability information. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>pf</CODE> - A separator between the single capabilities, e.g. ", " <DT><B>Returns:</B><DD>a string of the supported capabilities.</DL> </DD> </DL> <HR> <A NAME="configureFpgaHS(java.io.InputStream, boolean, int)"><!-- --></A><H3> configureFpgaHS</H3> <PRE> public long <B>configureFpgaHS</B>(java.io.InputStream inputStream, boolean force, int 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> public long <B>configureFpgaHS</B>(java.lang.String fwFileName, boolean force, int 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>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>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.io.InputStream, boolean, int)"><!-- --></A><H3> configureFpga</H3> <PRE> public long <B>configureFpga</B>(java.io.InputStream inputStream, boolean force, int 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> public long <B>configureFpga</B>(java.lang.String fwFileName, boolean force, int 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>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>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)"><!-- --></A><H3> configureFpga</H3> <PRE> public long <B>configureFpga</B>(java.lang.String fwFileName, boolean force) 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>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>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). <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="macEepromWrite(int, byte[], int)"><!-- --></A><H3> macEepromWrite</H3> <PRE> public void <B>macEepromWrite</B>(int addr, byte[] buf, int length) 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>Writes data to the MAC EEPROM. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The destination address of the MAC EEPROM.<DD><CODE>buf</CODE> - The data.<DD><CODE>length</CODE> - The amount of bytes to be sent. <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 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> <A NAME="macEepromRead(int, byte[], int)"><!-- --></A><H3> macEepromRead</H3> <PRE> public void <B>macEepromRead</B>(int addr, byte[] buf, int length) 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>Reads data from the MAC EEPROM. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address of the MAC EEPROM.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to 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 MAC EEPROM access is not supported by the firmware.</DL> </DD> </DL> <HR> <A NAME="macEepromState()"><!-- --></A><H3> macEepromState</H3> <PRE> public boolean <B>macEepromState</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>Reads the current MAC EEPROM status. <P> <DD><DL> <DT><B>Returns:</B><DD>true if MAC EEPROM is ready. <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> </DL> <HR> <A NAME="macRead(byte[])"><!-- --></A><H3> macRead</H3> <PRE> public void <B>macRead</B>(byte[] buf) 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>Reads MAC address from MAC EEPROM. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>buf</CODE> - A buffer with a minimum size of 6 bytes. <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. <DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than 6 bytes.</DL> </DD> </DL> <HR> <A NAME="numberOfFpgas()"><!-- --></A><H3> numberOfFpgas</H3> <PRE> public int <B>numberOfFpgas</B>() throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE> <DL> <DD>Returns the number of FPGA's <P> <DD><DL> <DT><B>Returns:</B><DD>number of FPGA's <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.</DL> </DD> </DL> <HR> <A NAME="selectFpga(int)"><!-- --></A><H3> selectFpga</H3> <PRE> public void <B>selectFpga</B>(int num) throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, java.lang.IndexOutOfBoundsException</PRE> <DL> <DD>Select a FPGA <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>num</CODE> - FPGA to select. Valid values are 0 to <A HREF="../ztex/Ztex1v1.html#numberOfFpgas()"><CODE>numberOfFpgas()</CODE></A>-1 <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>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 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> <!-- ======= 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../ztex/Ztex1.html" title="class in ztex"><B>PREV CLASS</B></A> <A HREF="../ztex/ZtexDevice1.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/Ztex1v1.html" target="_top"><B>FRAMES</B></A> <A HREF="Ztex1v1.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>