AM13E232X BSL Toolkit - FTDI Setup Guide
Overview
This guide covers setting up FTDI USB adapters for use with the BSL Toolkit. FTDI adapters enable communication with AM13E232X devices via UART or I2C interfaces, and provide GPIO-based device invoke capabilities.
Supported Hardware
The BSL Toolkit currently supports the FT232H FTDI chip, which offers:
UART communication
I2C communication
GPIO pins for hardware-based device BSL Invoke sequences
Installation
Driver Installation
The FT232H can operate in two modes:
Normal Mode — Device appears as FTDI device (USB-to-Serial Converter)
USB Mode — Device is recognized as a USB device
Windows
Normal Mode
Note: Supports only UART through the Virtual COM Port
Step 1: Download FTDI VCP Drivers
Visit the FTDI Drivers page
Download the Virtual COM Port Drivers for Windows
Extract the downloaded file
Step 2: Install Drivers
Run the installer executable
Follow the on-screen prompts
Step 3: Verify Installation
Connect your FT232H to the Host Device
Open Device Manager
Look for “Universal Serial Bus controllers” section
Look for “USB Serial Converter” entry
To Enable the VCP
Enable the device to be recognised as a COM Port by setting the options in the Advanced tabs section of the properties of the device.
Refer: FT232H - Serial UART
USB Mode
For the device to be recognised as a USB device.
Refer: FT232H - USB Device
This mode allows the device to be used as a USB Device which the toolkit supports for I2C communication.
To get the device URL in USB Mode:
python -c "from pyftdi.ftdi import Ftdi; print(Ftdi.list_devices())"
Linux
Documentation yet to be added.
macOS
Documentation yet to be added.
UART Mode Setup
UART mode uses the FT232H as a USB-to-UART bridge for direct serial communication and also using the COM Port backend.
Hardware Connections (UART)
Connect the FT232H adapter to your AM13E232X device:
FT232H Pin Description Device Connection RXD (D0) Receive BSL TX pin TXD (D1) Transmit BSL RX pin
The Pin Connections are the same for both the backend modes.
In the Normal mode, the device will appear as a COM Port if configured properly. The serial backend implementation in the Toolkit supports this mode.
In the USB mode, when the device drivers are updated to libusb drivers, the device appears as a USB Device in the Device Manager. The ftdi backend implementation in the Toolkit supports this mode.
I2C Mode Setup
I2C mode uses the FT232H as a USB-to-I2C bridge for I2C-based communication.
Hardware Connections (I2C)
Connect the FT232H adapter to your AM13E232X device:
FT232H Pin Description Device Connection SCL (D0) I2C Clock BSL SCL pin SDA (D1) I2C Data BSL SDA pin
The Toolkit currently supports I2C Mode only when the device is recognised as a USB Device. The ftdi backend implementation in the Toolkit supports this mode.
FT232H CBUS EEPROM Configuration
Before using GPIO invoke functionality, the FT232H EEPROM must be programmed to enable CBUS pins as I/O. By default, CBUS pins are in tri-state and cannot be used.
Prerequisites for CBUS GPIO
CBUS pins are tri-state by default — They must be configured as I/O before use
FT-PROG utility required — FTDI provides this tool to program the EEPROM
Configure CBUS Using FT-PROG
Step 1: Install FT-PROG Utility
Visit FTDI Utilities
Download FT_PROG - EEPROM Programming Utility
Run the installer and follow on-screen prompts
Step 2: Open FT-PROG and Detect Device
Launch the FT-PROG application
Click Scan and Parse in the Device tab
Select your connected FT232H device
Step 3: Enable CBUS I/O Pins
Navigate to Hardware Specific section
Click on IO Controls
For FT232H, configure the following CBUS pins as I/O:
C5 (CBUS5) — Used for NRST (device reset)
C6 (CBUS6) — Used for BSL_INV (BSL invoke signal)
C8 and C9 are also available if needed for other functions
Leave other pins in their default state
Step 4: Program EEPROM
Click Program under the Device tab to write the configuration to the EEPROM
Wait for confirmation message
Disconnect and reconnect the FT232H to apply changes
Once configured, the CBUS pins can be used for GPIO-based device invoke.
GPIO-Based Device Invoke (CBUS)
The FT232H provides CBUS GPIO pins that can control device reset and BSL invoke without manual presses.
How GPIO Invoke Works
The BSL Toolkit uses the FT232H’s CBUS pins to automate the device reset and BSL entry sequence:
NRST Pin — Asserts (pulls low) the device reset
BSL_INV Pin — Sets the BSL invoke signal (determines entry into BSL mode)
Release NRST — Releases reset; device enters BSL if BSL_INV was asserted
This eliminates the need to manually press the reset button during each operation.
CBUS Pin Configuration (FT232H)
The FT232H has hardcoded CBUS pin assignments for BSL invoke:
Signal CBUS Pin FT232H Physical Pin Usage NRST C5 CBUS5 Device Reset (active low) BSL_INV C6 CBUS6 BSL Invoke Signal (active high)
Note: These pins are fixed per chip and cannot be reconfigured. See “FT232H CBUS EEPROM Configuration” section above for EEPROM programming instructions.
Hardware Connections for GPIO Invoke
Connect the FT232H CBUS pins to your AM13E232X device:
FT232H Description Device Connection CBUS5 (C5) Reset Signal MCU nRST pin (active low) CBUS6 (C6) BSL Invoke MCU BSL_INV pin (device-dependent) GND Ground MCU GND
Connection Example:
FT232H C5 (NRST) → Device nRST pin
FT232H C6 (BSL_INV) → Device BSL pin
FT232H GND → Device GND
NOTE: The BSL Invoke pin depends on the NON-MAIN Config.
No manual reset button press required!
Enable GPIO Invoke in Configuration
When running ti-bsl init, select:
Invoke type: ftdi
FTDI URL: ftdi://ftdi:232h/1 (default)
FTDI URL Format:
ftdi://ftdi:232h/1— FT232H chip, device 1ftdi://0x403:0x6014/1— Vendor/PID format (0x6014 = FT232H)