Esperanto
Shqiptare
Euskara
Zulu
Latinus
Cymraeg
தமிழ்
Slovak
Slovak
Afrikaans
News Center
Design of USB to serial port based on FT232
Publish:
2022-06-25 07:19
Source:
www.premier-cable.net
Design of USB to serial port based on FT232
Method 1: Do not modify the PID_VID in the PC-side driver, and use the USB interface of the FT232 as a general USB-to-serial port
When the USB port of FT232BM is connected to the PC, the PC will prompt to find the USB Serial Converter, and automatically pop up the Find New Hardware Wizard dialog box
Find the general driver installation corresponding to FT232BM, and after installation, the device manager will display a USB serial interface:
Method 2: Use the USB interface of FT232 as a dedicated USB to serial port
A serial EEPROM needs to be added outside the FT232 to store USB VID, PID and device information
FT232 stores VID and PID inside, and the VID and PID of each chip of the same type are the same. When FT232 is powered on, it first reads the external VID, PID and device information. If there is no external EEPROM storage device, use VID, PID and device information inside the chip.
Since it is a dedicated USB to serial port, FT232 needs to reconfigure the VID, PID and device description information. The preparation of EERPOM can be done with a dedicated EERPOM programming tool or MProg3.0_Setup.exe + configuration file .ept file. The method is as follows
1. Prepare EEPROM, install and run MProg3.0_Setup.exe. Open the configuration file, click programming, and write the configuration file into the EEPROM FT232 external
2. Modify the INF file of the PC driver, and change the serial numbers of PID and VID to be the same as those in the configuration file
3. Plug in the USB and follow the prompts to install the driver. If the PID VID in the PC driver is inconsistent with the PID VID in the configuration file, it will be assumed that the driver cannot be installed.
3. Some explanations when MPorg and hardware cannot be connected normally when preparing EEPROM
When using MProg to configure EEPROM, please make sure that the configuration file .ept is correct and the configuration is successful before plugging in the USB port. Otherwise, when the configuration is completed and plugging the USB port again, the Find New Hardware Wizard will pop up automatically. If you want to click MProg to reconfigure, It will be impossible to connect.
Only after installing the driver and opening MProg can the connection be re-established. If the EEPROM configuration is successful, but there is an error when installing the driver, the hardware cannot be used, and the hardware and MProg cannot be connected at the same time, and the correct driver needs to be reinstalled. and PID, may cause the correct driver not to be installed.
4. Modification of configuration file.ept and PC-side driver installation information file.inf, common FT232M.ept file
USB to serial port based on FT232

Related News
10M Quad MATE-AX & HFM Mini FAKRA 4-in-1 Cable Assemblies Now Available – Stock Ready, No MOQ
The 10M Quad MATE-AX & HFM Mini FAKRA 4-in-1 Cable Assemblies is ideal for connecting cameras, sensors, radar modules, area controllers, and domain control units in modern vehicles, buses, coaches, passenger buses, trucks, and commercial transportation systems.
7/8" Power Cable Solution for AGV and AMR Robotics Applications
Premier Cable’s DeviceNet 7/8" power cables for AGV and AMR robots, deliver the stability, durability, and flexibility required for next-generation robotic systems. Start Your Custom Cable Project Today! Get reliable power solutions for your AGV or AMR system!
GMSL Camera Cables Solution for Automotive In-Vehicle Developer System and Robotic
Looking for reliable and customizable GMSL camera cables? Premier Cable provide GMSL, GMSL2, and GMSL3 camera cable with Fakra and Quad Fakra, customizable for NVIDIA DRIVE AGX Thor Developer Kit, automotive, unmanned vehicles, robotics, AMR, and smart cities.
Premier Cable MATE-AX & H-MTD GMSL Ethernet Cable for NVIDIA DRIVE AGX Thor Developer Kit
Premier Cable provide custom MATE-AX & H-MTD breakout cables for NVIDIA DRIVE AGX Thor, supporting humanoid robots, machine vision, Industrial Vehicles, Robotics, and Autonomous Machines.
How H-MTD Cable Empower Robotaxi and Autonomous Driving Systems
H-MTD cable assemblies enable high-speed automotive Ethernet for Robotaxi, supporting cameras, LiDAR, and ADAS with customizable solutions.
Premier Cable Launches TE 282762-1 2 Way Automotive Cable Assembly
Premier Cable introduces the TE 282762-1 AMP Junior Power Timer automotive wiring harness, customizable, and widely used in sensors, fuel injection, ignition systems, and turn signals.