ftdi-eeprom
— tool
to programm eeprom on FTDI usb devices
ftdi-eeprom |
-f dev
[-a addr]
-w vendor_id
product_id release_number
bus_powered remote_wakeup
current manufacturer_string
product_string
serial_string |
ftdi-eeprom
writes the contents of the
configuration eeproms for FTDI usb chips.
The arguments are as follows:
-f
dev
- The
-f
option sets the name of the device. It can
be either an usb bus or an ugen device.
- [
-a
addr]
- The
-a
option sets the USB address in case the
named device is a complete bus.
-w
- The
-w
option enables writing.
- vendor_id
- The vendor_id argument names the usb vendor id.
- product_id
- The product_id argument names the usb product
id.
- release_number
- The release_number argument names the usb release
number.
- bus_powered
- The boolean bus_powered argumend says wether the
device is bus powered.
- remote_wakeup
- The boolean remote_wakeup argument says wether the
device supports the usb wakeup feature.
- current
- The current argument says how much current the
enabled device will take in mA.
- manufacturer_string
- The manufacturer_string argument is a string naming
the manufacturer.
- product_string
- The product_string argument is a string naming the
product.
- serial_string
- The serial_string argument is the serial number of
the device.
The following example:
ftdi-eeprom -f /dev/usb0 -a 5 -w
0x403 0x6001 0x200 1 1 90 'BWCT' 'Serial Interface' 2002112901
writes the eeprom at device number 5 on usb bus 0. The device will be bus
powered with 90mA.
The following example:
ftdi-eeprom -f /dev/usb0 -a 6 -w
0x403 0x6001 0x200 0 1 0 'BWCT' 'Serial Interface' 2002112902
writes the eeprom at device number 6 on usb bus 0. The device will be self
powered.
Bernd Walter
⟨bernd@bwct.de⟩.