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
…
And as root:
root@notebook5:/home/philipp/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
usb_control_msg(0x28 11) error sending control message: Connection timed out
pcu_request_28 failed
…
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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):
root@notebook5:/home/philipp/xc3sprog/build# ./xc3sprog -c xpcx
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
usb_control_msg failed: error sending control message: Connection timed out
Perhaps the cable is bad!
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
JTAG loc.: 0 IDCODE: 0x59602093 Desc: XC9536XL Rev: E IR length: 8
2a with device and VREF:
root@notebook5:/home/philipp/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
usb_control_msg(0x28 12) error sending control message: Connection timed out
…
3a with device and VREF:
root@notebook5:/home/philipp/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
xpc_usb_open_desc: usb_set_configuration: failed conf 2
could not set config 2: Connection timed out
No dongle found
1b without device and VREF:
root@notebook5:/home/philipp/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 JTAG Chain found
2b without device and VREF:
root@notebook5:/home/philipp/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
usb_bulk_read error(shift): No error
Cannot find device having IDCODE=361c440 Revision L
JTAG loc.: 0 IDCODE: 0xb361c440 not found in 'built-in device list'.
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Philipp> I added the udev rules according to
Philipp> https://github.com/timvideos/HDMI2USB/wiki/Xilinx-Platform-Cable-USB-under-Linux
Philipp> now xc3sprog works on the first invocation after plugging in
Philipp> the cable. On subsequent invocations I see errors, and on the
Philipp> 3rd (with device) or 4th (without device) it is "No dongle
Philipp> found".
Philipp> 1a with device and VREF ~~~~ XC3SPROG (c) 2004-2011 xc3sprog
Philipp> project $Rev: 785 $ OS: Linux Free software: If you contribute
Philipp> nothing, expect nothing! Feedback on
Philipp> success/failure/enhancement requests:
Philipp> http://sourceforge.net/mail/?group_id=170565 Check Sourceforge
Philipp> for updates: http://sourceforge.net/projects/xc3sprog/develop
Philipp> JTAG loc.: 0 IDCODE: 0x59602093 Desc: XC9536XL Rev: E IR
Philipp> length: 8 ~~~~
Philipp> 2a with device and VREF ~~~~
Philipp> root@notebook5:/home/philipp/xc3sprog/build# ./xc3sprog -c xpc
Philipp> XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ OS: Linux
Philipp> Free software: If you contribute nothing, expect nothing!
Philipp> Feedback on success/failure/enhancement requests:
Philipp> http://sourceforge.net/mail/?group_id=170565 Check Sourceforge
Philipp> for updates: http://sourceforge.net/projects/xc3sprog/develop
Philipp> usb_control_msg(0x28 12) error sending control message:
Philipp> Connection timed out … ~~~~
Philipp> 3a with device and VREF ~~~~
Philipp> root@notebook5:/home/philipp/xc3sprog/build# ./xc3sprog -c xpc
Philipp> XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ OS: Linux
Philipp> Free software: If you contribute nothing, expect nothing!
Philipp> Feedback on success/failure/enhancement requests:
Philipp> http://sourceforge.net/mail/?group_id=170565 Check Sourceforge
Philipp> for updates: http://sourceforge.net/projects/xc3sprog/develop
Philipp> xpc_usb_open_desc: usb_set_configuration: failed conf 2 could
Philipp> not set config 2: Connection timed out No dongle found ~~~~
Philipp> 1b without device and VREF ~~~~
Philipp> ~~~~
Philipp> 2b without device and VREF ~~~~
Philipp> root@notebook5:/home/philipp/xc3sprog/build# ./xc3sprog -c xpc
Philipp> XC3SPROG (c) 2004-2011 xc3sprog project $Rev: 785 $ OS: Linux
Philipp> Free software: If you contribute nothing, expect nothing!
Philipp> Feedback on success/failure/enhancement requests:
Philipp> http://sourceforge.net/mail/?group_id=170565 Check Sourceforge
Philipp> for updates: http://sourceforge.net/projects/xc3sprog/develop
Philipp> usb_bulk_read error(shift): No error Cannot find device having
Philipp> IDCODE=361c440 Revision L JTAG loc.: 0 IDCODE: 0xb361c440 not
Philipp> found in 'built-in device list'. ~~~~
Philipp> 3b without device and VREF same as 2a 4b without device and
Philipp> VREF same as 3a
Philipp> Philipp
Philipp> ---
Philipp> ** [feature-requests:#3] I'm wondering **
Philipp> **Status:** open **Group:** Next_Release_(example) **Created:**
Philipp> Sun May 04, 2014 07:42 AM UTC by Philipp Klaus Krause **Last
Philipp> Updated:** Sun Feb 19, 2017 05:22 PM UTC **Owner:** nobody
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?
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:
On the first invocation after plugging in the cable even programming works:
root@notebook5:/home/philipp/xc3sprog/build# ./xc3sprog -c xpc -v ../../ColecoVision/carts/L5/firmware/Tunnel/tunnel.jed
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
Using built-in device list
Using built-in cable list
firmware version = 0x0012 (18)
CPLD version = 0x0012 (18)
JTAG chainpos: 0 Device IDCODE = 0x59602093 Desc: XC9536XL
Device is blank
Programming Sector 107.
Programming time 13927.6 ms
Verify Sector 107
Success! Verify time 1238.4 ms
USB Read Transactions: 1733 Write Transactions: 23588 Control Transaction 23596
Philipp
Last edit: Philipp Klaus Krause 2017-02-20
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.