EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

USB hangs on the Xilinx USB II Cable

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - FPGA - USB hangs on the Xilinx USB II Cable

General Schvantzkoph
Guest

Wed Oct 19, 2011 5:47 pm   



The Xilinx USB II cable hangs on a regular basis. I've found that pulling
the USB connector out and putting it back in isn't sufficient, the only
way that I can get Chipscope to see it again is to power cycle the
machine. I'm running SL6.1 (RHEL 6.1). The udev rules are,

# version 0003
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0008", MODE="666"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xup.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xlp.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xp2.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0015", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xse.hex -D $tempnode"

Is there some change to the udev rules or to setup_pcusb that will fix this?

Bik
Guest

Wed Oct 19, 2011 7:47 pm   



W dniu 2011-10-19 19:47, General Schvantzkoph pisze:
Quote:
The Xilinx USB II cable hangs on a regular basis. I've found that pulling
the USB connector out and putting it back in isn't sufficient, the only
way that I can get Chipscope to see it again is to power cycle the
machine. I'm running SL6.1 (RHEL 6.1). The udev rules are,

# version 0003
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0008", MODE="666"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusbdfwu.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0009", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xup.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="000d", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xlp.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0013", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xp2.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0015", RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xse.hex -D $tempnode"

Is there some change to the udev rules or to setup_pcusb that will fix this?
For Gentoo I must restart udev and cleancablelock:

# udevadm trigger --attr-match=dev
# impact -batch
Quote:
cleancablelock
exit


General Schvantzkoph
Guest

Wed Oct 19, 2011 8:55 pm   



On Wed, 19 Oct 2011 21:47:43 +0200, Bik wrote:

Quote:
W dniu 2011-10-19 19:47, General Schvantzkoph pisze:
The Xilinx USB II cable hangs on a regular basis. I've found that
pulling the USB connector out and putting it back in isn't sufficient,
the only way that I can get Chipscope to see it again is to power cycle
the machine. I'm running SL6.1 (RHEL 6.1). The udev rules are,

# version 0003
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0008", MODE="666"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd",
ATTR{idProduct}=="0007", RUN+="/sbin/fxload -v -t fx2 -I
/usr/share/xusbdfwu.hex -D $tempnode" SUBSYSTEM=="usb", ACTION=="add",
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0009", RUN+="/sbin/fxload -v
-t fx2 -I /usr/share/xusb_xup.hex -D $tempnode" SUBSYSTEM=="usb",
ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="000d",
RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_emb.hex -D $tempnode"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03fd",
ATTR{idProduct}=="000f", RUN+="/sbin/fxload -v -t fx2 -I
/usr/share/xusb_xlp.hex -D $tempnode" SUBSYSTEM=="usb", ACTION=="add",
ATTR{idVendor}=="03fd", ATTR{idProduct}=="0013", RUN+="/sbin/fxload -v
-t fx2 -I /usr/share/xusb_xp2.hex -D $tempnode" SUBSYSTEM=="usb",
ACTION=="add", ATTR{idVendor}=="03fd", ATTR{idProduct}=="0015",
RUN+="/sbin/fxload -v -t fx2 -I /usr/share/xusb_xse.hex -D $tempnode"

Is there some change to the udev rules or to setup_pcusb that will fix
this?
For Gentoo I must restart udev and cleancablelock: # udevadm trigger
--attr-match=dev
# impact -batch
cleancablelock
exit

That sounds like what I want. Where do I get dev from? Here is my lsusb
output, which is the field that I should use for dev?

Bus 001 Device 003: ID 03fd:0008 Xilinx, Inc.

elektroda.net NewsGroups Forum Index - FPGA - USB hangs on the Xilinx USB II Cable

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony