Xc3sprog

From ArchWiki

xc3sprog is a suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs with the Xilinx Parallel Cable and other JTAG adapters

Installation

Install the xc3sprog-svnAUR package.

Devices

Xilinx USB JTAG

Initially has USBID=03fd:000f, after proper initialization becomes 03fd:0008.

/etc/udev/rules.d/99-xilinx.rules
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="000f", RUN+="/usr/bin/fxload -v -t fx2 -I /path/to/xusb_xlp.hex -D $tempnode"
  • reload udev rules with # udevadm control --reload and replug JTAG
  • test connection with $ xc3sprog -c xpc -j