Build your own USB tuner

How to setup your FT2232H for the MiniTiouner

Messagede F6DZP » Ven 16 Sep 2016 04:01

Instructions to program the FT2232H for your Minitiouner


Before we can use the MiniTiouner, we need to install the driver and to program the minimodule FT2232H.

You will need to download 3 files :
- the FTDI CDM driver : http://www.ftdichip.com/Drivers/CDM/CDM21218_Setup.zip from http://www.ftdichip.com/Drivers/D2XX.htm
- the software FTprog : http://www.ftdichip.com/Support/Utilities/FT_Prog_v3.2.76.375%20Installer.exe
- the template I have made :
using NIM tuner.zip
(928 Octets) Téléchargé 487 fois


[ Please note, if you have old drivers , first do a cleanup - see next post ]

1)Installing the driver:
unzip the CDM212xx_Setup.zip and run the CDM212xx_Setup.exe as administrator.
This will install the driver and the D2XX.dll.

2) Plug the MiniTiouner to your PC . Use a good quality USB cable

Then when you plug your MiniModule for the first time , Windows will install the drivers that correspond to the default setting of your minimodule .

installation minimodule FT2232H.jpg
installation minimodule FT2232H.jpg (52.39 Kio) Vu 2788 fois

USB serial Port numbers may change according to what was already on your PC.

We have now to change these bad settings( we don't need Serial Ports , but I2C channel and FIFO channel).
We will use for that FTprog. ( user guide is here : http://www.ftdichip.com/Support/Documents/AppNotes/AN_124_User_Guide_For_FT_PROG.pdf )
Installing FTprog and run it .
If it does not display the Device, make it find it ( F5 )

EEPROM ==> DEVICES ==> Scan and Parse
you will see :
FT_Prog after F5 on a new minimodule.jpg
FT_Prog after F5 on a new minimodule.jpg (138.24 Kio) Vu 2788 fois

Looking at the details , it has default modes that not totally suit us (RS232 UART).
Default hardware UART mode.jpg
Default hardware UART mode.jpg (76.95 Kio) Vu 2788 fois

This mode for Port A is OK, it will be changed by the software to I2C mode which is close to serial mode.
But the way it is driven ( Virtual COM port) is not the good one.
default virtual com port Driver.jpg
default virtual com port Driver.jpg (71.38 Kio) Vu 2788 fois

There 's not going at all because we will work with the D2XX driver that allows for the maximum banwidth of a USB port that has nothing to do with a COM port RS232 output.
We will reschedule for this is simple by using the template "using NIM tuner.xml " file you have downloaded .
For that, click-right on the title Device0, select ==> Apply template ==> from File and choose « using NIM tuner.xml »
apply template.jpg
apply template.jpg (149.83 Kio) Vu 2788 fois

and you get the message:
template application success.jpg
template application success.jpg (29.33 Kio) Vu 2788 fois

it is clear that the description of the module is now called " [b] USB <-> NIM tuner [/ b ]" .
It is very important to recognize the MiniTiouner, if you have several USB interfaces connected at the same time .

Then, to write this setting in eeprom of FT2232H, we do:
DEVICES ==> program
This opens a window :
programming template.jpg
programming template.jpg (138.12 Kio) Vu 2787 fois

We click on the button "program" bottom right
In 1 sec seen "Finished programming" and "Ready" at the bottom left ! That's it that's all.
One can check the new settings :
PortB after template.jpg
PortB after template.jpg (82.02 Kio) Vu 2787 fois

PortB is now programmed in the "245 FIFO" mode.

PortB  and A Driver after template.jpg
PortB and A Driver after template.jpg (66.84 Kio) Vu 2787 fois

Porta and PortB will use the pilot D2XX Direct and not the Virtual COM Port mode.

We leave FT_Prog .

The USB cable is disconnected and is reconnected . This loads the drivers in the new mode :
re installation Minimodule.jpg
re installation Minimodule.jpg (44.06 Kio) Vu 2787 fois


Now you can test your MiniTiouner using the software TestMyMiniTiouner ( Inside Minitioune package)

Jean-Pierre F6DZP
F6DZP
 
Messages: 615
Inscription: 24 Déc 2010

Re: How to setup your FT2232H for the MiniTiouner

Messagede F6DZP » Ven 16 Sep 2016 05:06

Before installing the drivers think of clean old who can hang with the software " CDM uninstaller "


Download the uninstaller software here:
http://www.ftdichip.com/Support/Utilities/CDMUninstaller_v1.4.zip
Unzip CDMUnistallerGUI.zip and run it.
you can get some info here : http://www.ftdichip.com/Support/Utilities/CDM_Uninst_GUI_Readme.html

It must first designate which driver what equipment we want clean : write 0403 and 6010
CDM uninstaller_1.jpg
CDM uninstaller_1.jpg (39.17 Kio) Vu 2786 fois


Click "Add" and you get :
CDM uninstaller_2.jpg
CDM uninstaller_2.jpg (41.43 Kio) Vu 2786 fois


Click Remove devices

and you get:

Removed successful

You can now install CDM v2.12.nn WHQL Certified .

Jean-Pierre f6DZP
F6DZP
 
Messages: 615
Inscription: 24 Déc 2010

Forums Statistiques

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité

Options

Retourner vers MiniTiouner

cron