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

Subversion Repositories usb_fpga_1_11

Compare Revisions

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

Rev 3 → Rev 5

/BitstreamUploadException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
BitstreamUploadException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/DeviceLostException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
DeviceLostException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
55,7 → 55,7
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/EzUsb.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?ztex/DeviceLostException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="DeviceLostException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
228,7 → 228,7
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/EzUsb.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
&nbsp;<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?ztex/DeviceLostException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="DeviceLostException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
/IncompatibleFirmwareException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
IncompatibleFirmwareException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/Ztex1v1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
Ztex1v1
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
186,7 → 186,7
</tr>
<tr>
<td bgcolor="#ffffff" valign="top">6</td>
<td bgcolor="#ffffff" valign="top">INIT_B states (Must be 222).</td>
<td bgcolor="#ffffff" valign="top">INIT_B states.</td>
</tr>
</table>
</td>
288,6 → 288,139
</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>
</table>
<P>
 
341,6 → 474,22
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_HS_FPGA">CAPABILITY_HS_FPGA</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_MAC_EEPROM">CAPABILITY_MAC_EEPROM</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE>
 
<BR>
360,7 → 509,7
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugNewMessages">debugNewMessages</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is set by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A> and conains the number of new messages.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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">
408,7 → 557,7
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_NOTSUPPORTED">FLASH_EC_NOTSUPPORTED</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Signals the the installed Flash memeory is not supported.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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">
450,6 → 599,62
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_INVALID_DEVICE">XMEGA_EC_INVALID_DEVICE</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NO_ERROR">XMEGA_EC_NO_ERROR</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Means no error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NVM_BUSY">XMEGA_EC_NVM_BUSY</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NVM_TIMEOUT">XMEGA_EC_NVM_TIMEOUT</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Signals a PDI read error.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEC">xmegaEC</A></B></CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Last ATxmega error code obtained by <A HREF="../ztex/Ztex1v1.html#xmegaState()"><CODE>xmegaState()</CODE></A>.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_ztex.Ztex1"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
547,7 → 752,7
boolean&nbsp;force)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
557,10 → 762,30
int&nbsp;bs)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA.</TD>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;force,
int&nbsp;bs)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA using high speed mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;force,
int&nbsp;bs)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload a Bitstream to the FPGA using low speed mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugLastMsg()">debugLastMsg</A></B>()</CODE>
 
629,6 → 854,15
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromUpload(ztex.ZtexIhxFile1, boolean)">eepromUpload</A></B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A>&nbsp;ihxFile,
boolean&nbsp;force)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload the firmware to the EEPROM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromWrite(int, byte[], int)">eepromWrite</A></B>(int&nbsp;addr,
byte[]&nbsp;buf,
665,6 → 899,16
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, int, byte[])">flashReadSector</A></B>(int&nbsp;sector,
int&nbsp;num,
byte[]&nbsp;buf)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashResetBitstream()">flashResetBitstream</A></B>()</CODE>
 
<BR>
746,6 → 990,16
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashWriteSector(int, int, byte[])">flashWriteSector</A></B>(int&nbsp;sector,
int&nbsp;num,
byte[]&nbsp;buf)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFlashEC()">getFlashEC</A></B>()</CODE>
 
771,6 → 1025,42
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromRead(int, byte[], int)">macEepromRead</A></B>(int&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;length)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads data from the MAC EEPROM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromState()">macEepromState</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the current MAC EEPROM status.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromWrite(int, byte[], int)">macEepromWrite</A></B>(int&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;length)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes data to the MAC EEPROM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macRead(byte[])">macRead</A></B>(byte[]&nbsp;buf)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads MAC address from MAC EEPROM.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printFpgaState()">printFpgaState</A></B>()</CODE>
 
