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

Subversion Repositories usb_fpga_1_2

[/] [usb_fpga_1_2/] [trunk/] [docs/] [java/] [ztex/] [EzUsb.html] - Blame information for rev 9

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 ZTEX
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5 9 ZTEX
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 -->
6 3 ZTEX
<TITLE>
7
EzUsb
8
</TITLE>
9
 
10 9 ZTEX
<META NAME="date" CONTENT="2012-04-12">
11 3 ZTEX
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="EzUsb";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47
  </TR>
48
</TABLE>
49
</TD>
50
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51
</EM>
52
</TD>
53
</TR>
54
 
55
<TR>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 8 ZTEX
&nbsp;<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
58 3 ZTEX
&nbsp;<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
59
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60
  <A HREF="../index.html?ztex/EzUsb.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61
&nbsp;<A HREF="EzUsb.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62
&nbsp;<SCRIPT type="text/javascript">
63
  <!--
64
  if(window==top) {
65
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
66
  }
67
  //-->
68
</SCRIPT>
69
<NOSCRIPT>
70
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
71
</NOSCRIPT>
72
 
73
 
74
</FONT></TD>
75
</TR>
76
<TR>
77
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81
</TR>
82
</TABLE>
83
<A NAME="skip-navbar_top"></A>
84
<!-- ========= END OF TOP NAVBAR ========= -->
85
 
86
<HR>
87
<!-- ======== START OF CLASS DATA ======== -->
88
<H2>
89
<FONT SIZE="-1">
90
ztex</FONT>
91
<BR>
92
Class EzUsb</H2>
93
<PRE>
94
java.lang.Object
95
  <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.EzUsb</B>
96
</PRE>
97
<HR>
98
<DL>
99
<DT><PRE>public class <B>EzUsb</B><DT>extends java.lang.Object</DL>
100
</PRE>
101
 
102
<P>
103
Provides methods for uploading firmware to Cypress EZ-USB devices.
104
<P>
105
 
106
<P>
107
<HR>
108
 
109
<P>
110
 
111
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
112
 
113
<A NAME="constructor_summary"><!-- --></A>
114
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
117
<B>Constructor Summary</B></FONT></TH>
118
</TR>
119
<TR BGCOLOR="white" CLASS="TableRowColor">
120
<TD><CODE><B><A HREF="../ztex/EzUsb.html#EzUsb()">EzUsb</A></B>()</CODE>
121
 
122
<BR>
123
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
124
</TR>
125
</TABLE>
126
&nbsp;
127
<!-- ========== METHOD SUMMARY =========== -->
128
 
129
<A NAME="method_summary"><!-- --></A>
130
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
133
<B>Method Summary</B></FONT></TH>
134
</TR>
135
<TR BGCOLOR="white" CLASS="TableRowColor">
136
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137
<CODE>static&nbsp;void</CODE></FONT></TD>
138 8 ZTEX
<TD><CODE><B><A HREF="../ztex/EzUsb.html#reset(long, boolean)">reset</A></B>(long&nbsp;handle,
139 3 ZTEX
      boolean&nbsp;r)</CODE>
140
 
141
<BR>
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Controls the reset state of a Cypress EZ-USB device.</TD>
143
</TR>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146
<CODE>static&nbsp;long</CODE></FONT></TD>
147 8 ZTEX
<TD><CODE><B><A HREF="../ztex/EzUsb.html#uploadFirmware(long, ztex.IhxFile)">uploadFirmware</A></B>(long&nbsp;handle,
148 3 ZTEX
               <A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A>&nbsp;ihxFile)</CODE>
149
 
150
<BR>
151
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uploads the Firmware to a Cypress EZ-USB device.</TD>
152
</TR>
153
</TABLE>
154
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
155
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
157
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
158
</TR>
159
<TR BGCOLOR="white" CLASS="TableRowColor">
160
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
161
</TR>
162
</TABLE>
163
&nbsp;
164
<P>
165
 
166
<!-- ========= CONSTRUCTOR DETAIL ======== -->
167
 
