Programming FTDI devices: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=Programming FT232R= | |||
This page describes how to programm the FT232R chip for use in: | This page describes how to programm the FT232R chip for use in: | ||
* Davac4 / [[Převodník_USB_→_LPT_pro_Dávač_3.x|USB2LPT]] + [[Dávač_3.0]] or [[Dávač_3.3]] | * Davac4 / [[Převodník_USB_→_LPT_pro_Dávač_3.x|USB2LPT]] + [[Dávač_3.0]] or [[Dávač_3.3]] | ||
Line 23: | Line 25: | ||
* Manufacturer to OK1ZIA | * Manufacturer to OK1ZIA | ||
* Product Description by table bellow | * Product Description by table bellow | ||
{| border="1" cellpadding="3" cellspacing="0" | {| border="1" cellpadding="3" cellspacing="0" | ||
Line 58: | Line 61: | ||
[[Image:MProgControlPanel.png|none|frame|Control panel with new device]] | [[Image:MProgControlPanel.png|none|frame|Control panel with new device]] | ||
=Repair wrong VID/PID= | |||
If you do a mistake and programm wrong Vendor/Product IDs to FT232R, you can try this recover procedure: | |||
* Get real VID/PID from MProg or from Device Manager (Properties, Details, Hardware ID) | |||
* Read section 4 of [http://www.ftdichip.com/Support/Documents/AppNotes/AN_107_AdvancedDriverOptions_AN_000073.pdf] | |||
* Modify D2XX/CDM drivers to match device VID/PID. Leave only one device item like: | |||
[Manufacturer] | |||
%Ftdi%=FtdiHw,NTamd64 | |||
[FtdiHw] | |||
%USB\VID_A600&PID_E112.DeviceDesc%=FtdiBus.NT,USB\VID_A600&PID_E112 | |||
[FtdiHw.NTamd64] | |||
%USB\VID_A600&PID_E112.DeviceDesc%=FtdiBus.NTamd64,USB\VID_A600&PID_E112 | |||
[ControlFlags] | |||
ExcludeFromSelect=* | |||
* Scan devices in MProg, it should find the device | |||
* Set proper values of VID/PID and programm these | |||
* Without replug, Uninstall drivers in Device Manager | |||
* Replug revice, it should have new VID/PID |
Revision as of 06:54, 4 April 2012
Programming FT232R
This page describes how to programm the FT232R chip for use in:
You need File:MProg3.5.zip (obsoleted by FT_Prog but always work.
Run MProg
Disconnect all possible USB devices (can contain FTDI chip also). Connect your device with FT232R. Press Ctrl+N to create new programming template. Press Ctrl+C to scan. MProg responds in bottom box:
Number Of Blank Devices = 0 Number Of Programmed Devices = 1
Change:
- Device Type to FT232R
- USB VID/PID to Own VID & PID
- Vendor ID to A600
- Product ID by table bellow
- Manufacturer to OK1ZIA
- Product Description by table bellow
Device | Product ID | Product description |
Davac4 | E110 | Davac 4.x |
Rotar4 | E112 | Antenna rotator 4.x |
USBIO | E113 | USB GPIOs |
HDKEYB | E114 | HD44780 + Keyboard |
Verify entered data, press Ctrl+V and save configuration to file. Pres Ctrl+P to programm.
In bottom box result appears:
Programmed Serial Number : FTVCZQUP
Replug the device. Run Control Panel and you'll see new device:
Repair wrong VID/PID
If you do a mistake and programm wrong Vendor/Product IDs to FT232R, you can try this recover procedure:
- Get real VID/PID from MProg or from Device Manager (Properties, Details, Hardware ID)
- Read section 4 of [1]
- Modify D2XX/CDM drivers to match device VID/PID. Leave only one device item like:
[Manufacturer] %Ftdi%=FtdiHw,NTamd64 [FtdiHw] %USB\VID_A600&PID_E112.DeviceDesc%=FtdiBus.NT,USB\VID_A600&PID_E112 [FtdiHw.NTamd64] %USB\VID_A600&PID_E112.DeviceDesc%=FtdiBus.NTamd64,USB\VID_A600&PID_E112 [ControlFlags] ExcludeFromSelect=*
- Scan devices in MProg, it should find the device
- Set proper values of VID/PID and programm these
- Without replug, Uninstall drivers in Device Manager
- Replug revice, it should have new VID/PID