openFPGALoader

所属分类:VHDL/FPGA/Verilog
开发工具:C++
文件大小:1680KB
下载次数:0
上传日期:2023-05-29 02:04:27
上 传 者sh-1993
说明:  FPGA编程的通用工具
(Universal utility for programming FPGA)

文件列表:
.btd.yml (163, 2023-06-30)
99-openfpgaloader.rules (2243, 2023-06-30)
CMakeLists.txt (10018, 2023-06-30)
LICENSE (11357, 2023-06-30)
cmake (0, 2023-06-30)
cmake\Modules (0, 2023-06-30)
cmake\Modules\FindGZIP.cmake (218, 2023-06-30)
doc (0, 2023-06-30)
doc\FPGAs.yml (6210, 2023-06-30)
doc\Makefile (326, 2023-06-30)
doc\boards.yml (19689, 2023-06-30)
doc\cable.yml (7242, 2023-06-30)
doc\compatibility (0, 2023-06-30)
doc\compatibility\board.rst (421, 2023-06-30)
doc\compatibility\cable.rst (65, 2023-06-30)
doc\compatibility\fpga.rst (151, 2023-06-30)
doc\conf.py (3742, 2023-06-30)
doc\data.py (3212, 2023-06-30)
doc\guide (0, 2023-06-30)
doc\guide\advanced.rst (2341, 2023-06-30)
doc\guide\first-steps.rst (2236, 2023-06-30)
doc\guide\install.rst (4466, 2023-06-30)
doc\guide\troubleshooting.rst (2305, 2023-06-30)
doc\index.rst (1675, 2023-06-30)
doc\requirements.txt (23, 2023-06-30)
doc\todo.rst (694, 2023-06-30)
doc\vendors (0, 2023-06-30)
doc\vendors\anlogic.rst (1008, 2023-06-30)
doc\vendors\colognechip.rst (2709, 2023-06-30)
doc\vendors\efinix.rst (1258, 2023-06-30)
doc\vendors\gowin.rst (1220, 2023-06-30)
doc\vendors\intel.rst (1428, 2023-06-30)
doc\vendors\lattice.rst (2139, 2023-06-30)
doc\vendors\xilinx.rst (4122, 2023-06-30)
... ...

# openFPGALoader

'Test' workflow Status

First steps Install Troubleshooting Advanced usage

Universal utility for programming FPGAs. Compatible with many boards, cables and FPGA from major manufacturers (Xilinx, Altera/Intel, Lattice, Gowin, Efinix, Anlogic, Cologne Chip). openFPGALoader works on Linux, Windows and macOS. Not sure if your hardware is supported? Check the hardware compatibility lists: * [FPGA compatibility list](https://trabucayre.github.io/openFPGALoader/compatibility/fpga.html) * [Board compatibility list](https://trabucayre.github.io/openFPGALoader/compatibility/board.html) * [Cable compatibility list](https://trabucayre.github.io/openFPGALoader/compatibility/cable.html) Also checkout the vendor-specific documentation: [Anlogic](https://trabucayre.github.io/openFPGALoader/vendors/anlogic.html), [Cologne Chip](https://trabucayre.github.io/openFPGALoader/vendors/colognechip.html), [Efinix](https://trabucayre.github.io/openFPGALoader/vendors/efinix.html), [Gowin](https://trabucayre.github.io/openFPGALoader/vendors/gowin.html), [Intel/Altera](https://trabucayre.github.io/openFPGALoader/vendors/intel.html), [Lattice](https://trabucayre.github.io/openFPGALoader/vendors/lattice.html), [Xilinx](https://trabucayre.github.io/openFPGALoader/vendors/xilinx.html). OpenFPGALoader has a dedicated channel: [#openFPGALoader at libera.chat](https://web.libera.chat/#openFPGALoader). ## Quick Usage `arty` in the example below is one of the many FPGA board configurations listed [here](https://trabucayre.github.io/openFPGALoader/compatibility/board.html). ```bash openFPGALoader -b arty arty_bitstream.bit # Loading in SRAM openFPGALoader -b arty -f arty_bitstream.bit # Writing in flash ``` You can also specify a JTAG cable model (complete list [here](https://trabucayre.github.io/openFPGALoader/compatibility/cable.html)) instead of the board model: ```bash openFPGALoader -c cmsisdap fpga_bitstream.bit ``` ## Usage ``` Usage: openFPGALoader [OPTION...] BIT_FILE openFPGALoader -- a program to flash FPGA --altsetting arg DFU interface altsetting (only for DFU mode) --bitstream arg bitstream --secondary-bitstream arg secondary bitstream (some Xilinx UltraScale boards) -b, --board arg board name, may be used instead of cable -B, --bridge arg disable spiOverJtag model detection by providing bitstream(intel/xilinx) -c, --cable arg jtag interface --invert-read-edge JTAG mode / FTDI: read on negative edge instead of positive --vid arg probe Vendor ID --pid arg probe Product ID --cable-index arg probe index (FTDI and cmsisDAP) --busdev-num arg select a probe by it bus and device number (bus_num:device_addr) --ftdi-serial arg FTDI chip serial number --ftdi-channel arg FTDI chip channel number (channels 0-3 map to A-D) --detect detect FPGA --dfu DFU mode --dump-flash Dump flash mode --bulk-erase Bulk erase flash --target-flash arg for boards with multiple flash chips (some Xilinx UltraScale boards), select the target flash: primary (default), secondary or both --external-flash select ext flash for device with internal and external storage --file-size arg provides size in Byte to dump, must be used with dump-flash --file-type arg provides file type instead of let's deduced by using extension --flash-sector arg flash sector (Lattice parts only) --fpga-part arg fpga model flavor + package --freq arg jtag frequency (Hz) -f, --write-flash write bitstream in flash (default: false) --index-chain arg device index in JTAG-chain --ip arg IP address (XVC and remote bitbang client) --list-boards list all supported boards --list-cables list all supported cables --list-fpga list all supported FPGA -m, --write-sram write bitstream in SRAM (default: true) -o, --offset arg Start address (in bytes) for read/write into non volatile memory (default: 0) --pins arg pin config TDI:TDO:TCK:TMS --probe-firmware arg firmware for JTAG probe (usbBlasterII) --protect-flash arg protect SPI flash area --quiet Produce quiet output (no progress bar) -r, --reset reset FPGA after operations --scan-usb scan USB to display connected probes --skip-load-bridge skip writing bridge to SRAM when in write-flash mode --skip-reset skip resetting the device when in write-flash mode --spi SPI mode (only for FTDI in serial mode) --unprotect-flash Unprotect flash blocks -v, --verbose Produce verbose output --verbose-level arg verbose level -1: quiet, 0: normal, 1:verbose, 2:debug -h, --help Give this help list --verify Verify write operation (SPI Flash only) --port arg Xilinx Virtual Cable and remote bitbang Port (default 3721) --mcufw arg Microcontroller firmware --conmcu Connect JTAG to MCU -V, --Version Print program version Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. Report bugs to . ``` By default **spiOverJtag** are search into `${CMAKE_INSTALL_FULL_DATAROOTDIR}` (*/usr/local/share/* by default). It's possible to change this behaviour by using an environment variable: ```bash export OPENFPGALOADER_SOJ_DIR=/somewhere openFPGALoader xxxx ``` or ``` OPENFPGALOADER_SOJ_DIR=/somewhere openFPGALoader xxxx ``` `OPENFPGALOADER_SOJ_DIR` must point to directory containing **spiOverJtag** bitstreams.

近期下载者

相关文件


收藏者