Coder Social home page Coder Social logo

fixft2232_ecp5evn's Introduction

fixFT2232_ecp5evn

Tool to fix FT2232's uart interface configuration for ecp5evn (LFE5UM5G-85F-EVN) and CrossLink-NX EVN (LIFCL-40-EVN) boards.

An SPI flash is used by FT2232 to store device configuration. By default, with the ecp5 evn board, FT2232 interface B used as UART is configured in FIFO mode. With this behavior it's not possible to communicate with the FPGA.

This tool as for goal to update EEPROM content, with correct mode, slew rate and drive.

Note: libftdi1 has a limited ftdi_eeprom_build function, the user area space not take into account eeprom size, so this repository provides an adapted implementation dedicated to 256 Bytes EEPROM.

The new FT2232 behavior has been tested with soc_ecp5_evn and fix issue RISCV example not working

compile

This application uses libftdi1, so this library must be installed (and, depending of the distribution, headers too)

apt-get install libftdi1-2 libftdi1-dev

and if not already done, install pkg-config, make and gcc.

To build the app:

$ make

Usage

./fixFT2232_ecp5evn -v vid -p pid [-n]
   -v default: 0x403
   -p default: 0x6010
   -n to not write into FTDI EEPROM

fixft2232_ecp5evn's People

Contributors

trabucayre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fixft2232_ecp5evn's Issues

Rename repo - this is applicable to more than ecp5evn !

So I got a new Lattice CrossLink-NX EVN. Used this tool to fix the default configuration of FT2232H for openFPGALoader.

While I am not sure if the repo can be renamed (can it?), I believe the README can be improved. I can submit a pull request.

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.