Xc3sprog: Difference between revisions

From ArchWiki
(Add zh-hans link)
m (→‎Xilinx USB JTAG: - shell prompts)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
[[ja:Xc3sprog]]
[[ja:Xc3sprog]]
[[zh-hans:Xc3sprog]]
[[zh-hans:Xc3sprog]]
[http://xc3sprog.sourceforge.net/ xc3sprog] is a suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs with the Xilinx Parallel Cable and other JTAG adapters
[https://xc3sprog.sourceforge.net/ xc3sprog] is a suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs with the Xilinx Parallel Cable and other JTAG adapters


== Installation ==
== Installation ==


[[Install]] the {{AUR|xc3sprog-svn}} package from the [[AUR]].
[[Install]] the {{AUR|xc3sprog-svn}} package.


== Devices ==
== Devices ==
Line 14: Line 14:
Initially has {{ic|1=USBID=03fd:000f}}, after proper initialization becomes {{ic|03fd:0008}}.
Initially has {{ic|1=USBID=03fd:000f}}, after proper initialization becomes {{ic|03fd:0008}}.


* install {{AUR|fxload}} from AUR.
* [[install]] {{AUR|fxload}}
* extract xusb_xlp.hex from [[Xilinx_ISE_WebPACK|Xilinx ISE]]
* extract {{ic|xusb_xlp.hex}} from [[Xilinx ISE WebPACK|Xilinx ISE]]
* create file {{ic|/etc/udev/rules.d/99-xilinx.rules}}
* [[create]]:
  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"
{{hc|/etc/udev/rules.d/99-xilinx.rules|2=
* reload udev rules with {{ic|udevadm control --reload}} and replug JTAG
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"}}
* test connection with {{ic|xc3sprog -c xpc -j}}
* reload udev rules with {{ic|# udevadm control --reload}} and replug JTAG
* test connection with {{ic|$ xc3sprog -c xpc -j}}

Latest revision as of 12:40, 30 November 2023

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