<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<!--NewPage-->
|
<!--NewPage-->
|
<HTML>
|
<HTML>
|
<HEAD>
|
<HEAD>
|
<!-- Generated by javadoc (build 1.6.0_02) on Mon Jul 18 15:52:41 CEST 2011 -->
|
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
|
<TITLE>
|
<TITLE>
|
Ztex1v1
|
Ztex1v1
|
</TITLE>
|
</TITLE>
|
|
|
<META NAME="date" CONTENT="2011-07-18">
|
<META NAME="date" CONTENT="2012-04-12">
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
|
|
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
function windowTitle()
|
function windowTitle()
|
{
|
{
|
if (location.href.indexOf('is-external=true') == -1) {
|
if (location.href.indexOf('is-external=true') == -1) {
|
parent.document.title="Ztex1v1";
|
parent.document.title="Ztex1v1";
|
}
|
}
|
}
|
}
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
</HEAD>
|
</HEAD>
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
<A NAME="navbar_top"><!-- --></A>
|
<A NAME="navbar_top"><!-- --></A>
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TR>
|
<TR>
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TR ALIGN="center" VALIGN="top">
|
<TR ALIGN="center" VALIGN="top">
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
</TD>
|
</TD>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
</EM>
|
</EM>
|
</TD>
|
</TD>
|
</TR>
|
</TR>
|
|
|
<TR>
|
<TR>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../ztex/Ztex1.html" title="class in ztex"><B>PREV CLASS</B></A>
|
<A HREF="../ztex/Ztex1.html" title="class in ztex"><B>PREV CLASS</B></A>
|
<A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
<A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../index.html?ztex/Ztex1v1.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="../index.html?ztex/Ztex1v1.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="Ztex1v1.html" target="_top"><B>NO FRAMES</B></A>
|
<A HREF="Ztex1v1.html" target="_top"><B>NO FRAMES</B></A>
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
<!--
|
<!--
|
if(window==top) {
|
if(window==top) {
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
}
|
}
|
//-->
|
//-->
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
|
|
</FONT></TD>
|
</FONT></TD>
|
</TR>
|
</TR>
|
<TR>
|
<TR>
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="skip-navbar_top"></A>
|
<A NAME="skip-navbar_top"></A>
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
<HR>
|
<HR>
|
<!-- ======== START OF CLASS DATA ======== -->
|
<!-- ======== START OF CLASS DATA ======== -->
|
<H2>
|
<H2>
|
<FONT SIZE="-1">
|
<FONT SIZE="-1">
|
ztex</FONT>
|
ztex</FONT>
|
<BR>
|
<BR>
|
Class Ztex1v1</H2>
|
Class Ztex1v1</H2>
|
<PRE>
|
<PRE>
|
java.lang.Object
|
java.lang.Object
|
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../ztex/Ztex1.html" title="class in ztex">ztex.Ztex1</A>
|
<IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../ztex/Ztex1.html" title="class in ztex">ztex.Ztex1</A>
|
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.Ztex1v1</B>
|
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.Ztex1v1</B>
|
</PRE>
|
</PRE>
|
<HR>
|
<HR>
|
<DL>
|
<DL>
|
<DT><PRE>public class <B>Ztex1v1</B><DT>extends <A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></DL>
|
<DT><PRE>public class <B>Ztex1v1</B><DT>extends <A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></DL>
|
</PRE>
|
</PRE>
|
|
|
<P>
|
<P>
|
This class implements the communication protocol of the interface version 1 for the interaction with the ZTEX firmware.
|
This class implements the communication protocol of the interface version 1 for the interaction with the ZTEX firmware.
|
<p>
|
<p>
|
The features supported by this interface can be accessed via vendor commands and vendor requests via Endpoint 0.
|
The features supported by this interface can be accessed via vendor commands and vendor requests via Endpoint 0.
|
Each feature can be enabled or disabled by the firmware and also depends from the hardware.
|
Each feature can be enabled or disabled by the firmware and also depends from the hardware.
|
The presence of a feature is indicated by a 1 in the corresponding feature bit of the ZTEX descriptor 1, see <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.
|
The presence of a feature is indicated by a 1 in the corresponding feature bit of the ZTEX descriptor 1, see <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>.
|
The following table gives an overview about the features
|
The following table gives an overview about the features
|
<table bgcolor="#404040" cellspacing=1 cellpadding=10>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=10>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Capability bit</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Capability bit</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0.0</td>
|
<td bgcolor="#ffffff" valign="top">0.0</td>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
EEPROM support<p>
|
EEPROM support<p>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x38</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x38</td>
|
<td bgcolor="#ffffff" valign="top">Read from EEPROM</td>
|
<td bgcolor="#ffffff" valign="top">Read from EEPROM</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VC 0x39</td>
|
<td bgcolor="#ffffff" valign="top">VC 0x39</td>
|
<td bgcolor="#ffffff" valign="top">Write to EEPROM</td>
|
<td bgcolor="#ffffff" valign="top">Write to EEPROM</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x3a</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x3a</td>
|
<td bgcolor="#ffffff" valign="top">Get EEPROM state. Returns:
|
<td bgcolor="#ffffff" valign="top">Get EEPROM state. Returns:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0-1</td>
|
<td bgcolor="#ffffff" valign="top">0-1</td>
|
<td bgcolor="#ffffff" valign="top">Number of bytes written.</td>
|
<td bgcolor="#ffffff" valign="top">Number of bytes written.</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">2</td>
|
<td bgcolor="#ffffff" valign="top">2</td>
|
<td bgcolor="#ffffff" valign="top">Checksum</td>
|
<td bgcolor="#ffffff" valign="top">Checksum</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">3</td>
|
<td bgcolor="#ffffff" valign="top">3</td>
|
<td bgcolor="#ffffff" valign="top">0:idle, 1:busy or error</td>
|
<td bgcolor="#ffffff" valign="top">0:idle, 1:busy or error</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0.1</td>
|
<td bgcolor="#ffffff" valign="top">0.1</td>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
FPGA Configuration<p>
|
FPGA Configuration<p>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x30</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x30</td>
|
<td bgcolor="#ffffff" valign="top">Get FPGA state. Returns:
|
<td bgcolor="#ffffff" valign="top">Get FPGA state. Returns:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">1: unconfigured, 0:configured</td>
|
<td bgcolor="#ffffff" valign="top">1: unconfigured, 0:configured</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">1</td>
|
<td bgcolor="#ffffff" valign="top">1</td>
|
<td bgcolor="#ffffff" valign="top">Checksum</td>
|
<td bgcolor="#ffffff" valign="top">Checksum</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<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.</td>
|
<td bgcolor="#ffffff" valign="top">INIT_B states.</td>
|
</tr>
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">7</td>
|
|
<td bgcolor="#ffffff" valign="top">Flash configuration result.</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">8</td>
|
|
<td bgcolor="#ffffff" valign="top">Flash Bitstreambit order (1=swapped).</td>
|
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VC 0x31</td>
|
<td bgcolor="#ffffff" valign="top">VC 0x31</td>
|
<td bgcolor="#ffffff" valign="top">Reset FPGA</td>
|
<td bgcolor="#ffffff" valign="top">Reset FPGA</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x32</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x32</td>
|
<td bgcolor="#ffffff" valign="top">Send Bitstream</td>
|
<td bgcolor="#ffffff" valign="top">Send Bitstream</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0.2</td>
|
<td bgcolor="#ffffff" valign="top">0.2</td>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
Flash memory support<p>
|
Flash memory support<p>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x40</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x40</td>
|
<td bgcolor="#ffffff" valign="top">Get Flash state. Returns:
|
<td bgcolor="#ffffff" valign="top">Get Flash state. Returns:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">1:enabled, 0:disabled</td>
|
<td bgcolor="#ffffff" valign="top">1:enabled, 0:disabled</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">1-2</td>
|
<td bgcolor="#ffffff" valign="top">1-2</td>
|
<td bgcolor="#ffffff" valign="top">Sector size</td>
|
<td bgcolor="#ffffff" valign="top">Sector size</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">3-6</td>
|
<td bgcolor="#ffffff" valign="top">3-6</td>
|
<td bgcolor="#ffffff" valign="top">Number of sectors</td>
|
<td bgcolor="#ffffff" valign="top">Number of sectors</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">7</td>
|
<td bgcolor="#ffffff" valign="top">7</td>
|
<td bgcolor="#ffffff" valign="top">Error code</td>
|
<td bgcolor="#ffffff" valign="top">Error code</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x41</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x41</td>
|
<td bgcolor="#ffffff" valign="top">Read one sector from Flash</td>
|
<td bgcolor="#ffffff" valign="top">Read one sector from Flash</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VC 0x42</td>
|
<td bgcolor="#ffffff" valign="top">VC 0x42</td>
|
<td bgcolor="#ffffff" valign="top">Write one sector to Flash</td>
|
<td bgcolor="#ffffff" valign="top">Write one sector to Flash</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0.3</td>
|
<td bgcolor="#ffffff" valign="top">0.3</td>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
Debug helper support<p>
|
Debug helper support<p>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x28</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x28</td>
|
<td bgcolor="#ffffff" valign="top">Get debug data. Returns:
|
<td bgcolor="#ffffff" valign="top">Get debug data. Returns:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0-1</td>
|
<td bgcolor="#ffffff" valign="top">0-1</td>
|
<td bgcolor="#ffffff" valign="top">Number of the last message</td>
|
<td bgcolor="#ffffff" valign="top">Number of the last message</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">2</td>
|
<td bgcolor="#ffffff" valign="top">2</td>
|
<td bgcolor="#ffffff" valign="top">Stack size in messages</td>
|
<td bgcolor="#ffffff" valign="top">Stack size in messages</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">3</td>
|
<td bgcolor="#ffffff" valign="top">3</td>
|
<td bgcolor="#ffffff" valign="top">Message size in bytes</td>
|
<td bgcolor="#ffffff" valign="top">Message size in bytes</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">≥4</td>
|
<td bgcolor="#ffffff" valign="top">≥4</td>
|
<td bgcolor="#ffffff" valign="top">Message stack</td>
|
<td bgcolor="#ffffff" valign="top">Message stack</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0.4</td>
|
<td bgcolor="#ffffff" valign="top">0.4</td>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
XMEGA support<p>
|
XMEGA support<p>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x48</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x48</td>
|
<td bgcolor="#ffffff" valign="top">Read XMEGA status information. Returns:
|
<td bgcolor="#ffffff" valign="top">Read XMEGA status information. Returns:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">Error code</td>
|
<td bgcolor="#ffffff" valign="top">Error code</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">1-2</td>
|
<td bgcolor="#ffffff" valign="top">1-2</td>
|
<td bgcolor="#ffffff" valign="top">Flash size in pages</td>
|
<td bgcolor="#ffffff" valign="top">Flash size in pages</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">3-4</td>
|
<td bgcolor="#ffffff" valign="top">3-4</td>
|
<td bgcolor="#ffffff" valign="top">EEPROM sie in pages</td>
|
<td bgcolor="#ffffff" valign="top">EEPROM sie in pages</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">5</td>
|
<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>
|
<td bgcolor="#ffffff" valign="top">Flash page size as power of two (e.g. 9 means 512 bytes)</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">6</td>
|
<td bgcolor="#ffffff" valign="top">6</td>
|
<td bgcolor="#ffffff" valign="top">EEPROM page size as power of two</td>
|
<td bgcolor="#ffffff" valign="top">EEPROM page size as power of two</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VC 0x49</td>
|
<td bgcolor="#ffffff" valign="top">VC 0x49</td>
|
<td bgcolor="#ffffff" valign="top">Reset XMEGA</td>
|
<td bgcolor="#ffffff" valign="top">Reset XMEGA</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VRs 0x4A, 0x4B, 0x4C, 0x4D</td>
|
<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>
|
<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>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VCs 0x4B, 0x4C</td>
|
<td bgcolor="#ffffff" valign="top">VCs 0x4B, 0x4C</td>
|
<td bgcolor="#ffffff" valign="top">Write exactly one Flash / EEPROM page</td>
|
<td bgcolor="#ffffff" valign="top">Write exactly one Flash / EEPROM page</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VCs 0x4D</td>
|
<td bgcolor="#ffffff" valign="top">VCs 0x4D</td>
|
<td bgcolor="#ffffff" valign="top">Write Fuse</td>
|
<td bgcolor="#ffffff" valign="top">Write Fuse</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0.5</td>
|
<td bgcolor="#ffffff" valign="top">0.5</td>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
High speed FPGA configuration support<p>
|
High speed FPGA configuration support<p>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x33</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x33</td>
|
<td bgcolor="#ffffff" valign="top">Read Endpoint settings. Returns:
|
<td bgcolor="#ffffff" valign="top">Read Endpoint settings. Returns:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">Endpoint number</td>
|
<td bgcolor="#ffffff" valign="top">Endpoint number</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">1</td>
|
<td bgcolor="#ffffff" valign="top">1</td>
|
<td bgcolor="#ffffff" valign="top">Interface number</td>
|
<td bgcolor="#ffffff" valign="top">Interface number</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x34</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x34</td>
|
<td bgcolor="#ffffff" valign="top">Start FPGA configuration</td>
|
<td bgcolor="#ffffff" valign="top">Start FPGA configuration</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VC 0x35</td>
|
<td bgcolor="#ffffff" valign="top">VC 0x35</td>
|
<td bgcolor="#ffffff" valign="top">Finish FPGA configuration</td>
|
<td bgcolor="#ffffff" valign="top">Finish FPGA configuration</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0.6</td>
|
<td bgcolor="#ffffff" valign="top">0.6</td>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
MAC EEPROM support<p>
|
MAC EEPROM support<p>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x3B</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x3B</td>
|
<td bgcolor="#ffffff" valign="top">Read from MAC EEPROM</td>
|
<td bgcolor="#ffffff" valign="top">Read from MAC EEPROM</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VC 0x3C</td>
|
<td bgcolor="#ffffff" valign="top">VC 0x3C</td>
|
<td bgcolor="#ffffff" valign="top">Write to MAC EEPROM</td>
|
<td bgcolor="#ffffff" valign="top">Write to MAC EEPROM</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">VR 0x3D</td>
|
<td bgcolor="#ffffff" valign="top">VR 0x3D</td>
|
<td bgcolor="#ffffff" valign="top">Get MAC EEPROM state. Returns:
|
<td bgcolor="#ffffff" valign="top">Get MAC EEPROM state. Returns:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">0</td>
|
<td bgcolor="#ffffff" valign="top">0:idle, 1:busy or error</td>
|
<td bgcolor="#ffffff" valign="top">0:idle, 1:busy or error</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
</td>
|
</td>
|
</tr>
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">0.7</td>
|
|
<td bgcolor="#ffffff" valign="top" colspan=2>
|
|
Multi-FPGA support<p>
|
|
<table bgcolor="#404040" cellspacing=1 cellpadding=6>
|
|
<tr>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">VR 0x50</td>
|
|
<td bgcolor="#ffffff" valign="top">Return multi-FPGA information:
|
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
|
<tr>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">0</td>
|
|
<td bgcolor="#ffffff" valign="top">Number of FPGA's - 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">1</td>
|
|
<td bgcolor="#ffffff" valign="top">Selected FPGA - 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">2</td>
|
|
<td bgcolor="#ffffff" valign="top">Parallel configuration support (0:no, 1:yes)</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">VC 0x51</td>
|
|
<td bgcolor="#ffffff" valign="top">Parameters:
|
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
|
<tr>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Parameter</b></td>
|
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">index</td>
|
|
<td bgcolor="#ffffff" valign="top">Select command<br> 0: Select single FPGA <br> 1: Select all FPGA's for configuration</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#ffffff" valign="top">value</td>
|
|
<td bgcolor="#ffffff" valign="top">FPGA to select - 1</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
</table>
|
</table>
|
<P>
|
<P>
|
|
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>,
|
<DT><B>See Also:</B><DD><A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>,
|
<A HREF="../ztex/Ztex1.html" title="class in ztex"><CODE>Ztex1</CODE></A></DL>
|
<A HREF="../ztex/Ztex1.html" title="class in ztex"><CODE>Ztex1</CODE></A></DL>
|
<HR>
|
<HR>
|
|
|
<P>
|
<P>
|
<!-- =========== FIELD SUMMARY =========== -->
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
<A NAME="field_summary"><!-- --></A>
|
<A NAME="field_summary"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<B>Field Summary</B></FONT></TH>
|
<B>Field Summary</B></FONT></TH>
|
</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_DEBUG">CAPABILITY_DEBUG</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_DEBUG">CAPABILITY_DEBUG</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Capability index for DEBUG helper support.</TD>
|
Capability index for DEBUG helper 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_EEPROM">CAPABILITY_EEPROM</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_EEPROM">CAPABILITY_EEPROM</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Capability index for EEPROM support.</TD>
|
Capability index for EEPROM 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_FLASH">CAPABILITY_FLASH</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_FLASH">CAPABILITY_FLASH</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Capability index for FLASH memory support.</TD>
|
Capability index for FLASH memory 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_FPGA">CAPABILITY_FPGA</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_FPGA">CAPABILITY_FPGA</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
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>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_HS_FPGA">CAPABILITY_HS_FPGA</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Capability index for AVR XMEGA support.</TD>
|
Capability index for AVR XMEGA 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_MAC_EEPROM">CAPABILITY_MAC_EEPROM</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_MAC_EEPROM">CAPABILITY_MAC_EEPROM</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Capability index for AVR XMEGA support.</TD>
|
Capability index for AVR XMEGA 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_MULTI_FPGA">CAPABILITY_MULTI_FPGA</A></B></CODE>
|
|
|
|
<BR>
|
|
Capability index for multi FPGA support</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_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>
|
<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 java.lang.String[]</CODE></FONT></TD>
|
<CODE>static java.lang.String[]</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#capabilityStrings">capabilityStrings</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#capabilityStrings">capabilityStrings</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
The names of the capabilities</TD>
|
The names of the capabilities</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#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 contains 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>
|
|
|
<BR>
|
<BR>
|
Number of bytes written to EEPROM.</TD>
|
Number of bytes written to 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> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromChecksum">eepromChecksum</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromChecksum">eepromChecksum</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Checksum of the last EEPROM transfer.</TD>
|
Checksum of the last EEPROM transfer.</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> boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#enableExtraFpgaConfigurationChecks">enableExtraFpgaConfigurationChecks</A></B></CODE>
|
|
|
|
<BR>
|
|
Enables extra FPGA configuration checks.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_BUSY">FLASH_EC_BUSY</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_BUSY">FLASH_EC_BUSY</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals that Flash memory it busy.</TD>
|
Signals that Flash memory it busy.</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_CMD_ERROR">FLASH_EC_CMD_ERROR</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_CMD_ERROR">FLASH_EC_CMD_ERROR</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals an error while attempting to execute a command.</TD>
|
Signals an error while attempting to execute a command.</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_NO_ERROR">FLASH_EC_NO_ERROR</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_NO_ERROR">FLASH_EC_NO_ERROR</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Means no error.</TD>
|
Means no error.</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_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 memory 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>
|
|
|
<BR>
|
<BR>
|
Signals that another Flash operation is pending.</TD>
|
Signals that another Flash operation is pending.</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_READ_ERROR">FLASH_EC_READ_ERROR</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_READ_ERROR">FLASH_EC_READ_ERROR</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals an error while attempting to read from Flash.</TD>
|
Signals an error while attempting to read from 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>static int</CODE></FONT></TD>
|
<CODE>static int</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_TIMEOUT">FLASH_EC_TIMEOUT</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_TIMEOUT">FLASH_EC_TIMEOUT</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals that a timeout occurred.</TD>
|
Signals that a timeout occurred.</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_WRITE_ERROR">FLASH_EC_WRITE_ERROR</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#FLASH_EC_WRITE_ERROR">FLASH_EC_WRITE_ERROR</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals an error while attempting to write to Flash.</TD>
|
Signals an error while attempting to write to 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> int</CODE></FONT></TD>
|
<CODE> int</CODE></FONT></TD>
|
<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">
|
<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#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals an address error (invalid address or wrong page size).</TD>
|
Signals an address error (invalid address or wrong page size).</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#XMEGA_EC_INVALID_DEVICE">XMEGA_EC_INVALID_DEVICE</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_INVALID_DEVICE">XMEGA_EC_INVALID_DEVICE</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals that the ATxmega controller is not supported.</TD>
|
Signals that the ATxmega controller 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#XMEGA_EC_NO_ERROR">XMEGA_EC_NO_ERROR</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NO_ERROR">XMEGA_EC_NO_ERROR</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Means no error.</TD>
|
Means no error.</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#XMEGA_EC_NVM_BUSY">XMEGA_EC_NVM_BUSY</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NVM_BUSY">XMEGA_EC_NVM_BUSY</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals that the NVM is busy.</TD>
|
Signals that the NVM is busy.</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#XMEGA_EC_NVM_TIMEOUT">XMEGA_EC_NVM_TIMEOUT</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_NVM_TIMEOUT">XMEGA_EC_NVM_TIMEOUT</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals that an NVM timeout occurred.</TD>
|
Signals that an NVM timeout occurred.</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#XMEGA_EC_PDI_READ_ERROR">XMEGA_EC_PDI_READ_ERROR</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_PDI_READ_ERROR">XMEGA_EC_PDI_READ_ERROR</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Signals a PDI read error.</TD>
|
Signals a PDI read error.</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#xmegaEC">xmegaEC</A></B></CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEC">xmegaEC</A></B></CODE>
|
|
|
<BR>
|
<BR>
|
Last ATxmega error code obtained by <A HREF="../ztex/Ztex1v1.html#xmegaState()"><CODE>xmegaState()</CODE></A>.</TD>
|
Last ATxmega error code obtained by <A HREF="../ztex/Ztex1v1.html#xmegaState()"><CODE>xmegaState()</CODE></A>.</TD>
|
</TR>
|
</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>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE><A HREF="../ztex/Ztex1.html#certainWorkarounds">certainWorkarounds</A>, <A HREF="../ztex/Ztex1.html#controlMsgTimeout">controlMsgTimeout</A></CODE></TD>
|
<TD><CODE><A HREF="../ztex/Ztex1.html#certainWorkarounds">certainWorkarounds</A>, <A HREF="../ztex/Ztex1.html#controlMsgTimeout">controlMsgTimeout</A></CODE></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
<A NAME="constructor_summary"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<B>Constructor Summary</B></FONT></TH>
|
<B>Constructor Summary</B></FONT></TH>
|
</TR>
|
</TR>
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#Ztex1v1(ztex.ZtexDevice1)">Ztex1v1</A></B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#Ztex1v1(ztex.ZtexDevice1)">Ztex1v1</A></B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)</CODE>
|
|
|
<BR>
|
<BR>
|
Constructs an instance from a given device.</TD>
|
Constructs an instance from a given device.</TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
<A NAME="method_summary"><!-- --></A>
|
<A NAME="method_summary"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
<B>Method Summary</B></FONT></TH>
|
<B>Method Summary</B></FONT></TH>
|
</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> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#capabilityInfo(java.lang.String)">capabilityInfo</A></B>(java.lang.String pf)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#capabilityInfo(java.lang.String)">capabilityInfo</A></B>(java.lang.String pf)</CODE>
|
|
|
<BR>
|
<BR>
|
Creates a String with capability information.</TD>
|
Creates a String with capability information.</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#checkCapability(int)">checkCapability</A></B>(int i)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkCapability(int)">checkCapability</A></B>(int i)</CODE>
|
|
|
<BR>
|
<BR>
|
Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported.</TD>
|
Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are 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> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkCapability(int, int)">checkCapability</A></B>(int i,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkCapability(int, int)">checkCapability</A></B>(int i,
|
int j)</CODE>
|
int j)</CODE>
|
|
|
<BR>
|
<BR>
|
Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported.</TD>
|
Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are 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> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkCompatible(int, int, int, int)">checkCompatible</A></B>(int productId0,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkCompatible(int, int, int, int)">checkCompatible</A></B>(int productId0,
|
int productId1,
|
int productId1,
|
int productId2,
|
int productId2,
|
int productId3)</CODE>
|
int productId3)</CODE>
|
|
|
<BR>
|
<BR>
|
Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.</TD>
|
Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is 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> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkValid()">checkValid</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#checkValid()">checkValid</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Checks whether ZTEX descriptor 1 is available and interface 1 is supported.</TD>
|
Checks whether ZTEX descriptor 1 is available and interface 1 is 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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#compatible(int, int, int, int)">compatible</A></B>(int productId0,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#compatible(int, int, int, int)">compatible</A></B>(int productId0,
|
int productId1,
|
int productId1,
|
int productId2,
|
int productId2,
|
int productId3)</CODE>
|
int productId3)</CODE>
|
|
|
<BR>
|
<BR>
|
Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.</TD>
|
Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is 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> 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 using high speed mode (if available) or low speed mode.</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 using high speed mode (if available) or low speed mode.</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#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String fwFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
int bs)</CODE>
|
int bs)</CODE>
|
|
|
<BR>
|
<BR>
|
Upload a Bitstream to the FPGA using high speed mode.</TD>
|
Upload a Bitstream to the FPGA using high 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#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String fwFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String fwFileName,
|
boolean force,
|
boolean force,
|
int bs)</CODE>
|
int bs)</CODE>
|
|
|
<BR>
|
<BR>
|
Upload a Bitstream to the FPGA using low speed mode.</TD>
|
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>
|
|
|
<BR>
|
<BR>
|
Returns the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A></TD>
|
Returns the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A></TD>
|
</TR>
|
</TR>
|
<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#debugMsgSize()">debugMsgSize</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugMsgSize()">debugMsgSize</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the size of messages in bytes.</TD>
|
Returns the size of messages in bytes.</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#debugReadMessages(boolean, byte[])">debugReadMessages</A></B>(boolean all,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])">debugReadMessages</A></B>(boolean all,
|
byte[] buf)</CODE>
|
byte[] buf)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads debug messages from message stack.</TD>
|
Reads debug messages from message stack.</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#debugStackSize()">debugStackSize</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugStackSize()">debugStackSize</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the size of message stack in messages.</TD>
|
Returns the size of message stack in 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> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromDisable()">eepromDisable</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromDisable()">eepromDisable</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Disables the firmware stored in the EEPROM.</TD>
|
Disables the firmware stored in 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> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromRead(int, byte[], int)">eepromRead</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromRead(int, byte[], int)">eepromRead</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads data from the EEPROM.</TD>
|
Reads data from 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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromState()">eepromState</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromState()">eepromState</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Reads the current EEPROM status.</TD>
|
Reads the current EEPROM 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> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromUpload(java.lang.String, boolean)">eepromUpload</A></B>(java.lang.String ihxFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#eepromUpload(java.lang.String, boolean)">eepromUpload</A></B>(java.lang.String ihxFileName,
|
boolean force)</CODE>
|
boolean force)</CODE>
|
|
|
<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>
|
<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,
|
<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>
|
boolean force)</CODE>
|
|
|
<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> 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>
|
|
|
<BR>
|
<BR>
|
Writes data to the EEPROM.</TD>
|
Writes data 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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashEnabled()">flashEnabled</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashEnabled()">flashEnabled</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns true if Flash memory is installed.</TD>
|
Returns true if Flash memory is installed.</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#flashFirstFreeSector()">flashFirstFreeSector</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashFirstFreeSector()">flashFirstFreeSector</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the first free sector of the Flash memory.</TD>
|
Returns the first free sector of the Flash memory.</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, byte[])">flashReadSector</A></B>(int sector,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, byte[])">flashReadSector</A></B>(int sector,
|
byte[] buf)</CODE>
|
byte[] buf)</CODE>
|
|
|
<BR>
|
<BR>
|
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,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, int, byte[])">flashReadSector</A></B>(int sector,
|
int num,
|
int num,
|
byte[] buf)</CODE>
|
byte[] buf)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads a integer number of sectors from the Flash.</TD>
|
Reads a integer number of sectors 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#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>
|
<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#flashSectors()">flashSectors</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashSectors()">flashSectors</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the number of sectors of the Flash memory or 0, if no Flash memory is installed.</TD>
|
Returns the number of sectors of the Flash memory or 0, if no Flash memory is installed.</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#flashSectorSize()">flashSectorSize</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashSectorSize()">flashSectorSize</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the sector size of the Flash memory or 0, if no flash memory is installed.</TD>
|
Returns the sector size of the Flash memory or 0, if no flash memory is installed.</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#flashSize()">flashSize</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashSize()">flashSize</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the size of Flash memory or 0, if no Flash memory is installed.</TD>
|
Returns the size of Flash memory or 0, if no Flash memory is installed.</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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashState()">flashState</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashState()">flashState</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Reads the the Flash memory status and information.</TD>
|
Reads the the Flash memory status and information.</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> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashStrError()">flashStrError</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashStrError()">flashStrError</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Gets the last Flash error from the device.</TD>
|
Gets the last Flash error from the device.</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 java.lang.String</CODE></FONT></TD>
|
<CODE>static java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashStrError(int)">flashStrError</A></B>(int errNum)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashStrError(int)">flashStrError</A></B>(int errNum)</CODE>
|
|
|
<BR>
|
<BR>
|
Converts a given error code into a String.</TD>
|
Converts a given error code into a String.</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#flashUploadBitstream(java.lang.String)">flashUploadBitstream</A></B>(java.lang.String fwFileName)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)">flashUploadBitstream</A></B>(java.lang.String fwFileName)</CODE>
|
|
|
<BR>
|
<BR>
|
Uploads a Bitstream to the Flash.</TD>
|
Uploads a Bitstream 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> long</CODE></FONT></TD>
|
<CODE> long</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)">flashUploadBitstream</A></B>(java.lang.String fwFileName,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)">flashUploadBitstream</A></B>(java.lang.String fwFileName,
|
int bs)</CODE>
|
int bs)</CODE>
|
|
|
<BR>
|
<BR>
|
Uploads a Bitstream to the Flash.</TD>
|
Uploads a Bitstream 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>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashWriteSector(int, byte[])">flashWriteSector</A></B>(int sector,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashWriteSector(int, byte[])">flashWriteSector</A></B>(int sector,
|
byte[] buf)</CODE>
|
byte[] buf)</CODE>
|
|
|
<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>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashWriteSector(int, int, byte[])">flashWriteSector</A></B>(int sector,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashWriteSector(int, int, byte[])">flashWriteSector</A></B>(int sector,
|
int num,
|
int num,
|
byte[] buf)</CODE>
|
byte[] buf)</CODE>
|
|
|
<BR>
|
<BR>
|
Writes a integer number of sectors to the Flash.</TD>
|
Writes a integer number of sectors 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> 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>
|
</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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFpgaConfiguration()">getFpgaConfiguration</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFpgaConfiguration()">getFpgaConfiguration</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns true if the FPGA is configured.</TD>
|
Returns true if the FPGA is configured.</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> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFpgaConfigurationStr()">getFpgaConfigurationStr</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#getFpgaConfigurationStr()">getFpgaConfigurationStr</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
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,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromRead(int, byte[], int)">macEepromRead</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads data from the MAC EEPROM.</TD>
|
Reads data from the MAC 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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromState()">macEepromState</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromState()">macEepromState</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Reads the current MAC EEPROM status.</TD>
|
Reads the current MAC EEPROM 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#macEepromWrite(int, byte[], int)">macEepromWrite</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromWrite(int, byte[], int)">macEepromWrite</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Writes data to the MAC EEPROM.</TD>
|
Writes data to the MAC 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> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macRead(byte[])">macRead</A></B>(byte[] buf)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macRead(byte[])">macRead</A></B>(byte[] buf)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads MAC address from MAC EEPROM.</TD>
|
Reads MAC address from MAC 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> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#numberOfFpgas()">numberOfFpgas</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns the number of FPGA's</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> void</CODE></FONT></TD>
|
<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>
|
<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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printMmcState()">printMmcState</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printMmcState()">printMmcState</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Prints out some debug information about *SD/MMC Flash cards in SPI mode.</TD>
|
Prints out some debug information about *SD/MMC Flash cards in SPI 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> void</CODE></FONT></TD>
|
<CODE> void</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#resetFpga()">resetFpga</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#resetFpga()">resetFpga</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Resets the FPGA.</TD>
|
Resets the FPGA.</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#selectFpga(int)">selectFpga</A></B>(int num)</CODE>
|
|
|
|
<BR>
|
|
Select a FPGA</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns a lot of useful information about the corresponding device.</TD>
|
Returns a lot of useful information about the corresponding device.</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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#valid()">valid</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#valid()">valid</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns true if ZTEX interface 1 is available.</TD>
|
Returns true if ZTEX interface 1 is available.</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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#valid(int, int)">valid</A></B>(int i,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#valid(int, int)">valid</A></B>(int i,
|
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>
|
<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#xmegaEepromPages()">xmegaEepromPages</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPages()">xmegaEepromPages</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the number of the ATxmega EEPROM pages.</TD>
|
Returns the number of the ATxmega EEPROM pages.</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#xmegaEepromPageSize()">xmegaEepromPageSize</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPageSize()">xmegaEepromPageSize</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the size of the ATXmega EEPROM pages.</TD>
|
Returns the size of the ATXmega EEPROM pages.</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#xmegaEepromPageWrite(int, byte[])">xmegaEepromPageWrite</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromPageWrite(int, byte[])">xmegaEepromPageWrite</A></B>(int addr,
|
byte[] buf)</CODE>
|
byte[] buf)</CODE>
|
|
|
<BR>
|
<BR>
|
Writes data to EEPROM memory of ATxmega.</TD>
|
Writes data to EEPROM memory of ATxmega.</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#xmegaEepromRead(int, byte[], int)">xmegaEepromRead</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEepromRead(int, byte[], int)">xmegaEepromRead</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads data from EEPROM memory of ATxmega.</TD>
|
Reads data from EEPROM memory of ATxmega.</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> boolean</CODE></FONT></TD>
|
<CODE> boolean</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEnabled()">xmegaEnabled</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaEnabled()">xmegaEnabled</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns true if ATxmega controller is available.</TD>
|
Returns true if ATxmega controller is available.</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#xmegaFlashPages()">xmegaFlashPages</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPages()">xmegaFlashPages</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the number of the ATxmega Flash pages.</TD>
|
Returns the number of the ATxmega Flash pages.</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#xmegaFlashPageSize()">xmegaFlashPageSize</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPageSize()">xmegaFlashPageSize</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Returns the size of the ATxmega Flash pages.</TD>
|
Returns the size of the ATxmega Flash pages.</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#xmegaFlashPageWrite(int, byte[])">xmegaFlashPageWrite</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashPageWrite(int, byte[])">xmegaFlashPageWrite</A></B>(int addr,
|
byte[] buf)</CODE>
|
byte[] buf)</CODE>
|
|
|
<BR>
|
<BR>
|
Writes data to Flash memory of ATxmega.</TD>
|
Writes data to Flash memory of ATxmega.</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#xmegaFlashRead(int, byte[], int)">xmegaFlashRead</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFlashRead(int, byte[], int)">xmegaFlashRead</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads data from Flash memory of ATxmega.</TD>
|
Reads data from Flash memory of ATxmega.</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#xmegaFuseRead(int)">xmegaFuseRead</A></B>(int addr)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseRead(int)">xmegaFuseRead</A></B>(int addr)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads data one Fuse of ATxmega.</TD>
|
Reads data one Fuse of ATxmega.</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#xmegaFuseRead(int, byte[], int)">xmegaFuseRead</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseRead(int, byte[], int)">xmegaFuseRead</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads data from Fuse memory of ATxmega.</TD>
|
Reads data from Fuse memory of ATxmega.</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#xmegaFuseWrite(int, int)">xmegaFuseWrite</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaFuseWrite(int, int)">xmegaFuseWrite</A></B>(int addr,
|
int val)</CODE>
|
int val)</CODE>
|
|
|
<BR>
|
<BR>
|
Writes one Fuse of the ATxmega.</TD>
|
Writes one Fuse of the ATxmega.</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#xmegaNvmRead(int, byte[], int)">xmegaNvmRead</A></B>(int addr,
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaNvmRead(int, byte[], int)">xmegaNvmRead</A></B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)</CODE>
|
int length)</CODE>
|
|
|
<BR>
|
<BR>
|
Reads data from the NVM of ATxmega.</TD>
|
Reads data from the NVM of ATxmega.</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#xmegaReset()">xmegaReset</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaReset()">xmegaReset</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Resets the ATxmega.</TD>
|
Resets the ATxmega.</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#xmegaState()">xmegaState</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaState()">xmegaState</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Read ATxmega error and status information from the device.</TD>
|
Read ATxmega error and status information from the device.</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> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError()">xmegaStrError</A></B>()</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError()">xmegaStrError</A></B>()</CODE>
|
|
|
<BR>
|
<BR>
|
Gets the last ATxmega error from the device.</TD>
|
Gets the last ATxmega error from the device.</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> java.lang.String</CODE></FONT></TD>
|
<CODE> java.lang.String</CODE></FONT></TD>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError(int)">xmegaStrError</A></B>(int errNum)</CODE>
|
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#xmegaStrError(int)">xmegaStrError</A></B>(int errNum)</CODE>
|
|
|
<BR>
|
<BR>
|
Converts a given error code into a String.</TD>
|
Converts a given error code into a String.</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#xmegaWriteEeprom(ztex.IhxFile)">xmegaWriteEeprom</A></B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)</CODE>
|
<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>
|
<BR>
|
Uploads data to the EEPROM memory</TD>
|
Uploads data to the EEPROM memory</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#xmegaWriteFirmware(ztex.IhxFile)">xmegaWriteFirmware</A></B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)</CODE>
|
<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>
|
<BR>
|
Uploads firmware to the flash memory</TD>
|
Uploads firmware to the flash memory</TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="methods_inherited_from_class_ztex.Ztex1"><!-- --></A>
|
<A NAME="methods_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>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
|
<TH ALIGN="left"><B>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH>
|
</TR>
|
</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#getInterfaceClaimed(int)">getInterfaceClaimed</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD>
|
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#getInterfaceClaimed(int)">getInterfaceClaimed</A>, <A HREF="../ztex/Ztex1.html#handle()">handle</A>, <A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A>, <A HREF="../ztex/Ztex1.html#resetEzUsb()">resetEzUsb</A>, <A HREF="../ztex/Ztex1.html#setConfiguration(int)">setConfiguration</A>, <A HREF="../ztex/Ztex1.html#trySetConfiguration(int)">trySetConfiguration</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.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>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></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>Methods inherited from class java.lang.Object</B></TH>
|
<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><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<P>
|
<P>
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
<A NAME="field_detail"><!-- --></A>
|
<A NAME="field_detail"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<B>Field Detail</B></FONT></TH>
|
<B>Field Detail</B></FONT></TH>
|
</TR>
|
</TR>
|
</TABLE>
|
</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>
|
<DL>
|
<DL>
|
<DD>Capability index for EEPROM support.
|
<DD>Capability index for EEPROM support.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_EEPROM">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_EEPROM">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="CAPABILITY_FPGA"><!-- --></A><H3>
|
<A NAME="CAPABILITY_FPGA"><!-- --></A><H3>
|
CAPABILITY_FPGA</H3>
|
CAPABILITY_FPGA</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>CAPABILITY_FPGA</B></PRE>
|
public static final int <B>CAPABILITY_FPGA</B></PRE>
|
<DL>
|
<DL>
|
<DD>Capability index for FPGA configuration support.
|
<DD>Capability index for FPGA configuration support.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_FPGA">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_FPGA">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="CAPABILITY_FLASH"><!-- --></A><H3>
|
<A NAME="CAPABILITY_FLASH"><!-- --></A><H3>
|
CAPABILITY_FLASH</H3>
|
CAPABILITY_FLASH</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>CAPABILITY_FLASH</B></PRE>
|
public static final int <B>CAPABILITY_FLASH</B></PRE>
|
<DL>
|
<DL>
|
<DD>Capability index for FLASH memory support.
|
<DD>Capability index for FLASH memory support.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_FLASH">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_FLASH">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="CAPABILITY_DEBUG"><!-- --></A><H3>
|
<A NAME="CAPABILITY_DEBUG"><!-- --></A><H3>
|
CAPABILITY_DEBUG</H3>
|
CAPABILITY_DEBUG</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>CAPABILITY_DEBUG</B></PRE>
|
public static final int <B>CAPABILITY_DEBUG</B></PRE>
|
<DL>
|
<DL>
|
<DD>Capability index for DEBUG helper support.
|
<DD>Capability index for DEBUG helper support.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_DEBUG">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_DEBUG">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="CAPABILITY_XMEGA"><!-- --></A><H3>
|
<A NAME="CAPABILITY_XMEGA"><!-- --></A><H3>
|
CAPABILITY_XMEGA</H3>
|
CAPABILITY_XMEGA</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>CAPABILITY_XMEGA</B></PRE>
|
public static final int <B>CAPABILITY_XMEGA</B></PRE>
|
<DL>
|
<DL>
|
<DD>Capability index for AVR XMEGA support.
|
<DD>Capability index for AVR XMEGA support.
|
<P>
|
<P>
|
<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>
|
<A NAME="CAPABILITY_HS_FPGA"><!-- --></A><H3>
|
CAPABILITY_HS_FPGA</H3>
|
CAPABILITY_HS_FPGA</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>CAPABILITY_HS_FPGA</B></PRE>
|
public static final int <B>CAPABILITY_HS_FPGA</B></PRE>
|
<DL>
|
<DL>
|
<DD>Capability index for AVR XMEGA support.
|
<DD>Capability index for AVR XMEGA support.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_HS_FPGA">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_HS_FPGA">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="CAPABILITY_MAC_EEPROM"><!-- --></A><H3>
|
<A NAME="CAPABILITY_MAC_EEPROM"><!-- --></A><H3>
|
CAPABILITY_MAC_EEPROM</H3>
|
CAPABILITY_MAC_EEPROM</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>CAPABILITY_MAC_EEPROM</B></PRE>
|
public static final int <B>CAPABILITY_MAC_EEPROM</B></PRE>
|
<DL>
|
<DL>
|
<DD>Capability index for AVR XMEGA support.
|
<DD>Capability index for AVR XMEGA support.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MAC_EEPROM">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MAC_EEPROM">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="CAPABILITY_MULTI_FPGA"><!-- --></A><H3>
|
|
CAPABILITY_MULTI_FPGA</H3>
|
|
<PRE>
|
|
public static final int <B>CAPABILITY_MULTI_FPGA</B></PRE>
|
|
<DL>
|
|
<DD>Capability index for multi FPGA support
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_MULTI_FPGA">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="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>
|
<DD>The names of the capabilities
|
<DD>The names of the capabilities
|
<P>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
|
<A NAME="enableExtraFpgaConfigurationChecks"><!-- --></A><H3>
|
|
enableExtraFpgaConfigurationChecks</H3>
|
|
<PRE>
|
|
public boolean <B>enableExtraFpgaConfigurationChecks</B></PRE>
|
|
<DL>
|
|
<DD>Enables extra FPGA configuration checks. Certain Bistream settings may cause false warnings.
|
|
<P>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
<A NAME="eepromBytes"><!-- --></A><H3>
|
<A NAME="eepromBytes"><!-- --></A><H3>
|
eepromBytes</H3>
|
eepromBytes</H3>
|
<PRE>
|
<PRE>
|
public int <B>eepromBytes</B></PRE>
|
public int <B>eepromBytes</B></PRE>
|
<DL>
|
<DL>
|
<DD>Number of bytes written to EEPROM. (Obtained by <A HREF="../ztex/Ztex1v1.html#eepromState()"><CODE>eepromState()</CODE></A>.)
|
<DD>Number of bytes written to EEPROM. (Obtained by <A HREF="../ztex/Ztex1v1.html#eepromState()"><CODE>eepromState()</CODE></A>.)
|
<P>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="eepromChecksum"><!-- --></A><H3>
|
<A NAME="eepromChecksum"><!-- --></A><H3>
|
eepromChecksum</H3>
|
eepromChecksum</H3>
|
<PRE>
|
<PRE>
|
public int <B>eepromChecksum</B></PRE>
|
public int <B>eepromChecksum</B></PRE>
|
<DL>
|
<DL>
|
<DD>Checksum of the last EEPROM transfer. (Obtained by <A HREF="../ztex/Ztex1v1.html#eepromState()"><CODE>eepromState()</CODE></A>.)
|
<DD>Checksum of the last EEPROM transfer. (Obtained by <A HREF="../ztex/Ztex1v1.html#eepromState()"><CODE>eepromState()</CODE></A>.)
|
<P>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashEC"><!-- --></A><H3>
|
<A NAME="flashEC"><!-- --></A><H3>
|
flashEC</H3>
|
flashEC</H3>
|
<PRE>
|
<PRE>
|
public int <B>flashEC</B></PRE>
|
public int <B>flashEC</B></PRE>
|
<DL>
|
<DL>
|
<DD>Last Flash error code obtained by <A HREF="../ztex/Ztex1v1.html#flashState()"><CODE>flashState()</CODE></A>. See FLASH_EC_* for possible error codes.
|
<DD>Last Flash error code obtained by <A HREF="../ztex/Ztex1v1.html#flashState()"><CODE>flashState()</CODE></A>. See FLASH_EC_* for possible error codes.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="FLASH_EC_NO_ERROR"><!-- --></A><H3>
|
<A NAME="FLASH_EC_NO_ERROR"><!-- --></A><H3>
|
FLASH_EC_NO_ERROR</H3>
|
FLASH_EC_NO_ERROR</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>FLASH_EC_NO_ERROR</B></PRE>
|
public static final int <B>FLASH_EC_NO_ERROR</B></PRE>
|
<DL>
|
<DL>
|
<DD>Means no error.
|
<DD>Means no error.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_NO_ERROR">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_NO_ERROR">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="FLASH_EC_CMD_ERROR"><!-- --></A><H3>
|
<A NAME="FLASH_EC_CMD_ERROR"><!-- --></A><H3>
|
FLASH_EC_CMD_ERROR</H3>
|
FLASH_EC_CMD_ERROR</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>FLASH_EC_CMD_ERROR</B></PRE>
|
public static final int <B>FLASH_EC_CMD_ERROR</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals an error while attempting to execute a command.
|
<DD>Signals an error while attempting to execute a command.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_CMD_ERROR">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_CMD_ERROR">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="FLASH_EC_TIMEOUT"><!-- --></A><H3>
|
<A NAME="FLASH_EC_TIMEOUT"><!-- --></A><H3>
|
FLASH_EC_TIMEOUT</H3>
|
FLASH_EC_TIMEOUT</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>FLASH_EC_TIMEOUT</B></PRE>
|
public static final int <B>FLASH_EC_TIMEOUT</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals that a timeout occurred.
|
<DD>Signals that a timeout occurred.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_TIMEOUT">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_TIMEOUT">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="FLASH_EC_BUSY"><!-- --></A><H3>
|
<A NAME="FLASH_EC_BUSY"><!-- --></A><H3>
|
FLASH_EC_BUSY</H3>
|
FLASH_EC_BUSY</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>FLASH_EC_BUSY</B></PRE>
|
public static final int <B>FLASH_EC_BUSY</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals that Flash memory it busy.
|
<DD>Signals that Flash memory it busy.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_BUSY">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_BUSY">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="FLASH_EC_PENDING"><!-- --></A><H3>
|
<A NAME="FLASH_EC_PENDING"><!-- --></A><H3>
|
FLASH_EC_PENDING</H3>
|
FLASH_EC_PENDING</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>FLASH_EC_PENDING</B></PRE>
|
public static final int <B>FLASH_EC_PENDING</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals that another Flash operation is pending.
|
<DD>Signals that another Flash operation is pending.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_PENDING">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_PENDING">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="FLASH_EC_READ_ERROR"><!-- --></A><H3>
|
<A NAME="FLASH_EC_READ_ERROR"><!-- --></A><H3>
|
FLASH_EC_READ_ERROR</H3>
|
FLASH_EC_READ_ERROR</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>FLASH_EC_READ_ERROR</B></PRE>
|
public static final int <B>FLASH_EC_READ_ERROR</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals an error while attempting to read from Flash.
|
<DD>Signals an error while attempting to read from Flash.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_READ_ERROR">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_READ_ERROR">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="FLASH_EC_WRITE_ERROR"><!-- --></A><H3>
|
<A NAME="FLASH_EC_WRITE_ERROR"><!-- --></A><H3>
|
FLASH_EC_WRITE_ERROR</H3>
|
FLASH_EC_WRITE_ERROR</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>FLASH_EC_WRITE_ERROR</B></PRE>
|
public static final int <B>FLASH_EC_WRITE_ERROR</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals an error while attempting to write to Flash.
|
<DD>Signals an error while attempting to write to Flash.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_WRITE_ERROR">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.FLASH_EC_WRITE_ERROR">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<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 memory 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>
|
|
|
<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 contains 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>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaEC"><!-- --></A><H3>
|
<A NAME="xmegaEC"><!-- --></A><H3>
|
xmegaEC</H3>
|
xmegaEC</H3>
|
<PRE>
|
<PRE>
|
public int <B>xmegaEC</B></PRE>
|
public int <B>xmegaEC</B></PRE>
|
<DL>
|
<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.
|
<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>
|
<P>
|
<DL>
|
<DL>
|
</DL>
|
</DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="XMEGA_EC_NO_ERROR"><!-- --></A><H3>
|
<A NAME="XMEGA_EC_NO_ERROR"><!-- --></A><H3>
|
XMEGA_EC_NO_ERROR</H3>
|
XMEGA_EC_NO_ERROR</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>XMEGA_EC_NO_ERROR</B></PRE>
|
public static final int <B>XMEGA_EC_NO_ERROR</B></PRE>
|
<DL>
|
<DL>
|
<DD>Means no error.
|
<DD>Means no error.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NO_ERROR">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NO_ERROR">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="XMEGA_EC_PDI_READ_ERROR"><!-- --></A><H3>
|
<A NAME="XMEGA_EC_PDI_READ_ERROR"><!-- --></A><H3>
|
XMEGA_EC_PDI_READ_ERROR</H3>
|
XMEGA_EC_PDI_READ_ERROR</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>XMEGA_EC_PDI_READ_ERROR</B></PRE>
|
public static final int <B>XMEGA_EC_PDI_READ_ERROR</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals a PDI read error.
|
<DD>Signals a PDI read error.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_PDI_READ_ERROR">Constant Field Values</A></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>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="XMEGA_EC_NVM_TIMEOUT"><!-- --></A><H3>
|
<A NAME="XMEGA_EC_NVM_TIMEOUT"><!-- --></A><H3>
|
XMEGA_EC_NVM_TIMEOUT</H3>
|
XMEGA_EC_NVM_TIMEOUT</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>XMEGA_EC_NVM_TIMEOUT</B></PRE>
|
public static final int <B>XMEGA_EC_NVM_TIMEOUT</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals that an NVM timeout occurred.
|
<DD>Signals that an NVM timeout occurred.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NVM_TIMEOUT">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NVM_TIMEOUT">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="XMEGA_EC_INVALID_DEVICE"><!-- --></A><H3>
|
<A NAME="XMEGA_EC_INVALID_DEVICE"><!-- --></A><H3>
|
XMEGA_EC_INVALID_DEVICE</H3>
|
XMEGA_EC_INVALID_DEVICE</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>XMEGA_EC_INVALID_DEVICE</B></PRE>
|
public static final int <B>XMEGA_EC_INVALID_DEVICE</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals that the ATxmega controller is not supported.
|
<DD>Signals that the ATxmega controller is not supported.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_INVALID_DEVICE">Constant Field Values</A></DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_INVALID_DEVICE">Constant Field Values</A></DL>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="XMEGA_EC_ADDRESS_ERROR"><!-- --></A><H3>
|
<A NAME="XMEGA_EC_ADDRESS_ERROR"><!-- --></A><H3>
|
XMEGA_EC_ADDRESS_ERROR</H3>
|
XMEGA_EC_ADDRESS_ERROR</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>XMEGA_EC_ADDRESS_ERROR</B></PRE>
|
public static final int <B>XMEGA_EC_ADDRESS_ERROR</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals an address error (invalid address or wrong page size).
|
<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>
|
<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>
|
<HR>
|
|
|
<A NAME="XMEGA_EC_NVM_BUSY"><!-- --></A><H3>
|
<A NAME="XMEGA_EC_NVM_BUSY"><!-- --></A><H3>
|
XMEGA_EC_NVM_BUSY</H3>
|
XMEGA_EC_NVM_BUSY</H3>
|
<PRE>
|
<PRE>
|
public static final int <B>XMEGA_EC_NVM_BUSY</B></PRE>
|
public static final int <B>XMEGA_EC_NVM_BUSY</B></PRE>
|
<DL>
|
<DL>
|
<DD>Signals that the NVM is busy.
|
<DD>Signals that the NVM is busy.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NVM_BUSY">Constant Field Values</A></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>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<B>Constructor Detail</B></FONT></TH>
|
<B>Constructor Detail</B></FONT></TH>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<A NAME="Ztex1v1(ztex.ZtexDevice1)"><!-- --></A><H3>
|
<A NAME="Ztex1v1(ztex.ZtexDevice1)"><!-- --></A><H3>
|
Ztex1v1</H3>
|
Ztex1v1</H3>
|
<PRE>
|
<PRE>
|
public <B>Ztex1v1</B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)
|
public <B>Ztex1v1</B>(<A HREF="../ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> pDev)
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Constructs an instance from a given device.
|
<DD>Constructs an instance from a given device.
|
<P>
|
<P>
|
<DL>
|
<DL>
|
<DT><B>Parameters:</B><DD><CODE>pDev</CODE> - The given device.
|
<DT><B>Parameters:</B><DD><CODE>pDev</CODE> - The given device.
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL>
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL>
|
</DL>
|
</DL>
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
<A NAME="method_detail"><!-- --></A>
|
<A NAME="method_detail"><!-- --></A>
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
<B>Method Detail</B></FONT></TH>
|
<B>Method Detail</B></FONT></TH>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
|
|
<A NAME="valid()"><!-- --></A><H3>
|
<A NAME="valid()"><!-- --></A><H3>
|
valid</H3>
|
valid</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>valid</B>()</PRE>
|
public boolean <B>valid</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>Returns true if ZTEX interface 1 is available.
|
<DD>Returns true if ZTEX interface 1 is available.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#valid()">valid</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#valid()">valid</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL>
|
</DD>
|
</DD>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>true if ZTEX interface 1 is available.</DL>
|
<DT><B>Returns:</B><DD>true if ZTEX interface 1 is available.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="valid(int, int)"><!-- --></A><H3>
|
<A NAME="valid(int, int)"><!-- --></A><H3>
|
valid</H3>
|
valid</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>valid</B>(int i,
|
public boolean <B>valid</B>(int i,
|
int j)</PRE>
|
int j)</PRE>
|
<DL>
|
<DL>
|
<DD>Returns true if ZTEX interface 1 and capability i.j are available.
|
<DD>Returns true if ZTEX interface 1 and capability i.j are available.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>i</CODE> - byte index of the capability<DD><CODE>j</CODE> - bit index of the capability
|
<DT><B>Parameters:</B><DD><CODE>i</CODE> - byte index of the capability<DD><CODE>j</CODE> - bit index of the capability
|
<DT><B>Returns:</B><DD>true if ZTEX interface 1 and capability i.j are available.</DL>
|
<DT><B>Returns:</B><DD>true if ZTEX interface 1 and capability i.j are available.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="compatible(int, int, int, int)"><!-- --></A><H3>
|
<A NAME="compatible(int, int, int, int)"><!-- --></A><H3>
|
compatible</H3>
|
compatible</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>compatible</B>(int productId0,
|
public boolean <B>compatible</B>(int productId0,
|
int productId1,
|
int productId1,
|
int productId2,
|
int productId2,
|
int productId3)</PRE>
|
int productId3)</PRE>
|
<DL>
|
<DL>
|
<DD>Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.<br>
|
<DD>Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.<br>
|
The given product ID is compatible
|
The given product ID is compatible
|
<pre>if ( this.productId(0)==0 || productId0<=0 || this.productId(0)==productId0 ) &&
|
<pre>if ( this.productId(0)==0 || productId0<=0 || this.productId(0)==productId0 ) &&
|
( this.productId(0)==0 || productId1<=0 || this.productId(1)==productId1 ) &&
|
( this.productId(0)==0 || productId1<=0 || this.productId(1)==productId1 ) &&
|
( this.productId(2)==0 || productId2<=0 || this.productId(2)==productId2 ) &&
|
( this.productId(2)==0 || productId2<=0 || this.productId(2)==productId2 ) &&
|
( this.productId(3)==0 || productId3<=0 || this.productId(3)==productId3 ) </pre>
|
( this.productId(3)==0 || productId3<=0 || this.productId(3)==productId3 ) </pre>
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>productId0</CODE> - Byte 0 of the given product ID<DD><CODE>productId1</CODE> - Byte 1 of the given product ID<DD><CODE>productId2</CODE> - Byte 2 of the given product ID<DD><CODE>productId3</CODE> - Byte 3 of the given product ID
|
<DT><B>Parameters:</B><DD><CODE>productId0</CODE> - Byte 0 of the given product ID<DD><CODE>productId1</CODE> - Byte 1 of the given product ID<DD><CODE>productId2</CODE> - Byte 2 of the given product ID<DD><CODE>productId3</CODE> - Byte 3 of the given product ID
|
<DT><B>Returns:</B><DD>true if the given product ID is compatible and interface 1 is supported.</DL>
|
<DT><B>Returns:</B><DD>true if the given product ID is compatible and interface 1 is supported.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="checkValid()"><!-- --></A><H3>
|
<A NAME="checkValid()"><!-- --></A><H3>
|
checkValid</H3>
|
checkValid</H3>
|
<PRE>
|
<PRE>
|
public void <B>checkValid</B>()
|
public void <B>checkValid</B>()
|
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
|
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Checks whether ZTEX descriptor 1 is available and interface 1 is supported.
|
<DD>Checks whether ZTEX descriptor 1 is available and interface 1 is supported.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#checkValid()">checkValid</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#checkValid()">checkValid</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL>
|
</DD>
|
</DD>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported.</DL>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="checkCapability(int, int)"><!-- --></A><H3>
|
<A NAME="checkCapability(int, int)"><!-- --></A><H3>
|
checkCapability</H3>
|
checkCapability</H3>
|
<PRE>
|
<PRE>
|
public void <B>checkCapability</B>(int i,
|
public void <B>checkCapability</B>(int i,
|
int j)
|
int j)
|
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
throws <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>Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported.
|
<DD>Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>i</CODE> - byte index of the capability<DD><CODE>j</CODE> - bit index of the capability
|
<DT><B>Parameters:</B><DD><CODE>i</CODE> - byte index of the capability<DD><CODE>j</CODE> - bit index of the capability
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if the given capability is not supported.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if the given capability is not supported.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="checkCapability(int)"><!-- --></A><H3>
|
<A NAME="checkCapability(int)"><!-- --></A><H3>
|
checkCapability</H3>
|
checkCapability</H3>
|
<PRE>
|
<PRE>
|
public void <B>checkCapability</B>(int i)
|
public void <B>checkCapability</B>(int i)
|
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
throws <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>Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported.
|
<DD>Checks whether ZTEX descriptor 1 is available and interface 1 and a given capability are supported.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>i</CODE> - capability index (0..47)
|
<DT><B>Parameters:</B><DD><CODE>i</CODE> - capability index (0..47)
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available or interface 1 is not supported.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if the given capability is not supported.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if the given capability is not supported.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="checkCompatible(int, int, int, int)"><!-- --></A><H3>
|
<A NAME="checkCompatible(int, int, int, int)"><!-- --></A><H3>
|
checkCompatible</H3>
|
checkCompatible</H3>
|
<PRE>
|
<PRE>
|
public void <B>checkCompatible</B>(int productId0,
|
public void <B>checkCompatible</B>(int productId0,
|
int productId1,
|
int productId1,
|
int productId2,
|
int productId2,
|
int productId3)
|
int productId3)
|
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
|
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.
|
<DD>Checks whether the given product ID is compatible to the device corresponding to this class and whether interface 1 is supported.
|
See <A HREF="../ztex/Ztex1v1.html#compatible(int, int, int, int)"><CODE>compatible(int,int,int,int)</CODE></A>.
|
See <A HREF="../ztex/Ztex1v1.html#compatible(int, int, int, int)"><CODE>compatible(int,int,int,int)</CODE></A>.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>productId0</CODE> - Byte 0 of the given product ID<DD><CODE>productId1</CODE> - Byte 1 of the given product ID<DD><CODE>productId2</CODE> - Byte 2 of the given product ID<DD><CODE>productId3</CODE> - Byte 3 of the given product ID
|
<DT><B>Parameters:</B><DD><CODE>productId0</CODE> - Byte 0 of the given product ID<DD><CODE>productId1</CODE> - Byte 1 of the given product ID<DD><CODE>productId2</CODE> - Byte 2 of the given product ID<DD><CODE>productId3</CODE> - Byte 3 of the given product ID
|
<DT><B>Throws:</B>
|
<DT><B>Throws:</B>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if the given product ID is not compatible or interface 1 is not supported.</DL>
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if the given product ID is not compatible or interface 1 is not supported.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="printFpgaState()"><!-- --></A><H3>
|
<A NAME="printFpgaState()"><!-- --></A><H3>
|
printFpgaState</H3>
|
printFpgaState</H3>
|
<PRE>
|
<PRE>
|
public void <B>printFpgaState</B>()
|
public void <B>printFpgaState</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>,
|
<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>Prints out the FPGA state.
|
<DD>Prints out the FPGA state.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<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 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="getFpgaConfiguration()"><!-- --></A><H3>
|
<A NAME="getFpgaConfiguration()"><!-- --></A><H3>
|
getFpgaConfiguration</H3>
|
getFpgaConfiguration</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>getFpgaConfiguration</B>()
|
public boolean <B>getFpgaConfiguration</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>,
|
<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>Returns true if the FPGA is configured.
|
<DD>Returns true if the FPGA is configured.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>true if the FPGA is configured.
|
<DT><B>Returns:</B><DD>true if the FPGA is configured.
|
<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 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="getFpgaConfigurationStr()"><!-- --></A><H3>
|
<A NAME="getFpgaConfigurationStr()"><!-- --></A><H3>
|
getFpgaConfigurationStr</H3>
|
getFpgaConfigurationStr</H3>
|
<PRE>
|
<PRE>
|
public java.lang.String <B>getFpgaConfigurationStr</B>()
|
public java.lang.String <B>getFpgaConfigurationStr</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>,
|
<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>Returns a string that indicates the FPGA configuration status.
|
<DD>Returns a string that indicates the FPGA configuration status.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>a string that indicates the FPGA configuration status.
|
<DT><B>Returns:</B><DD>a string that indicates the FPGA configuration status.
|
<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 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="resetFpga()"><!-- --></A><H3>
|
<A NAME="resetFpga()"><!-- --></A><H3>
|
resetFpga</H3>
|
resetFpga</H3>
|
<PRE>
|
<PRE>
|
public void <B>resetFpga</B>()
|
public void <B>resetFpga</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>,
|
<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>Resets the FPGA.
|
<DD>Resets the FPGA.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<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 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="configureFpgaLS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
<A NAME="configureFpgaLS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
configureFpgaLS</H3>
|
configureFpgaLS</H3>
|
<PRE>
|
<PRE>
|
public long <B>configureFpgaLS</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 using low speed mode.
|
<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.
|
<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/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/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/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 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="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>,
|
<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 current EEPROM status.
|
<DD>Reads the current EEPROM status.
|
This method also sets the varibles <A HREF="../ztex/Ztex1v1.html#eepromBytes"><CODE>eepromBytes</CODE></A> and <A HREF="../ztex/Ztex1v1.html#eepromChecksum"><CODE>eepromChecksum</CODE></A>.
|
This method also sets the varibles <A HREF="../ztex/Ztex1v1.html#eepromBytes"><CODE>eepromBytes</CODE></A> and <A HREF="../ztex/Ztex1v1.html#eepromChecksum"><CODE>eepromChecksum</CODE></A>.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>true if EEPROM is ready.
|
<DT><B>Returns:</B><DD>true if EEPROM is ready.
|
<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 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="eepromWrite(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="eepromWrite(int, byte[], int)"><!-- --></A><H3>
|
eepromWrite</H3>
|
eepromWrite</H3>
|
<PRE>
|
<PRE>
|
public void <B>eepromWrite</B>(int addr,
|
public void <B>eepromWrite</B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
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>Writes data to the EEPROM.
|
<DD>Writes data to the EEPROM.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The destination address of the EEPROM.<DD><CODE>buf</CODE> - The data.<DD><CODE>length</CODE> - The amount of bytes to be sent.
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The destination address of the EEPROM.<DD><CODE>buf</CODE> - The data.<DD><CODE>length</CODE> - The amount of bytes to be sent.
|
<DT><B>Throws:</B>
|
<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 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="eepromRead(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="eepromRead(int, byte[], int)"><!-- --></A><H3>
|
eepromRead</H3>
|
eepromRead</H3>
|
<PRE>
|
<PRE>
|
public void <B>eepromRead</B>(int addr,
|
public void <B>eepromRead</B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
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 data from the EEPROM.
|
<DD>Reads data from the EEPROM.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address of the EEPROM.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to be read.
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The source address of the EEPROM.<DD><CODE>buf</CODE> - A buffer for the storage of the data.<DD><CODE>length</CODE> - The amount of bytes to be read.
|
<DT><B>Throws:</B>
|
<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 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>
|
<A NAME="eepromUpload(ztex.ZtexIhxFile1, boolean)"><!-- --></A><H3>
|
eepromUpload</H3>
|
eepromUpload</H3>
|
<PRE>
|
<PRE>
|
public long <B>eepromUpload</B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile,
|
public long <B>eepromUpload</B>(<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> ihxFile,
|
boolean force)
|
boolean force)
|
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
|
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/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</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 the firmware to the EEPROM.
|
<DD>Upload the firmware to the EEPROM.
|
In order to start the uploaded firmware the device must be reset.
|
In order to start the uploaded firmware the device must be reset.
|
<P>
|
<P>
|
<DD><DL>
|
<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>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware image.<DD><CODE>force</CODE> - Skips the compatibility check if true.
|
<DT><B>Throws:</B>
|
<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/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/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/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><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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<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)
|
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>,
|
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/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</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 the firmware to the EEPROM.
|
<DD>Upload the firmware to the EEPROM.
|
In order to start the uploaded firmware the device must be reset.
|
In order to start the uploaded firmware the device must be reset.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>ihxFileName</CODE> - The file name of the firmware image in ihx format. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>force</CODE> - Skips the compatibility check if true.
|
<DT><B>Parameters:</B><DD><CODE>ihxFileName</CODE> - The file name of the firmware image in ihx format. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>force</CODE> - Skips the compatibility check if true.
|
<DT><B>Throws:</B>
|
<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/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/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/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><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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="eepromDisable()"><!-- --></A><H3>
|
<A NAME="eepromDisable()"><!-- --></A><H3>
|
eepromDisable</H3>
|
eepromDisable</H3>
|
<PRE>
|
<PRE>
|
public void <B>eepromDisable</B>()
|
public void <B>eepromDisable</B>()
|
throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>,
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
<A HREF="../ztex/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>Disables the firmware stored in the EEPROM.
|
<DD>Disables the firmware stored in the EEPROM.
|
This is achived by writing a "0" to the address 0 of the EEPROM.
|
This is achived by writing a "0" to the address 0 of the EEPROM.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<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/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if EEPROM access is not supported by the firmware.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if EEPROM access is not supported by the firmware.
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if an error occurred while attempting to disable the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if an error occurred while attempting to disable the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashStrError(int)"><!-- --></A><H3>
|
<A NAME="flashStrError(int)"><!-- --></A><H3>
|
flashStrError</H3>
|
flashStrError</H3>
|
<PRE>
|
<PRE>
|
public static java.lang.String <B>flashStrError</B>(int errNum)</PRE>
|
public static java.lang.String <B>flashStrError</B>(int errNum)</PRE>
|
<DL>
|
<DL>
|
<DD>Converts a given error code into a String.
|
<DD>Converts a given error code into a String.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>errNum</CODE> - The error code.
|
<DT><B>Parameters:</B><DD><CODE>errNum</CODE> - The error code.
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashStrError()"><!-- --></A><H3>
|
<A NAME="flashStrError()"><!-- --></A><H3>
|
flashStrError</H3>
|
flashStrError</H3>
|
<PRE>
|
<PRE>
|
public java.lang.String <B>flashStrError</B>()</PRE>
|
public java.lang.String <B>flashStrError</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>Gets the last Flash error from the device.
|
<DD>Gets the last Flash error from the device.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashState()"><!-- --></A><H3>
|
<A NAME="flashState()"><!-- --></A><H3>
|
flashState</H3>
|
flashState</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>flashState</B>()
|
public boolean <B>flashState</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>,
|
<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>
|
<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 supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="getFlashEC()"><!-- --></A><H3>
|
<A NAME="getFlashEC()"><!-- --></A><H3>
|
getFlashEC</H3>
|
getFlashEC</H3>
|
<PRE>
|
<PRE>
|
public int <B>getFlashEC</B>()
|
public int <B>getFlashEC</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>,
|
<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>Gets the last Flash error from the device.
|
<DD>Gets the last Flash error from the device.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>The last error code.
|
<DT><B>Returns:</B><DD>The last error code.
|
<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 supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashReadSector(int, byte[])"><!-- --></A><H3>
|
<A NAME="flashReadSector(int, byte[])"><!-- --></A><H3>
|
flashReadSector</H3>
|
flashReadSector</H3>
|
<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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
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.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3>
|
<A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3>
|
flashReadSector</H3>
|
flashReadSector</H3>
|
<PRE>
|
<PRE>
|
public void <B>flashReadSector</B>(int sector,
|
public void <B>flashReadSector</B>(int sector,
|
int num,
|
int num,
|
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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Reads a integer number of sectors from the Flash.
|
<DD>Reads a integer number of sectors from the Flash.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The number of the first sector to be read.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data.
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The 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>
|
<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.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3>
|
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3>
|
flashWriteSector</H3>
|
flashWriteSector</H3>
|
<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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
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.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3>
|
<A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3>
|
flashWriteSector</H3>
|
flashWriteSector</H3>
|
<PRE>
|
<PRE>
|
public void <B>flashWriteSector</B>(int sector,
|
public void <B>flashWriteSector</B>(int sector,
|
int num,
|
int num,
|
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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Writes a integer number of sectors to the Flash.
|
<DD>Writes a integer number of sectors 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>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - The data.
|
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>num</CODE> - The number of sectors to be read.<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.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashEnabled()"><!-- --></A><H3>
|
<A NAME="flashEnabled()"><!-- --></A><H3>
|
flashEnabled</H3>
|
flashEnabled</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>flashEnabled</B>()
|
public boolean <B>flashEnabled</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>,
|
<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>Returns true if Flash memory is installed.
|
<DD>Returns true if Flash memory is installed.
|
<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>
|
<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 supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashSectorSize()"><!-- --></A><H3>
|
<A NAME="flashSectorSize()"><!-- --></A><H3>
|
flashSectorSize</H3>
|
flashSectorSize</H3>
|
<PRE>
|
<PRE>
|
public int <B>flashSectorSize</B>()
|
public int <B>flashSectorSize</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>,
|
<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>Returns the sector size of the Flash memory or 0, if no flash memory is installed.
|
<DD>Returns the sector size of the Flash memory or 0, if no flash memory is installed.
|
If required, the sector size is determined form the device first.
|
If required, the sector size is determined form the device first.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>the sector size of the Flash memory.
|
<DT><B>Returns:</B><DD>the sector size of the Flash memory.
|
<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 supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashSectors()"><!-- --></A><H3>
|
<A NAME="flashSectors()"><!-- --></A><H3>
|
flashSectors</H3>
|
flashSectors</H3>
|
<PRE>
|
<PRE>
|
public int <B>flashSectors</B>()
|
public int <B>flashSectors</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>,
|
<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>Returns the number of sectors of the Flash memory or 0, if no Flash memory is installed.
|
<DD>Returns the number of sectors of the Flash memory or 0, if no Flash memory is installed.
|
If required, the number of sectors is determined form the device first.
|
If required, the number of sectors is determined form the device first.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>the number of sectors of the Flash memory.
|
<DT><B>Returns:</B><DD>the number of sectors of the Flash memory.
|
<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 supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashSize()"><!-- --></A><H3>
|
<A NAME="flashSize()"><!-- --></A><H3>
|
flashSize</H3>
|
flashSize</H3>
|
<PRE>
|
<PRE>
|
public long <B>flashSize</B>()
|
public long <B>flashSize</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>,
|
<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>Returns the size of Flash memory or 0, if no Flash memory is installed.
|
<DD>Returns the size of Flash memory or 0, if no Flash memory is installed.
|
If required, the Flash size is determined form the device first.
|
If required, the Flash size is determined form the device first.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>the size of Flash memory.
|
<DT><B>Returns:</B><DD>the size of Flash memory.
|
<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 supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="printMmcState()"><!-- --></A><H3>
|
<A NAME="printMmcState()"><!-- --></A><H3>
|
printMmcState</H3>
|
printMmcState</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>printMmcState</B>()
|
public boolean <B>printMmcState</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>,
|
<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>Prints out some debug information about *SD/MMC Flash cards in SPI mode.<br>
|
<DD>Prints out some debug information about *SD/MMC Flash cards in SPI mode.<br>
|
<b>Only use this method if such kind of Flash is installed.</b>
|
<b>Only use this method if such kind of Flash is installed.</b>
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<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 supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashUploadBitstream(java.lang.String, int)"><!-- --></A><H3>
|
<A NAME="flashUploadBitstream(java.lang.String, int)"><!-- --></A><H3>
|
flashUploadBitstream</H3>
|
flashUploadBitstream</H3>
|
<PRE>
|
<PRE>
|
public long <B>flashUploadBitstream</B>(java.lang.String fwFileName,
|
public long <B>flashUploadBitstream</B>(java.lang.String fwFileName,
|
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/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>Uploads a Bitstream to the Flash.
|
<DD>Uploads a Bitstream to the Flash.
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
it is possible to construct fully autonomous devices.
|
it is possible to construct fully autonomous devices.
|
<p>
|
<p>
|
Information about the bitstream is stored in sector 0.
|
Information about the bitstream is stored in sector 0.
|
This so called boot sector has the following format:
|
This so called boot sector has the following format:
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<table bgcolor="#404040" cellspacing=1 cellpadding=4>
|
<tr>
|
<tr>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">0..7</td>
|
<td bgcolor="#ffffff" valign="top">0..7</td>
|
<td bgcolor="#ffffff" valign="top">ID, must be "ZTEXBS",1,1</td>
|
<td bgcolor="#ffffff" valign="top">ID, must be "ZTEXBS",1,1</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">8..9</td>
|
<td bgcolor="#ffffff" valign="top">8..9</td>
|
<td bgcolor="#ffffff" valign="top">The number of sectors used to store the Bitstream. 0 means no Bitstream.</td>
|
<td bgcolor="#ffffff" valign="top">The number of sectors used to store the Bitstream. 0 means no Bitstream.</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">10..11</td>
|
<td bgcolor="#ffffff" valign="top">10..11</td>
|
<td bgcolor="#ffffff" valign="top">The number of bytes in the last sector.</td>
|
<td bgcolor="#ffffff" valign="top">The number of bytes in the last sector.</td>
|
</tr>
|
</tr>
|
<tr>
|
<tr>
|
<td bgcolor="#ffffff" valign="top">12..sectorSize-1</td>
|
<td bgcolor="#ffffff" valign="top">12..sectorSize-1</td>
|
<td bgcolor="#ffffff" valign="top">This data is reserved for future use and preserved by this method.</td>
|
<td bgcolor="#ffffff" valign="top">This data is reserved for future use and preserved by this method.</td>
|
</tr>
|
</tr>
|
</table>
|
</table>
|
<p>
|
<p>
|
The total size of the Bitstream is computed as ((bs[8] | (bs[9]<<8) - 1) * flash_sector_size + ((bs[10] | (bs[11]<<8))
|
The total size of the Bitstream is computed as ((bs[8] | (bs[9]<<8) - 1) * flash_sector_size + ((bs[10] | (bs[11]<<8))
|
where bs[i] denotes byte i of the boot sector.
|
where bs[i] denotes byte i of the boot sector.
|
<p>
|
<p>
|
The first sector of the Bitstream is sector 1.
|
The first sector of the Bitstream is sector 1.
|
<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>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>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/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.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.</DL>
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashUploadBitstream(java.lang.String)"><!-- --></A><H3>
|
<A NAME="flashUploadBitstream(java.lang.String)"><!-- --></A><H3>
|
flashUploadBitstream</H3>
|
flashUploadBitstream</H3>
|
<PRE>
|
<PRE>
|
public long <B>flashUploadBitstream</B>(java.lang.String fwFileName)
|
public long <B>flashUploadBitstream</B>(java.lang.String fwFileName)
|
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/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>Uploads a Bitstream to the Flash.
|
<DD>Uploads a Bitstream to the Flash.
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM
|
it is possible to construct fully autonomous devices.
|
it is possible to construct fully autonomous devices.
|
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)"><CODE>flashUploadBitstream(String,int)</CODE></A> for further details.
|
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)"><CODE>flashUploadBitstream(String,int)</CODE></A> for further details.
|
<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).
|
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).
|
<DT><B>Throws:</B>
|
<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.
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible.
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.</DL>
|
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashResetBitstream()"><!-- --></A><H3>
|
<A NAME="flashResetBitstream()"><!-- --></A><H3>
|
flashResetBitstream</H3>
|
flashResetBitstream</H3>
|
<PRE>
|
<PRE>
|
public void <B>flashResetBitstream</B>()
|
public void <B>flashResetBitstream</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>,
|
<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>Clears a Bitstream from the Flash.
|
<DD>Clears a Bitstream from the Flash.
|
This is achieved by writing 0 to bytes 8..9 of the boot sector, see <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)"><CODE>flashUploadBitstream(String)</CODE></A>.
|
This is achieved by writing 0 to bytes 8..9 of the boot sector, see <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)"><CODE>flashUploadBitstream(String)</CODE></A>.
|
If no boot sector is installed the method returns without any write action.
|
If no boot sector is installed the method returns without any write action.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<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.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="flashFirstFreeSector()"><!-- --></A><H3>
|
<A NAME="flashFirstFreeSector()"><!-- --></A><H3>
|
flashFirstFreeSector</H3>
|
flashFirstFreeSector</H3>
|
<PRE>
|
<PRE>
|
public int <B>flashFirstFreeSector</B>()
|
public int <B>flashFirstFreeSector</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>,
|
<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>Returns the first free sector of the Flash memory.
|
<DD>Returns the first free sector of the Flash memory.
|
This is the first sector behind the Bitstream, or 0 if no boot sector is installed (or 1 if a boot sector but no Bitstream is installed).
|
This is the first sector behind the Bitstream, or 0 if no boot sector is installed (or 1 if a boot sector but no Bitstream is installed).
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>the first free sector of the Flash memory.
|
<DT><B>Returns:</B><DD>the first free sector of the Flash memory.
|
<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.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="debugStackSize()"><!-- --></A><H3>
|
<A NAME="debugStackSize()"><!-- --></A><H3>
|
debugStackSize</H3>
|
debugStackSize</H3>
|
<PRE>
|
<PRE>
|
public int <B>debugStackSize</B>()
|
public int <B>debugStackSize</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>,
|
<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>Returns the size of message stack in messages.
|
<DD>Returns the size of message stack in messages.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>the size of message stack in messages.
|
<DT><B>Returns:</B><DD>the size of message stack in messages.
|
<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.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="debugMsgSize()"><!-- --></A><H3>
|
<A NAME="debugMsgSize()"><!-- --></A><H3>
|
debugMsgSize</H3>
|
debugMsgSize</H3>
|
<PRE>
|
<PRE>
|
public int <B>debugMsgSize</B>()
|
public int <B>debugMsgSize</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>,
|
<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>Returns the size of messages in bytes.
|
<DD>Returns the size of messages in bytes.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>the size of messages in bytes.
|
<DT><B>Returns:</B><DD>the size of messages in bytes.
|
<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.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="debugLastMsg()"><!-- --></A><H3>
|
<A NAME="debugLastMsg()"><!-- --></A><H3>
|
debugLastMsg</H3>
|
debugLastMsg</H3>
|
<PRE>
|
<PRE>
|
public final int <B>debugLastMsg</B>()</PRE>
|
public final int <B>debugLastMsg</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>Returns the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A>
|
<DD>Returns the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A>
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A></DL>
|
<DT><B>Returns:</B><DD>the number of the last message read out by <A HREF="../ztex/Ztex1v1.html#debugReadMessages(boolean, byte[])"><CODE>debugReadMessages(boolean,byte[])</CODE></A></DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="debugReadMessages(boolean, byte[])"><!-- --></A><H3>
|
<A NAME="debugReadMessages(boolean, byte[])"><!-- --></A><H3>
|
debugReadMessages</H3>
|
debugReadMessages</H3>
|
<PRE>
|
<PRE>
|
public int <B>debugReadMessages</B>(boolean all,
|
public int <B>debugReadMessages</B>(boolean all,
|
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></PRE>
|
<DL>
|
<DL>
|
<DD>Reads debug messages from message stack.
|
<DD>Reads debug messages from message stack.
|
The number of messages stored in buf is returned. The total number of new messages is stored in <A HREF="../ztex/Ztex1v1.html#debugNewMessages"><CODE>debugNewMessages</CODE></A>.
|
The number of messages stored in buf is returned. The total number of new messages is stored in <A HREF="../ztex/Ztex1v1.html#debugNewMessages"><CODE>debugNewMessages</CODE></A>.
|
The number of the latest message is returned by <A HREF="../ztex/Ztex1v1.html#debugLastMsg()"><CODE>debugLastMsg()</CODE></A>.
|
The number of the latest message is returned by <A HREF="../ztex/Ztex1v1.html#debugLastMsg()"><CODE>debugLastMsg()</CODE></A>.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>all</CODE> - If true, all messages from stack are written to buf. If it is false, only the new messages are written to buf.<DD><CODE>buf</CODE> - The buffer to store the messages.
|
<DT><B>Parameters:</B><DD><CODE>all</CODE> - If true, all messages from stack are written to buf. If it is false, only the new messages are written to buf.<DD><CODE>buf</CODE> - The buffer to store the messages.
|
<DT><B>Returns:</B><DD>the size of messages stored in buffer.
|
<DT><B>Returns:</B><DD>the size of messages stored in buffer.
|
<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.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaStrError(int)"><!-- --></A><H3>
|
<A NAME="xmegaStrError(int)"><!-- --></A><H3>
|
xmegaStrError</H3>
|
xmegaStrError</H3>
|
<PRE>
|
<PRE>
|
public java.lang.String <B>xmegaStrError</B>(int errNum)</PRE>
|
public java.lang.String <B>xmegaStrError</B>(int errNum)</PRE>
|
<DL>
|
<DL>
|
<DD>Converts a given error code into a String.
|
<DD>Converts a given error code into a String.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>errNum</CODE> - The error code.
|
<DT><B>Parameters:</B><DD><CODE>errNum</CODE> - The error code.
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaStrError()"><!-- --></A><H3>
|
<A NAME="xmegaStrError()"><!-- --></A><H3>
|
xmegaStrError</H3>
|
xmegaStrError</H3>
|
<PRE>
|
<PRE>
|
public java.lang.String <B>xmegaStrError</B>()</PRE>
|
public java.lang.String <B>xmegaStrError</B>()</PRE>
|
<DL>
|
<DL>
|
<DD>Gets the last ATxmega error from the device.
|
<DD>Gets the last ATxmega error from the device.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
<DT><B>Returns:</B><DD>an error message.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaState()"><!-- --></A><H3>
|
<A NAME="xmegaState()"><!-- --></A><H3>
|
xmegaState</H3>
|
xmegaState</H3>
|
<PRE>
|
<PRE>
|
public int <B>xmegaState</B>()
|
public int <B>xmegaState</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>,
|
<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>Read ATxmega error and status information from the device.
|
<DD>Read ATxmega error and status information from the device.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>The last error code.
|
<DT><B>Returns:</B><DD>The last error code.
|
<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 ATxmega controllers are not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaEnabled()"><!-- --></A><H3>
|
<A NAME="xmegaEnabled()"><!-- --></A><H3>
|
xmegaEnabled</H3>
|
xmegaEnabled</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>xmegaEnabled</B>()
|
public boolean <B>xmegaEnabled</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>,
|
<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>Returns true if ATxmega controller is available.
|
<DD>Returns true if ATxmega controller is available.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>true if ATxmega controller is available.
|
<DT><B>Returns:</B><DD>true if ATxmega controller is available.
|
<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 ATxmega controllers are not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaFlashPages()"><!-- --></A><H3>
|
<A NAME="xmegaFlashPages()"><!-- --></A><H3>
|
xmegaFlashPages</H3>
|
xmegaFlashPages</H3>
|
<PRE>
|
<PRE>
|
public int <B>xmegaFlashPages</B>()
|
public int <B>xmegaFlashPages</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>,
|
<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>Returns the number of the ATxmega Flash pages.
|
<DD>Returns the number of the ATxmega Flash pages.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>The number of the ATxmega Flash pages.
|
<DT><B>Returns:</B><DD>The number of the ATxmega Flash pages.
|
<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 ATxmega controllers are not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaEepromPages()"><!-- --></A><H3>
|
<A NAME="xmegaEepromPages()"><!-- --></A><H3>
|
xmegaEepromPages</H3>
|
xmegaEepromPages</H3>
|
<PRE>
|
<PRE>
|
public int <B>xmegaEepromPages</B>()
|
public int <B>xmegaEepromPages</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>,
|
<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>Returns the number of the ATxmega EEPROM pages.
|
<DD>Returns the number of the ATxmega EEPROM pages.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>The number of the ATxmega EEPROM pages.
|
<DT><B>Returns:</B><DD>The number of the ATxmega EEPROM pages.
|
<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 ATxmega controllers are not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaFlashPageSize()"><!-- --></A><H3>
|
<A NAME="xmegaFlashPageSize()"><!-- --></A><H3>
|
xmegaFlashPageSize</H3>
|
xmegaFlashPageSize</H3>
|
<PRE>
|
<PRE>
|
public int <B>xmegaFlashPageSize</B>()
|
public int <B>xmegaFlashPageSize</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>,
|
<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>Returns the size of the ATxmega Flash pages.
|
<DD>Returns the size of the ATxmega Flash pages.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>The size of the ATxmega Flash pages.
|
<DT><B>Returns:</B><DD>The size of the ATxmega Flash pages.
|
<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 ATxmega controllers are not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaEepromPageSize()"><!-- --></A><H3>
|
<A NAME="xmegaEepromPageSize()"><!-- --></A><H3>
|
xmegaEepromPageSize</H3>
|
xmegaEepromPageSize</H3>
|
<PRE>
|
<PRE>
|
public int <B>xmegaEepromPageSize</B>()
|
public int <B>xmegaEepromPageSize</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>,
|
<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>Returns the size of the ATXmega EEPROM pages.
|
<DD>Returns the size of the ATXmega EEPROM pages.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>The size of the ATXmega EEPROM pages.
|
<DT><B>Returns:</B><DD>The size of the ATXmega EEPROM pages.
|
<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 ATXmega controllers are not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaReset()"><!-- --></A><H3>
|
<A NAME="xmegaReset()"><!-- --></A><H3>
|
xmegaReset</H3>
|
xmegaReset</H3>
|
<PRE>
|
<PRE>
|
public void <B>xmegaReset</B>()
|
public void <B>xmegaReset</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>,
|
<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>Resets the ATxmega.
|
<DD>Resets the ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<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 NVRAM access to ATxmega is not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaNvmRead(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="xmegaNvmRead(int, byte[], int)"><!-- --></A><H3>
|
xmegaNvmRead</H3>
|
xmegaNvmRead</H3>
|
<PRE>
|
<PRE>
|
public void <B>xmegaNvmRead</B>(int addr,
|
public void <B>xmegaNvmRead</B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
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 data from the NVM of ATxmega.
|
<DD>Reads data from the NVM of ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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 NVRAM access to ATxmega is not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaFlashRead(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="xmegaFlashRead(int, byte[], int)"><!-- --></A><H3>
|
xmegaFlashRead</H3>
|
xmegaFlashRead</H3>
|
<PRE>
|
<PRE>
|
public void <B>xmegaFlashRead</B>(int addr,
|
public void <B>xmegaFlashRead</B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
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 data from Flash memory of ATxmega.
|
<DD>Reads data from Flash memory of ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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 NVRAM access to ATxmega is not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaEepromRead(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="xmegaEepromRead(int, byte[], int)"><!-- --></A><H3>
|
xmegaEepromRead</H3>
|
xmegaEepromRead</H3>
|
<PRE>
|
<PRE>
|
public void <B>xmegaEepromRead</B>(int addr,
|
public void <B>xmegaEepromRead</B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
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 data from EEPROM memory of ATxmega.
|
<DD>Reads data from EEPROM memory of ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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 NVRAM access to ATxmega is not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaFuseRead(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="xmegaFuseRead(int, byte[], int)"><!-- --></A><H3>
|
xmegaFuseRead</H3>
|
xmegaFuseRead</H3>
|
<PRE>
|
<PRE>
|
public void <B>xmegaFuseRead</B>(int addr,
|
public void <B>xmegaFuseRead</B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
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 data from Fuse memory of ATxmega.
|
<DD>Reads data from Fuse memory of ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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 NVRAM access to ATxmega is not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaFuseRead(int)"><!-- --></A><H3>
|
<A NAME="xmegaFuseRead(int)"><!-- --></A><H3>
|
xmegaFuseRead</H3>
|
xmegaFuseRead</H3>
|
<PRE>
|
<PRE>
|
public int <B>xmegaFuseRead</B>(int addr)
|
public int <B>xmegaFuseRead</B>(int addr)
|
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 data one Fuse of ATxmega.
|
<DD>Reads data one Fuse of ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The index of th Fuse.
|
<DT><B>Parameters:</B><DD><CODE>addr</CODE> - The index of th Fuse.
|
<DT><B>Returns:</B><DD>The Fuse read.
|
<DT><B>Returns:</B><DD>The Fuse read.
|
<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 NVRAM access to ATxmega is not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaFlashPageWrite(int, byte[])"><!-- --></A><H3>
|
<A NAME="xmegaFlashPageWrite(int, byte[])"><!-- --></A><H3>
|
xmegaFlashPageWrite</H3>
|
xmegaFlashPageWrite</H3>
|
<PRE>
|
<PRE>
|
public void <B>xmegaFlashPageWrite</B>(int addr,
|
public void <B>xmegaFlashPageWrite</B>(int addr,
|
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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Writes data to Flash memory of ATxmega.
|
<DD>Writes data to Flash memory of ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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 NVRAM access to ATxmega is not supported by the firmware.
|
<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><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash page size.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaEepromPageWrite(int, byte[])"><!-- --></A><H3>
|
<A NAME="xmegaEepromPageWrite(int, byte[])"><!-- --></A><H3>
|
xmegaEepromPageWrite</H3>
|
xmegaEepromPageWrite</H3>
|
<PRE>
|
<PRE>
|
public void <B>xmegaEepromPageWrite</B>(int addr,
|
public void <B>xmegaEepromPageWrite</B>(int addr,
|
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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Writes data to EEPROM memory of ATxmega.
|
<DD>Writes data to EEPROM memory of ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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 NVRAM access to ATxmega is not supported by the firmware.
|
<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><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the EEPROM page size.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaFuseWrite(int, int)"><!-- --></A><H3>
|
<A NAME="xmegaFuseWrite(int, int)"><!-- --></A><H3>
|
xmegaFuseWrite</H3>
|
xmegaFuseWrite</H3>
|
<PRE>
|
<PRE>
|
public void <B>xmegaFuseWrite</B>(int addr,
|
public void <B>xmegaFuseWrite</B>(int addr,
|
int val)
|
int val)
|
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>Writes one Fuse of the ATxmega.
|
<DD>Writes one Fuse of the ATxmega.
|
<P>
|
<P>
|
<DD><DL>
|
<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>Parameters:</B><DD><CODE>addr</CODE> - The index of th Fuse.<DD><CODE>val</CODE> - The value of th Fuse.
|
<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 NVRAM access to ATxmega is not supported by the firmware.</DL>
|
<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>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaWriteFirmware(ztex.IhxFile)"><!-- --></A><H3>
|
<A NAME="xmegaWriteFirmware(ztex.IhxFile)"><!-- --></A><H3>
|
xmegaWriteFirmware</H3>
|
xmegaWriteFirmware</H3>
|
<PRE>
|
<PRE>
|
public long <B>xmegaWriteFirmware</B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)
|
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>,
|
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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Uploads firmware to the flash memory
|
<DD>Uploads firmware to the flash memory
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware / data image.
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware / data image.
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
<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 NVRAM access to ATxmega is not supported by the firmware.
|
<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><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if the verification fails.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="xmegaWriteEeprom(ztex.IhxFile)"><!-- --></A><H3>
|
<A NAME="xmegaWriteEeprom(ztex.IhxFile)"><!-- --></A><H3>
|
xmegaWriteEeprom</H3>
|
xmegaWriteEeprom</H3>
|
<PRE>
|
<PRE>
|
public long <B>xmegaWriteEeprom</B>(<A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A> ihxFile)
|
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>,
|
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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
|
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
|
<DL>
|
<DL>
|
<DD>Uploads data to the EEPROM memory
|
<DD>Uploads data to the EEPROM memory
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware / data image.
|
<DT><B>Parameters:</B><DD><CODE>ihxFile</CODE> - The firmware / data image.
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
<DT><B>Returns:</B><DD>the upload time in ms.
|
<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 NVRAM access to ATxmega is not supported by the firmware.
|
<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><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if the verification fails.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<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>
|
<DD>Returns a lot of useful information about the corresponding device.
|
<DD>Returns a lot of useful information about the corresponding device.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#toString()">toString</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL>
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#toString()">toString</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL>
|
</DD>
|
</DD>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>a lot of useful information about the corresponding device.</DL>
|
<DT><B>Returns:</B><DD>a lot of useful information about the corresponding device.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="capabilityInfo(java.lang.String)"><!-- --></A><H3>
|
<A NAME="capabilityInfo(java.lang.String)"><!-- --></A><H3>
|
capabilityInfo</H3>
|
capabilityInfo</H3>
|
<PRE>
|
<PRE>
|
public java.lang.String <B>capabilityInfo</B>(java.lang.String pf)</PRE>
|
public java.lang.String <B>capabilityInfo</B>(java.lang.String pf)</PRE>
|
<DL>
|
<DL>
|
<DD>Creates a String with capability information.
|
<DD>Creates a String with capability information.
|
<P>
|
<P>
|
<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>
|
<HR>
|
|
|
<A NAME="configureFpgaHS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
<A NAME="configureFpgaHS(java.lang.String, boolean, int)"><!-- --></A><H3>
|
configureFpgaHS</H3>
|
configureFpgaHS</H3>
|
<PRE>
|
<PRE>
|
public long <B>configureFpgaHS</B>(java.lang.String fwFileName,
|
public long <B>configureFpgaHS</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 using high speed mode.
|
<DD>Upload a Bitstream to the FPGA using high 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.
|
<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/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/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/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 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="configureFpga(java.lang.String, boolean, int)"><!-- --></A><H3>
|
configureFpga</H3>
|
configureFpga</H3>
|
<PRE>
|
<PRE>
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
public long <B>configureFpga</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 using high speed mode (if available) or low speed mode.
|
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or 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.
|
<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/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/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/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 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>
|
<A NAME="configureFpga(java.lang.String, boolean)"><!-- --></A><H3>
|
configureFpga</H3>
|
configureFpga</H3>
|
<PRE>
|
<PRE>
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
public long <B>configureFpga</B>(java.lang.String fwFileName,
|
boolean force)
|
boolean force)
|
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 using high speed mode (if available) or low speed mode.
|
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or 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).
|
<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>
|
<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.
|
<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/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/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/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 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="macEepromWrite(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="macEepromWrite(int, byte[], int)"><!-- --></A><H3>
|
macEepromWrite</H3>
|
macEepromWrite</H3>
|
<PRE>
|
<PRE>
|
public void <B>macEepromWrite</B>(int addr,
|
public void <B>macEepromWrite</B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
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>Writes data to the MAC EEPROM.
|
<DD>Writes data to the MAC EEPROM.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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 MAC EEPROM access is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="macEepromRead(int, byte[], int)"><!-- --></A><H3>
|
<A NAME="macEepromRead(int, byte[], int)"><!-- --></A><H3>
|
macEepromRead</H3>
|
macEepromRead</H3>
|
<PRE>
|
<PRE>
|
public void <B>macEepromRead</B>(int addr,
|
public void <B>macEepromRead</B>(int addr,
|
byte[] buf,
|
byte[] buf,
|
int length)
|
int length)
|
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 data from the MAC EEPROM.
|
<DD>Reads data from the MAC EEPROM.
|
<P>
|
<P>
|
<DD><DL>
|
<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>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>
|
<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 MAC EEPROM access is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="macEepromState()"><!-- --></A><H3>
|
<A NAME="macEepromState()"><!-- --></A><H3>
|
macEepromState</H3>
|
macEepromState</H3>
|
<PRE>
|
<PRE>
|
public boolean <B>macEepromState</B>()
|
public boolean <B>macEepromState</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>,
|
<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 current MAC EEPROM status.
|
<DD>Reads the current MAC EEPROM status.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
|
|
<DT><B>Returns:</B><DD>true if MAC EEPROM is ready.
|
<DT><B>Returns:</B><DD>true if MAC EEPROM is ready.
|
<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 MAC EEPROM access is not supported by the firmware.</DL>
|
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL>
|
</DD>
|
</DD>
|
</DL>
|
</DL>
|
<HR>
|
<HR>
|
|
|
<A NAME="macRead(byte[])"><!-- --></A><H3>
|
<A NAME="macRead(byte[])"><!-- --></A><H3>
|
macRead</H3>
|
macRead</H3>
|
<PRE>
|
<PRE>
|
public void <B>macRead</B>(byte[] buf)
|
public void <B>macRead</B>(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>,
|
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>,
|
java.lang.IndexOutOfBoundsException</PRE>
|
java.lang.IndexOutOfBoundsException</PRE>
|
<DL>
|
<DL>
|
<DD>Reads MAC address from MAC EEPROM.
|
<DD>Reads MAC address from MAC EEPROM.
|
<P>
|
<P>
|
<DD><DL>
|
<DD><DL>
|
<DT><B>Parameters:</B><DD><CODE>buf</CODE> - A buffer with a minimum size of 6 bytes.
|
<DT><B>Parameters:</B><DD><CODE>buf</CODE> - A buffer with a minimum size of 6 bytes.
|
<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 MAC EEPROM access is not supported by the firmware.
|
<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><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than 6 bytes.</DL>
|
</DD>
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="numberOfFpgas()"><!-- --></A><H3>
|
|
numberOfFpgas</H3>
|
|
<PRE>
|
|
public int <B>numberOfFpgas</B>()
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></PRE>
|
|
<DL>
|
|
<DD>Returns the number of FPGA's
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>number of FPGA's
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="selectFpga(int)"><!-- --></A><H3>
|
|
selectFpga</H3>
|
|
<PRE>
|
|
public void <B>selectFpga</B>(int num)
|
|
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>,
|
|
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>,
|
|
java.lang.IndexOutOfBoundsException</PRE>
|
|
<DL>
|
|
<DD>Select a FPGA
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>num</CODE> - FPGA to select. Valid values are 0 to <A HREF="../ztex/Ztex1v1.html#numberOfFpgas()"><CODE>numberOfFpgas()</CODE></A>-1
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported.
|
|
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs.
|
|
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If FPGA number is not in range.</DL>
|
|
</DD>
|
</DL>
|
</DL>
|
<!-- ========= END OF CLASS DATA ========= -->
|
<!-- ========= END OF CLASS DATA ========= -->
|
<HR>
|
<HR>
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
<A NAME="navbar_bottom"><!-- --></A>
|
<A NAME="navbar_bottom"><!-- --></A>
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
<TR>
|
<TR>
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
<TR ALIGN="center" VALIGN="top">
|
<TR ALIGN="center" VALIGN="top">
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
</TD>
|
</TD>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
</EM>
|
</EM>
|
</TD>
|
</TD>
|
</TR>
|
</TR>
|
|
|
<TR>
|
<TR>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../ztex/Ztex1.html" title="class in ztex"><B>PREV CLASS</B></A>
|
<A HREF="../ztex/Ztex1.html" title="class in ztex"><B>PREV CLASS</B></A>
|
<A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
<A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
<A HREF="../index.html?ztex/Ztex1v1.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="../index.html?ztex/Ztex1v1.html" target="_top"><B>FRAMES</B></A>
|
<A HREF="Ztex1v1.html" target="_top"><B>NO FRAMES</B></A>
|
<A HREF="Ztex1v1.html" target="_top"><B>NO FRAMES</B></A>
|
<SCRIPT type="text/javascript">
|
<SCRIPT type="text/javascript">
|
<!--
|
<!--
|
if(window==top) {
|
if(window==top) {
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
|
}
|
}
|
//-->
|
//-->
|
</SCRIPT>
|
</SCRIPT>
|
<NOSCRIPT>
|
<NOSCRIPT>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
|
</NOSCRIPT>
|
</NOSCRIPT>
|
|
|
|
|
</FONT></TD>
|
</FONT></TD>
|
</TR>
|
</TR>
|
<TR>
|
<TR>
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
</TR>
|
</TR>
|
</TABLE>
|
</TABLE>
|
<A NAME="skip-navbar_bottom"></A>
|
<A NAME="skip-navbar_bottom"></A>
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
<HR>
|
<HR>
|
|
|
</BODY>
|
</BODY>
|
</HTML>
|
</HTML>
|
|
|