Difference between revisions of "Xc3sprog"

From ArchWiki
Jump to: navigation, search
Line 17: Line 17:
 
* create file /etc/udev/rules.d/99-xilinx.rules
 
* create file /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"
 
   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"
+
* reload udev rules with "udevadm control --reload" and replug JTAG
 
* test connection with "xc3sprog -c xpc -j"
 
* test connection with "xc3sprog -c xpc -j"

Revision as of 10:24, 12 March 2014


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

Installation

Install xc3sprog from AUR.

Devices

Xilinx USB JTAG

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

  • install fxload from AUR.
  • extract xusb_xlp.hex from Xilinx ISE
  • create file /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"