<BR>
817,6 → 1107,169
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPages()">xmegaEepromPages</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPageSize()">xmegaEepromPageSize</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPageWrite(int, byte[])">xmegaEepromPageWrite</A></B>(int&nbsp;addr,
byte[]&nbsp;buf)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromRead(int, byte[], int)">xmegaEepromRead</A></B>(int&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;length)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEnabled()">xmegaEnabled</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPages()">xmegaFlashPages</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPageSize()">xmegaFlashPageSize</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPageWrite(int, byte[])">xmegaFlashPageWrite</A></B>(int&nbsp;addr,
byte[]&nbsp;buf)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashRead(int, byte[], int)">xmegaFlashRead</A></B>(int&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;length)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseRead(int)">xmegaFuseRead</A></B>(int&nbsp;addr)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads data one Fuse of ATxmega.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseRead(int, byte[], int)">xmegaFuseRead</A></B>(int&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;length)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseWrite(int, int)">xmegaFuseWrite</A></B>(int&nbsp;addr,
int&nbsp;val)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes one Fuse of the ATxmega.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaNvmRead(int, byte[], int)">xmegaNvmRead</A></B>(int&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;length)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaReset()">xmegaReset</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the ATxmega.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaState()">xmegaState</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError()">xmegaStrError</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError(int)">xmegaStrError</A></B>(int&nbsp;errNum)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;ihxFile)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uploads data to the EEPROM memory</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaWriteFirmware(ztex.IhxFile)">xmegaWriteFirmware</A></B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A>&nbsp;ihxFile)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uploads firmware to the flash memory</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_ztex.Ztex1"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
824,7 → 1277,7
<TH ALIGN="left"><B>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD>
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
909,6 → 1362,30
</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="capabilityStrings"><!-- --></A><H3>
capabilityStrings</H3>
<PRE>
1046,7 → 1523,7
<PRE>
public static final int <B>FLASH_EC_NOTSUPPORTED</B></PRE>
<DL>
<DD>Signals the the installed Flash memeory is not supported.
<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>
1058,12 → 1535,96
<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 conains the number of new messages.
<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>
 
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
<A NAME="constructor_detail"><!-- --></A>
1310,20 → 1871,20
</DL>
<HR>
 
<A NAME="configureFpga(java.lang.String, boolean, int)"><!-- --></A><H3>
configureFpga</H3>
<A NAME="configureFpgaLS(java.lang.String, boolean, int)"><!-- --></A><H3>
configureFpgaLS</H3>
<PRE>
public long <B>configureFpga</B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;force,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
public long <B>configureFpgaLS</B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;force,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Upload a Bitstream to the FPGA.
<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.
1338,33 → 1899,6
</DL>
<HR>
 
<A NAME="configureFpga(java.lang.String, boolean)"><!-- --></A><H3>
configureFpga</H3>
<PRE>
public long <B>configureFpga</B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;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.
<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="eepromState()"><!-- --></A><H3>
eepromState</H3>
<PRE>
1431,6 → 1965,30
</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>&nbsp;ihxFile,
boolean&nbsp;force)
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
<A HREF="../ztex/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>
1513,7 → 2071,7
<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>.
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>
 
