I'm wondering if the Xilinx Platform Cable USB, model DLC9G is supported. So this is a request to add descriptions to the "Hardware supported by xc3sprog" webpage that make this easy to see.
It seems to be new hardware. I even didn't know that it exists. So I can't tell anything about it as long as people who have the dongle don't report about their experiments with their dongle.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since I don't really have an idea how to find out, I just tried xc3sprog -c with a few random arguments,such as xc3sprog -c ftdi, xc3sprog -c bbv2_2 and xc3sprog -c xpc. The first two gave: "Could not open FTDI device (using libftdi): device not found", the third one "No dongle found".
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I change the USB ID in cablelist.txt to the one of my cable, I get (as normal user):
XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ OS: Linux
Free software: If you contribute nothing, expect nothing!
Feedback on success/failure/enhancement requests:
http://sourceforge.net/mail/?group_id=170565
Check Sourceforge for updates:
http://sourceforge.net/projects/xc3sprog/develop
xpc_usb_open_desc: usb_set_configuration: failed conf 1
could not set config 1: Operation not permitted
No dongle found
…
Waveshare makes a cable that is claimed to be compatible with the Xilinx Platform cable USB DLC9G. Apparently it uses a fx2lp, so I tried to add a line to cablelist.txt for that; I now get (as root):
Just found the thread at https://www.mikrocontroller.net/topic/142358 from 4 yeasr ago discussing this cable. One of the authors of xc3sprog posted there, too. I guess that means that adding support would not be easy.
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Philipp> Just found the thread at
Philipp> https://www.mikrocontroller.net/topic/142358 from 4 yeasr ago
Philipp> discussing this cable. One of the authors of xc3sprog posted
Philipp> there, too. I guess that means that adding support would not be
Philipp> easy. Philipp
The thread is about a somehow copied verion of the cable.
I understand your question as if you have a original cable.
Install the Xilinx cable software, and the firmware load should be added to
/etc/modprobe.
I've now tried with different cables on different USB ports of the machine, both with a USB hub in between and without. The result is always the same.
The cables and USb ports work fine with other USB devices on the same machine.
It has been a few years since I used the dongle. Back then it worked when I used it with Xilinx software and Windows on a different machine.
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To clarify in case it got lost in the long discussion:
This feature request is about http://xc3sprog.sourceforge.net/hardware.php
Where "Xilinx Platform Cable USB II (DLC10), or on-board programmer (e.g. Spartan 3E starter kit)" IMO should be changed to "Xilinx Platform Cable USB II (DLC10), or Xilinx Platform Cable USB (DLC9G), or on-board programmer (e.g. Spartan 3E starter kit)" so users of the DLC9G know that xpc is the label they need to use.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems to be new hardware. I even didn't know that it exists. So I can't tell anything about it as long as people who have the dongle don't report about their experiments with their dongle.
Mine look slike this: https://www.pantechsolutions.net/images/stories/k2-tutorials/xilinx-platform-cable-usb.jpg
The manual that came with it is from August 24, 2007.
Philipp
This is not a new dongle. Try it, it should work...
Since I don't really have an idea how to find out, I just tried xc3sprog -c with a few random arguments,such as xc3sprog -c ftdi, xc3sprog -c bbv2_2 and xc3sprog -c xpc. The first two gave: "Could not open FTDI device (using libftdi): device not found", the third one "No dongle found".
Philipp
xpc is what u required.
Shahul
But xc3sprog -c xpc gives
~~~~
philipp@notebook5:~/xc3sprog/build$ ./xc3sprog -c xpc
XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ OS: Linux
Free software: If you contribute nothing, expect nothing!
Feedback on success/failure/enhancement requests:
http://sourceforge.net/mail/?group_id=170565
Check Sourceforge for updates:
http://sourceforge.net/projects/xc3sprog/develop
No dongle found
…
Philipp
You need to load the firmware to the dongle.
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
According to cablelist.txt, the Xilinx Platform cable USB II has USB ID 0x03fd:0x0008. My Xilinx Platform cable USB has USB ID 03fd:000f.
Philipp
When I change the USB ID in cablelist.txt to the one of my cable, I get (as normal user):
And as root:
Philipp
Waveshare makes a cable that is claimed to be compatible with the Xilinx Platform cable USB DLC9G. Apparently it uses a fx2lp, so I tried to add a line to cablelist.txt for that; I now get (as root):
Philipp
Just found the thread at https://www.mikrocontroller.net/topic/142358 from 4 yeasr ago discussing this cable. One of the authors of xc3sprog posted there, too. I guess that means that adding support would not be easy.
Philipp
The thread is about a somehow copied verion of the cable.
I understand your question as if you have a original cable.
Install the Xilinx cable software, and the firmware load should be added to
/etc/modprobe.
Look at https://www.mikrocontroller.net/topic/326981 for the udev rules.
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
I added the udev rules according to
https://github.com/timvideos/HDMI2USB/wiki/Xilinx-Platform-Cable-USB-under-Linux
now xc3sprog works on the first invocation after plugging in the cable. On subsequent invocations I see errors, and on the 3rd (with device) or 4th (without device) it is "No dongle found".
1a with device and VREF:
2a with device and VREF:
3a with device and VREF:
1b without device and VREF:
2b without device and VREF:
3b without device and VREF: Same as 2a
4b without device and VREF: Same as 3a
Philipp
Last edit: Philipp Klaus Krause 2017-02-19
Does the dongle work with other software on that machine? Are you sure you
don't have a bad cable, bad USB port or bad hardware?
Bye
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
I've now tried with different cables on different USB ports of the machine, both with a USB hub in between and without. The result is always the same.
The cables and USb ports work fine with other USB devices on the same machine.
It has been a few years since I used the dongle. Back then it worked when I used it with Xilinx software and Windows on a different machine.
Philipp
On the first invocation after plugging in the cable even programming works:
Philipp
Last edit: Philipp Klaus Krause 2017-02-20
I see someone else has the same problem (cable work on first use after plugging in only): https://sourceforge.net/p/xc3sprog/bugs/20/
To clarify in case it got lost in the long discussion:
This feature request is about
http://xc3sprog.sourceforge.net/hardware.php
Where "Xilinx Platform Cable USB II (DLC10), or on-board programmer (e.g. Spartan 3E starter kit)" IMO should be changed to "Xilinx Platform Cable USB II (DLC10), or Xilinx Platform Cable USB (DLC9G), or on-board programmer (e.g. Spartan 3E starter kit)" so users of the DLC9G know that xpc is the label they need to use.