MProg 2 User Manual

Future Technology Devices
International Ltd.
MProg 3.0 Manual
Copyright © 2006 Future Technology Devices International Limited
I
MProg 2 User Manual
Table of Contents
3
Part I MProg Introduction
1 Installing MProg
................................................................................................................................... 5
2 Installing...................................................................................................................................
D2XX (CDM) Drivers
10
20
Part II MProg Basics
1 Modes of...................................................................................................................................
Operation
20
22
Part III Edit Mode Functions
1 Create a ...................................................................................................................................
New EEPROM Template
22
2 Modify an
...................................................................................................................................
Existing EEPROM Template
24
Part IV Device EEPROM Parameters
26
1 Basic Details
................................................................................................................................... 26
2 USB Power
...................................................................................................................................
Options
27
3 USB Serial
...................................................................................................................................
Number Control
28
4 USB Remote
...................................................................................................................................
Wake Up
29
5 Plug & Play
...................................................................................................................................
(FT232 Series Only)
30
6 BM/C Device
...................................................................................................................................
Specific Options
31
7 FT2232C...................................................................................................................................
Device Options
32
8 FT232R Device
...................................................................................................................................
Options
33
9 FT245R Device
...................................................................................................................................
Options
34
10 FT2232D...................................................................................................................................
Device Options
35
11 Product and
...................................................................................................................................
Manufacturer Descriptor Strings
36
12 Programming
...................................................................................................................................
Options
37
Part V Program Mode Functions
38
1 Scan for ...................................................................................................................................
Devices
39
2 Erase All...................................................................................................................................
Existing Devices
40
3 Program ...................................................................................................................................
All Existing Devices
41
4 Cycle Device
................................................................................................................................... 42
5 Read Devices
................................................................................................................................... 43
6 Read and...................................................................................................................................
Parse Devices
44
45
Part VI Appendix
1 Customising
...................................................................................................................................
FTDI's CDM Drivers
45
Changing.........................................................................................................................................................
the FTDIBUS.INF File
45
Changing.........................................................................................................................................................
the FTDIPORT.INF File
46
Copyright © 2006 Future Technology Devices International Limited
Contents
II
Changing.........................................................................................................................................................
the CDM Uninstaller INI Files
47
2 Uninstalling
...................................................................................................................................
MProg
48
Index
Copyright © 2006 Future Technology Devices International Limited
51
3
1
MProg 2 User Manual
MProg Introduction
MProg is an easy to use multiple device EEPROM programming utility for use with FTDI devices.
Devices supported by the latest version of MProg are:
·
·
·
·
·
·
·
FT232RL & FT232RQ
FT245RL & FT245RQ
FT2232D, FT2232C & FT2232L
FT232BM, FT232BL & FT232BQ
FT245BM, FT245BL & FT245BQ
FT8U232AM
FT8U245AM
MProg is available as a free download from the Utilities page of the FTDI website.
These devices support 93C46 EEPROMs organised in 16-bit words, except for the R series
devices which have an internal EEPROM. The BM and C devices also support 93C56 and 93C66
EEPROMs organised in 16-bit words. When fitted, an external EEPROM allows customisation of
the device default parameters such as VID 26 , PID 26 , Serial Number 28 ,
Manufacturer Descriptor 36 and Product Descriptor 36 . MProg provides a fast and simple way of
programming these parameters.
A convenient way of programming the EEPROM is to use a blank device on the PCB during
manufacturing assembly and program it via USB during the manufacturing test process. All these
devices support direct programming over USB using a programming utility such as this one.
Copyright © 2006 Future Technology Devices International Limited
MProg Introduction
Copyright © 2006 Future Technology Devices International Limited
4
5
1.1
MProg 2 User Manual
Installing MProg
Prior to installation, please uninstall any existing FTDI drivers from the target PC using the
Add/Remove Programs utility in the Windows control Panel. MProg uses FTDI's D2XX drivers, the
current versions of which can be downloaded free of charge from the Drivers page of the
FTDI website. A link to the D2XX drivers page is included in the MProg installation directory.
The latest verison of MProg can be downloaded from the Utilities page of the FTDI website in a
zipped setup executable. Extract the file, run the setup executable file and the following screen
should appear:
Click Next and the installation program will prompt you to select the language you want to use for
the rest of the setup process. The default value is English.
Copyright © 2006 Future Technology Devices International Limited
MProg Introduction
6
Clicking Next displays the license agreement. Read the license agreement and if you agree, check
the box next to "I agree with the above terms and conditions" and click next to proceed with the
installation. If you do not agree, the installation process will not continue.
Copyright © 2006 Future Technology Devices International Limited
7
MProg 2 User Manual
The next screen prompts the user for a location to install MProg to. The default location is
"C:\Program Files\MProg" with the MProg version number. Once a location has been selected,
click Next to commence installation.
Copyright © 2006 Future Technology Devices International Limited
MProg Introduction
Clicking Next displays a screeen which allows the user to select if they would like a desktop
shortcut created. If so, check the box and click OK.
Copyright © 2006 Future Technology Devices International Limited
8
9
MProg 2 User Manual
Clicking Next installs MProg and copies the necessary files.
This completes the installation of MProg. To start MProg, either follow the desktop shortcut or
locate MProg in the Start menu.
Please note that MProg requires D2XX drivers to be installed before devices can be
programmed. See Installing D2XX Drivers 10 for details of driver installation.
Copyright © 2006 Future Technology Devices International Limited
MProg Introduction
1.2
10
Installing D2XX (CDM) Drivers
Full directions for how to install D2XX drivers for FTDI devices are provided in the appropriate
driver installation guide available from the FTDI web site. Sample instructions are given below for
a Windows 2000 installation, but other Windows versions are very similar.
While MProg uses the D2XX interface, FT232R, FT245R and FT2232 devices that are
programmed to load a virtual COM port will also load the COM port from the CDM drivers. As BM
and AM series devices do not have an EEPROM setting for this, they will install a COM port
automatically.
· If a device of the same type has been installed on your machine before and the drivers that are
about to be installed are different from those installed already, the original drivers need to be
uninstalled. Please refer to the appropriate driver installation guide for details of how to do this.
· Download the latest available CDM drivers from the FTDI web site and unzip them to a location
on your PC.
· Connect the device to a spare USB port on your PC. If the device is based on an FT2232
device, the Microsoft composite device driver is automatically loaded first.
· Once the composite driver has been installed the Found New Hardware Wizard will launch.
Click "Next" to proceed with the installation.
Copyright © 2006 Future Technology Devices International Limited
11
MProg 2 User Manual
· Select "Search for a suitable driver for my device (recommended)" as shown below and then
click "Next".
Copyright © 2006 Future Technology Devices International Limited
MProg Introduction
· Check the box next to "Specify a location" and uncheck all others as shown below.
· Clicking "Next" displays a dialog box for you to enter to the location of the drivers.
· Click "Browse" to display an open file dialog box.
Copyright © 2006 Future Technology Devices International Limited
12
13
MProg 2 User Manual
· Locate the folder containing the latest drivers downloaded from the FTDI web site above and
click "Open", then click "OK". The PC autoselects the correct INF file, in this case
FTDIBUS.INF. Once Windows has found the required driver .INF file, click "Next" to proceed.
Copyright © 2006 Future Technology Devices International Limited
MProg Introduction
14
· Windows should then display a message indicating that the installation was successful. Click
"Finish" to complete the installation for the serial converter driver for this port of the device. The
COM port emulation driver must be installed after this has completed.
· If the device is based on the FT2232, the Found New Hardware Wizard will continue by installing
the USB Serial Converter driver for the second port of the FT2232 device. The procedure for
installing the second port is identical to that for installing the first port from the first screen of the
Found New Hardware Wizard. If the device is not based on the FT2232, the COM port
emulation driver is loaded as indicated in the following steps. Click "Next" to proceed with the
serial port installation.
Copyright © 2006 Future Technology Devices International Limited
15
MProg 2 User Manual
· Select "Search for a suitable driver for my device (recommended)" as shown below and then
click "Next".
Copyright © 2006 Future Technology Devices International Limited
MProg Introduction
· Check the box next to "Specify a location" and uncheck all others as shown below.
· Clicking "Next" displays a dialog box for you to enter to the location of the drivers.
· Click "Browse" to display an open file dialog box.
Copyright © 2006 Future Technology Devices International Limited
16
17
MProg 2 User Manual
· Locate the folder containing the latest drivers downloaded from the FTDI web site above and
click "Open", then click "OK". The PC autoselects the correct INF file, in this case
FTDIPORT.INF. Once Windows has found the required driver .INF file, click "Next" to proceed.
Copyright © 2006 Future Technology Devices International Limited
MProg Introduction
18
· Windows should then display a message indicating that the installation was successful. Click
"Finish" to complete the installation for this port of the device.
· If the device is based on the FT2232, the second port must also be installed. Under Windows
2000, this will occur automatically.
· By examining the Device Manager (located in "Control Panel\System" then select the "Hardware"
tab and click "Device Manger…") and viewing by connection ("View > Devices by connection"),
the device appears as a "USB Serial Converter" with an additional COM port with the label "USB
Serial Port". If the device is based on the FT2232, two ports will be available from a composite
USB device.
Copyright © 2006 Future Technology Devices International Limited
19
MProg 2 User Manual
· In the case of the FT2232, port A of the FT2232 will be installed as COMX and port B will be
installed as COMX+1 where COMX is the first available COM port number.
Copyright © 2006 Future Technology Devices International Limited
MProg Basics
2
MProg Basics
2.1
Modes of Operation
20
MProg has 3 modes of operation: Idle Mode, Program Mode and Edit Mode. MProg programming
parameters are saved in files referred to here as EEPROM templates. Once defined, these
EEPROM templates can be loaded by MProg and used to program EEPROMs.
· Idle Mode is the initial mode of operation when the program is launched.
· Edit Mode is used to edit the settings of a EEPROM template.
· Program Mode is used to Program and Erase the device EEPROM(s).
When MProg is launched, it is initially in Idle Mode and the screen will look like this.
User choices in Idle Mode are:
· Create a new EEPROM template. This will change the mode to Edit Mode and allow the user to
select the parameters for their project. The new EEPROM Template must then be saved to disk
which will then put MProg into Program Mode.
· Open an existing EEPROM template. This will set the MProg parameters to that of the selected
Copyright © 2006 Future Technology Devices International Limited
21
MProg 2 User Manual
template and put MProg into Program mode, ready to Program devices.
· Scan the USB Bus for available devices. MProg will report how many programmed and blank
devices are attached to the target PC.
Copyright © 2006 Future Technology Devices International Limited
Edit Mode Functions
3
Edit Mode Functions
3.1
Create a New EEPROM Template
22
To create a new EEPROM template click on the Create New Programming Template button on the
toolbar
or select New from the File Menu.
The EEPROM template can define parameters in the following categories:
·
·
·
·
·
·
·
·
·
·
·
·
Basic Details 26
USB Power Options 27
USB Serial Number Control 28
USB Remote Wake Up 29
Plug & Play (FT232 Series Only) 30
BM/C Device Specific Options 31
FT2232C Device Options 32
FT232R Device Options 33
FT245R Device Options 34
FT2232D Device Options 35
Product and Manufacturer Descriptor Strings
Programming Options 37
36
When the EEPROM template is defined, use the "Save As" toolbar button
or select Save As ... from the File menu.
Copyright © 2006 Future Technology Devices International Limited
23
MProg 2 User Manual
Enter a file name for the EEPROM template, perhaps your product name (MyUSBDevice.ept in this
example), and click on "Save"
MProg will save the EEPROM template and switch into Program mode.
Copyright © 2006 Future Technology Devices International Limited
Edit Mode Functions
3.2
24
Modify an Existing EEPROM Template
To modify an existing EEPROM template, click on the "File Open" button on the toolbar
or select "Open" from the "File" menu.
This will launch the Open dialog box. Select the template you wish to modify and click on "Open".
MProg will load the template parameters, however it will be in the Program mode. Click on the
"Edit Mode" button on the toolbar to switch MProg from Program mode to Edit mode.
You will now be able to modify the template parameters.
Copyright © 2006 Future Technology Devices International Limited
25
MProg 2 User Manual
Changing any parameter will activate the "Save" button on the tooolbar. When the changes are
complete, click on the "Save" button to save the changes
or on the "Save As" button to save the resulting template to a different file name.
Clicking on "Save" or "Save As" will return MProg to Program mode. To make further changes,
click on the "Edit Mode" button again.
Copyright © 2006 Future Technology Devices International Limited
Device EEPROM Parameters
4
Device EEPROM Parameters
4.1
Basic Details
26
Parameters that can be defined for an EEPROM template in the Basic Details section are:
Device Type
Select the device type you wish to program from the Basic Details box. When selected, this will
enable the menu options appropriate to the device you have selected.
USB VID / PID
The choices available from the combo-box for VID and PID are
· FTDI Default. If you use the FTDI default values, the VID and PID are fixed and you do not need
to enter any values.
· FTDI Supplied PID. If you wish to use FTDI's Vendor ID and FTDI have supplied you with a
Product ID for use with your products, please enter the Product ID supplied by FTDI (a 4 digit
hexadecimal number) in the Product ID box provided. If you wish to use FTDI's Product ID and
do not have a unique Product ID assigned for you by FTDI then please e-mail
[email protected] with your request. There is no charge for this service to bona-fide FTDI
customers.
· Other VID & PID. If you have your own USB Vendor ID and Product ID for your device, then this
option will allow the user to enter both the USB VID and USB PID for your product in the boxes
provided.
Note that if non-standard VID and/or PID values are used the driver INF and INI files must be
modified to accommodate the new VID and PID combination. Please refer to the Appendix
of this manual for the modifications that should be made.
Copyright © 2006 Future Technology Devices International Limited
27
4.2
MProg 2 User Manual
USB Power Options
Details of the USB device power requirements can be set in the USB Power Options section.
Select Bus Powered (the product gets it's power from USB) or Self Powered (the product has it's
own power supply) from the power options. The Max Bus Power value defaults to 100mA for a
Bus Powered product and 0mA for a Self Powered product, however these are only default values
and can be changed by entering a new value in the Max Bus Power field. A summary of the rules
and options are given below:
All USB Devices
· The maximum current that can be supplied over the USB bus without violating the USB
specification is 500mA. Do not enter a value of more than 500mA in the Max Bus Power field.
· On plug-in, no USB product is allowed to consume more than 100mA from the USB bus until
USB enumeration is complete i.e. the product and it's USB drivers are successfully loaded by the
host PC. Special care has to be taken in the case of high power Bus Powered products,
however the PWREN# pin of the BM series devices simplifies such designs.
Bus Powered USB Devices
These fall into two categories:
· Low power bus powered products. These products consume 100mA or less from the USB bus
and can be plugged into any USB host or hub port.
· High power bus powered products. These products consume between 101mA and 500mA from
the USB bus and can be plugged into any USB host. However, such products can only be
plugged into self powered USB hubs (hubs that have thir own power supply) as bus powered
USB hubs can only supply 100mA per hub port.
Self Powered USB Devices
These fall into two categories:
· True self powered products. These products have their own power supply and do not require
any current from the USB bus. Enter a value of zero in the Max Bus Power field.
· Hybrid self powered products. These products have their own power supply, but also draw some
of their operating current from the USB bus. Enter the current draw from the USB bus in the Max
Bus Power field.
Copyright © 2006 Future Technology Devices International Limited
Device EEPROM Parameters
4.3
28
USB Serial Number Control
USB products have the ability to embed a unique serial number for each product into the low level
descriptors that are accessed by the host controller drivers when the product is plugged into the
USB bus. In turn, the serial number of a product can be used to identify the product. The device
serial number can be set through the USB Serial Number Control panel.
MProg can generate unique serial numbers automatically for you (recommended). These consist
of a 2 letter prefix (e.g. FT) followed by 6 alphanumeric digits generated using an algorithm based
on the date and time of programming the device. It is also possible to fix the serial number to a
fixed 8-digit alphanumeric string, however we do not recommend this as systems will only
recognise the first instance of such a device connected to a PC.
Copyright © 2006 Future Technology Devices International Limited
29
4.4
MProg 2 User Manual
USB Remote Wake Up
FT8U232AM and FT232BM devices are capable of resuming a PC from the USB suspend (sleep)
state via the RI# pin. FT245BM also has this capability via a dedicated pin (SI/WU), as does the
FT2232C (SI/WUA, SI/WUB). FT8U245AM does not have support for remote wake up. To use
the remote wake-up capability, enable this option by checking the box.
Copyright © 2006 Future Technology Devices International Limited
Device EEPROM Parameters
4.5
30
Plug & Play (FT232 Series Only)
Windows Plug and Play (PnP) - for general purpose USB to RS232 serial converters it is desirable
that the device tries to recognise any attached secondary peripheral that conforms to the Windows
Plug and Play standard. These devices are typically modems, or serial mice. On recognition of
such a device Windows will attempt to identify and load the drivers for the secondary peripheral.
For other application areas PNP is not usually required so this option should be turned off.
Copyright © 2006 Future Technology Devices International Limited
31
4.6
MProg 2 User Manual
BM/C Device Specific Options
The FT232BM and FT245BM 2nd generation devices and FT2232C 3rd generation device have
some additional options compared to the AM devices. These options can be controlled via the
optional EEPROM.
· USB Version Number. The BM and C series devices have the option to set the USB version
number to USB 1.1 or USB 2.0. This has no effect on the functionality of the device, however for
USB compliance testing we recommend that you choose the USB 2.0 setting. For AM series
devices the version number is hard coded to USB 1.1.
· Disable the USB serial number. This allows multiple identical USB devices to be plugged into
the same host PC. However, it is then impossible for the USB drivers to uniquely identify the
devices. We recommend that for most applications, this option is not selected.
· Pull Down IO Pins in USB suspend. BM and C devices feature a Power Control Pin (PWREN#).
This pin can be used to control power to external peripheral circuitry via a P-Channel MOSFET.
When used in this way, select this option to minimize the USB suspend current, otherwise leave
this option unselected. See the product data sheets, application schematics and designers
guides for more details.
Copyright © 2006 Future Technology Devices International Limited
Device EEPROM Parameters
4.7
32
FT2232C Device Options
The FT2232C incorporates all of the BM specific features described in the
BM/C Device Specific Options 31 section. It also has the following additional options which can be
configured in the external EEPROM. These options will only be displayed when the device type in
basic details is set to FT2232C.
· Each channel can be independently configured as FT232BM-style USB UART or a FT245BMstyle USB FIFO.
· Each channel can also be individually configured in Fast Opto-Isolated Serial Interface mode.
See the FT2232C device datasheet (available from the Datasheets page of the FTDI website)
for more information on these modes.
· High Current I/O's. Setting this option will enable the high output drive level. The UART/FIFO IO
pins will drive out at 12mA instead of their normal 4mA.
· The driver that is installed and used by each channel can be set by selecting Virtual COM Port or
D2XX Direct option (not currently supported).
Copyright © 2006 Future Technology Devices International Limited
33
4.8
MProg 2 User Manual
FT232R Device Options
Additional features available on the FT232R device allow RS232 signals to be inverted and the
CBUS pins to be configured through combo-boxes.
Like the FT2232C, the FT232R supports High Current IOs. Setting this option will enable the high
output drive level. The UART IO pins will drive out at 12mA instead of their normal 4mA.
The check box to load the D2XX driver rather than the VCP driver is currently not supported.
Copyright © 2006 Future Technology Devices International Limited
Device EEPROM Parameters
4.9
34
FT245R Device Options
Unlike the FT232R, the FT245R does not allow inverting of signals or configuration of the CBUS
pins as they are all required.
Like the FT2232C, the FT232R supports High Current IOs. Setting this option will enable the high
output drive level. The FIFO IO pins will drive out at 12mA instead of their normal 4mA.
The check box to load the D2XX driver rather than the VCP driver is currently not supported.
Copyright © 2006 Future Technology Devices International Limited
35
4.10
MProg 2 User Manual
FT2232D Device Options
The FT2232D device incorporates all of the BM specific features described in the
BM/C Device Specific Options 31 section and all of the FT2232C Device Options
additional "CPU FIFO" option made available.
32
, but with an
· Each channel can be independently configured as FT232BM-style USB UART or a FT245BMstyle USB FIFO.
· Each channel can be individually configured in CPU FIFO mode.
· Each channel can also be individually configured in Fast Opto-Isolated Serial Interface mode.
See the FT2232C device datasheet (available from the Datasheets page of the FTDI website)
for more information on these modes.
· High Current I/O's. Setting this option will enable the high output drive level. The UART/FIFO IO
pins will drive out at 12mA instead of their normal 4mA.
· The driver that is installed and used by each channel can be set by selecting Virtual COM Port or
D2XX Direct option (not currently supported).
Copyright © 2006 Future Technology Devices International Limited
Device EEPROM Parameters
4.11
36
Product and Manufacturer Descriptor Strings
The Product and Manufacturer Description Strings in the fields allow customisation of the
manufacturer and product description strings the deviec uses.
· Manufacturer: the product manufacturer string e.g. "FTDI" - best kept short and abbreviated if
possible.
· Product Description: a brief description of the product, maybe including the part number e.g.
"US232 USB to RS232 Converter"
Copyright © 2006 Future Technology Devices International Limited
37
4.12
MProg 2 User Manual
Programming Options
If the "Only Program Blank Devices" box is checked then MProg will only program any blank
devices it finds. If the box is unchecked, MProg will program any blank devices it finds and also reprogram any programmed devices it finds.
Copyright © 2006 Future Technology Devices International Limited
Program Mode Functions
5
Program Mode Functions
The program mode functions of MProg can be accessed through the toolbar
Functions for reading the EEPROM contents can be found in the Tools menu.
The functions available through the toolbar are:
· Scan for Devices
· Erase All Existing Devices
· Program All Existing Devices
The read functions available through the Tools menu are:
· Read
· Read and Parse
Copyright © 2006 Future Technology Devices International Limited
38
39
5.1
MProg 2 User Manual
Scan for Devices
To scan the USB bus for available FTDI devices, click on the "Scan for Devices" button on the
toolbar.
MProg will display the number of blank devices it finds and the number of programmed devices it
finds on the host PC, for example 0 and 1 as shown below.
Copyright © 2006 Future Technology Devices International Limited
Program Mode Functions
5.2
40
Erase All Existing Devices
To erase devices you must be in Program mode. Clicking on the "Erase All Devices" button on the
toolbar will erase the EEPROM contents of all FTDI devices connected to the host PC except any
FT232R or FT245R devices.
A message will be displayed for each device found and sucessfully erased. An example is shown
below.
Copyright © 2006 Future Technology Devices International Limited
41
5.3
MProg 2 User Manual
Program All Existing Devices
To program a device, MProg must be in Program mode. Click on the "Program Devices" button on
the toolbar.
If the "Only Program Blank Devices" box is checked, then MProg will not try and reprogram any
pre-programmed FTDI devices it finds. If this selection is unchecked, then MProg will attempt to
program every device it finds on the host PC.
Note: to change the "Only Program Blank Devices" box, you must first enter Edit Mode by clicking
on the "Edit Mode" button. After changing the option, click on the "Save" button which will return
you to Program mode.
After programming is complete, MProg will display a message showing how many devices it has
programmed.
Copyright © 2006 Future Technology Devices International Limited
Program Mode Functions
5.4
42
Cycle Device
The "Cycle Device" button can be used to re-enumerate a device on USB after it's EEPROM has
been reprogrammed. This is useful because the device only reads the EEPROM when it is
enumerated on USB, so it forces the device to use the new EEPROM contents.
A message will be displayed for each device found and sucessfully re-enumerated. An example is
shown below.
Copyright © 2006 Future Technology Devices International Limited
43
5.5
MProg 2 User Manual
Read Devices
To read the data in a programed FTDI device EEPROM, select Read from the tools menu.
The programmed data will be displayed in the dialog window. For example:
Copyright © 2006 Future Technology Devices International Limited
Program Mode Functions
5.6
44
Read and Parse Devices
To read and parse the data in a programmed FTDI device EEPROM, select Read and Parse from
the tools menu.
The programmed data will then be shown in each field in MProg. The device serial number will be
shown, but will be greyed out.
Copyright © 2006 Future Technology Devices International Limited
45
MProg 2 User Manual
6
Appendix
6.1
Customising FTDI's CDM Drivers
6.1.1
Changing the FTDIBUS.INF File
If you are using a VID and PID which is different from the default FTDI ones (VID = 0x0403 and
PID = 0x6001 and 0x6010), you must edit the FTDIBUS.INF file using a text editor such as
NotePad. You will need to add extra lines into the [FtdiHw] and [ControlFlags] sections containing
the new VID and PID. You should also add a description of your product into the [Strings] section
as shown.
Do not change any other parts of the supplied INF files unless you are an expert and
capable of debugging the results for yourself.
The following example shows a new device with a VID of 0x1234 and a PID of 0x5678 which we
shall call "My New USB Device". In this example, the additional lines are shown in red to highlight
them. If the device you are adding is an FT2232C or FT2232D, an entry must be created for each
of the ports.
[FtdiHw]
%USB\VID_0403&PID_6001.DeviceDesc%=FtdiBus,USB\VID_0403&PID_6001
%USB\VID_0403&PID_6010&MI_00.DeviceDesc%=FtdiBus,USB\VID_0403&PID_6010&MI_00
%USB\VID_0403&PID_6010&MI_01.DeviceDesc%=FtdiBus,USB\VID_0403&PID_6010&MI_01
%USB\VID_1234&PID_5678.DeviceDesc%=FtdiBus,USB\VID_1234&PID_5678
[Strings]
Ftdi="FTDI"
DriversDisk="FTDI USB Drivers Disk"
USB\VID_0403&PID_6001.DeviceDesc="USB Serial Converter"
USB\VID_0403&PID_6010&MI_00.DeviceDesc="USB Serial Converter A"
USB\VID_0403&PID_6010&MI_01.DeviceDesc="USB Serial Converter B"
USB\VID_1234&PID_5678.DeviceDesc="My New USB Device"
WINUN="Software\Microsoft\Windows\CurrentVersion\Uninstall"
FtdiBus.SvcDesc="USB Serial Converter Driver"
Copyright © 2006 Future Technology Devices International Limited
Appendix
6.1.2
46
Changing the FTDIPORT.INF File
If you are using a VID and PID which is different from the default FTDI ones (VID = 0x0403 and
PID = 0x6001 and 0x6010), you must edit the FTDIPORT.INF file using a text editor such as
NotePad. You will need to add an extra line into the [FtdiHw] section containing the new VID and
PID. You should also add a description of your product into the [Strings] section as shown.
Do not change any other parts of the supplied INF files unless you are an expert and
capable of debugging the results for yourself.
The following example shows a new device with a VID of 0x1234 and a PID of 0x5678 which we
shall call "My New USB Device". In this example, the additional lines are shown in red to highlight
them. If the device you are adding is an FT2232C or FT2232D, an entry must be created for each
of the ports.
[FtdiHw]
%VID_0403&PID_6001.DeviceDesc%=FtdiPort232,FTDIBUS\COMPORT&VID_0403&PID_6001
%VID_0403&PID_6010.DeviceDesc%=FtdiPort2232,FTDIBUS\COMPORT&VID_0403&PID_6010
%VID_1234&PID_5678.DeviceDesc%=FtdiPort232,FTDIBUS\COMPORT&VID_1234&PID_5678
[Strings]
FTDI="FTDI"
DriversDisk="FTDI USB Drivers Disk"
PortsClassName = "Ports (COM & LPT)"
VID_0403&PID_8372.DeviceDesc="USB Serial Port"
VID_0403&PID_6001.DeviceDesc="USB Serial Port"
VID_1234&PID_5678.DeviceDesc="My New USB Device"
FtdiPort.SvcDesc="USB Serial Port Driver"
SerEnum.SvcDesc="Serenum Filter Driver"
Copyright © 2006 Future Technology Devices International Limited
47
6.1.3
MProg 2 User Manual
Changing the CDM Uninstaller INI Files
If you are using a VID and PID which is different from the default FTDI ones (VID = 0x0403 and
PID = 0x6001), you must edit the uninstaller FTDIUN2K.INI files using a text editor such as
NotePad. In the [Uninstall] section of each file, edit the line
Device=VID_0403&PID_6001
to reflect the actual VID and PID used.
The following example shows a new device with a VID of 0x1234 and a PID of 0x5678. In this
example, the altered line is shown in red to highlight it.
[Uninstall]
Device=VID_1234&PID_5678
Converter=FTDIBUS
Serial=FTSER2K
InfFiles=FTDIBUS,FTDIPORT
Key=FTDICOMM
Copyright © 2006 Future Technology Devices International Limited
Appendix
6.2
48
Uninstalling MProg
To uninstall MProg, follow the instructions below:
· Disconnect any FTDI devices attached to the PC.
· Open the Add/Remove Programs utility which is located in the Windows Control Panel.
· Select MProg from the list of installed programs and click Change/Remove. This will launch the
MProg uninstaller.
· The user will be asked for confirmation to uninstall MProg. Click Next to proceed with the
uninstallation or click Cancel to abort.
· The files and directorys required for MProg will be removed. If there are files other thatn the
original installation files present (e.g. user defined templates) the following screen will be
Copyright © 2006 Future Technology Devices International Limited
49
MProg 2 User Manual
displayed to give the option of deleting them.
· The following screen is displayed when the process is complete. Clicking Finish will close the
uninstall program.
Copyright © 2006 Future Technology Devices International Limited
Appendix
50
· The MProg uninstaller does not remove the D2XX drivers from the system. To remove the
drivers, use the driver uninstaller in Add/Remove Programs as shown below.
Copyright © 2006 Future Technology Devices International Limited
51
MProg 2 User Manual
Index
-PPID 26
Plug & Play 30
Program All Existing Devices
Programming Devices 41
-BBasic Details
Bus Powered
26
27
-R-
-C-
Read and Parse EEPROM
Read EEPROM 43
Customising Drivers
45, 46, 47
-DDevice Type 26
Driver Installation
41
10
-EEEPROM Templates 22, 24
EPT 22, 24
Erase All Exisiting Devices 40
Erasing Devices 40
-FFT2232C EEPROM Options 31, 32
FT2232D EEPROM Options 35
FT232BM EEPROM Options 31
FT232R EEPROM Options 31, 33
FT245BM EEPROM Options 31
FT245R EEPROM Options 31, 34
44
-SScan for Devices 39
Self Powered 27
Serial Number 28
-UUninstalling MProg 48
USB Power Options 27
USB Remote Wake Up 29
USB Serial Number Control 28
-VVID
26
-IINF Files 45, 46
INI Files 47
Installing MProg 5
Introduction 3
-MMProg Modes 20
MProg Toolbar 38
Copyright © 2006 Future Technology Devices International Limited