FTDI Community

General Category => Discussion - Software => Topic started by: maxwell123 on December 10, 2019, 02:09:11 PM

Title: FT245 control only using VCP e.g. doing all with a terminal program.
Post by: maxwell123 on December 10, 2019, 02:09:11 PM
I want to use an FT245 with a terminal program only, assuming that the terminal can send all characters (0x00 to 0xff) can this be done?  If so what are the commands available.
I only need to set/reset the 8 data lines.

Thanks,
Maxwell
Title: Re: FT245 control only using VCP e.g. doing all with a terminal program.
Post by: FTDI Community on December 12, 2019, 03:44:37 PM
Hello Maxwell,

The VCP or D2XX drivers can be used to control the IC:

However note the data transfer rates:


Please see the FT245R Datasheet (https://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT245R.pdf) for more information.

TN_167 FTDI FIFO Basics (https://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_167_FIFO_Basics.pdf) also provides useful information.

So if you are using the VCP port via a terminal, simple read and writes are possible.
Note the FT245R is a FIFO slave which is controlled by a master.

You can test and evaluate using our UM245R (https://www.ftdichip.com/Products/Modules/DevelopmentModules.htm#UM245R).

Best Regards,
FTDI Community
Title: Re: FT245 control only using VCP e.g. doing all with a terminal program.
Post by: maxwell123 on December 12, 2019, 05:43:27 PM
I have trawled the data sheets and can find no information regarding simple control/setup via the VCP port and a simple terminal programme.  Please point me in the right direction.  I am (and have) using FTDI serial devices on many projects, these work "out of the box" very well.  All I need is the byte sequence to setup the 245 for simple on/off control of the output byte.  Various "relay board demonstration" programmes work but I am stuck with a serial port only (it was hard enough to get the management to accept a VCP for the other ports).  Sending bytes to the 245 after running a demo relay program works, not if I simply send the data after a cold reset.
Title: Re: FT245 control only using VCP e.g. doing all with a terminal program.
Post by: FTDI Community on December 13, 2019, 10:42:43 AM
Hello,

We are dealing with your request via email. Please feel free to add any resolution here when complete to help other community users.

Best Regards,
FTDI Community
Title: Re: FT245 control only using VCP e.g. doing all with a terminal program.
Post by: ft245vcpguy on February 19, 2021, 02:53:28 PM
Was there a solution for this problem?
Title: Re: FT245 control only using VCP e.g. doing all with a terminal program.
Post by: domr001 on November 05, 2021, 08:00:35 PM
Please share the solution
I also need to control my interface (FT220) using VCP
But I can't find any example of the messages to configure the interface and I/O signals, then communicate with the remote device
Please share an example