1554,7 → 2112,8
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
java.lang.IndexOutOfBoundsException</PRE>
<DL>
<DD>Reads one sector from the Flash.
<P>
1563,11 → 2122,36
<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><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="flashReadSector(int, int, byte[])"><!-- --></A><H3>
flashReadSector</H3>
<PRE>
public void <B>flashReadSector</B>(int&nbsp;sector,
int&nbsp;num,
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<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="flashWriteSector(int, byte[])"><!-- --></A><H3>
flashWriteSector</H3>
<PRE>
1575,7 → 2159,8
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
java.lang.IndexOutOfBoundsException</PRE>
<DL>
<DD>Writes one sector to the Flash.
<P>
1584,11 → 2169,36
<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><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&nbsp;sector,
int&nbsp;num,
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<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="flashEnabled()"><!-- --></A><H3>
flashEnabled</H3>
<PRE>
1901,6 → 2511,402
</DL>
<HR>
 
<A NAME="xmegaStrError(int)"><!-- --></A><H3>
xmegaStrError</H3>
<PRE>
public java.lang.String <B>xmegaStrError</B>(int&nbsp;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&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;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&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;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&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;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&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;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&nbsp;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&nbsp;addr,
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<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&nbsp;addr,
byte[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<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&nbsp;addr,
int&nbsp;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>&nbsp;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>&nbsp;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>
1930,6 → 2936,176
<DT><B>Returns:</B><DD>a string of the supported capabilities.</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&nbsp;fwFileName,
boolean&nbsp;force,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Upload a Bitstream to the FPGA using high speed mode.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>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, int)"><!-- --></A><H3>
configureFpga</H3>
<PRE>
public long <B>configureFpga</B>(java.lang.String&nbsp;fwFileName,
boolean&nbsp;force,
int&nbsp;bs)
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
<DL>
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>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&nbsp;fwFileName,
boolean&nbsp;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&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;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.</DL>
</DD>
</DL>
<HR>
 
<A NAME="macEepromRead(int, byte[], int)"><!-- --></A><H3>
macEepromRead</H3>
<PRE>
public void <B>macEepromRead</B>(int&nbsp;addr,
byte[]&nbsp;buf,
int&nbsp;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[]&nbsp;buf)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<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>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
 
/package-frame.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
ztex
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
58,6 → 58,8
<BR>
<A HREF="DeviceLostException.html" title="class in ztex" target="classFrame">DeviceLostException</A>
<BR>
<A HREF="DeviceNotSupportedException.html" title="class in ztex" target="classFrame">DeviceNotSupportedException</A>
<BR>
<A HREF="FirmwareUploadException.html" title="class in ztex" target="classFrame">FirmwareUploadException</A>
<BR>
<A HREF="IhxFileDamagedException.html" title="class in ztex" target="classFrame">IhxFileDamagedException</A>
/ZtexIhxFile1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
ZtexIhxFile1
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/JInputStream.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
JInputStream
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/package-summary.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
ztex
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
156,6 → 156,10
<TD>Thrown if a device went lost after renumeration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</A></B></TD>
<TD>Thrown if a device is not supported, i.e. has the wrong USB ID's.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></B></TD>
<TD>Signals that an error occured while attempting to upload the firmware.</TD>
</TR>
/package-tree.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
ztex Class Hierarchy
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
96,7 → 96,7
<LI TYPE="circle">ztex.<A HREF="../ztex/JInputStream.html" title="class in ztex"><B>JInputStream</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable)
<UL>
<LI TYPE="circle">java.lang.Exception<UL>
<LI TYPE="circle">ztex.<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><B>AlreadyConfiguredException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex"><B>BitstreamUploadException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>CapabilityException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>DeviceLostException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex"><B>FirmwareUploadException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex"><B>IhxFileDamagedException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IhxParseException.html" title="class in ztex"><B>IhxParseException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex"><B>IncompatibleFirmwareException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex"><B>InvalidFirmwareException</B></A><LI TYPE="circle">java.io.IOException<UL>
<LI TYPE="circle">ztex.<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><B>AlreadyConfiguredException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex"><B>BitstreamUploadException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>CapabilityException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>DeviceLostException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>DeviceNotSupportedException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex"><B>FirmwareUploadException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex"><B>IhxFileDamagedException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IhxParseException.html" title="class in ztex"><B>IhxParseException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex"><B>IncompatibleFirmwareException</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex"><B>InvalidFirmwareException</B></A><LI TYPE="circle">java.io.IOException<UL>
<LI TYPE="circle">ztex.<A HREF="../ztex/BitstreamReadException.html" title="class in ztex"><B>BitstreamReadException</B></A></UL>
<LI TYPE="circle">ztex.<A HREF="../ztex/UsbException.html" title="class in ztex"><B>UsbException</B></A></UL>
</UL>
/EzUsb.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
EzUsb
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
54,7 → 54,7
 
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/FirmwareUploadException.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/EzUsb.html" target="_top"><B>FRAMES</B></A> &nbsp;
135,7 → 135,7
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/EzUsb.html#reset(int, boolean)">reset</A></B>(int&nbsp;handle,
<TD><CODE><B><A HREF="../ztex/EzUsb.html#reset(long, boolean)">reset</A></B>(long&nbsp;handle,
boolean&nbsp;r)</CODE>
 
<BR>
144,7 → 144,7
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/EzUsb.html#uploadFirmware(int, ztex.IhxFile)">uploadFirmware</A></B>(int&nbsp;handle,
<TD><CODE><B><A HREF="../ztex/EzUsb.html#uploadFirmware(long, ztex.IhxFile)">uploadFirmware</A></B>(long&nbsp;handle,
<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A>&nbsp;ihxFile)</CODE>
 
<BR>
190,10 → 190,10
</TR>
</TABLE>
 
<A NAME="reset(int, boolean)"><!-- --></A><H3>
<A NAME="reset(long, boolean)"><!-- --></A><H3>
reset</H3>
<PRE>
public static void <B>reset</B>(int&nbsp;handle,
public static void <B>reset</B>(long&nbsp;handle,
boolean&nbsp;r)
throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
<DL>
207,10 → 207,10
</DL>
<HR>
 
<A NAME="uploadFirmware(int, ztex.IhxFile)"><!-- --></A><H3>
<A NAME="uploadFirmware(long, ztex.IhxFile)"><!-- --></A><H3>
uploadFirmware</H3>
<PRE>
public static long <B>uploadFirmware</B>(int&nbsp;handle,
public static long <B>uploadFirmware</B>(long&nbsp;handle,
<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A>&nbsp;ihxFile)
throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
<DL>
253,7 → 253,7
 
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/FirmwareUploadException.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/EzUsb.html" target="_top"><B>FRAMES</B></A> &nbsp;
/IhxFile.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
IhxFile
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/ZtexScanBus1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
ZtexScanBus1
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
122,7 → 122,7
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
int&nbsp;usbProductId,
boolean&nbsp;scanCypress,
boolean&nbsp;scanUnconfigured,
boolean&nbsp;quiet)</CODE>
 
<BR>
131,7 → 131,7
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
int&nbsp;usbProductId,
boolean&nbsp;scanCypress,
boolean&nbsp;scanUnconfigured,
boolean&nbsp;quiet,
int&nbsp;interfaceVersion)</CODE>
 
139,11 → 139,23
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scans the USB for suitable devices and constructs a list of them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, int, int, int, int)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
int&nbsp;usbProductId,
boolean&nbsp;scanCypress,
boolean&nbsp;scanUnconfigured,
boolean&nbsp;quiet,
int&nbsp;interfaceVersion,
java.lang.String&nbsp;snString)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scans the USB for suitable devices and constructs a list of them.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexScanBus1.html#ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String, int, int, int, int)">ZtexScanBus1</A></B>(int&nbsp;usbVendorId,
int&nbsp;usbProductId,
boolean&nbsp;scanUnconfigured,
boolean&nbsp;quiet,
int&nbsp;interfaceVersion,
java.lang.String&nbsp;snString,
int&nbsp;productId0,
int&nbsp;productId1,
int&nbsp;productId2,
209,14 → 221,15
</TR>
</TABLE>
 
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, int, int, int, int)"><!-- --></A><H3>
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String, int, int, int, int)"><!-- --></A><H3>
ZtexScanBus1</H3>
<PRE>
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
int&nbsp;usbProductId,
boolean&nbsp;scanCypress,
boolean&nbsp;scanUnconfigured,
boolean&nbsp;quiet,
int&nbsp;interfaceVersion,
java.lang.String&nbsp;snString,
int&nbsp;productId0,
int&nbsp;productId1,
int&nbsp;productId2,
228,20 → 241,45
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
<li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
<li> Incompatible devices can be excluded by the specification of the ZTEX product ID's, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A>. </li>
<li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
<li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
<li> In multi device environment a single device can be selected by giving a serial number. </li>
</ol>
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (&lt;0 if no interface version is required)<DD><CODE>productId0</CODE> - Byte 0 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId1</CODE> - Byte 1 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId2</CODE> - Byte 2 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId3</CODE> - Byte 3 of a given ZTEX product ID (&le;0 if not to be considered)</DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (&lt;0 if no interface version is required)<DD><CODE>snString</CODE> - The serial number of the device<DD><CODE>productId0</CODE> - Byte 0 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId1</CODE> - Byte 1 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId2</CODE> - Byte 2 of a given ZTEX product ID (&le;0 if not to be considered)<DD><CODE>productId3</CODE> - Byte 3 of a given ZTEX product ID (&le;0 if not to be considered)</DL>
</DL>
<HR>
 
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int, java.lang.String)"><!-- --></A><H3>
ZtexScanBus1</H3>
<PRE>
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
int&nbsp;usbProductId,
boolean&nbsp;scanUnconfigured,
boolean&nbsp;quiet,
int&nbsp;interfaceVersion,
java.lang.String&nbsp;snString)</PRE>
<DL>
<DD>Scans the USB for suitable devices and constructs a list of them.
Three kinds of search filters can be applied
<ol>
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
<li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
<li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
<li> In multi device environment a single device can be selected by giving a serial number. </li>
</ol>
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
</DL>
<HR>
 
