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.
pyterm.py is a simple serial terminal that can be used to test the serial
port feature, see the Mini serial terminal documentation.
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). Integer values are always interpreted as hexadecimal values, e.g. -P 1234:6789 is parsed as -P 0x1234:0x6789.
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.