Giter Club home page Giter Club logo

gowin_ftd2's Introduction

Replacement for libftd2xx.so for GoWin Programmer

Build:

$ git clone ...
$ make

or use prebuilt libftd2xx.so

Install:

  • In directory {your_install_path}/Programmer/bin rename libftd2xx.so to libftd2xx.so.real
  • Copy libftd2xx.so from this directory to {your_install_path}/Programmer/bin

Notes:

  • This is a not full implementation of libftd2xx.so but just a hack to fix some return values. So this library just "bridge" calls to real lib.
  • Real library name libftd2xx.so.real is compiled in into binary. If you want to change it - change config.h and rebuild.

How to check:

Board SIPEED Tang Primer 20K

$ ./programmer_cli --scan-cables
 Cable found:  Gowin USB Cable(FT2CH)/0/4721/null (USB location:4721)
 Cable found:  Gowin USB Cable(FT2CH)/1/4722/null (USB location:4722)
 Cost 0.89 second(s)

$ ./programmer_cli --scan
 Scanning!
 Target Cable: Gowin USB Cable(FT2CH)/0/0/[email protected]
Device Info:
 	Family: GW2ANR  
	Name: GW2A-18C GW2AR-18C GW2ANR-18C  (One of them)  
	ID: 0x0000081B  
 1 device(s) found!
 Cost 1.29 second(s)

GUI Programmer Cable Settings

image cable.png

GUI Programmer Log

image log.png

gowin_ftd2's People

Contributors

andrewz1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dmytro-k

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.