<A NAME="ZtexScanBus1(int, int, boolean, boolean, int)"><!-- --></A><H3>
ZtexScanBus1</H3>
<PRE>
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
int&nbsp;usbProductId,
boolean&nbsp;scanCypress,
boolean&nbsp;scanUnconfigured,
boolean&nbsp;quiet,
int&nbsp;interfaceVersion)</PRE>
<DL>
250,11 → 288,11
<ol>
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
<li> If a certain interface version is required, it can be specified using interfaceVersion. </li>
<li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
<li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
</ol>
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings<DD><CODE>interfaceVersion</CODE> - The required interface version (<0 if no interface version is required)</DL>
</DL>
<HR>
 
263,7 → 301,7
<PRE>
public <B>ZtexScanBus1</B>(int&nbsp;usbVendorId,
int&nbsp;usbProductId,
boolean&nbsp;scanCypress,
boolean&nbsp;scanUnconfigured,
boolean&nbsp;quiet)</PRE>
<DL>
<DD>Scans the USB for suitable devices and constructs a list of them.
270,11 → 308,11
Two kinds of search filters can be applied
<ol>
<li> usbVendorId and usbProductId can be used to search for devices with a given vendor and product ID. These devices must provide a ZTEX descriptor 1.</li>
<li> If scanCypress is true, all devices (even unconfigured ones) with Cypress EZ-USB vendor and product ID's are considered. </li>
<li> If scanUnconfigured is true, also devices without ZTEX Firmware and devices with Cypress EZ-USB USB are considered</li>
</ol>
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanCypress</CODE> - Include devices with Cypress EZ-USB vendor and product ID's (even unconfigured ones)<DD><CODE>quiet</CODE> - if true, don't print any warnings</DL>
<DT><B>Parameters:</B><DD><CODE>usbVendorId</CODE> - USB vendor ID of the device to be searched for<DD><CODE>usbProductId</CODE> - USB product ID of the device to be searched for<DD><CODE>scanUnconfigured</CODE> - if true, scan for unconfigured devices and devices with Cypress EZ-USB USB ID's<DD><CODE>quiet</CODE> - if true, don't print any warnings</DL>
</DL>
 
