Xilinx USB programmer - problems with Debian/Linux - Solved
Hi,
After last upgrade of my Debian/testing system which I use for FPGA
development, the Xilinx USB programmer stopped to work.
After some research I've found, that the syntax of udev rules has changed,
and it is necessary to replace $TEMPNODE with $tempnode:
=== xusbdfwu.rules ====
SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0008", MODE="666"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusbdfwu.hex -D $tempnode"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusb_xup.hex -D $tempnode"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusb_emb.hex -D $tempnode"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusb_xlp.hex -D $tempnode"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="03fd", SYSFS{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/local/firmware/xusb_xpr.hex -D $tempnode"
=== end of rules ===
I hope, that this info may be useful for others, experiencing the above problem.
--
HTH & Regards,
Wojtek
wzab@ise.pw.edu.pl
http://www.ise.pw.edu.pl/~wzab/gps_logger - Open Source GPS logger with voice recording
Reply to: