This tiny script
ftdi_urls.py to list the available, i.e. detected,
FTDI devices connected to the host, and the URLs than can be used to open a
pyftdi.ftdi.Ftdi instance with the
pyftdi.ftdi.Ftdi.open_from_url family and
ftconf.py is a companion script to help managing the content of
the FTDI EEPROM from the command line. See the EEPROM configuration tool documentation.
i2cscan.py script helps to discover which I2C devices
are connected to the FTDI I2C bus.
Where to find these tools?¶
The location of the scripts depends on how PyFtdi has been installed and the type of hosts:
on linux and macOS, there are located in the
bin/directory, that is the directory where the Python interpreter is installed.
on Windows, there are located in the
Scripts/directory, which is a subdirectory of the directory where the Python interpreter is installed.
Common options switches¶
PyFtdi tools share many common option switches:
Enable debug mode, which emits Python traceback on exceptions
Show quick help and exit
Add custom vendor and product identifiers.
PyFtdi only recognizes FTDI official USB vendor identifier (0x403) and the USB identifiers of their products.
In order to use alternative VID/PID values, the PyFtdi tools accept the
-Poption to describe those products
vidpidargument should match the following format:
product_nameare optional strings, they may be omitted as they only serve as human-readable aliases for the vendor and product names. See example below.
product_idare mandatory strings that should resolve into 16-bit integers (USB VID and PID values). They may either be expressed as decimal or hexadecimal syntax.
This option may be repeated as many times as required to add support for several custom devices.
Increase verbosity, useful for debugging the tool. It can be repeated to increase more the verbosity.