CableGuide FTDI OEM Cables

Version 2 (Robert Terzi, 03/24/2013 03:54 pm)

1 1 Robert Terzi
h1. CableGuide FTDI OEM Cables
2 1 Robert Terzi
3 2 Robert Terzi
_Note: this page is currently a work in progress_
4 2 Robert Terzi
5 1 Robert Terzi
Some cable vendors use the FTDI serial chip in their USB radio cables, but have changed the chip's ID codes so that the cable will not be recognized as a generic serial communications port.  By default CHIRP will not be able to use these cables because CHIRP requires a serial port.  Most notably RT Systems sells such cables.  There are also some Icom cables that are sold this way.  Using a vendor specific code on the USB chip allows software that is specifically written for that cable, usually under Microsoft Windows, to identify the cable and eliminates the guessing about which port the radio is connected to.
6 1 Robert Terzi
7 1 Robert Terzi
There use such a cable with CHIRP there are two options.  You can either get your computer to recognize the OEM cable as a generic serial port by tweaking the driver setup, or you can change the cable to use the default FTDI codes, so the standard FTDI driver present in most operating systems will recognize the cable and create a standard serial port.
8 1 Robert Terzi
9 1 Robert Terzi
10 1 Robert Terzi
11 1 Robert Terzi
h2. Get your OS to recognize the cable as a generic FTDI USB Serial Cable
12 1 Robert Terzi
13 1 Robert Terzi
h3. Windows
14 1 Robert Terzi
15 1 Robert Terzi
h4. Windows 7 (possibly also Vista)
16 2 Robert Terzi
17 2 Robert Terzi
With Windows 7 and possibly other versions like Vista and Windows 8, it is possible to trick Windows into updating the driver to the latest generic FTDI driver.  Once that is done, there will be the option load the VCP (Virtual COM Port) driver that will create a generic COM port in Windows that can be used by CHIRP.
18 2 Robert Terzi
19 2 Robert Terzi
# Download the VCP driver zip file and expand it to a folder -
20 2 Robert Terzi
21 2 Robert Terzi
- Open up the device manager and update the driver for the RT cable device
22 2 Robert Terzi
- Go though the "let me choose" and "have disk" options to point it at the
23 2 Robert Terzi
folder where the files were unzipped.
24 2 Robert Terzi
- Install the driver that shows up even if it warns about it not being
25 2 Robert Terzi
26 2 Robert Terzi
- The device now shows up as "USB Serial Converter", go to its
27 2 Robert Terzi
properties/advanced tab and check the box called "Load VCP".
28 2 Robert Terzi
- Unplug the device and plug it back in
29 2 Robert Terzi
- A new com port device will show up, but a driver will not load for it
30 2 Robert Terzi
31 2 Robert Terzi
- Go thought the same process as before to install the driver from that
32 2 Robert Terzi
unzipped folder.
33 1 Robert Terzi
34 1 Robert Terzi
h4. Windows XP
35 1 Robert Terzi
36 1 Robert Terzi
h3. Mac OS
37 1 Robert Terzi
38 1 Robert Terzi
h3. Linux
39 1 Robert Terzi
40 1 Robert Terzi
h4. Manual method
41 1 Robert Terzi
42 1 Robert Terzi
h4. udev rule
43 1 Robert Terzi
44 1 Robert Terzi
h2. Change your cable's ID to FTDI default
45 1 Robert Terzi
46 1 Robert Terzi
FTDI has a free download of a utility for Windows that will allow changing the USB serial chip's VID and PID.  The FTDI USB serial chip has a small EEPROM built in.  Once you have reprogrammed the chip in your cable you should be able to use it under most operating systems without having to do anything special.  It should be recognized as a generic FTDI serial cable.  
47 1 Robert Terzi
48 1 Robert Terzi
*NOTE: When you change the ID, the original software for your cable will no longer recognize your cable.*
49 1 Robert Terzi
50 1 Robert Terzi
51 1 Robert Terzi
If you want to use the original software again, you'll have to reprogram the chip back to the VID/PID it had originally.  There is the ability do save a copy of the original chip's configuration.  If you plan to use both the original software that came with your cable and CHIRP, you should use the other method to get your system to load the serial driver (VCP) with your cable's OEM VID/PID.
52 1 Robert Terzi
53 1 Robert Terzi
To use this method:
54 1 Robert Terzi
# download and install the utility from the FTDI site.
55 1 Robert Terzi
# Use the utility to save the current configuration of your cable (Note: the software refers to this as a template)
56 1 Robert Terzi
# Determine the correct default VID and PID for the *specific* FTDI chip in your cable.  
57 1 Robert Terzi
# Change the settings and reprogram the cable.
58 1 Robert Terzi
59 1 Robert Terzi
60 1 Robert Terzi
61 1 Robert Terzi
62 1 Robert Terzi