Programming FTDI devices: Difference between revisions

From Tučňák Wiki
Jump to navigation Jump to search
Ok1zia (talk | contribs)
Ok1zia (talk | contribs)
Line 2: Line 2:


This page describes how to program the FT232R chip for use in:
This page describes how to program 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|Dávač 4]] / [[Převodník_USB_→_LPT_pro_Dávač_3.x|USB2LPT]] + [[Dávač_3.0]] or [[Dávač_3.3]]
* Rotar4 / [[Usb2ttl|USB2TTL]]
* [[Rotar47|Rotár 4]], [[Rotar5|Rotár 5]] / [[Usb2ttl|USB2TTL]]
* [[Usbio|USBIO]]
* [[Usbio|USBIO]]
* [[Hdkeyb|HDKEYB]]
* [[Hdkeyb|HDKEYB]]

Revision as of 06:53, 17 December 2013

Programming FT232R

This page describes how to program the FT232R chip for use in:

You need File:MProg3.5.zip (obsoleted by FT_Prog but always work.

Run MProg

MProg initial state

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
MProg device programmed

Replug the device. Run Control Panel and you'll see new device:

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 [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