168
<A NAME="constructor_detail"><!-- --></A>
169
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
172
<B>Constructor Detail</B></FONT></TH>
173
</TR>
174
</TABLE>
175
 
176
<A NAME="EzUsb()"><!-- --></A><H3>
177
EzUsb</H3>
178
<PRE>
179
public <B>EzUsb</B>()</PRE>
180
<DL>
181
</DL>
182
 
183
<!-- ============ METHOD DETAIL ========== -->
184
 
185
<A NAME="method_detail"><!-- --></A>
186
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
189
<B>Method Detail</B></FONT></TH>
190
</TR>
191
</TABLE>
192
 
193 8 ZTEX
<A NAME="reset(long, boolean)"><!-- --></A><H3>
194 3 ZTEX
reset</H3>
195
<PRE>
196 8 ZTEX
public static void <B>reset</B>(long&nbsp;handle,
197 3 ZTEX
                         boolean&nbsp;r)
198
                  throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
199
<DL>
200
<DD>Controls the reset state of a Cypress EZ-USB device.
201
<P>
202
<DD><DL>
203
<DT><B>Parameters:</B><DD><CODE>handle</CODE> - The handle of the device.<DD><CODE>r</CODE> - The reset state (true means reset).
204
<DT><B>Throws:</B>
205
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - if an error occurred while attempting to control the reset state.</DL>
206
</DD>
207
</DL>
208
<HR>
209
 
210 8 ZTEX
<A NAME="uploadFirmware(long, ztex.IhxFile)"><!-- --></A><H3>
211 3 ZTEX
uploadFirmware</H3>
212
<PRE>
213 8 ZTEX
public static long <B>uploadFirmware</B>(long&nbsp;handle,
214 3 ZTEX
                                  <A HREF="../ztex/IhxFile.html" title="class in ztex">IhxFile</A>&nbsp;ihxFile)
215
                           throws <A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></PRE>
216
<DL>
217
<DD>Uploads the Firmware to a Cypress EZ-USB device.
218
<P>
219
<DD><DL>
220
<DT><B>Parameters:</B><DD><CODE>handle</CODE> - The handle of the device.<DD><CODE>ihxFile</CODE> - The firmware image.
221 5 ZTEX
<DT><B>Returns:</B><DD>the upload time in ms.
222 3 ZTEX
<DT><B>Throws:</B>
223
<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>
224
</DD>
225
</DL>
226
<!-- ========= END OF CLASS DATA ========= -->
227
<HR>
228
 
229
 
230
<!-- ======= START OF BOTTOM NAVBAR ====== -->
231
<A NAME="navbar_bottom"><!-- --></A>
232
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
233
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
234
<TR>
235
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
236
<A NAME="navbar_bottom_firstrow"><!-- --></A>
237
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
238
  <TR ALIGN="center" VALIGN="top">
239
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
240
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
241
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
242
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
243
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
244
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
245
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
246
  </TR>
247
</TABLE>
248
</TD>
249
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
250
</EM>
251
</TD>
252
</TR>
253
 
254
<TR>
255
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
256 8 ZTEX
&nbsp;<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>PREV CLASS</B></A>&nbsp;
257 3 ZTEX
&nbsp;<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD>
258
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
259
  <A HREF="../index.html?ztex/EzUsb.html" target="_top"><B>FRAMES</B></A>  &nbsp;
260
&nbsp;<A HREF="EzUsb.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
261
&nbsp;<SCRIPT type="text/javascript">
262
  <!--
263
  if(window==top) {
264
    document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
265
  }
266
  //-->
267
</SCRIPT>
268
<NOSCRIPT>
269
  <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
270
</NOSCRIPT>
271
 
272
 
273
</FONT></TD>
274
</TR>
275
<TR>
276
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
277
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
278
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
279
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
280
</TR>
281
</TABLE>
282
<A NAME="skip-navbar_bottom"></A>
283
<!-- ======== END OF BOTTOM NAVBAR ======= -->
284
 
285
<HR>
286
 
287
</BODY>
288
</HTML>

powered by: WebSVN 2.1.0

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