Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
LIB:Library for interacting with an FPGA over USB
Failed to load latest commit information.
docs Cleanup
dump Dump: Correctly output XSDRTDO interleaved TDO/TDI data
examples python: Fixed scan-chain retry bug, and added low-level JTAG functions
firmware Merge branch 'dev' of github.com:makestuff/libfpgalink into dev
gen_fw FX2: Adding FX2 .hex files to git, to make it easier for others to build
mkfw mkfw: Removed magic numbers, switched to 1D50:602B
tests-integration Renaming SVF files in examples, etc
tests-unit svf2csvf: To XTDOMASK or not to XTDOMASK, that is the question...
xsvf2csvf xsvf2csvf: Stop printing CSVF_BUF_SIZE in preparation for removal alt…
.gitignore Added gitignore
COPYING Switched to LGPL
COPYING.LESSER Check if mask is all zero and replace following XSDRTDO with XSDR if …
Makefile prog: Switched to single-bit port access
README Fixed release.sh, added wget to MacOS deps in README
blinx.sh Oops forgot to escape dollars
csvfplay.c prog: Switched to single-bit port access
csvfplay.h Removed CSVF RLE compression
firmware.h Removing standalone mode; adding slave serial and slave parallel prog…
fx2.c Moved to new error-checking macro and fixed conversion warnings
hdlbuild.sh Added aes220
libfpgalink.c prog: Switched to single-bit port access
libfpgalink.h prog: Added readback to flMultiBitPortAccess()
private.h prog: Switched to single-bit port access
prog.c Increase timeout for JTAG, to support platform-flash writes
release.sh Include incs.txt & libs.txt in binary release
svf2csvf.c svf2csvf: Fixed free() warning on Windows
svf2csvf.h svf2csvf: To XTDOMASK or not to XTDOMASK, that is the question...
util.c Moved to new error-checking macro and fixed conversion warnings
vendorCommands.h prog: Switched to single-bit port access
xsvf.h prog: Switched to single-bit port access
xsvf2csvf.c prog: Switched to single-bit port access

README

A library for JTAG-programming and subsequently interacting with an FPGA over USB using a
microcontroller (primarily the Cypress FX2LP). It allows you to:

   * Load and save Cypress FX2LP firmware
   * Communicate with the FPGA using HiSpeed USB (~25Mbyte/s)
   * Reprogram the FPGA using JTAG over USB
   * Bootstrap an FPGA design standalone using minimal components

See http://bit.ly/fpgalnk-api for the API docs.

To build, first you need to install the MakeStuff Build Environment (http://bit.ly/makestuff) for
your platform, then do:

chris@wotan$ cd makestuff/libs
chris@wotan$ ../common/msget.sh libfpgalink   # or msgit.sh if you want a local git repo
chris@wotan$ cd libfpgalink
chris@wotan$ make deps

*** WINDOWS PREREQUISITES ***

* Visual Studio Express 2010 or 2008
* SDCC 2.9.0 (http://bit.ly/k7wyYn)
* Xilinx ISE WebPACK (http://bit.ly/bRf82e)

*** LINUX PREREQUISITES ***

* sudo apt-get install g++
* sudo apt-get install libusb-dev
* sudo apt-get install sdcc
* Xilinx ISE WebPACK (http://bit.ly/bRf82e)

*** MACOS PREREQUISITES ***

* XCode (http://bit.ly/apple-connect)
* LibUSB (http://bit.ly/libusb-macos)
* Wget (http://bit.ly/wget-macos)
Something went wrong with that request. Please try again.