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

  1. Visit the FTDI Drivers page

  2. Download the Virtual COM Port Drivers for Windows

  3. Extract the downloaded file

Step 2: Install Drivers

  1. Run the installer executable

  2. Follow the on-screen prompts

Step 3: Verify Installation

  1. Connect your FT232H to the Host Device

  2. Open Device Manager

  3. Look for “Universal Serial Bus controllers” section

  4. 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

  1. Visit FTDI Utilities

  2. Download FT_PROG - EEPROM Programming Utility

  3. Run the installer and follow on-screen prompts

Step 2: Open FT-PROG and Detect Device

  1. Launch the FT-PROG application

  2. Click Scan and Parse in the Device tab

  3. Select your connected FT232H device

Step 3: Enable CBUS I/O Pins

  1. Navigate to Hardware Specific section

  2. Click on IO Controls

  3. 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

  4. Leave other pins in their default state

Step 4: Program EEPROM

  1. Click Program under the Device tab to write the configuration to the EEPROM

  2. Wait for confirmation message

  3. 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:

  1. NRST Pin — Asserts (pulls low) the device reset

  2. BSL_INV Pin — Sets the BSL invoke signal (determines entry into BSL mode)

  3. 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 1

  • ftdi://0x403:0x6014/1 — Vendor/PID format (0x6014 = FT232H)