Giter Club home page Giter Club logo

ft2tcp's Introduction

ft2tcp Build Status

TCP interface to FTDI FT245 synchronous FIFO

Qt/C++ code for ft245_sync_if.vhd.

Eeprom

The FTDI EEPROM must be configured in fifo mode, see eeprom configuration.

Performance

Performance is really close to USB full speed maximum, more than 40 MiB/s (see perf.txt)

Compiling

Tested on unbuntu 16.04 LTS:

sudo apt-get install git libftdi1-dev build-essential qt5-default
mkdir -p ~/git && cd ~/git
git clone https://github.com/RandomReaper/ft2tcp
cd ft2tcp
mkdir build && cd build
qmake ..
make -j9

Cross compiling for windows

This procedure will compile ./build/win{32,64}/release/ft2tcp.exe statically linked.

Tested on unbuntu 16.04 LTS:

  • Install mxe.cc (can take hours)
sudo apt-get install git build-essential libftdi1-dev qt5-default automake autopoint bison flex gperf libtool libtool-bin ruby scons intltool p7zip-full libgdk-pixbuf2.0-dev
mkdir -p ~/git && cd ~/git
git clone https://github.com/mxe/mxe.git
cd mxe
echo MXE_TARGETS='x86_64-w64-mingw32.static i686-w64-mingw32.static' >> settings.mk
make qt5 libftdi1
  • Compile
cd ~/git/ft2tcp
./cross-compile-win.sh

Compiling for windows

Since I haven't found any way to create an installable Qt executable (either statically or dynamically linked) see Cross compiling for windows.

Windows drivers

By default windows will install the FTDI drivers, but the WinUSB drivers are necessary for libusb, the driver used can be changed using zadig.

ft2tcp's People

Contributors

randomreaper avatar dskntindustry avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.