General Category > Discussion - Software

FT245 control only using VCP e.g. doing all with a terminal program.

(1/2) > >>

maxwell123:
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

FTDI Community:
Hello Maxwell,

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

However note the data transfer rates:


* up to 1 Megabyte / second with the D2XX Direct Drivers.
* up to 300 kilobyte / second with the VCP Drivers.
Please see the FT245R Datasheet for more information.

TN_167 FTDI FIFO Basics 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.

Best Regards,
FTDI Community

maxwell123:
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.

FTDI Community:
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

ft245vcpguy:
Was there a solution for this problem?

Navigation

[0] Message Index

[#] Next page

Go to full version