URL
https://opencores.org/ocsvn/usb_fpga_1_15/usb_fpga_1_15/trunk
Subversion Repositories usb_fpga_1_15
Compare Revisions
- This comparison shows the changes necessary to convert path
/usb_fpga_1_15/trunk/docs
- from Rev 2 to Rev 3
- ↔ Reverse comparison
Rev 2 → Rev 3
/java/index-all.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Index |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style"> |
|
104,6 → 104,9
<DT><A HREF="./ztex/BitstreamUploadException.html#BitstreamUploadException()"><B>BitstreamUploadException()</B></A> - |
Constructor for exception ztex.<A HREF="./ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A> |
<DD>Constructs an instance using a standard message. |
<DT><A HREF="./ztex/ConfigData.html#boardNames"><B>boardNames</B></A> - |
Static variable in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Kinds of FPGA Boards. |
<DT><A HREF="./ztex/ZtexDevice1.html#byteArrayString(byte[])"><B>byteArrayString(byte[])</B></A> - |
Static method in class ztex.<A HREF="./ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> |
<DD>Produces a nice string representation of an array of bytes. |
133,6 → 136,9
<DT><A HREF="./ztex/Ztex1v1.html#CAPABILITY_MULTI_FPGA"><B>CAPABILITY_MULTI_FPGA</B></A> - |
Static variable in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Capability index for multi FPGA support |
<DT><A HREF="./ztex/Ztex1v1.html#CAPABILITY_TEMP_SENSOR"><B>CAPABILITY_TEMP_SENSOR</B></A> - |
Static variable in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Capability index for Temperature sensor support |
<DT><A HREF="./ztex/Ztex1v1.html#CAPABILITY_XMEGA"><B>CAPABILITY_XMEGA</B></A> - |
Static variable in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Capability index for AVR XMEGA support. |
175,6 → 181,19
<DT><A HREF="./ztex/ZtexDevice1.html#compatible(int, int, int, int)"><B>compatible(int, int, int, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> |
<DD>Checks whether the given product ID is compatible to the device. |
<DT><A HREF="./ztex/Ztex1v1.html#config"><B>config</B></A> - |
Variable in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>The configuration data structure |
is initialized if this kind of data is present in MAC EEPROM. |
<DT><A HREF="./ztex/ConfigData.html" title="class in ztex"><B>ConfigData</B></A> - Class in <A HREF="./ztex/package-summary.html">ztex</A><DD>This class represents the configuration data space of ZTEX FPGA Boards that support it.<DT><A HREF="./ztex/ConfigData.html#ConfigData()"><B>ConfigData()</B></A> - |
Constructor for class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Constructs an empty instance. |
<DT><A HREF="./ztex/ConfigData.html#ConfigData(ztex.Ztex1v1)"><B>ConfigData(Ztex1v1)</B></A> - |
Constructor for class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Constructs an instance and connects it with z. |
<DT><A HREF="./ztex/Ztex1v1.html#configureFpga(java.io.InputStream, boolean, int)"><B>configureFpga(InputStream, boolean, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode. |
<DT><A HREF="./ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean, int)"><B>configureFpga(String, boolean, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode. |
181,12 → 200,21
<DT><A HREF="./ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean)"><B>configureFpga(String, boolean)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode. |
<DT><A HREF="./ztex/Ztex1v1.html#configureFpgaHS(java.io.InputStream, boolean, int)"><B>configureFpgaHS(InputStream, boolean, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Upload a Bitstream to the FPGA using high speed mode. |
<DT><A HREF="./ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)"><B>configureFpgaHS(String, boolean, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Upload a Bitstream to the FPGA using high speed mode. |
<DT><A HREF="./ztex/Ztex1v1.html#configureFpgaLS(java.io.InputStream, boolean, int)"><B>configureFpgaLS(InputStream, boolean, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Upload a Bitstream to the FPGA using low speed mode. |
<DT><A HREF="./ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)"><B>configureFpgaLS(String, boolean, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Upload a Bitstream to the FPGA using low speed mode. |
<DT><A HREF="./ztex/ConfigData.html#connect(ztex.Ztex1v1)"><B>connect(Ztex1v1)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Reads the configuration data (if existent) from a device and connects it to this instance. |
<DT><A HREF="./ch/ntb/usb/Device.html#controlMsg(int, int, int, int, byte[], int, int, boolean)"><B>controlMsg(int, int, int, int, byte[], int, int, boolean)</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Device.html" title="class in ch.ntb.usb">Device</A> |
<DD>Performs a control request to the default control pipe on a device. |
204,6 → 232,9
<A NAME="_D_"><!-- --></A><H2> |
<B>D</B></H2> |
<DL> |
<DT><A HREF="./ztex/ConfigData.html#data()"><B>data()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns a copy of the configuration data array. |
<DT><A HREF="./ztex/IhxFile.html#dataInfo(java.io.PrintStream)"><B>dataInfo(PrintStream)</B></A> - |
Method in class ztex.<A HREF="./ztex/IhxFile.html" title="class in ztex">IhxFile</A> |
<DD>Print out some information about the memory usage. |
246,6 → 277,9
<DT><A HREF="./ztex/DeviceNotSupportedException.html" title="class in ztex"><B>DeviceNotSupportedException</B></A> - Exception in <A HREF="./ztex/package-summary.html">ztex</A><DD>Thrown if a device is not supported, i.e. has the wrong USB ID's.<DT><A HREF="./ztex/DeviceNotSupportedException.html#DeviceNotSupportedException(ch.ntb.usb.Usb_Device)"><B>DeviceNotSupportedException(Usb_Device)</B></A> - |
Constructor for exception ztex.<A HREF="./ztex/DeviceNotSupportedException.html" title="class in ztex">DeviceNotSupportedException</A> |
<DD>Constructs an instance from the given device. |
<DT><A HREF="./ztex/ConfigData.html#disconnect()"><B>disconnect()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Disconnects the currently connected device. |
</DL> |
<HR> |
<A NAME="_E_"><!-- --></A><H2> |
352,12 → 386,15
<DT><A HREF="./ztex/Ztex1v1.html#flashFirstFreeSector()"><B>flashFirstFreeSector()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Returns the first free sector of the Flash memory. |
<DT><A HREF="./ztex/Ztex1v1.html#flashReadSector(int, byte[])"><B>flashReadSector(int, byte[])</B></A> - |
<DT><A HREF="./ztex/Ztex1v1.html#flashInfo()"><B>flashInfo()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Reads one sector from the Flash. |
<DD>Returns information about Flash memory. |
<DT><A HREF="./ztex/Ztex1v1.html#flashReadSector(int, int, byte[])"><B>flashReadSector(int, int, byte[])</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Reads a integer number of sectors from the Flash. |
<DT><A HREF="./ztex/Ztex1v1.html#flashReadSector(int, byte[])"><B>flashReadSector(int, byte[])</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Reads one sector from the Flash. |
<DT><A HREF="./ztex/Ztex1v1.html#flashResetBitstream()"><B>flashResetBitstream()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Clears a Bitstream from the Flash. |
379,6 → 416,9
<DT><A HREF="./ztex/Ztex1v1.html#flashStrError()"><B>flashStrError()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Gets the last Flash error from the device. |
<DT><A HREF="./ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)"><B>flashUploadBitstream(InputStream, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Uploads a Bitstream to the Flash. |
<DT><A HREF="./ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)"><B>flashUploadBitstream(String, int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Uploads a Bitstream to the Flash. |
385,12 → 425,15
<DT><A HREF="./ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)"><B>flashUploadBitstream(String)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Uploads a Bitstream to the Flash. |
<DT><A HREF="./ztex/Ztex1v1.html#flashWriteSector(int, int, byte[])"><B>flashWriteSector(int, int, byte[])</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Writes a integer number of sectors to the Flash. |
<DT><A HREF="./ztex/Ztex1v1.html#flashWriteSector(int, byte[])"><B>flashWriteSector(int, byte[])</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Writes one sector to the Flash. |
<DT><A HREF="./ztex/Ztex1v1.html#flashWriteSector(int, int, byte[])"><B>flashWriteSector(int, int, byte[])</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Writes a integer number of sectors to the Flash. |
<DT><A HREF="./ztex/ConfigData.html#fpgas"><B>fpgas</B></A> - |
Static variable in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>FPGA's used on ZTEX FPGA Boards. |
<DT><A HREF="./ch/ntb/usb/USB.html#FULLSPEED_MAX_BULK_PACKET_SIZE"><B>FULLSPEED_MAX_BULK_PACKET_SIZE</B></A> - |
Static variable in class ch.ntb.usb.<A HREF="./ch/ntb/usb/USB.html" title="class in ch.ntb.usb">USB</A> |
<DD>The maximum packet size of a bulk transfer when operating in fullspeed |
461,6 → 504,10
<DT><A HREF="./ch/ntb/usb/Usb_Endpoint_Descriptor.html#getBInterval()"><B>getBInterval()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Endpoint_Descriptor.html" title="class in ch.ntb.usb">Usb_Endpoint_Descriptor</A> |
<DD>Returns the intervall for polling endpoint data transfers. |
<DT><A HREF="./ztex/ConfigData.html#getBitstreamSize()"><B>getBitstreamSize()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns actual size of bitstream in bytes sectors. |
0 means that no bitstream is stored. |
<DT><A HREF="./ch/ntb/usb/Usb_Descriptor.html#getBLength()"><B>getBLength()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Descriptor.html" title="class in ch.ntb.usb">Usb_Descriptor</A> |
<DD>Get the size of this descriptor in bytes. |
562,6 → 609,9
<DT><A HREF="./ztex/Ztex1v1.html#getFlashEC()"><B>getFlashEC()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Gets the last Flash error from the device. |
<DT><A HREF="./ztex/ConfigData.html#getFpga()"><B>getFpga()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns FPGA information. |
<DT><A HREF="./ztex/Ztex1v1.html#getFpgaConfiguration()"><B>getFpgaConfiguration()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Returns true if the FPGA is configured. |
612,6 → 662,9
<DT><A HREF="./ch/ntb/usb/Usb_Bus.html#getLocation()"><B>getLocation()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Bus.html" title="class in ch.ntb.usb">Usb_Bus</A> |
<DD>Returns the location in the USB bus linked list. |
<DT><A HREF="./ztex/ConfigData.html#getMaxBitstreamSize()"><B>getMaxBitstreamSize()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns maximum size of bitstream in bytes. |
<DT><A HREF="./ch/ntb/usb/Device.html#getMaxPacketSize()"><B>getMaxPacketSize()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Device.html" title="class in ch.ntb.usb">Device</A> |
<DD>Returns the maximum packet size in bytes which is allowed to be |
619,6 → 672,9
<DT><A HREF="./ch/ntb/usb/Usb_Config_Descriptor.html#getMaxPower()"><B>getMaxPower()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Config_Descriptor.html" title="class in ch.ntb.usb">Usb_Config_Descriptor</A> |
<DD>Returns the maximum power consumption in 2mA units. |
<DT><A HREF="./ztex/ConfigData.html#getName()"><B>getName()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns the name of the FPGA Board. |
<DT><A HREF="./ch/ntb/usb/Usb_Bus.html#getNext()"><B>getNext()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Bus.html" title="class in ch.ntb.usb">Usb_Bus</A> |
<DD>Returns the next bus object. |
637,9 → 693,21
<DT><A HREF="./ch/ntb/usb/Usb_Device.html#getPrev()"><B>getPrev()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Device.html" title="class in ch.ntb.usb">Usb_Device</A> |
<DD>Returns the pointer to the previous device. |
<DT><A HREF="./ztex/ConfigData.html#getRamSize()"><B>getRamSize()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns RAM size in bytes. |
<DT><A HREF="./ztex/ConfigData.html#getRamType()"><B>getRamType()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns RAM type and speed. |
<DT><A HREF="./ch/ntb/usb/Usb_Bus.html#getRootDev()"><B>getRootDev()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Bus.html" title="class in ch.ntb.usb">Usb_Bus</A> |
<DD>Get the root device of this bus. |
<DT><A HREF="./ztex/ConfigData.html#getSN()"><B>getSN()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns the serial number. |
<DT><A HREF="./ztex/ConfigData.html#getUserData(int)"><B>getUserData(int)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Returns user data at index i. |
<DT><A HREF="./ch/ntb/usb/Usb_Endpoint_Descriptor.html#getWMaxPacketSize()"><B>getWMaxPacketSize()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Endpoint_Descriptor.html" title="class in ch.ntb.usb">Usb_Endpoint_Descriptor</A> |
<DD>Returns the maximum packet size of this endpoint is capable of sending or |
667,9 → 735,12
<DT><A HREF="./ztex/IhxFile.html#ihxData"><B>ihxData</B></A> - |
Variable in class ztex.<A HREF="./ztex/IhxFile.html" title="class in ztex">IhxFile</A> |
<DD>This array stores the firmware image. |
<DT><A HREF="./ztex/IhxFile.html" title="class in ztex"><B>IhxFile</B></A> - Class in <A HREF="./ztex/package-summary.html">ztex</A><DD>A class representing a firmware image loaded from an ihx (Intel Hex format) file.<DT><A HREF="./ztex/IhxFile.html#IhxFile(java.lang.String)"><B>IhxFile(String)</B></A> - |
<DT><A HREF="./ztex/IhxFile.html" title="class in ztex"><B>IhxFile</B></A> - Class in <A HREF="./ztex/package-summary.html">ztex</A><DD>A class representing a firmware image loaded from an ihx (Intel Hex format) file.<DT><A HREF="./ztex/IhxFile.html#IhxFile(java.io.InputStream, java.lang.String)"><B>IhxFile(InputStream, String)</B></A> - |
Constructor for class ztex.<A HREF="./ztex/IhxFile.html" title="class in ztex">IhxFile</A> |
<DD>Constructs an instance from a given file name. |
<DT><A HREF="./ztex/IhxFile.html#IhxFile(java.lang.String)"><B>IhxFile(String)</B></A> - |
Constructor for class ztex.<A HREF="./ztex/IhxFile.html" title="class in ztex">IhxFile</A> |
<DD>Constructs an instance from a given file name. |
<DT><A HREF="./ztex/IhxFileDamagedException.html" title="class in ztex"><B>IhxFileDamagedException</B></A> - Exception in <A HREF="./ztex/package-summary.html">ztex</A><DD>Signals that an ihx file is corrupt.<DT><A HREF="./ztex/IhxFileDamagedException.html#IhxFileDamagedException(java.lang.String, int, java.lang.String)"><B>IhxFileDamagedException(String, int, String)</B></A> - |
Constructor for exception ztex.<A HREF="./ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A> |
<DD>Constructs an instance from a given file name, line number and error message. |
685,6 → 756,15
<DT><A HREF="./ch/ntb/usb/USB.html#init()"><B>init()</B></A> - |
Static method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/USB.html" title="class in ch.ntb.usb">USB</A> |
<DD>Explicitly calls <A HREF="./ch/ntb/usb/LibusbJava.html#usb_init()"><CODE>LibusbJava.usb_init()</CODE></A>. |
<DT><A HREF="./ztex/Ztex1.html#init()"><B>init()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1.html" title="class in ztex">Ztex1</A> |
<DD>Initializates the class. |
<DT><A HREF="./ztex/Ztex1v1.html#init()"><B>init()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Initializates the class. |
<DT><A HREF="./ztex/Ztex1v1.html#InterfaceCapabilities(int)"><B>InterfaceCapabilities(int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Returns interface capability bit. |
<DT><A HREF="./ztex/ZtexDevice1.html#interfaceCapabilities()"><B>interfaceCapabilities()</B></A> - |
Method in class ztex.<A HREF="./ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> |
<DD>Returns the interface capabilities (all 6 bytes). |
816,6 → 896,9
<A NAME="_P_"><!-- --></A><H2> |
<B>P</B></H2> |
<DL> |
<DT><A HREF="./ztex/ConfigData.html#packages"><B>packages</B></A> - |
Static variable in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>FPGA packages used on ZTEX FPGA boards. |
<DT><A HREF="./ztex/ZtexScanBus1.html#printBus(java.io.PrintStream)"><B>printBus(PrintStream)</B></A> - |
Method in class ztex.<A HREF="./ztex/ZtexScanBus1.html" title="class in ztex">ZtexScanBus1</A> |
<DD>Prints out a list of devices found. |
825,6 → 908,9
<DT><A HREF="./ztex/Ztex1v1.html#printMmcState()"><B>printMmcState()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Prints out some debug information about *SD/MMC Flash cards in SPI mode. |
<DT><A HREF="./ztex/Ztex1v1.html#printSpiState()"><B>printSpiState()</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Prints out some debug information about SPI Flash. |
<DT><A HREF="./ztex/ZtexDevice1.html#productId()"><B>productId()</B></A> - |
Method in class ztex.<A HREF="./ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> |
<DD>Returns the product ID (all 4 bytes). |
845,6 → 931,9
<A NAME="_R_"><!-- --></A><H2> |
<B>R</B></H2> |
<DL> |
<DT><A HREF="./ztex/ConfigData.html#ramTypes"><B>ramTypes</B></A> - |
Static variable in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>RAM types and speed used on ZTEX FPGA boards. |
<DT><A HREF="./ch/ntb/usb/Device.html#readBulk(int, byte[], int, int, boolean)"><B>readBulk(int, byte[], int, int, boolean)</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Device.html" title="class in ch.ntb.usb">Device</A> |
<DD>Read data from the device using a bulk transfer. |
948,15 → 1037,39
<DT><A HREF="./ztex/Ztex1v1.html#selectFpga(int)"><B>selectFpga(int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Select a FPGA |
<DT><A HREF="./ztex/ConfigData.html#sendtUserData()"><B>sendtUserData()</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Sends the user data to the FPGA Board. |
<DT><A HREF="./ztex/ConfigData.html#setBitstreamSize(int)"><B>setBitstreamSize(int)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Sets the actual size of bitstream in bytes. |
<DT><A HREF="./ztex/Ztex1.html#setConfiguration(int)"><B>setConfiguration(int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1.html" title="class in ztex">Ztex1</A> |
<DD>Sets the configuration. |
<DT><A HREF="./ztex/ConfigData.html#setFpga(java.lang.String, java.lang.String, java.lang.String)"><B>setFpga(String, String, String)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Sets FPGA information. |
<DT><A HREF="./ztex/ConfigData.html#setMaxBitstreamSize(int)"><B>setMaxBitstreamSize(int)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Sets the maximum size of bitstream in 4 KByte sectors. |
<DT><A HREF="./ztex/ConfigData.html#setName(java.lang.String, int, int, java.lang.String)"><B>setName(String, int, int, String)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Sets the name of the FPGA Board. |
<DT><A HREF="./ztex/ConfigData.html#setRam(int, java.lang.String)"><B>setRam(int, String)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Sets RAM information. |
<DT><A HREF="./ch/ntb/usb/Device.html#setResetOnFirstOpen(boolean, int)"><B>setResetOnFirstOpen(boolean, int)</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Device.html" title="class in ch.ntb.usb">Device</A> |
<DD>If enabled, the device is reset when first opened. |
<DT><A HREF="./ztex/ConfigData.html#setSN(java.lang.String)"><B>setSN(String)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Sets the serial number. |
<DT><A HREF="./ztex/ZtexIhxFile1.html#setSnString(java.lang.String)"><B>setSnString(String)</B></A> - |
Method in class ztex.<A HREF="./ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> |
<DD>Modifies the serial number string. |
<DT><A HREF="./ztex/ConfigData.html#setUserData(int, byte)"><B>setUserData(int, byte)</B></A> - |
Method in class ztex.<A HREF="./ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<DD>Sets user data at index i to value v. |
<DT><A HREF="./ztex/ZtexDevice1.html#snString()"><B>snString()</B></A> - |
Method in class ztex.<A HREF="./ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> |
<DD>Returns the serial number string of the device. |
968,6 → 1081,12
<A NAME="_T_"><!-- --></A><H2> |
<B>T</B></H2> |
<DL> |
<DT><A HREF="./ztex/Ztex1v1.html#tempSensorRead(int)"><B>tempSensorRead(int)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>Read temperature sensor data. |
<DT><A HREF="./ztex/Ztex1v1.html#tempSensorUpdateInterval"><B>tempSensorUpdateInterval</B></A> - |
Variable in class ztex.<A HREF="./ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> |
<DD>smallest temperature sensor update interval in ms |
<DT><A HREF="./ch/ntb/usb/Usb_Bus.html#toString()"><B>toString()</B></A> - |
Method in class ch.ntb.usb.<A HREF="./ch/ntb/usb/Usb_Bus.html" title="class in ch.ntb.usb">Usb_Bus</A> |
<DD> |
1021,6 → 1140,9
<DT><A HREF="./ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)"><B>uploadFirmware(String, boolean)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1.html" title="class in ztex">Ztex1</A> |
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process. |
<DT><A HREF="./ztex/Ztex1.html#uploadFirmware(java.io.InputStream, java.lang.String, boolean)"><B>uploadFirmware(InputStream, String, boolean)</B></A> - |
Method in class ztex.<A HREF="./ztex/Ztex1.html" title="class in ztex">Ztex1</A> |
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process. |
<DT><A HREF="./ch/ntb/usb/USB.html" title="class in ch.ntb.usb"><B>USB</B></A> - Class in <A HREF="./ch/ntb/usb/package-summary.html">ch.ntb.usb</A><DD>This class manages all USB devices and defines some USB specific constants.<DT><A HREF="./ch/ntb/usb/USB.html#USB()"><B>USB()</B></A> - |
Constructor for class ch.ntb.usb.<A HREF="./ch/ntb/usb/USB.html" title="class in ch.ntb.usb">USB</A> |
<DD> |
1399,9 → 1521,15
<DT><A HREF="./ztex/ZtexDevice1.html" title="class in ztex"><B>ZtexDevice1</B></A> - Class in <A HREF="./ztex/package-summary.html">ztex</A><DD>A class representing an EZ-USB device that supports the ZTEX descriptor 1 or an unconfigured EZ-USB device.<DT><A HREF="./ztex/ZtexDevice1.html#ZtexDevice1(ch.ntb.usb.Usb_Device, int, int, boolean)"><B>ZtexDevice1(Usb_Device, int, int, boolean)</B></A> - |
Constructor for class ztex.<A HREF="./ztex/ZtexDevice1.html" title="class in ztex">ZtexDevice1</A> |
<DD>Constructs an instance from a given USB device. |
<DT><A HREF="./ztex/ZtexIhxFile1.html" title="class in ztex"><B>ZtexIhxFile1</B></A> - Class in <A HREF="./ztex/package-summary.html">ztex</A><DD>Represents a firmware image with ZTEX descriptor 1 loaded from an ihx (Intel Hex format) file.<DT><A HREF="./ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.lang.String, int)"><B>ZtexIhxFile1(String, int)</B></A> - |
<DT><A HREF="./ztex/ZtexIhxFile1.html" title="class in ztex"><B>ZtexIhxFile1</B></A> - Class in <A HREF="./ztex/package-summary.html">ztex</A><DD>Represents a firmware image with ZTEX descriptor 1 loaded from an ihx (Intel Hex format) file.<DT><A HREF="./ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.io.InputStream, java.lang.String, int)"><B>ZtexIhxFile1(InputStream, String, int)</B></A> - |
Constructor for class ztex.<A HREF="./ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> |
<DD>Constructs an instance from a given file name and descriptor position. |
<DT><A HREF="./ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.io.InputStream, java.lang.String)"><B>ZtexIhxFile1(InputStream, String)</B></A> - |
Constructor for class ztex.<A HREF="./ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> |
<DD>Constructs an instance from a given file name and descriptor position. |
<DT><A HREF="./ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.lang.String, int)"><B>ZtexIhxFile1(String, int)</B></A> - |
Constructor for class ztex.<A HREF="./ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> |
<DD>Constructs an instance from a given file name and descriptor position. |
<DT><A HREF="./ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.lang.String)"><B>ZtexIhxFile1(String)</B></A> - |
Constructor for class ztex.<A HREF="./ztex/ZtexIhxFile1.html" title="class in ztex">ZtexIhxFile1</A> |
<DD>Constructs an instance from a given file name. |
/java/allclasses-frame.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:28 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
All Classes |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
|
29,6 → 29,8
<BR> |
<A HREF="ztex/CapabilityException.html" title="class in ztex" target="classFrame">CapabilityException</A> |
<BR> |
<A HREF="ztex/ConfigData.html" title="class in ztex" target="classFrame">ConfigData</A> |
<BR> |
<A HREF="ch/ntb/usb/Device.html" title="class in ch.ntb.usb" target="classFrame">Device</A> |
<BR> |
<A HREF="ztex/DeviceLostException.html" title="class in ztex" target="classFrame">DeviceLostException</A> |
/java/constant-values.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Constant Field Values |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
|
574,6 → 574,12
<TD ALIGN="right"><CODE>7</CODE></TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<A NAME="ztex.Ztex1v1.CAPABILITY_TEMP_SENSOR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> |
<CODE>public static final int</CODE></FONT></TD> |
<TD ALIGN="left"><CODE><A HREF="ztex/Ztex1v1.html#CAPABILITY_TEMP_SENSOR">CAPABILITY_TEMP_SENSOR</A></CODE></TD> |
<TD ALIGN="right"><CODE>9</CODE></TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<A NAME="ztex.Ztex1v1.CAPABILITY_XMEGA"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> |
<CODE>public static final int</CODE></FONT></TD> |
<TD ALIGN="left"><CODE><A HREF="ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></CODE></TD> |
/java/ch/ntb/usb/Usb_Config_Descriptor.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
Usb_Config_Descriptor |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/USBTimeoutException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
USBTimeoutException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/LibusbJava.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
LibusbJava |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/package-frame.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
ch.ntb.usb |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/package-summary.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
ch.ntb.usb |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Usb_Descriptor.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
Usb_Descriptor |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Usb_Endpoint_Descriptor.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Usb_Endpoint_Descriptor |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/package-tree.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
ch.ntb.usb Class Hierarchy |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/USB.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
USB |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/LibLoader.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
LibLoader |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Device.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
Device |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Utils.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Utils |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Usb_Bus.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
Usb_Bus |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Usb_Device_Descriptor.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
Usb_Device_Descriptor |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Usb_Interface_Descriptor.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Usb_Interface_Descriptor |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Usb_Device.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
Usb_Device |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/USBException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
USBException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ch/ntb/usb/Usb_Interface.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Usb_Interface |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
|
/java/ztex/BitstreamUploadException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
BitstreamUploadException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/DeviceLostException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
DeviceLostException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
54,7 → 54,7
|
<TR> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A> |
<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>PREV CLASS</B></A> |
<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../index.html?ztex/DeviceLostException.html" target="_top"><B>FRAMES</B></A> |
227,7 → 227,7
|
<TR> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A> |
<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>PREV CLASS</B></A> |
<A HREF="../ztex/DeviceNotSupportedException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../index.html?ztex/DeviceLostException.html" target="_top"><B>FRAMES</B></A> |
/java/ztex/Ztex1v1.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
Ztex1v1 |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
483,6 → 483,37
</table> |
</td> |
</tr> |
<tr> |
<td bgcolor="#ffffff" valign="top">1.0</td> |
<td bgcolor="#ffffff" valign="top" colspan=2> |
Temperature sensor support<p> |
<table bgcolor="#404040" cellspacing=1 cellpadding=6> |
<tr> |
<td bgcolor="#d0d0d0" valign="bottom"><b>Vendor request (VR)<br> or command (VC)</b></td> |
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td> |
</tr> |
<tr> |
<td bgcolor="#ffffff" valign="top">VR 0x58</td> |
<td bgcolor="#ffffff" valign="top">Return temperature data: |
<table bgcolor="#404040" cellspacing=1 cellpadding=4> |
<tr> |
<td bgcolor="#d0d0d0" valign="bottom"><b>Bytes</b></td> |
<td bgcolor="#d0d0d0" valign="bottom"><b>Description</b></td> |
</tr> |
<tr> |
<td bgcolor="#ffffff" valign="top">0</td> |
<td bgcolor="#ffffff" valign="top">Protocol</td> |
</tr> |
<tr> |
<td bgcolor="#ffffff" valign="top">1..n</td> |
<td bgcolor="#ffffff" valign="top">Data</td> |
</tr> |
</table> |
</td> |
</tr> |
</table> |
</td> |
</tr> |
</table> |
<P> |
|
560,6 → 591,14
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>static int</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_TEMP_SENSOR">CAPABILITY_TEMP_SENSOR</A></B></CODE> |
|
<BR> |
Capability index for Temperature sensor support</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>static int</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#CAPABILITY_XMEGA">CAPABILITY_XMEGA</A></B></CODE> |
|
<BR> |
575,6 → 614,15
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> <A HREF="../ztex/ConfigData.html" title="class in ztex">ConfigData</A></CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#config">config</A></B></CODE> |
|
<BR> |
The configuration data structure |
is initialized if this kind of data is present in MAC EEPROM.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> int</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#debugNewMessages">debugNewMessages</A></B></CODE> |
|
679,6 → 727,14
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> int</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#tempSensorUpdateInterval">tempSensorUpdateInterval</A></B></CODE> |
|
<BR> |
smallest temperature sensor update interval in ms</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>static int</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#XMEGA_EC_ADDRESS_ERROR">XMEGA_EC_ADDRESS_ERROR</A></B></CODE> |
|
826,6 → 882,16
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.io.InputStream, boolean, int)">configureFpga</A></B>(java.io.InputStream inputStream, |
boolean force, |
int bs)</CODE> |
|
<BR> |
Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpga(java.lang.String, boolean)">configureFpga</A></B>(java.lang.String fwFileName, |
boolean force)</CODE> |
|
845,6 → 911,16
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.io.InputStream, boolean, int)">configureFpgaHS</A></B>(java.io.InputStream inputStream, |
boolean force, |
int bs)</CODE> |
|
<BR> |
Upload a Bitstream to the FPGA using high speed mode.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaHS(java.lang.String, boolean, int)">configureFpgaHS</A></B>(java.lang.String fwFileName, |
boolean force, |
int bs)</CODE> |
855,6 → 931,16
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.io.InputStream, boolean, int)">configureFpgaLS</A></B>(java.io.InputStream inputStream, |
boolean force, |
int bs)</CODE> |
|
<BR> |
Upload a Bitstream to the FPGA using low speed mode.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#configureFpgaLS(java.lang.String, boolean, int)">configureFpgaLS</A></B>(java.lang.String fwFileName, |
boolean force, |
int bs)</CODE> |
967,6 → 1053,14
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> java.lang.String</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashInfo()">flashInfo</A></B>()</CODE> |
|
<BR> |
Returns information about Flash memory.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashReadSector(int, byte[])">flashReadSector</A></B>(int sector, |
byte[] buf)</CODE> |
1043,6 → 1137,15
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)">flashUploadBitstream</A></B>(java.io.InputStream inputStream, |
int bs)</CODE> |
|
<BR> |
Uploads a Bitstream to the Flash.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String)">flashUploadBitstream</A></B>(java.lang.String fwFileName)</CODE> |
|
<BR> |
1102,6 → 1205,22
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>protected void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#init()">init</A></B>()</CODE> |
|
<BR> |
Initializates the class.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> boolean</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#InterfaceCapabilities(int)">InterfaceCapabilities</A></B>(int i)</CODE> |
|
<BR> |
Returns interface capability bit.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#macEepromRead(int, byte[], int)">macEepromRead</A></B>(int addr, |
byte[] buf, |
1162,6 → 1281,14
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> boolean</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#printSpiState()">printSpiState</A></B>()</CODE> |
|
<BR> |
Prints out some debug information about SPI Flash.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#resetFpga()">resetFpga</A></B>()</CODE> |
|
1178,6 → 1305,14
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> double</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#tempSensorRead(int)">tempSensorRead</A></B>(int idx)</CODE> |
|
<BR> |
Read temperature sensor data.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> java.lang.String</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1v1.html#toString()">toString</A></B>()</CODE> |
|
1371,7 → 1506,7
<TH ALIGN="left"><B>Methods inherited from class ztex.<A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></B></TH> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE><A HREF="../ztex/Ztex1.html#claimInterface(int)">claimInterface</A>, <A HREF="../ztex/Ztex1.html#dev()">dev</A>, <A HREF="../ztex/Ztex1.html#finalize()">finalize</A>, <A HREF="../ztex/Ztex1.html#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.io.InputStream, java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#uploadFirmware(ztex.ZtexIhxFile1, boolean)">uploadFirmware</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand(int, java.lang.String, int, int, byte[], int)">vendorCommand</A>, <A HREF="../ztex/Ztex1.html#vendorCommand2(int, java.lang.String, int, int, byte[], int)">vendorCommand2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest(int, java.lang.String, int, int, byte[], int)">vendorRequest</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, byte[], int)">vendorRequest2</A>, <A HREF="../ztex/Ztex1.html#vendorRequest2(int, java.lang.String, int, int, byte[], int)">vendorRequest2</A></CODE></TD> |
</TR> |
</TABLE> |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
1492,6 → 1627,18
</DL> |
<HR> |
|
<A NAME="CAPABILITY_TEMP_SENSOR"><!-- --></A><H3> |
CAPABILITY_TEMP_SENSOR</H3> |
<PRE> |
public static final int <B>CAPABILITY_TEMP_SENSOR</B></PRE> |
<DL> |
<DD>Capability index for Temperature sensor support |
<P> |
<DL> |
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.CAPABILITY_TEMP_SENSOR">Constant Field Values</A></DL> |
</DL> |
<HR> |
|
<A NAME="capabilityStrings"><!-- --></A><H3> |
capabilityStrings</H3> |
<PRE> |
1742,7 → 1889,35
<DL> |
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#ztex.Ztex1v1.XMEGA_EC_NVM_BUSY">Constant Field Values</A></DL> |
</DL> |
<HR> |
|
<A NAME="tempSensorUpdateInterval"><!-- --></A><H3> |
tempSensorUpdateInterval</H3> |
<PRE> |
public int <B>tempSensorUpdateInterval</B></PRE> |
<DL> |
<DD>smallest temperature sensor update interval in ms |
<P> |
<DL> |
</DL> |
</DL> |
<HR> |
|
<A NAME="config"><!-- --></A><H3> |
config</H3> |
<PRE> |
public <A HREF="../ztex/ConfigData.html" title="class in ztex">ConfigData</A> <B>config</B></PRE> |
<DL> |
<DD>The configuration data structure |
is initialized if this kind of data is present in MAC EEPROM. |
In this case MAC EEPROM writes to addresses 0 to 79 are disabled, see <A HREF="../ztex/Ztex1v1.html#macEepromWrite(int, byte[], int)"><CODE>macEepromWrite(int,byte[],int)</CODE></A>. |
In order to override this behavior set this variable to null. |
If no configuration data is present <A HREF="../ztex/Ztex1v1.html#config"><CODE>config</CODE></A> is null. |
<P> |
<DL> |
</DL> |
</DL> |
|
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
|
<A NAME="constructor_detail"><!-- --></A> |
1777,6 → 1952,25
</TR> |
</TABLE> |
|
<A NAME="init()"><!-- --></A><H3> |
init</H3> |
<PRE> |
protected void <B>init</B>() |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE> |
<DL> |
<DD>Initializates the class. |
<P> |
<DD><DL> |
<DT><B>Overrides:</B><DD><CODE><A HREF="../ztex/Ztex1.html#init()">init</A></CODE> in class <CODE><A HREF="../ztex/Ztex1.html" title="class in ztex">Ztex1</A></CODE></DL> |
</DD> |
<DD><DL> |
|
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="valid()"><!-- --></A><H3> |
valid</H3> |
<PRE> |
1887,6 → 2081,20
</DL> |
<HR> |
|
<A NAME="InterfaceCapabilities(int)"><!-- --></A><H3> |
InterfaceCapabilities</H3> |
<PRE> |
public boolean <B>InterfaceCapabilities</B>(int i)</PRE> |
<DL> |
<DD>Returns interface capability bit. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>i</CODE> - capability index (0..47) |
<DT><B>Returns:</B><DD>interface capability bit.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="checkCompatible(int, int, int, int)"><!-- --></A><H3> |
checkCompatible</H3> |
<PRE> |
1989,6 → 2197,34
</DL> |
<HR> |
|
<A NAME="configureFpgaLS(java.io.InputStream, boolean, int)"><!-- --></A><H3> |
configureFpgaLS</H3> |
<PRE> |
public long <B>configureFpgaLS</B>(java.io.InputStream inputStream, |
boolean force, |
int bs) |
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>, |
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Upload a Bitstream to the FPGA using low speed mode. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream. |
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream. |
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured. |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="configureFpgaLS(java.lang.String, boolean, int)"><!-- --></A><H3> |
configureFpgaLS</H3> |
<PRE> |
2223,10 → 2459,11
</DL> |
<HR> |
|
<A NAME="flashReadSector(int, byte[])"><!-- --></A><H3> |
<A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3> |
flashReadSector</H3> |
<PRE> |
public void <B>flashReadSector</B>(int sector, |
int num, |
byte[] buf) |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
2233,24 → 2470,23
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>, |
java.lang.IndexOutOfBoundsException</PRE> |
<DL> |
<DD>Reads one sector from the Flash. |
<DD>Reads a integer number of sectors from the Flash. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data. |
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The number of the first sector to be read.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible. |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL> |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="flashReadSector(int, int, byte[])"><!-- --></A><H3> |
<A NAME="flashReadSector(int, byte[])"><!-- --></A><H3> |
flashReadSector</H3> |
<PRE> |
public void <B>flashReadSector</B>(int sector, |
int num, |
byte[] buf) |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
2257,23 → 2493,24
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>, |
java.lang.IndexOutOfBoundsException</PRE> |
<DL> |
<DD>Reads a integer number of sectors from the Flash. |
<DD>Reads one sector from the Flash. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The number of the first sector to be read.<DD><CODE>num</CODE> - The number of sectors to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data. |
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be read.<DD><CODE>buf</CODE> - A buffer for the storage of the data. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible. |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL> |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3> |
<A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3> |
flashWriteSector</H3> |
<PRE> |
public void <B>flashWriteSector</B>(int sector, |
int num, |
byte[] buf) |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
2280,24 → 2517,23
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>, |
java.lang.IndexOutOfBoundsException</PRE> |
<DL> |
<DD>Writes one sector to the Flash. |
<DD>Writes a integer number of sectors to the Flash. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>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> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible. |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL> |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="flashWriteSector(int, int, byte[])"><!-- --></A><H3> |
<A NAME="flashWriteSector(int, byte[])"><!-- --></A><H3> |
flashWriteSector</H3> |
<PRE> |
public void <B>flashWriteSector</B>(int sector, |
int num, |
byte[] buf) |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
2304,15 → 2540,15
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>, |
java.lang.IndexOutOfBoundsException</PRE> |
<DL> |
<DD>Writes a integer number of sectors to the Flash. |
<DD>Writes one sector to the Flash. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>sector</CODE> - The sector number to be written.<DD><CODE>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>buf</CODE> - The data. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible. |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is to small.</DL> |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If the buffer is smaller than the Flash sector size.</DL> |
</DD> |
</DL> |
<HR> |
2425,10 → 2661,10
</DL> |
<HR> |
|
<A NAME="flashUploadBitstream(java.lang.String, int)"><!-- --></A><H3> |
<A NAME="flashUploadBitstream(java.io.InputStream, int)"><!-- --></A><H3> |
flashUploadBitstream</H3> |
<PRE> |
public long <B>flashUploadBitstream</B>(java.lang.String fwFileName, |
public long <B>flashUploadBitstream</B>(java.io.InputStream inputStream, |
int bs) |
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
2439,7 → 2675,10
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM |
it is possible to construct fully autonomous devices. |
<p> |
Information about the bitstream is stored in sector 0. |
If configuration data is present information about bitstream are stored there and Bitstream starts |
at sector 0. |
<p> |
On all other devices the information about the bitstream is stored in sector 0. |
This so called boot sector has the following format: |
<table bgcolor="#404040" cellspacing=1 cellpadding=4> |
<tr> |
2470,6 → 2709,32
The first sector of the Bitstream is sector 1. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not possible. |
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="flashUploadBitstream(java.lang.String, int)"><!-- --></A><H3> |
flashUploadBitstream</H3> |
<PRE> |
public long <B>flashUploadBitstream</B>(java.lang.String fwFileName, |
int bs) |
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Uploads a Bitstream to the Flash. |
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM |
it is possible to construct fully autonomous devices. |
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)"><CODE>flashUploadBitstream(InputStream,int)</CODE></A> for further details. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
2492,7 → 2757,7
<DD>Uploads a Bitstream to the Flash. |
This allows the firmware to load the Bitstream from Flash. Together with installation of the firmware in EEPROM |
it is possible to construct fully autonomous devices. |
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.lang.String, int)"><CODE>flashUploadBitstream(String,int)</CODE></A> for further details. |
See <A HREF="../ztex/Ztex1v1.html#flashUploadBitstream(java.io.InputStream, int)"><CODE>flashUploadBitstream(InputStream,int)</CODE></A> for further details. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>fwFileName</CODE> - The file name of the Bitstream. The file can be a regular file or a system resource (e.g. a file from the current jar archive). |
2549,6 → 2814,22
</DL> |
<HR> |
|
<A NAME="flashInfo()"><!-- --></A><H3> |
flashInfo</H3> |
<PRE> |
public java.lang.String <B>flashInfo</B>()</PRE> |
<DL> |
<DD>Returns information about Flash memory. |
The result contains the size and how much of the Flash is us used / reserved for / by the Bitstream. |
If no Flash memeory is suppported an empty string is returned. |
Returns Information about Flash memory. |
<P> |
<DD><DL> |
</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="debugStackSize()"><!-- --></A><H3> |
debugStackSize</H3> |
<PRE> |
3056,6 → 3337,34
</DL> |
<HR> |
|
<A NAME="configureFpgaHS(java.io.InputStream, boolean, int)"><!-- --></A><H3> |
configureFpgaHS</H3> |
<PRE> |
public long <B>configureFpgaHS</B>(java.io.InputStream inputStream, |
boolean force, |
int bs) |
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>, |
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Upload a Bitstream to the FPGA using high speed mode. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream. |
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream. |
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured. |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="configureFpgaHS(java.lang.String, boolean, int)"><!-- --></A><H3> |
configureFpgaHS</H3> |
<PRE> |
3084,6 → 3393,34
</DL> |
<HR> |
|
<A NAME="configureFpga(java.io.InputStream, boolean, int)"><!-- --></A><H3> |
configureFpga</H3> |
<PRE> |
public long <B>configureFpga</B>(java.io.InputStream inputStream, |
boolean force, |
int bs) |
throws <A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A>, |
<A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Upload a Bitstream to the FPGA using high speed mode (if available) or low speed mode. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>inputStream</CODE> - for reading the Bitstream.<DD><CODE>force</CODE> - If set to true existing configurations will be overwritten. (By default an <A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex"><CODE>AlreadyConfiguredException</CODE></A> is thrown).<DD><CODE>bs</CODE> - 0: disable bit swapping, 1: enable bit swapping, all other values: automatic detection of bit order. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/BitstreamReadException.html" title="class in ztex">BitstreamReadException</A></CODE> - if an error occurred while attempting to read the Bitstream. |
<DD><CODE><A HREF="../ztex/BitstreamUploadException.html" title="class in ztex">BitstreamUploadException</A></CODE> - if an error occurred while attempting to upload the Bitstream. |
<DD><CODE><A HREF="../ztex/AlreadyConfiguredException.html" title="class in ztex">AlreadyConfiguredException</A></CODE> - if the FPGA is already configured. |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if FPGA configuration is not supported by the firmware.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="configureFpga(java.lang.String, boolean, int)"><!-- --></A><H3> |
configureFpga</H3> |
<PRE> |
3156,7 → 3493,7
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware.</DL> |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if MAC EEPROM access is not supported by the firmware or if configuration data is present and there is a write to addresses 0 to 79. In order to override this behavior set <A HREF="../ztex/Ztex1v1.html#config"><CODE>config</CODE></A> variable to null.</DL> |
</DD> |
</DL> |
<HR> |
3263,6 → 3600,50
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If FPGA number is not in range.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="tempSensorRead(int)"><!-- --></A><H3> |
tempSensorRead</H3> |
<PRE> |
public double <B>tempSensorRead</B>(int idx) |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A>, |
java.lang.IndexOutOfBoundsException</PRE> |
<DL> |
<DD>Read temperature sensor data. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>idx</CODE> - Temperature sensor index |
<DT><B>Returns:</B><DD>Temperature in deg. C |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 or temperature sensor protocol is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If NVRAM access to ATxmega is not supported by the firmware. |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If idx is not in range.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="printSpiState()"><!-- --></A><H3> |
printSpiState</H3> |
<PRE> |
public boolean <B>printSpiState</B>() |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Prints out some debug information about SPI Flash.<br> |
<b>Only use this method if such kind of Flash is installed.</b> |
<P> |
<DD><DL> |
|
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - if Flash memory access is not supported by the firmware.</DL> |
</DD> |
</DL> |
<!-- ========= END OF CLASS DATA ========= --> |
<HR> |
|
/java/ztex/IncompatibleFirmwareException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
IncompatibleFirmwareException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/package-frame.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
ztex |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
23,6 → 23,8
Classes</FONT> |
<FONT CLASS="FrameItemFont"> |
<BR> |
<A HREF="ConfigData.html" title="class in ztex" target="classFrame">ConfigData</A> |
<BR> |
<A HREF="EzUsb.html" title="class in ztex" target="classFrame">EzUsb</A> |
<BR> |
<A HREF="IhxFile.html" title="class in ztex" target="classFrame">IhxFile</A> |
/java/ztex/ZtexIhxFile1.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
ZtexIhxFile1 |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
141,6 → 141,21
<B>Constructor Summary</B></FONT></TH> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE><B><A HREF="../ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.io.InputStream, java.lang.String)">ZtexIhxFile1</A></B>(java.io.InputStream in, |
java.lang.String name)</CODE> |
|
<BR> |
Constructs an instance from a given file name and descriptor position.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE><B><A HREF="../ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.io.InputStream, java.lang.String, int)">ZtexIhxFile1</A></B>(java.io.InputStream in, |
java.lang.String name, |
int pZtexDescriptorOffs)</CODE> |
|
<BR> |
Constructs an instance from a given file name and descriptor position.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE><B><A HREF="../ztex/ZtexIhxFile1.html#ZtexIhxFile1(java.lang.String)">ZtexIhxFile1</A></B>(java.lang.String fileName)</CODE> |
|
<BR> |
283,6 → 298,50
</TR> |
</TABLE> |
|
<A NAME="ZtexIhxFile1(java.io.InputStream, java.lang.String, int)"><!-- --></A><H3> |
ZtexIhxFile1</H3> |
<PRE> |
public <B>ZtexIhxFile1</B>(java.io.InputStream in, |
java.lang.String name, |
int pZtexDescriptorOffs) |
throws java.io.IOException, |
<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A>, |
<A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></PRE> |
<DL> |
<DD>Constructs an instance from a given file name and descriptor position.<br> |
This method can also read system resources, e.g. files from the current jar archive. |
<P> |
<DL> |
<DT><B>Parameters:</B><DD><CODE>in</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input.<DD><CODE>pZtexDescriptorOffs</CODE> - The position of the descriptor in bytes. The default position is 0x6c. |
<DT><B>Throws:</B> |
<DD><CODE>java.io.IOException</CODE> - If an read error occurred. |
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged. |
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - If the firmware image contains no valid ZTEX descriptor 1 at the specified position.</DL> |
</DL> |
<HR> |
|
<A NAME="ZtexIhxFile1(java.io.InputStream, java.lang.String)"><!-- --></A><H3> |
ZtexIhxFile1</H3> |
<PRE> |
public <B>ZtexIhxFile1</B>(java.io.InputStream in, |
java.lang.String name) |
throws java.io.IOException, |
<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A>, |
<A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></PRE> |
<DL> |
<DD>Constructs an instance from a given file name and descriptor position.<br> |
The ZTEX descriptor 1 is expected to be at the position 0x6c of the firmware image.<br> |
This method can also read system resources, e.g. files from the current jar archive. |
<P> |
<DL> |
<DT><B>Parameters:</B><DD><CODE>in</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input. |
<DT><B>Throws:</B> |
<DD><CODE>java.io.IOException</CODE> - If an read error occurred. |
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged. |
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - If the firmware image contains no valid ZTEX descriptor 1 at the specified position.</DL> |
</DL> |
<HR> |
|
<A NAME="ZtexIhxFile1(java.lang.String, int)"><!-- --></A><H3> |
ZtexIhxFile1</H3> |
<PRE> |
/java/ztex/JInputStream.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
JInputStream |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/package-summary.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
ztex |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
94,6 → 94,10
<B>Class Summary</B></FONT></TH> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD WIDTH="15%"><B><A HREF="../ztex/ConfigData.html" title="class in ztex">ConfigData</A></B></TD> |
<TD>This class represents the configuration data space of ZTEX FPGA Boards that support it.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD WIDTH="15%"><B><A HREF="../ztex/EzUsb.html" title="class in ztex">EzUsb</A></B></TD> |
<TD>Provides methods for uploading firmware to Cypress EZ-USB devices.</TD> |
</TR> |
/java/ztex/package-tree.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
ztex Class Hierarchy |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
91,7 → 91,7
</H2> |
<UL> |
<LI TYPE="circle">java.lang.Object<UL> |
<LI TYPE="circle">ztex.<A HREF="../ztex/EzUsb.html" title="class in ztex"><B>EzUsb</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IhxFile.html" title="class in ztex"><B>IhxFile</B></A><UL> |
<LI TYPE="circle">ztex.<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>ConfigData</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/EzUsb.html" title="class in ztex"><B>EzUsb</B></A><LI TYPE="circle">ztex.<A HREF="../ztex/IhxFile.html" title="class in ztex"><B>IhxFile</B></A><UL> |
<LI TYPE="circle">ztex.<A HREF="../ztex/ZtexIhxFile1.html" title="class in ztex"><B>ZtexIhxFile1</B></A></UL> |
<LI TYPE="circle">ztex.<A HREF="../ztex/JInputStream.html" title="class in ztex"><B>JInputStream</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable) |
<UL> |
/java/ztex/EzUsb.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
EzUsb |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/IhxFile.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
IhxFile |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
137,6 → 137,13
<B>Constructor Summary</B></FONT></TH> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE><B><A HREF="../ztex/IhxFile.html#IhxFile(java.io.InputStream, java.lang.String)">IhxFile</A></B>(java.io.InputStream in, |
java.lang.String name)</CODE> |
|
<BR> |
Constructs an instance from a given file name.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE><B><A HREF="../ztex/IhxFile.html#IhxFile(java.lang.String)">IhxFile</A></B>(java.lang.String fileName)</CODE> |
|
<BR> |
205,6 → 212,25
</TR> |
</TABLE> |
|
<A NAME="IhxFile(java.io.InputStream, java.lang.String)"><!-- --></A><H3> |
IhxFile</H3> |
<PRE> |
public <B>IhxFile</B>(java.io.InputStream in, |
java.lang.String name) |
throws java.io.IOException, |
<A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></PRE> |
<DL> |
<DD>Constructs an instance from a given file name. |
This method can also read system resources, e.g. files from the current jar archive. |
<P> |
<DL> |
<DT><B>Parameters:</B><DD><CODE>in</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input. |
<DT><B>Throws:</B> |
<DD><CODE>java.io.IOException</CODE> - If an read error occurred. |
<DD><CODE><A HREF="../ztex/IhxFileDamagedException.html" title="class in ztex">IhxFileDamagedException</A></CODE> - If the ihx file is damaged.</DL> |
</DL> |
<HR> |
|
<A NAME="IhxFile(java.lang.String)"><!-- --></A><H3> |
IhxFile</H3> |
<PRE> |
/java/ztex/ZtexScanBus1.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
ZtexScanBus1 |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/ZtexDevice1.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
ZtexDevice1 |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
145,10 → 145,16
<tr><td>0.0.0.0</td> <td>default Product ID (no product specified)</td></tr> |
<tr><td>1.*.*.*</td> <td>may be used for experimental purposes</td></tr> |
<tr><td>10.*.*.*</td> <td>used for ZTEX products</td></tr> |
<tr><td>10.11.*.*</td> <td><a href="http://www.ztex.de/usb-fpga-1/usb-fpga-1.2.e.html">ZTEX USB-FPGA-Module 1.2</a></td></tr> |
<tr><td>10.20.*.*</td> <td><a href="http://www.ztex.de/usb-1/usb-1.0.e.html">ZTEX USB-Module 1.0</a></td></tr> |
<tr><td>10.11.*.*</td> <td>ZTEX USB-FPGA-Module 1.2</td></tr> |
<tr><td>10.12.*.*</td> <td>ZTEX USB-FPGA-Module 1.11</td></tr> |
<tr><td>10.13.*.*</td> <td>ZTEX USB-FPGA-Module 1.15 (not 1.15y)</td></tr> |
<tr><td>10.14.*.*</td> <td>ZTEX USB-FPGA-Module 1.15x</td></tr> |
<tr><td>10.15.*.*</td> <td>ZTEX USB-FPGA-Module 1.15y</td></tr> |
<tr><td>10.20.*.*</td> <td>ZTEX USB-Module 1.0</td></tr> |
<tr><td>10.30.*.*</td> <td>ZTEX USB-XMEGA-Module 1.0</td></tr> |
<tr><td>10.0.1.1</td> <td>ZTEX BTCMiner firmware</td></tr> |
</table></td></tr></table> |
Please contact me (<a href="http://www.ztex.de/contact.e.html">http://www.ztex.de/contact.e.html</a>) if you want to register or reserve a Product ID (range). |
Please contact us (<a href="http://www.ztex.de/contact.e.html">http://www.ztex.de/contact.e.html</a>) if you want to register or reserve a Product ID (range). |
</td> |
</tr> |
<tr> |
/java/ztex/ConfigData.html
0,0 → 1,907
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
ConfigData |
</TITLE> |
|
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
<SCRIPT type="text/javascript"> |
function windowTitle() |
{ |
if (location.href.indexOf('is-external=true') == -1) { |
parent.document.title="ConfigData"; |
} |
} |
</SCRIPT> |
<NOSCRIPT> |
</NOSCRIPT> |
|
</HEAD> |
|
<BODY BGCOLOR="white" onload="windowTitle();"> |
<HR> |
|
|
<!-- ========= START OF TOP NAVBAR ======= --> |
<A NAME="navbar_top"><!-- --></A> |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
<TR> |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
<A NAME="navbar_top_firstrow"><!-- --></A> |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
<TR ALIGN="center" VALIGN="top"> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
</TR> |
</TABLE> |
</TD> |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
</EM> |
</TD> |
</TR> |
|
<TR> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A> |
<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../index.html?ztex/ConfigData.html" target="_top"><B>FRAMES</B></A> |
<A HREF="ConfigData.html" target="_top"><B>NO FRAMES</B></A> |
<SCRIPT type="text/javascript"> |
<!-- |
if(window==top) { |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
} |
//--> |
</SCRIPT> |
<NOSCRIPT> |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
</NOSCRIPT> |
|
|
</FONT></TD> |
</TR> |
<TR> |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
</TR> |
</TABLE> |
<A NAME="skip-navbar_top"></A> |
<!-- ========= END OF TOP NAVBAR ========= --> |
|
<HR> |
<!-- ======== START OF CLASS DATA ======== --> |
<H2> |
<FONT SIZE="-1"> |
ztex</FONT> |
<BR> |
Class ConfigData</H2> |
<PRE> |
java.lang.Object |
<IMG SRC="../resources/inherit.gif" ALT="extended by "><B>ztex.ConfigData</B> |
</PRE> |
<HR> |
<DL> |
<DT><PRE>public class <B>ConfigData</B><DT>extends java.lang.Object</DL> |
</PRE> |
|
<P> |
This class represents the configuration data space of ZTEX FPGA Boards that support it. |
The internal format is |
<pre> |
<Address> <Description> |
0..2 Signature "CD0" |
3 Kind of FPGA Board, see <A HREF="../ztex/ConfigData.html#boardNames"><CODE>boardNames</CODE></A>, e.g. 2 for "ZTEX USB-FPGA Module", |
4 FPGA Board series, e.g. 2 |
5 FPGA Board number (number behind the dot), e.g. 16 |
6..7 FPGA Board variant (letter), e.g. "b" |
8..9 FPGA, see <A HREF="../ztex/ConfigData.html#fpgas"><CODE>fpgas</CODE></A>, e.g. 12 for X7A200T |
10 FPGA package, see <A HREF="../ztex/ConfigData.html#packages"><CODE>packages</CODE></A>, e.g. 3 for FBG484 |
11..13 Speed grade + temperature range, e.g. "2C" |
14 RAM size, format is ( n & 0xf0 ) << ( (n & 0xf) + 16 ) bytes |
15 RAM type, see <A HREF="../ztex/ConfigData.html#ramTypes"><CODE>ramTypes</CODE></A> |
16..25 Serial number, overwrites SN_STRING of the ZTEX descriptor. |
If it is equal to "0000000000" (default) it is replaced by the unique MAC address. |
26..27 Actual size of Bitstream in 4K sectors; 0 means Bitstream disabled (default) |
28..29 Maximum size of Bitstream in 4K sectors; 0 means that either no Flash |
is present or that this information is stored in Flash (exchangeable media) |
30..79 Reserved |
80..127 48 bytes user space |
</pre> |
<P> |
|
<P> |
<HR> |
|
<P> |
<!-- =========== FIELD SUMMARY =========== --> |
|
<A NAME="field_summary"><!-- --></A> |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
<B>Field Summary</B></FONT></TH> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>static java.lang.String[]</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#boardNames">boardNames</A></B></CODE> |
|
<BR> |
Kinds of FPGA Boards.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>static java.lang.String[]</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#fpgas">fpgas</A></B></CODE> |
|
<BR> |
FPGA's used on ZTEX FPGA Boards.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>static java.lang.String[]</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#packages">packages</A></B></CODE> |
|
<BR> |
FPGA packages used on ZTEX FPGA boards.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>static java.lang.String[]</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#ramTypes">ramTypes</A></B></CODE> |
|
<BR> |
RAM types and speed used on ZTEX FPGA boards.</TD> |
</TR> |
</TABLE> |
|
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
|
<A NAME="constructor_summary"><!-- --></A> |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
<B>Constructor Summary</B></FONT></TH> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#ConfigData()">ConfigData</A></B>()</CODE> |
|
<BR> |
Constructs an empty instance.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#ConfigData(ztex.Ztex1v1)">ConfigData</A></B>(<A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> z)</CODE> |
|
<BR> |
Constructs an instance and connects it with z.</TD> |
</TR> |
</TABLE> |
|
<!-- ========== METHOD SUMMARY =========== --> |
|
<A NAME="method_summary"><!-- --></A> |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
<B>Method Summary</B></FONT></TH> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> boolean</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#connect(ztex.Ztex1v1)">connect</A></B>(<A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> z)</CODE> |
|
<BR> |
Reads the configuration data (if existent) from a device and connects it to this instance.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> byte[]</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#data()">data</A></B>()</CODE> |
|
<BR> |
Returns a copy of the configuration data array.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> boolean</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#disconnect()">disconnect</A></B>()</CODE> |
|
<BR> |
Disconnects the currently connected device.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> int</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getBitstreamSize()">getBitstreamSize</A></B>()</CODE> |
|
<BR> |
Returns actual size of bitstream in bytes sectors. |
0 means that no bitstream is stored.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> java.lang.String</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getFpga()">getFpga</A></B>()</CODE> |
|
<BR> |
Returns FPGA information.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> int</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getMaxBitstreamSize()">getMaxBitstreamSize</A></B>()</CODE> |
|
<BR> |
Returns maximum size of bitstream in bytes.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> java.lang.String</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getName()">getName</A></B>()</CODE> |
|
<BR> |
Returns the name of the FPGA Board.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> int</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getRamSize()">getRamSize</A></B>()</CODE> |
|
<BR> |
Returns RAM size in bytes.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> java.lang.String</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getRamType()">getRamType</A></B>()</CODE> |
|
<BR> |
Returns RAM type and speed.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> java.lang.String</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getSN()">getSN</A></B>()</CODE> |
|
<BR> |
Returns the serial number.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> byte</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#getUserData(int)">getUserData</A></B>(int i)</CODE> |
|
<BR> |
Returns user data at index i.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> boolean</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#sendtUserData()">sendtUserData</A></B>()</CODE> |
|
<BR> |
Sends the user data to the FPGA Board.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> boolean</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setBitstreamSize(int)">setBitstreamSize</A></B>(int size)</CODE> |
|
<BR> |
Sets the actual size of bitstream in bytes.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setFpga(java.lang.String, java.lang.String, java.lang.String)">setFpga</A></B>(java.lang.String name, |
java.lang.String pckg, |
java.lang.String sg)</CODE> |
|
<BR> |
Sets FPGA information.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setMaxBitstreamSize(int)">setMaxBitstreamSize</A></B>(int size4k)</CODE> |
|
<BR> |
Sets the maximum size of bitstream in 4 KByte sectors.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setName(java.lang.String, int, int, java.lang.String)">setName</A></B>(java.lang.String kind, |
int series, |
int number, |
java.lang.String variant)</CODE> |
|
<BR> |
Sets the name of the FPGA Board.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setRam(int, java.lang.String)">setRam</A></B>(int size, |
java.lang.String type)</CODE> |
|
<BR> |
Sets RAM information.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> boolean</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setSN(java.lang.String)">setSN</A></B>(java.lang.String sn)</CODE> |
|
<BR> |
Sets the serial number.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/ConfigData.html#setUserData(int, byte)">setUserData</A></B>(int i, |
byte v)</CODE> |
|
<BR> |
Sets user data at index i to value v.</TD> |
</TR> |
</TABLE> |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
</TR> |
</TABLE> |
|
<P> |
|
<!-- ============ FIELD DETAIL =========== --> |
|
<A NAME="field_detail"><!-- --></A> |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
<B>Field Detail</B></FONT></TH> |
</TR> |
</TABLE> |
|
<A NAME="boardNames"><!-- --></A><H3> |
boardNames</H3> |
<PRE> |
public static final java.lang.String[] <B>boardNames</B></PRE> |
<DL> |
<DD>Kinds of FPGA Boards. |
It's defined as |
<pre><code>public static final String boardNames[] = { |
"(unknown)" , // 0 |
"ZTEX FPGA Module" , // 1 |
"ZTEX USB-FPGA Module" // 2 |
};</code></pre> |
<P> |
<DL> |
</DL> |
</DL> |
<HR> |
|
<A NAME="fpgas"><!-- --></A><H3> |
fpgas</H3> |
<PRE> |
public static final java.lang.String[] <B>fpgas</B></PRE> |
<DL> |
<DD>FPGA's used on ZTEX FPGA Boards. |
It's defined as |
<pre><code>public static final String fpgas[] = { |
"(unknown)" , // 0 |
"XC6SLX9" , // 1 |
"XC6SLX16" , // 2 |
"XC6SLX25" , // 3 |
"XC6SLX45" , // 4 |
"XC6SLX75" , // 5 |
"XC6SLX100" , // 6 |
"XC6SLX150" , // 7 |
"XC7A35T", // 8 |
"XC7A50T", // 9 |
"XC7A75T", // 10 |
"XC7A100T", // 11 |
"XC7A200T", // 12 |
"Quad-XC6SLX150" // 13 |
};</code></pre> |
<P> |
<DL> |
</DL> |
</DL> |
<HR> |
|
<A NAME="packages"><!-- --></A><H3> |
packages</H3> |
<PRE> |
public static final java.lang.String[] <B>packages</B></PRE> |
<DL> |
<DD>FPGA packages used on ZTEX FPGA boards. |
It's defined as |
<pre><code>public static final String packages[] = { |
"(unknown)", // 0 |
"FTG256" , // 1 256 balls, 1.0mm |
"CSG324" , // 2 324 balls, 0.8mm |
"CSG484" , // 3 484 balls, 0.8mm |
"FBG484" // 4 484 balls, 1.0mm |
};</code></pre> |
<P> |
<DL> |
</DL> |
</DL> |
<HR> |
|
<A NAME="ramTypes"><!-- --></A><H3> |
ramTypes</H3> |
<PRE> |
public static final java.lang.String[] <B>ramTypes</B></PRE> |
<DL> |
<DD>RAM types and speed used on ZTEX FPGA boards. |
It's defined as |
<pre><code>public static final String ramTypes[] = { |
"(unknown)", // 0 |
"DDR-200 SDRAM", // 1 |
"DDR-266 SDRAM", // 2 |
"DDR-333 SDRAM", // 3 |
"DDR-400 SDRAM", // 4 |
"DDR2-400 SDRAM", // 5 |
"DDR2-533 SDRAM", // 6 |
"DDR2-667 SDRAM", // 7 |
"DDR2-800 SDRAM", // 8 |
"DDR2-1066 SDRAM" // 9 |
};</code></pre> |
<P> |
<DL> |
</DL> |
</DL> |
|
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
|
<A NAME="constructor_detail"><!-- --></A> |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
<B>Constructor Detail</B></FONT></TH> |
</TR> |
</TABLE> |
|
<A NAME="ConfigData()"><!-- --></A><H3> |
ConfigData</H3> |
<PRE> |
public <B>ConfigData</B>()</PRE> |
<DL> |
<DD>Constructs an empty instance. |
<P> |
</DL> |
<HR> |
|
<A NAME="ConfigData(ztex.Ztex1v1)"><!-- --></A><H3> |
ConfigData</H3> |
<PRE> |
public <B>ConfigData</B>(<A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> z) |
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Constructs an instance and connects it with z. Also see <A HREF="../ztex/ConfigData.html#connect(ztex.Ztex1v1)"><CODE>connect(Ztex1v1)</CODE></A>. |
<P> |
<DL> |
<DT><B>Parameters:</B><DD><CODE>z</CODE> - The ztex device to connect with. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL> |
</DL> |
|
<!-- ============ METHOD DETAIL ========== --> |
|
<A NAME="method_detail"><!-- --></A> |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
<B>Method Detail</B></FONT></TH> |
</TR> |
</TABLE> |
|
<A NAME="connect(ztex.Ztex1v1)"><!-- --></A><H3> |
connect</H3> |
<PRE> |
public boolean <B>connect</B>(<A HREF="../ztex/Ztex1v1.html" title="class in ztex">Ztex1v1</A> z) |
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Reads the configuration data (if existent) from a device and connects it to this instance. |
After this user defined settings (e.g. serial number, bitstream size) are |
stored on device immediately after they are altered. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>z</CODE> - The ztex device to connect with. |
<DT><B>Returns:</B><DD>True if configuration data could be read. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="disconnect()"><!-- --></A><H3> |
disconnect</H3> |
<PRE> |
public boolean <B>disconnect</B>()</PRE> |
<DL> |
<DD>Disconnects the currently connected device. |
After this modified settings are not stored on device anymore. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>True if a device was connected.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="data()"><!-- --></A><H3> |
data</H3> |
<PRE> |
public byte[] <B>data</B>()</PRE> |
<DL> |
<DD>Returns a copy of the configuration data array. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>A copy of the configuration data array.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="getName()"><!-- --></A><H3> |
getName</H3> |
<PRE> |
public java.lang.String <B>getName</B>()</PRE> |
<DL> |
<DD>Returns the name of the FPGA Board. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>The name of the FPGA Board.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="setName(java.lang.String, int, int, java.lang.String)"><!-- --></A><H3> |
setName</H3> |
<PRE> |
public void <B>setName</B>(java.lang.String kind, |
int series, |
int number, |
java.lang.String variant)</PRE> |
<DL> |
<DD>Sets the name of the FPGA Board. |
Example: <pre>setName("ZTEX USB-FPGA Module", 2, 16, "b"); // denotes "ZTEX USB-FPGA Module 2.16b"</pre> |
This setting is not transferred to the FPGA Board because is should not be altered by the user. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>kind</CODE> - Kind of FPGA Board, see <A HREF="../ztex/ConfigData.html#boardNames"><CODE>boardNames</CODE></A> for possible values, e.g. "ZTEX USB-FPGA Module"<DD><CODE>series</CODE> - FPGA Board series, e.g. 2<DD><CODE>number</CODE> - FPGA Board number (number behind the dot), e.g. 16<DD><CODE>variant</CODE> - FPGA Board variant (letter), e.g. "b"</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="getFpga()"><!-- --></A><H3> |
getFpga</H3> |
<PRE> |
public java.lang.String <B>getFpga</B>()</PRE> |
<DL> |
<DD>Returns FPGA information. |
Notation of the result is <name>-<package>-<speed grade and temperature range>, e.g. XC7A200T-FBG484-2C. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>FPGA Information.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="setFpga(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
setFpga</H3> |
<PRE> |
public void <B>setFpga</B>(java.lang.String name, |
java.lang.String pckg, |
java.lang.String sg)</PRE> |
<DL> |
<DD>Sets FPGA information. |
Example: <pre>setFpga("XC7A200T", "FBG484", "2C"); // denotes Xilinx part number XC7A200T-2FBG484C</pre> |
This setting is not transferred to the FPGA Board because is should not be altered by the user. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the FPGA, see <A HREF="../ztex/ConfigData.html#fpgas"><CODE>fpgas</CODE></A> for possible values, e.g. "XC7A200T"<DD><CODE>pckg</CODE> - FPGA package, see <A HREF="../ztex/ConfigData.html#packages"><CODE>packages</CODE></A> for possible values, e.g. "FBG484"<DD><CODE>sg</CODE> - Speed grade and temperature range, e.g. "2C"</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="getRamType()"><!-- --></A><H3> |
getRamType</H3> |
<PRE> |
public java.lang.String <B>getRamType</B>()</PRE> |
<DL> |
<DD>Returns RAM type and speed. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>FPGA Information.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="getRamSize()"><!-- --></A><H3> |
getRamSize</H3> |
<PRE> |
public int <B>getRamSize</B>()</PRE> |
<DL> |
<DD>Returns RAM size in bytes. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>RAM size in bytes.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="setRam(int, java.lang.String)"><!-- --></A><H3> |
setRam</H3> |
<PRE> |
public void <B>setRam</B>(int size, |
java.lang.String type)</PRE> |
<DL> |
<DD>Sets RAM information. |
Example: <pre>setRam(128, "DDR2-800 SDRAM"); // sets RAM info to 128 MB DDR2-800 SDRAM</pre> |
This setting is not transferred to the FPGA Board because is should not be altered by the user. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>size</CODE> - RAM size in MBytes, e.g. 128<DD><CODE>type</CODE> - RAM type and speed, see <A HREF="../ztex/ConfigData.html#ramTypes"><CODE>ramTypes</CODE></A> for possible values, e.g. "DDR2-800 SDRAM"</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="getMaxBitstreamSize()"><!-- --></A><H3> |
getMaxBitstreamSize</H3> |
<PRE> |
public int <B>getMaxBitstreamSize</B>()</PRE> |
<DL> |
<DD>Returns maximum size of bitstream in bytes. |
This is the amount of flash which should be reserved for the bitstream. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>Maximum size of bitstream in bytes sectors.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="setMaxBitstreamSize(int)"><!-- --></A><H3> |
setMaxBitstreamSize</H3> |
<PRE> |
public void <B>setMaxBitstreamSize</B>(int size4k)</PRE> |
<DL> |
<DD>Sets the maximum size of bitstream in 4 KByte sectors. |
This setting is not transferred to the FPGA Board because is should not be altered by the user. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>size4k</CODE> - Maximum size of bitstream in 4 KByte sectors. E.g. a value of 256 reserves 1 MByte for the bitstream.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="getBitstreamSize()"><!-- --></A><H3> |
getBitstreamSize</H3> |
<PRE> |
public int <B>getBitstreamSize</B>()</PRE> |
<DL> |
<DD>Returns actual size of bitstream in bytes sectors. |
0 means that no bitstream is stored. The value is rounded up to a multiples of 4096. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>Actual size of bitstream in byte sectors.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="setBitstreamSize(int)"><!-- --></A><H3> |
setBitstreamSize</H3> |
<PRE> |
public boolean <B>setBitstreamSize</B>(int size) |
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Sets the actual size of bitstream in bytes. The value is rounded up to a multiple of 4096. |
If a device is connected, this setting is transferred to the FPGA Board. |
A warning is printed if bitstream size is larger then the reserved size (see <A HREF="../ztex/ConfigData.html#getMaxBitstreamSize()"><CODE>getMaxBitstreamSize()</CODE></A>). |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>size</CODE> - Actual size of bitstream in bytes. |
<DT><B>Returns:</B><DD>True if a device is connected and setting was send. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="getSN()"><!-- --></A><H3> |
getSN</H3> |
<PRE> |
public java.lang.String <B>getSN</B>()</PRE> |
<DL> |
<DD>Returns the serial number. This is not necessarily the serial number |
returned by the FPGA board according to the USB specification, see <A HREF="../ztex/ConfigData.html#setSN(java.lang.String)"><CODE>setSN(String)</CODE></A> |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>Serial number as stored in the configuration data space.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="setSN(java.lang.String)"><!-- --></A><H3> |
setSN</H3> |
<PRE> |
public boolean <B>setSN</B>(java.lang.String sn) |
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Sets the serial number. |
During startup the firmware overwrites SN_STRING from the ZTEX descriptor (see <A HREF="../ztex/ZtexDevice1.html" title="class in ztex"><CODE>ZtexDevice1</CODE></A>) by this value. |
If it is equal to "0000000000" (default) it is replaced by the unique MAC address. <p> |
This setting is transferred to the FPGA Board. |
Change takes effect after the next restart of the firmware. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>sn</CODE> - Serial number string. Only the first 10 characters are considered. |
<DT><B>Returns:</B><DD>True if a device is connected and setting was send. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="getUserData(int)"><!-- --></A><H3> |
getUserData</H3> |
<PRE> |
public byte <B>getUserData</B>(int i)</PRE> |
<DL> |
<DD>Returns user data at index i. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>i</CODE> - the index. Valid values are 0 to 47. |
<DT><B>Returns:</B><DD>User data. |
<DT><B>Throws:</B> |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If i is smaller than 0 or greater than 47.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="setUserData(int, byte)"><!-- --></A><H3> |
setUserData</H3> |
<PRE> |
public void <B>setUserData</B>(int i, |
byte v) |
throws java.lang.IndexOutOfBoundsException</PRE> |
<DL> |
<DD>Sets user data at index i to value v. Use the method <A HREF="../ztex/ConfigData.html#getMaxBitstreamSize()"><CODE>getMaxBitstreamSize()</CODE></A> |
to transfer the data to the FPGA Board. |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index. Valid values are 0 to 47.<DD><CODE>v</CODE> - The value. |
<DT><B>Throws:</B> |
<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - If i is smaller than 0 or greater than 47.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="sendtUserData()"><!-- --></A><H3> |
sendtUserData</H3> |
<PRE> |
public boolean <B>sendtUserData</B>() |
throws <A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></PRE> |
<DL> |
<DD>Sends the user data to the FPGA Board. |
<P> |
<DD><DL> |
|
<DT><B>Returns:</B><DD>True if a device is connected and data could be send. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - If interface 1 is not supported. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - If a communication error occurs. |
<DD><CODE><A HREF="../ztex/CapabilityException.html" title="class in ztex">CapabilityException</A></CODE> - If no MAC-EEPROM support is present.</DL> |
</DD> |
</DL> |
<!-- ========= END OF CLASS DATA ========= --> |
<HR> |
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
<A NAME="navbar_bottom"><!-- --></A> |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
<TR> |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
<TR ALIGN="center" VALIGN="top"> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
</TR> |
</TABLE> |
</TD> |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
</EM> |
</TD> |
</TR> |
|
<TR> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../ztex/CapabilityException.html" title="class in ztex"><B>PREV CLASS</B></A> |
<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../index.html?ztex/ConfigData.html" target="_top"><B>FRAMES</B></A> |
<A HREF="ConfigData.html" target="_top"><B>NO FRAMES</B></A> |
<SCRIPT type="text/javascript"> |
<!-- |
if(window==top) { |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
} |
//--> |
</SCRIPT> |
<NOSCRIPT> |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
</NOSCRIPT> |
|
|
</FONT></TD> |
</TR> |
<TR> |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
</TR> |
</TABLE> |
<A NAME="skip-navbar_bottom"></A> |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
|
<HR> |
|
</BODY> |
</HTML> |
/java/ztex/CapabilityException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
CapabilityException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
55,7 → 55,7
<TR> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex"><B>PREV CLASS</B></A> |
<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD> |
<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../index.html?ztex/CapabilityException.html" target="_top"><B>FRAMES</B></A> |
<A HREF="CapabilityException.html" target="_top"><B>NO FRAMES</B></A> |
214,7 → 214,7
<TR> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../ztex/BitstreamUploadException.html" title="class in ztex"><B>PREV CLASS</B></A> |
<A HREF="../ztex/DeviceLostException.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD> |
<A HREF="../ztex/ConfigData.html" title="class in ztex"><B>NEXT CLASS</B></A></FONT></TD> |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
<A HREF="../index.html?ztex/CapabilityException.html" target="_top"><B>FRAMES</B></A> |
<A HREF="CapabilityException.html" target="_top"><B>NO FRAMES</B></A> |
/java/ztex/FirmwareUploadException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
FirmwareUploadException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/InvalidFirmwareException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
InvalidFirmwareException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/IhxParseException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
IhxParseException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/DeviceNotSupportedException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
DeviceNotSupportedException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/BitstreamReadException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
BitstreamReadException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/AlreadyConfiguredException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
AlreadyConfiguredException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/UsbException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
UsbException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/IhxFileDamagedException.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
IhxFileDamagedException |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
/java/ztex/Ztex1.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:13 CET 2013 --> |
<TITLE> |
Ztex1 |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
221,6 → 221,14
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE>protected void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1.html#init()">init</A></B>()</CODE> |
|
<BR> |
Initializates the class.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> void</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1.html#releaseInterface(int)">releaseInterface</A></B>(int iface)</CODE> |
|
262,6 → 270,16
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(java.io.InputStream, java.lang.String, boolean)">uploadFirmware</A></B>(java.io.InputStream ihxIn, |
java.lang.String name, |
boolean force)</CODE> |
|
<BR> |
Uploads the firmware to the EZ-USB and manages the renumeration process.</TD> |
</TR> |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
<CODE> long</CODE></FONT></TD> |
<TD><CODE><B><A HREF="../ztex/Ztex1.html#uploadFirmware(java.lang.String, boolean)">uploadFirmware</A></B>(java.lang.String ihxFileName, |
boolean force)</CODE> |
|
459,6 → 477,22
</TR> |
</TABLE> |
|
<A NAME="init()"><!-- --></A><H3> |
init</H3> |
<PRE> |
protected void <B>init</B>() |
throws <A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></PRE> |
<DL> |
<DD>Initializates the class. |
<P> |
<DD><DL> |
|
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if an communication error occurred.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="finalize()"><!-- --></A><H3> |
finalize</H3> |
<PRE> |
838,6 → 872,38
</DL> |
<HR> |
|
<A NAME="uploadFirmware(java.io.InputStream, java.lang.String, boolean)"><!-- --></A><H3> |
uploadFirmware</H3> |
<PRE> |
public long <B>uploadFirmware</B>(java.io.InputStream ihxIn, |
java.lang.String name, |
boolean force) |
throws <A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A>, |
<A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A>, |
<A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A>, |
<A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A>, |
<A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></PRE> |
<DL> |
<DD>Uploads the firmware to the EZ-USB and manages the renumeration process. |
<p> |
Before the firmware is uploaded the device is set into a reset state. |
After the upload the firmware is booted and the renumeration starts. |
During this process the device disappears from the bus and a new one |
occurs which will be assigned to this class automatically (instead of the disappeared one). |
<P> |
<DD><DL> |
<DT><B>Parameters:</B><DD><CODE>ihxIn</CODE> - Input stream from which the ihx file is read.<DD><CODE>name</CODE> - Name of the input.<DD><CODE>force</CODE> - The compatibility check is skipped if true. |
<DT><B>Returns:</B><DD>the upload time in ms. |
<DT><B>Throws:</B> |
<DD><CODE><A HREF="../ztex/IncompatibleFirmwareException.html" title="class in ztex">IncompatibleFirmwareException</A></CODE> - if the given firmware is not compatible to the installed one, see <A HREF="../ztex/ZtexDevice1.html#compatible(int, int, int, int)"><CODE>ZtexDevice1.compatible(int,int,int,int)</CODE></A> (Upload can be enforced using the <tt>force</tt> parameter) |
<DD><CODE><A HREF="../ztex/FirmwareUploadException.html" title="class in ztex">FirmwareUploadException</A></CODE> - If an error occurred while attempting to upload the firmware. |
<DD><CODE><A HREF="../ztex/UsbException.html" title="class in ztex">UsbException</A></CODE> - if a communication error occurs. |
<DD><CODE><A HREF="../ztex/InvalidFirmwareException.html" title="class in ztex">InvalidFirmwareException</A></CODE> - if ZTEX descriptor 1 is not available. |
<DD><CODE><A HREF="../ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A></CODE> - if a device went lost after renumeration.</DL> |
</DD> |
</DL> |
<HR> |
|
<A NAME="resetEzUsb()"><!-- --></A><H3> |
resetEzUsb</H3> |
<PRE> |
/java/help-doc.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:28 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
API Help |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
|
/java/serialized-form.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Serialized Form |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
|
/java/overview-frame.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Overview List |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
|
/java/overview-summary.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:28 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Overview |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
|
/java/overview-tree.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:27 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
Class Hierarchy |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
|
90,7 → 90,7
</H2> |
<UL> |
<LI TYPE="circle">java.lang.Object<UL> |
<LI TYPE="circle">ch.ntb.usb.<A HREF="ch/ntb/usb/Device.html" title="class in ch.ntb.usb"><B>Device</B></A><LI TYPE="circle">ztex.<A HREF="ztex/EzUsb.html" title="class in ztex"><B>EzUsb</B></A><LI TYPE="circle">ztex.<A HREF="ztex/IhxFile.html" title="class in ztex"><B>IhxFile</B></A><UL> |
<LI TYPE="circle">ztex.<A HREF="ztex/ConfigData.html" title="class in ztex"><B>ConfigData</B></A><LI TYPE="circle">ch.ntb.usb.<A HREF="ch/ntb/usb/Device.html" title="class in ch.ntb.usb"><B>Device</B></A><LI TYPE="circle">ztex.<A HREF="ztex/EzUsb.html" title="class in ztex"><B>EzUsb</B></A><LI TYPE="circle">ztex.<A HREF="ztex/IhxFile.html" title="class in ztex"><B>IhxFile</B></A><UL> |
<LI TYPE="circle">ztex.<A HREF="ztex/ZtexIhxFile1.html" title="class in ztex"><B>ZtexIhxFile1</B></A></UL> |
<LI TYPE="circle">ztex.<A HREF="ztex/JInputStream.html" title="class in ztex"><B>JInputStream</B></A><LI TYPE="circle">ch.ntb.usb.<A HREF="ch/ntb/usb/LibLoader.html" title="class in ch.ntb.usb"><B>LibLoader</B></A><LI TYPE="circle">ch.ntb.usb.<A HREF="ch/ntb/usb/LibusbJava.html" title="class in ch.ntb.usb"><B>LibusbJava</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable) |
<UL> |
/java/index.html
2,7 → 2,7
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc on Thu Apr 12 22:51:28 CEST 2012--> |
<!-- Generated by javadoc on Wed Oct 30 21:18:14 CET 2013--> |
<TITLE> |
Generated Documentation (Untitled) |
</TITLE> |
/java/resources/titlebar_end.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
java/resources/titlebar_end.gif
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: java/resources/background.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: java/resources/background.gif
===================================================================
--- java/resources/background.gif (nonexistent)
+++ java/resources/background.gif (revision 3)
java/resources/background.gif
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: java/resources/tab.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: java/resources/tab.gif
===================================================================
--- java/resources/tab.gif (nonexistent)
+++ java/resources/tab.gif (revision 3)
java/resources/tab.gif
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: java/resources/titlebar.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: java/resources/titlebar.gif
===================================================================
--- java/resources/titlebar.gif (nonexistent)
+++ java/resources/titlebar.gif (revision 3)
java/resources/titlebar.gif
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: java/deprecated-list.html
===================================================================
--- java/deprecated-list.html (revision 2)
+++ java/deprecated-list.html (revision 3)
@@ -2,12 +2,12 @@
-
+
Deprecated List
-
+
/java/allclasses-noframe.html
2,12 → 2,12
<!--NewPage--> |
<HTML> |
<HEAD> |
<!-- Generated by javadoc (build 1.6.0_18) on Thu Apr 12 22:51:28 CEST 2012 --> |
<!-- Generated by javadoc (build 1.6.0_18) on Wed Oct 30 21:18:14 CET 2013 --> |
<TITLE> |
All Classes |
</TITLE> |
|
<META NAME="date" CONTENT="2012-04-12"> |
<META NAME="date" CONTENT="2013-10-30"> |
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> |
|
29,6 → 29,8
<BR> |
<A HREF="ztex/CapabilityException.html" title="class in ztex">CapabilityException</A> |
<BR> |
<A HREF="ztex/ConfigData.html" title="class in ztex">ConfigData</A> |
<BR> |
<A HREF="ch/ntb/usb/Device.html" title="class in ch.ntb.usb">Device</A> |
<BR> |
<A HREF="ztex/DeviceLostException.html" title="class in ztex">DeviceLostException</A> |
/index.html
1,8 → 1,7
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
<meta name="author" content="Stefan Ziegenbalg"> |
<meta name="keywords" content="ZTEX, FPGA, Microcontroller, FPGA Modules, USB Modules, Firmware-Kit, Cypress EZ-USB, Development Boards, Development Kits, Evaluation Boards"> |
<meta name="author" content="ZTEX GmbH"> |
<meta name="robots" content="all"> |
|
<title>ZTEX EZ-USB SDK - Documentation</title> |
10,13 → 9,13
<body text="#202020" bgcolor="#f0f0f0" link="#2020a0" vlink="#a02020" alink="#208020"> |
|
<center> |
<h1>ZTEX EZ-USB SDK - Documentation</h1> |
<h1>SDK for ZTEX FPGA Boards - Documentation</h1> |
</center> |
|
<h2>Overview</h2> |
The <a href="http://www.ztex.de/firmware-kit/index.e.html">ZTEX EZ-USB SDK</a> consists in two parts: |
The <a href="../">ZTEX EZ-USB FX2 SDK</a> consists in two parts: |
<ul> |
<li>The Firmware Kit which is used for building the firmware for the EZ-USB device</li> |
<li>The Firmware Kit which is used for building the firmware for the EZ-USB FX2 device</li> |
<li>The host software API written in Java.</li> |
</ul> |
<p> |
30,7 → 29,7
|
<h2>Detailed documentations</h2> |
<ul> |
<li><a href="http://www.ztex.de/firmware-kit/index.e.html">Homepage of the ZTEX EZ-USB SDK (Overview, Downloads, Example, ...)</a> |
<li><a href="http://www.ztex.de/firmware-kit/index.e.html">Homepage of the SDK for ZTEX FPGA Boards (Overview, Downloads, Example, ...)</a> |
<li><a href="java/index.html">Documentation of the Java API</a></li> |
<li><a href="http://wiki.ztex.de/doku.php?id=en:start">Tutorials and Examples at the ZTEX Wiki</a> |
</ul> |