px-lib  0.9.3
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers
7.3 How to install and configure FTDI USB-UART Bridge driver

1. Introduction

FTDI provides a wide range of rock-solid USB communication bridge devices with stable drivers for most popular operating systems. The FT230X series takes care of the USB complexity and provides an easy-to-use UART communication interface for microcontrollers.

Normally each FTDI device (identified by it's unique serial number descriptor) is assigned a different COM port number on the Windows operating system the first time that it is connected. A setting can be added to the Windows registry so that any FTDI device connected to the same USB port is assigned the same COM port number, but this must be done before the USB device driver is installed for the connected FTDI device.

2. Steps

Here are the steps in the correct order.

First make sure that all boards with FTDI devices are disconnected from the PC before starting this procedure.

2.1 Remove old driver(s)

Download and run the CDM Uninstaller.

The FTDI series has a USB Vendor ID of 0403.

ftdi_cdm_uninstaller.png
  1. Clear the Product ID field to uninstall drivers for all FTDI devices (the FTX series has a VID of 0403 and a PID of 6015).
  2. Click the "Add" button.
  3. Click the "Remove Devices" button.

2.2 Add registry setting to ignore FTDI device serial number

Download and run FTDI Ignore Hardware Serial Number Registry Editor Utility.

You may need to run the executable with administrator privileges (right-click on executable and select "Run as administrator").

ftdi_ignore_ser.png
  1. Select the device type as "FTX Series" (VID = 0403; PID = 6015).
  2. Click the "WRITE" button to apply the registry setting.
  3. Press the "CLOSE" button.

You can also remove the registry setting with the "ERASE" button.

2.3 Install new driver

Download and install the FTDI USB-UART Bridge Virtual Com Port (VCP) driver.

2.4 Connect board to PC with USB cable

The operating system will detect that a new USB device has been plugged in and automatically install the correct driver for it. Take note which COM port has been assigned. The Device Manager utility can also be used to find out. Right-click "Start (Windows icon bottom left of task bar) > Device Manager":

ftdi_device_manager.png
Device Manager - COM port assignment