Universal utility for programming FPGA
Go to file
Gwenhael Goavec-Merou bf6bf3787d ignore cycloader binary file 2019-09-26 18:53:58 +02:00
.gitignore ignore cycloader binary file 2019-09-26 18:53:58 +02:00
LICENSE Initial commit 2019-09-26 18:27:33 +02:00
Makefile add missing Makefile 2019-09-26 18:38:37 +02:00
README.md complete README: install/help/usage 2019-09-26 18:53:30 +02:00
altera.cpp initial commit 2019-09-26 18:29:20 +02:00
altera.hpp initial commit 2019-09-26 18:29:20 +02:00
bitparser.cpp initial commit 2019-09-26 18:29:20 +02:00
bitparser.hpp initial commit 2019-09-26 18:29:20 +02:00
board.hpp initial commit 2019-09-26 18:29:20 +02:00
cable.hpp initial commit 2019-09-26 18:29:20 +02:00
device.cpp initial commit 2019-09-26 18:29:20 +02:00
device.hpp initial commit 2019-09-26 18:29:20 +02:00
epcq.cpp initial commit 2019-09-26 18:29:20 +02:00
epcq.hpp initial commit 2019-09-26 18:29:20 +02:00
ftdijtag.cpp initial commit 2019-09-26 18:29:20 +02:00
ftdijtag.hpp initial commit 2019-09-26 18:29:20 +02:00
ftdipp_mpsse.cpp initial commit 2019-09-26 18:29:20 +02:00
ftdipp_mpsse.hpp initial commit 2019-09-26 18:29:20 +02:00
ftdispi.cpp initial commit 2019-09-26 18:29:20 +02:00
ftdispi.hpp initial commit 2019-09-26 18:29:20 +02:00
main.cpp initial commit 2019-09-26 18:29:20 +02:00
part.hpp initial commit 2019-09-26 18:29:20 +02:00
svf_jtag.cpp initial commit 2019-09-26 18:29:20 +02:00
svf_jtag.hpp initial commit 2019-09-26 18:29:20 +02:00
test_sfl.svf add svf used to have access to SPI flash through FT2232 interface B 2019-09-26 18:39:03 +02:00
xilinx.cpp initial commit 2019-09-26 18:29:20 +02:00
xilinx.hpp initial commit 2019-09-26 18:29:20 +02:00

README.md

cycloader

tool for programming FPGA.

Current support:

  • Trenz cyc1000 Cyclone 10 LP 10CL025 (memory and spi flash)
  • Digilent arty 35T (memory)

compile and install

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

apt-get install libftdi1-2 libftdi1-dev libftdipp1-3 libftdipp1-dev

To build the app:

$ make

To install

$ sudo make install

Currently, the install path is hardcoded to /usr/local

Usage

cycloader --help
Usage: cycloader [OPTION...] BIT_FILE
cycloader -- a program to flash cyclone10 LP FPGA

  -b, --board=BOARD          board name, may be used instead of cable
  -c, --cable=CABLE          jtag interface
  -d, --display              display FPGA and EEPROM model
  -o, --offset=OFFSET        start offset in EEPROM
  -r, --reset                reset FPGA after operations
  -v, --verbose              Produce verbose output
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

To have complete help

CYC1000

loading in memory:

cycloader -b cyc1000 /somewhere/file.svf

SPI flash:

cycloader -b cyc1000 -r /somewhere/file.rpd