<!-- ============ METHOD DETAIL ========== -->
/ZtexDevice1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
ZtexDevice1
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
251,9 → 251,10
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#ZtexDevice1(ch.ntb.usb.Usb_Device, int, int)">ZtexDevice1</A></B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A>&nbsp;p_dev,
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#ZtexDevice1(ch.ntb.usb.Usb_Device, int, int, boolean)">ZtexDevice1</A></B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A>&nbsp;p_dev,
int&nbsp;pUsbVendorId,
int&nbsp;pUsbProductId)</CODE>
int&nbsp;pUsbProductId,
boolean&nbsp;allowUnconfigured)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from a given USB device.</TD>
338,14 → 339,6
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#isCypress()">isCypress</A></B>()</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the device has Cypress EZ-USB vendor and product ID's (0x4b4 and 0x8613).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/ZtexDevice1.html#manufacturerString()">manufacturerString</A></B>()</CODE>
 
533,14 → 526,16
</TR>
</TABLE>
 
<A NAME="ZtexDevice1(ch.ntb.usb.Usb_Device, int, int)"><!-- --></A><H3>
<A NAME="ZtexDevice1(ch.ntb.usb.Usb_Device, int, int, boolean)"><!-- --></A><H3>
ZtexDevice1</H3>
<PRE>
public <B>ZtexDevice1</B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A>&nbsp;p_dev,
int&nbsp;pUsbVendorId,
int&nbsp;pUsbProductId)
int&nbsp;pUsbProductId,
boolean&nbsp;allowUnconfigured)
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</A></PRE>
<DL>
<DD>Constructs an instance from a given USB device.<br>
If the given vendor and product id's match to the vendor and product id's of the given USB device,
549,10 → 544,12
can be set to -1.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>p_dev</CODE> - The USB device.<DD><CODE>pUsbVendorId</CODE> - The given vendor ID.<DD><CODE>pUsbProductId</CODE> - The given product ID.
<DT><B>Parameters:</B><DD><CODE>p_dev</CODE> - The USB device.<DD><CODE>pUsbVendorId</CODE> - The given vendor ID.<DD><CODE>pUsbProductId</CODE> - The given product ID.<DD><CODE>allowUnconfigured</CODE> - If true, unconfigured devices are allowed.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an USB communication error occurs.
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if no valid ZTEX descriptor 1 is found.</DL>
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if no valid ZTEX descriptor 1 is found.
<DD><CODE>DeviceNotSupported</CODE> - if the device has the wrong USB ID's.
<DD><CODE><A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</A></CODE></DL>
</DL>
 
