|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectztex.EzUsb
public class EzUsb
Provides methods for uploading firmware to Cypress EZ-USB devices.
Constructor Summary | |
---|---|
EzUsb()
|
Method Summary | |
---|---|
static void |
resetFx2(org.usb4java.DeviceHandle handle,
boolean r)
Controls the reset state of a Cypress EZ-USB device. |
static long |
uploadFirmware(org.usb4java.DeviceHandle handle,
ImgFile imgFile)
Uploads the Firmware to a Cypress EZ-USB device. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EzUsb()
Method Detail |
---|
public static void resetFx2(org.usb4java.DeviceHandle handle, boolean r) throws FirmwareUploadException
handle
- The handle of the device.r
- The reset state (true means reset).
FirmwareUploadException
- if an error occurred while attempting to control the reset state.public static long uploadFirmware(org.usb4java.DeviceHandle handle, ImgFile imgFile) throws FirmwareUploadException
handle
- The handle of the device.imgFile
- The firmware image.
FirmwareUploadException
- if an error occurred while attempting to upload the firmware.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |