Line 1... |
Line 1... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!--NewPage-->
|
<!--NewPage-->
|
<HTML>
|
<HTML>
|
<HEAD>
|
<HEAD>
|
<!-- Generated by javadoc (build 1.6.0_02) on 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>
|
<TITLE>
|
Ztex1v1
|
Ztex1v1
|
</TITLE>
|
</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">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
|
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
function windowTitle()
|
function windowTitle()
|
Line 184... |
Line 184... |
<td bgcolor="#ffffff" valign="top">2-5</td>
|
<td bgcolor="#ffffff" valign="top">2-5</td>
|
<td bgcolor="#ffffff" valign="top">Number of bytes transferred.</td>
|
<td bgcolor="#ffffff" valign="top">Number of bytes transferred.</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">6</td>
|
<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>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
Line 286... |
Line 286... |
</td>
|
</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</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>
|
</table>
|
<P>
|
<P>
|
|
|
<P>
|
<P>
|
<DL>
|
<DL>
|
Line 339... |
Line 472... |
Capability index for FPGA configuration support.</TD>
|
Capability index for FPGA configuration support.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_HS_FPGA">CAPABILITY_HS_FPGA</A></B></CODE>
|
|
|
|
<BR>
|
|
Capability index for AVR XMEGA support.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_MAC_EEPROM">CAPABILITY_MAC_EEPROM</A></B></CODE>
|
|
|
|
<BR>
|
|
Capability index for AVR XMEGA support.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Capability index for AVR XMEGA support.</TD>
|
Capability index for AVR XMEGA support.</TD>
|
</TR>
|
</TR>
|
Line 358... |
Line 507... |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugNewMessages">debugNewMessages</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugNewMessages">debugNewMessages</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
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>
|
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>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromBytes">eepromBytes</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromBytes">eepromBytes</A></B></CODE>
|
Line 406... |
Line 555... |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_NOTSUPPORTED">FLASH_EC_NOTSUPPORTED</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_NOTSUPPORTED">FLASH_EC_NOTSUPPORTED</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals the the installed Flash memeory is not supported.</TD>
|
Signals the the installed Flash memory is not supported.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_PENDING">FLASH_EC_PENDING</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_PENDING">FLASH_EC_PENDING</A></B></CODE>
|
Line 448... |
Line 597... |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashEC">flashEC</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashEC">flashEC</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Last Flash error code obtained by <A HREF="../ztex/Ztex1v1.html#flashState()"><CODE>flashState()</CODE></A>.</TD>
|
Last Flash error code obtained by <A HREF="../ztex/Ztex1v1.html#flashState()"><CODE>flashState()</CODE></A>.</TD>
|
</TR>
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE>
|
|
|
|
<BR>
|
|
Signals an address error (invalid address or wrong page size).</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_INVALID_DEVICE">XMEGA_EC_INVALID_DEVICE</A></B></CODE>
|
|
|
|
<BR>
|
|
Signals that the ATxmega controller is not supported.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NO_ERROR">XMEGA_EC_NO_ERROR</A></B></CODE>
|
|
|
|
<BR>
|
|
Means no error.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NVM_BUSY">XMEGA_EC_NVM_BUSY</A></B></CODE>
|
|
|
|
<BR>
|
|
Signals that the NVM is busy.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NVM_TIMEOUT">XMEGA_EC_NVM_TIMEOUT</A></B></CODE>
|
|
|
|
<BR>
|
|
Signals that an NVM timeout occurred.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_PDI_READ_ERROR">XMEGA_EC_PDI_READ_ERROR</A></B></CODE>
|
|
|
|
<BR>
|
|
Signals a PDI read error.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEC">xmegaEC</A></B></CODE>
|
|
|
|
<BR>
|
|
Last ATxmega error code obtained by <A HREF="../ztex/Ztex1v1.html#xmegaState()"><CODE>xmegaState()</CODE></A>.</TD>
|
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="fields_inherited_from_class_ztex.Ztex1"><!-- --></A>
|
<A NAME="fields_inherited_from_class_ztex.Ztex1"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
<TH ALIGN="left"><B>Fields inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
|
<TH ALIGN="left"><B>Fields inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
|
Line 545... |
Line 750... |
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean)">configureFpga</A></B>(java.lang.String fwFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean)">configureFpga</A></B>(java.lang.String fwFileName,
|
boolean force)</CODE>
|
boolean force)</CODE>
|
|
|
<BR>
|
<BR>
|
Upload a Bitstream to the FPGA.</TD>
|
Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean, int)">configureFpga</A></B>(java.lang.String fwFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean, int)">configureFpga</A></B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
int bs)</CODE>
|
int bs)</CODE>
|
|
|
<BR>
|
<BR>
|
Upload a Bitstream to the FPGA.</TD>
|
Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String fwFileName,
|
|
boolean force,
|
|
int bs)</CODE>
|
|
|
|
<BR>
|
|
Upload a Bitstream to the FPGA using high speed mode.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String fwFileName,
|
|
boolean force,
|
|
int bs)</CODE>
|
|
|
|
<BR>
|
|
Upload a Bitstream to the FPGA using low speed mode.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugLastMsg()">debugLastMsg</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugLastMsg()">debugLastMsg</A></B>()</CODE>
|
Line 627... |
Line 852... |
<BR>
|
<BR>
|
Upload the firmware to the EEPROM.</TD>
|
Upload the firmware to the EEPROM.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromUpload(ztex.ZtexIhxFile1, boolean)">eepromUpload</A></B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile,
|
|
boolean force)</CODE>
|
|
|
|
<BR>
|
|
Upload the firmware to the EEPROM.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromWrite(int, byte[], int)">eepromWrite</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromWrite(int, byte[], int)">eepromWrite</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
Line 663... |
Line 897... |
Reads one sector from the Flash.</TD>
|
Reads one sector from the Flash.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, int, byte[])">flashReadSector</A></B>(int sector,
|
|
int num,
|
|
byte[] buf)</CODE>
|
|
|
|
<BR>
|
|
Reads a integer number of sectors from the Flash.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashResetBitstream()">flashResetBitstream</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashResetBitstream()">flashResetBitstream</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Clears a Bitstream from the Flash.</TD>
|
Clears a Bitstream from the Flash.</TD>
|
</TR>
|
</TR>
|
Line 744... |
Line 988... |
<BR>
|
<BR>
|
Writes one sector to the Flash.</TD>
|
Writes one sector to the Flash.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashWriteSector(int, int, byte[])">flashWriteSector</A></B>(int sector,
|
|
int num,
|
|
byte[] buf)</CODE>
|
|
|
|
<BR>
|
|
Writes a integer number of sectors to the Flash.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFlashEC()">getFlashEC</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFlashEC()">getFlashEC</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Gets the last Flash error from the device.</TD>
|
Gets the last Flash error from the device.</TD>
|
Line 769... |
Line 1023... |
Returns a string that indicates the FPGA configuration status.</TD>
|
Returns a string that indicates the FPGA configuration status.</TD>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromRead(int, byte[], int)">macEepromRead</A></B>(int addr,
|
|
byte[] buf,
|
|
int length)</CODE>
|
|
|
|
<BR>
|
|
Reads data from the MAC EEPROM.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromState()">macEepromState</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Reads the current MAC EEPROM status.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromWrite(int, byte[], int)">macEepromWrite</A></B>(int addr,
|
|
byte[] buf,
|
|
int length)</CODE>
|
|
|
|
<BR>
|
|
Writes data to the MAC EEPROM.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macRead(byte[])">macRead</A></B>(byte[] buf)</CODE>
|
|
|
|
<BR>
|
|
Reads MAC address from MAC EEPROM.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printFpgaState()">printFpgaState</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printFpgaState()">printFpgaState</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Prints out the FPGA state.</TD>
|
Prints out the FPGA state.</TD>
|
</TR>
|
</TR>
|
Line 815... |
Line 1105... |
int j)</CODE>
|
int j)</CODE>
|
|
|
<BR>
|
<BR>
|
Returns true if ZTEX interface 1 and capability i.j are available.</TD>
|
Returns true if ZTEX interface 1 and capability i.j are available.</TD>
|
</TR>
|
</TR>
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_ztex.Ztex1"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
</TR>
|
<CODE> int</CODE></FONT></TD>
|
</TABLE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPages()">xmegaEepromPages</A></B>()</CODE>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<BR>
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
Returns the number of the ATxmega EEPROM pages.</TD>
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
</TR>
|
<CODE> int</CODE></FONT></TD>
|
</TABLE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPageSize()">xmegaEepromPageSize</A></B>()</CODE>
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
<BR>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
Returns the size of the ATXmega EEPROM pages.</TD>
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
</TR>
|
</TABLE>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPageWrite(int, byte[])">xmegaEepromPageWrite</A></B>(int addr,
|
|
byte[] buf)</CODE>
|
|
|
|
<BR>
|
|
Writes data to EEPROM memory of ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromRead(int, byte[], int)">xmegaEepromRead</A></B>(int addr,
|
|
byte[] buf,
|
|
int length)</CODE>
|
|
|
|
<BR>
|
|
Reads data from EEPROM memory of ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEnabled()">xmegaEnabled</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns true if ATxmega controller is available.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPages()">xmegaFlashPages</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the number of the ATxmega Flash pages.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPageSize()">xmegaFlashPageSize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the size of the ATxmega Flash pages.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPageWrite(int, byte[])">xmegaFlashPageWrite</A></B>(int addr,
|
|
byte[] buf)</CODE>
|
|
|
|
<BR>
|
|
Writes data to Flash memory of ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashRead(int, byte[], int)">xmegaFlashRead</A></B>(int addr,
|
|
byte[] buf,
|
|
int length)</CODE>
|
|
|
|
<BR>
|
|
Reads data from Flash memory of ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseRead(int)">xmegaFuseRead</A></B>(int addr)</CODE>
|
|
|
|
<BR>
|
|
Reads data one Fuse of ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseRead(int, byte[], int)">xmegaFuseRead</A></B>(int addr,
|
|
byte[] buf,
|
|
int length)</CODE>
|
|
|
|
<BR>
|
|
Reads data from Fuse memory of ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseWrite(int, int)">xmegaFuseWrite</A></B>(int addr,
|
|
int val)</CODE>
|
|
|
|
<BR>
|
|
Writes one Fuse of the ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaNvmRead(int, byte[], int)">xmegaNvmRead</A></B>(int addr,
|
|
byte[] buf,
|
|
int length)</CODE>
|
|
|
|
<BR>
|
|
Reads data from the NVM of ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaReset()">xmegaReset</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Resets the ATxmega.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaState()">xmegaState</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Read ATxmega error and status information from the device.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError()">xmegaStrError</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Gets the last ATxmega error from the device.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError(int)">xmegaStrError</A></B>(int errNum)</CODE>
|
|
|
|
<BR>
|
|
Converts a given error code into a String.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaWriteEeprom(ztex.IhxFile)">xmegaWriteEeprom</A></B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)</CODE>
|
|
|
|
<BR>
|
|
Uploads data to the EEPROM memory</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> long</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaWriteFirmware(ztex.IhxFile)">xmegaWriteFirmware</A></B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)</CODE>
|
|
|
|
<BR>
|
|
Uploads firmware to the flash memory</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_ztex.Ztex1"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
<A NAME="CAPABILITY_EEPROM"><!-- --></A><H3>
|
<A NAME="CAPABILITY_EEPROM"><!-- --></A><H3>
|
CAPABILITY_EEPROM</H3>
|
CAPABILITY_EEPROM</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>CAPABILITY_EEPROM</B></PRE>
|
public static final int <B>CAPABILITY_EEPROM</B></PRE>
|
Line 907... |
Line 1360... |
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_XMEGA">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_XMEGA">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<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>
|
<A NAME="capabilityStrings"><!-- --></A><H3>
|
capabilityStrings</H3>
|
capabilityStrings</H3>
|
<PRE>
|
<PRE>
|
public static final java.lang.String[] <B>capabilityStrings</B></PRE>
|
public static final java.lang.String[] <B>capabilityStrings</B></PRE>
|
<DL>
|
<DL>
|
Line 1044... |
Line 1521... |
<A NAME="FLASH_EC_NOTSUPPORTED"><!-- --></A><H3>
|
<A NAME="FLASH_EC_NOTSUPPORTED"><!-- --></A><H3>
|
FLASH_EC_NOTSUPPORTED</H3>
|
FLASH_EC_NOTSUPPORTED</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>FLASH_EC_NOTSUPPORTED</B></PRE>
|
public static final int <B>FLASH_EC_NOTSUPPORTED</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals the the installed Flash memeory is not supported.
|
<DD>Signals the the installed Flash memory is not supported.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_NOTSUPPORTED">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_NOTSUPPORTED">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
Line 1056... |
Line 1533... |
<A NAME="debugNewMessages"><!-- --></A><H3>
|
<A NAME="debugNewMessages"><!-- --></A><H3>
|
debugNewMessages</H3>
|
debugNewMessages</H3>
|
<PRE>
|
<PRE>
|
public int <B>debugNewMessages</B></PRE>
|
public int <B>debugNewMessages</B></PRE>
|
<DL>
|
<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>
|
<P>
|
<DL>
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_ADDRESS_ERROR">Constant Field Values</A></DL>
|
</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>
|
</DL>
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
<A NAME="constructor_detail"><!-- --></A>
|
Line 1308... |
Line 1869... |
<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><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="configureFpga(java.lang.String, boolean, int)"><!-- --></A><H3>
|
<A NAME="configureFpgaLS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
configureFpga</H3>
|
configureFpgaLS</H3>
|
<PRE>
|
<PRE>
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
public long <B>configureFpgaLS</B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
int bs)
|
int bs)
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
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/UsbException.html" title="class in ztex">UsbException</A>,
|
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</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/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</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></PRE>
|
<DL>
|
<DL>
|
<DD>Upload a Bitstream to the FPGA.
|
<DD>Upload a Bitstream to the FPGA using low speed mode.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
|
Line 1336... |
Line 1897... |
<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><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="configureFpga(java.lang.String, boolean)"><!-- --></A><H3>
|
|
configureFpga</H3>
|
|
<PRE>
|
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
|
boolean force)
|
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
|
|
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Upload a Bitstream to the FPGA.
|
|
<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>
|
<A NAME="eepromState()"><!-- --></A><H3>
|
eepromState</H3>
|
eepromState</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>eepromState</B>()
|
public boolean <B>eepromState</B>()
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
Line 1429... |
Line 1963... |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if EEPROM access is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if EEPROM access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="eepromUpload(ztex.ZtexIhxFile1, boolean)"><!-- --></A><H3>
|
|
eepromUpload</H3>
|
|
<PRE>
|
|
public long <B>eepromUpload</B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile,
|
|
boolean force)
|
|
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
|
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Upload the firmware to the EEPROM.
|
|
In order to start the uploaded firmware the device must be reset.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware image.<DD><CODE>force</CODE> - Skips the compatibility check if true.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - if the given firmware is not compatible to the installed one, see <A HREF="../ztex/Ztex1v1.html#compatible(int, int, int, int)"><CODE>compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter.)
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if EEPROM access is not supported by the firmware.
|
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if an error occurred while attempting to upload the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="eepromUpload(java.lang.String, boolean)"><!-- --></A><H3>
|
<A NAME="eepromUpload(java.lang.String, boolean)"><!-- --></A><H3>
|
eepromUpload</H3>
|
eepromUpload</H3>
|
<PRE>
|
<PRE>
|
public long <B>eepromUpload</B>(java.lang.String ihxFileName,
|
public long <B>eepromUpload</B>(java.lang.String ihxFileName,
|
boolean force)
|
boolean force)
|
Line 1511... |
Line 2069... |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
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/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></PRE>
|
<DL>
|
<DL>
|
<DD>Reads the the Flash memory status and information.
|
<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>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>true if Flash memory is installed.
|
<DT><B>Returns:</B><DD>true if Flash memory is installed.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
Line 1552... |
Line 2110... |
<PRE>
|
<PRE>
|
public void <B>flashReadSector</B>(int sector,
|
public void <B>flashReadSector</B>(int sector,
|
byte[] buf)
|
byte[] buf)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
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/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>
|
<DL>
|
<DD>Reads one sector from the Flash.
|
<DD>Reads one sector from the Flash.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
|
<DT><B>Throws:</B>
|
<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/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/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 sector,
|
|
int num,
|
|
byte[] buf)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
|
java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Reads a integer number of sectors from the Flash.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The number of the first sector to be read.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3>
|
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3>
|
Line 1573... |
Line 2157... |
<PRE>
|
<PRE>
|
public void <B>flashWriteSector</B>(int sector,
|
public void <B>flashWriteSector</B>(int sector,
|
byte[] buf)
|
byte[] buf)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
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/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>
|
<DL>
|
<DD>Writes one sector to the Flash.
|
<DD>Writes one sector to the Flash.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>buf</CODE> - The data.
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>buf</CODE> - The data.
|
<DT><B>Throws:</B>
|
<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/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/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 sector,
|
|
int num,
|
|
byte[] buf)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
|
java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Writes a integer number of sectors to the Flash.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - The data.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashEnabled()"><!-- --></A><H3>
|
<A NAME="flashEnabled()"><!-- --></A><H3>
|
Line 1899... |
Line 2509... |
<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.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="xmegaStrError(int)"><!-- --></A><H3>
|
|
xmegaStrError</H3>
|
|
<PRE>
|
|
public java.lang.String <B>xmegaStrError</B>(int errNum)</PRE>
|
|
<DL>
|
|
<DD>Converts a given error code into a String.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>errNum</CODE> - The error code.
|
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaStrError()"><!-- --></A><H3>
|
|
xmegaStrError</H3>
|
|
<PRE>
|
|
public java.lang.String <B>xmegaStrError</B>()</PRE>
|
|
<DL>
|
|
<DD>Gets the last ATxmega error from the device.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaState()"><!-- --></A><H3>
|
|
xmegaState</H3>
|
|
<PRE>
|
|
public int <B>xmegaState</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Read ATxmega error and status information from the device.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>The last error code.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if ATxmega controllers are not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaEnabled()"><!-- --></A><H3>
|
|
xmegaEnabled</H3>
|
|
<PRE>
|
|
public boolean <B>xmegaEnabled</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Returns true if ATxmega controller is available.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>true if ATxmega controller is available.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if ATxmega controllers are not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaFlashPages()"><!-- --></A><H3>
|
|
xmegaFlashPages</H3>
|
|
<PRE>
|
|
public int <B>xmegaFlashPages</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Returns the number of the ATxmega Flash pages.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>The number of the ATxmega Flash pages.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if ATxmega controllers are not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaEepromPages()"><!-- --></A><H3>
|
|
xmegaEepromPages</H3>
|
|
<PRE>
|
|
public int <B>xmegaEepromPages</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Returns the number of the ATxmega EEPROM pages.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>The number of the ATxmega EEPROM pages.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if ATxmega controllers are not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaFlashPageSize()"><!-- --></A><H3>
|
|
xmegaFlashPageSize</H3>
|
|
<PRE>
|
|
public int <B>xmegaFlashPageSize</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Returns the size of the ATxmega Flash pages.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>The size of the ATxmega Flash pages.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if ATxmega controllers are not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaEepromPageSize()"><!-- --></A><H3>
|
|
xmegaEepromPageSize</H3>
|
|
<PRE>
|
|
public int <B>xmegaEepromPageSize</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Returns the size of the ATXmega EEPROM pages.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>The size of the ATXmega EEPROM pages.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if ATXmega controllers are not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaReset()"><!-- --></A><H3>
|
|
xmegaReset</H3>
|
|
<PRE>
|
|
public void <B>xmegaReset</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Resets the ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if NVRAM access to ATxmega is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaNvmRead(int, byte[], int)"><!-- --></A><H3>
|
|
xmegaNvmRead</H3>
|
|
<PRE>
|
|
public void <B>xmegaNvmRead</B>(int addr,
|
|
byte[] buf,
|
|
int length)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Reads data from the NVM of ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address of the NVM (PDI address space).<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to be read.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if NVRAM access to ATxmega is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaFlashRead(int, byte[], int)"><!-- --></A><H3>
|
|
xmegaFlashRead</H3>
|
|
<PRE>
|
|
public void <B>xmegaFlashRead</B>(int addr,
|
|
byte[] buf,
|
|
int length)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Reads data from Flash memory of ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the Flash memory base.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to be read.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If NVRAM access to ATxmega is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaEepromRead(int, byte[], int)"><!-- --></A><H3>
|
|
xmegaEepromRead</H3>
|
|
<PRE>
|
|
public void <B>xmegaEepromRead</B>(int addr,
|
|
byte[] buf,
|
|
int length)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Reads data from EEPROM memory of ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the EEPROM memory base.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to be read.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If NVRAM access to ATxmega is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaFuseRead(int, byte[], int)"><!-- --></A><H3>
|
|
xmegaFuseRead</H3>
|
|
<PRE>
|
|
public void <B>xmegaFuseRead</B>(int addr,
|
|
byte[] buf,
|
|
int length)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Reads data from Fuse memory of ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the Fuse memory base.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to be read.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If NVRAM access to ATxmega is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaFuseRead(int)"><!-- --></A><H3>
|
|
xmegaFuseRead</H3>
|
|
<PRE>
|
|
public int <B>xmegaFuseRead</B>(int addr)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Reads data one Fuse of ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The index of th Fuse.
|
|
<DT><B>Returns:</B><DD>The Fuse read.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If NVRAM access to ATxmega is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaFlashPageWrite(int, byte[])"><!-- --></A><H3>
|
|
xmegaFlashPageWrite</H3>
|
|
<PRE>
|
|
public void <B>xmegaFlashPageWrite</B>(int addr,
|
|
byte[] buf)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
|
java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Writes data to Flash memory of ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the Flash memory base.<DD><CODE>buf</CODE> - A buffer that stores the data.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if NVRAM access to ATxmega is not supported by the firmware.
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash page size.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaEepromPageWrite(int, byte[])"><!-- --></A><H3>
|
|
xmegaEepromPageWrite</H3>
|
|
<PRE>
|
|
public void <B>xmegaEepromPageWrite</B>(int addr,
|
|
byte[] buf)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
|
java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Writes data to EEPROM memory of ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address relative to the EEPROM memory base.<DD><CODE>buf</CODE> - A buffer that stores the data.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if NVRAM access to ATxmega is not supported by the firmware.
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the EEPROM page size.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaFuseWrite(int, int)"><!-- --></A><H3>
|
|
xmegaFuseWrite</H3>
|
|
<PRE>
|
|
public void <B>xmegaFuseWrite</B>(int addr,
|
|
int val)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Writes one Fuse of the ATxmega.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The index of th Fuse.<DD><CODE>val</CODE> - The value of th Fuse.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if NVRAM access to ATxmega is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaWriteFirmware(ztex.IhxFile)"><!-- --></A><H3>
|
|
xmegaWriteFirmware</H3>
|
|
<PRE>
|
|
public long <B>xmegaWriteFirmware</B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
|
|
<DL>
|
|
<DD>Uploads firmware to the flash memory
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware / data image.
|
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if NVRAM access to ATxmega is not supported by the firmware.
|
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if the verification fails.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="xmegaWriteEeprom(ztex.IhxFile)"><!-- --></A><H3>
|
|
xmegaWriteEeprom</H3>
|
|
<PRE>
|
|
public long <B>xmegaWriteEeprom</B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
|
|
<DL>
|
|
<DD>Uploads data to the EEPROM memory
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware / data image.
|
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if NVRAM access to ATxmega is not supported by the firmware.
|
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if the verification fails.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="toString()"><!-- --></A><H3>
|
<A NAME="toString()"><!-- --></A><H3>
|
toString</H3>
|
toString</H3>
|
<PRE>
|
<PRE>
|
public java.lang.String <B>toString</B>()</PRE>
|
public java.lang.String <B>toString</B>()</PRE>
|
<DL>
|
<DL>
|
Line 1928... |
Line 2934... |
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>pf</CODE> - A separator between the single capabilities, e.g. ", "
|
<DT><B>Parameters:</B><DD><CODE>pf</CODE> - A separator between the single capabilities, e.g. ", "
|
<DT><B>Returns:</B><DD>a string of the supported capabilities.</DL>
|
<DT><B>Returns:</B><DD>a string of the supported capabilities.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="configureFpgaHS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
|
configureFpgaHS</H3>
|
|
<PRE>
|
|
public long <B>configureFpgaHS</B>(java.lang.String fwFileName,
|
|
boolean force,
|
|
int bs)
|
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
|
|
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Upload a Bitstream to the FPGA using high speed mode.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="configureFpga(java.lang.String, boolean, int)"><!-- --></A><H3>
|
|
configureFpga</H3>
|
|
<PRE>
|
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
|
boolean force,
|
|
int bs)
|
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
|
|
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="configureFpga(java.lang.String, boolean)"><!-- --></A><H3>
|
|
configureFpga</H3>
|
|
<PRE>
|
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
|
boolean force)
|
|
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>,
|
|
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>,
|
|
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream.
|
|
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured.
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="macEepromWrite(int, byte[], int)"><!-- --></A><H3>
|
|
macEepromWrite</H3>
|
|
<PRE>
|
|
public void <B>macEepromWrite</B>(int addr,
|
|
byte[] buf,
|
|
int length)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Writes data to the MAC EEPROM.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The destination address of the MAC EEPROM.<DD><CODE>buf</CODE> - The data.<DD><CODE>length</CODE> - The amount of bytes to be sent.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="macEepromRead(int, byte[], int)"><!-- --></A><H3>
|
|
macEepromRead</H3>
|
|
<PRE>
|
|
public void <B>macEepromRead</B>(int addr,
|
|
byte[] buf,
|
|
int length)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Reads data from the MAC EEPROM.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address of the MAC EEPROM.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to be read.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="macEepromState()"><!-- --></A><H3>
|
|
macEepromState</H3>
|
|
<PRE>
|
|
public boolean <B>macEepromState</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE>
|
|
<DL>
|
|
<DD>Reads the current MAC EEPROM status.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>true if MAC EEPROM is ready.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="macRead(byte[])"><!-- --></A><H3>
|
|
macRead</H3>
|
|
<PRE>
|
|
public void <B>macRead</B>(byte[] buf)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
|
java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Reads MAC address from MAC EEPROM.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>buf</CODE> - A buffer with a minimum size of 6 bytes.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than 6 bytes.</DL>
|
|
</DD>
|
|
</DL>
|
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|