<!-- ============ METHOD DETAIL ========== -->
632,20 → 629,6
</DL>
<HR>
 
<A NAME="isCypress()"><!-- --></A><H3>
isCypress</H3>
<PRE>
public final boolean <B>isCypress</B>()</PRE>
<DL>
<DD>Returns true if the device has Cypress EZ-USB vendor and product ID's (0x4b4 and 0x8613).
<P>
<DD><DL>
 
<DT><B>Returns:</B><DD>true if the device has Cypress EZ-USB vendor and product ID's (0x4b4 and 0x8613).</DL>
</DD>
</DL>
<HR>
 
<A NAME="valid()"><!-- --></A><H3>
valid</H3>
<PRE>
/CapabilityException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
CapabilityException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/FirmwareUploadException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
FirmwareUploadException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/InvalidFirmwareException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
InvalidFirmwareException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
124,6 → 124,12
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/InvalidFirmwareException.html#InvalidFirmwareException(java.lang.String)">InvalidFirmwareException</A></B>(java.lang.String&nbsp;msg)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from the error message.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../ztex/InvalidFirmwareException.html#InvalidFirmwareException(ch.ntb.usb.Usb_Device)">InvalidFirmwareException</A></B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A>&nbsp;dev)</CODE>
 
<BR>
204,6 → 210,18
</TR>
</TABLE>
 
<A NAME="InvalidFirmwareException(java.lang.String)"><!-- --></A><H3>
InvalidFirmwareException</H3>
<PRE>
public <B>InvalidFirmwareException</B>(java.lang.String&nbsp;msg)</PRE>
<DL>
<DD>Constructs an instance from the error message.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - The error message.</DL>
</DL>
<HR>
 
<A NAME="InvalidFirmwareException(ztex.Ztex1, java.lang.String)"><!-- --></A><H3>
InvalidFirmwareException</H3>
<PRE>
/IhxParseException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
IhxParseException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/BitstreamReadException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
BitstreamReadException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/DeviceNotSupportedException.html
0,0 → 1,246
<!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_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
DeviceNotSupportedException
</TITLE>
 
<META NAME="date" CONTENT="2011-07-18">
 
<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="DeviceNotSupportedException";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
 
</HEAD>
 
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
 
 
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
 
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/EzUsb.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/DeviceNotSupportedException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="DeviceNotSupportedException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
 
 
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</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 DeviceNotSupportedException</H2>
<PRE>
java.lang.Object
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
<IMG SRC="../resources/inherit.gif" ALT="extended by ">java.lang.Exception
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.DeviceNotSupportedException</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>DeviceNotSupportedException</B><DT>extends java.lang.Exception</DL>
</PRE>
 
<P>
Thrown if a device is not supported, i.e. has the wrong USB ID's.
<P>
 
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../serialized-form.html#ztex.DeviceNotSupportedException">Serialized Form</A></DL>
<HR>
 
<P>
 
<!-- ======== 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/DeviceNotSupportedException.html#DeviceNotSupportedException(ch.ntb.usb.Usb_Device)">DeviceNotSupportedException</A></B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A>&nbsp;dev)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an instance from the given device.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
 
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></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.Throwable</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
 
<!-- ========= 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="DeviceNotSupportedException(ch.ntb.usb.Usb_Device)"><!-- --></A><H3>
DeviceNotSupportedException</H3>
<PRE>
public <B>DeviceNotSupportedException</B>(<A HREF="../ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A>&nbsp;dev)</PRE>
<DL>
<DD>Constructs an instance from the given device.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>dev</CODE> - The device.</DL>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
 
 
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
 
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../ztex/EzUsb.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/DeviceNotSupportedException.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="DeviceNotSupportedException.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
 
 
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 
<HR>
 
</BODY>
</HTML>
/AlreadyConfiguredException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
AlreadyConfiguredException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/UsbException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
UsbException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/IhxFileDamagedException.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
IhxFileDamagedException
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
/Ztex1.html
2,12 → 2,12
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_02) on Wed Sep 29 21:04:05 CEST 2010 -->
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
<TITLE>
Ztex1
</TITLE>
 
<META NAME="date" CONTENT="2010-09-29">
<META NAME="date" CONTENT="2011-07-18">
 
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
 
205,7 → 205,15
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A></B>(int&nbsp;iface)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if interface is claimed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1.html#handle()">handle</A></B>()</CODE>
 
<BR>
262,6 → 270,15
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A></B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A>&nbsp;ihxFile,
boolean&nbsp;force)</CODE>
 
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uploads the firmware to the EZ-USB and manages the renumeration process.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ztex/Ztex1.html#valid()">valid</A></B>()</CODE>
 
461,7 → 478,7
<A NAME="handle()"><!-- --></A><H3>
handle</H3>
<PRE>
public final int <B>handle</B>()</PRE>
public final long <B>handle</B>()</PRE>
<DL>
<DD>Returns the USB file handle.
<P>
716,6 → 733,20
</DL>
<HR>
 
<A NAME="getInterfaceClaimed(int)"><!-- --></A><H3>
getInterfaceClaimed</H3>
<PRE>
public boolean <B>getInterfaceClaimed</B>(int&nbsp;iface)</PRE>
<DL>
<DD>Returns true if interface is claimed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>iface</CODE> - The interface number
<DT><B>Returns:</B><DD>true if interface is claimed</DL>
</DD>
</DL>
<HR>
 
<A NAME="claimInterface(int)"><!-- --></A><H3>
claimInterface</H3>
<PRE>
745,6 → 776,37
</DL>
<HR>
 
<A NAME="uploadFirmware(ztex.ZtexIhxFile1, boolean)"><!-- --></A><H3>
uploadFirmware</H3>
<PRE>
public long <B>uploadFirmware</B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A>&nbsp;ihxFile,
boolean&nbsp;force)
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE>
<DL>
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process.
<p>
Before the firmware is uploaded the device is set into a reset state.
After the upload the firmware is booted and the renumeration starts.
During this process the device disappears from the bus and a new one
occurs which will be assigned to this class automatically (instead of the disappeared one).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware image.<DD><CODE>force</CODE> - The compatibility check is skipped if true.
<DT><B>Returns:</B><DD>the upload time in ms.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - if the given firmware is not compatible to the installed one, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter)
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware.
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available.
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL>
</DD>
</DL>
<HR>
 
<A NAME="uploadFirmware(java.lang.String, boolean)"><!-- --></A><H3>
uploadFirmware</H3>
<PRE>

powered by: WebSVN 2.1.0

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