Menu

#3 I'm wondering

open
nobody
None
5
2019-12-13
2014-05-04
No

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.

Philipp

Discussion

  • Uwe Bonnes

    Uwe Bonnes - 2014-05-04

    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.

     
  • Uwe Bonnes

    Uwe Bonnes - 2014-05-04

    This is not a new dongle. Try it, it should work...

     
  • Philipp Klaus Krause

    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

     
  • shahul akthar

    shahul akthar - 2014-06-18

    xpc is what u required.

    Shahul

     
    • Philipp Klaus Krause

      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

       
      • Uwe Bonnes

        Uwe Bonnes - 2017-02-19

        "Philipp" == Philipp Klaus Krause spth@users.sf.net writes:

        Philipp> But xc3sprog -c xpc gives ~~~~
        Philipp> philipp@notebook5:~/xc3sprog/build$ ./xc3sprog -c xpc XC3SPROG
        Philipp> (c) 2004-2011 xc3sprog project $Rev: 785 $ OS: Linux Free
        Philipp> software: If you contribute nothing, expect nothing!  Feedback
        Philipp> on success/failure/enhancement requests:
        Philipp> http://sourceforge.net/mail/?group_id=170565 Check Sourceforge
        Philipp> for updates: http://sourceforge.net/projects/xc3sprog/develop
        

        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 ---------

         
  • Philipp Klaus Krause

    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

     
    • Philipp Klaus Krause

      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

       
    • Philipp Klaus Krause

      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

       
  • Philipp Klaus Krause

    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

     
    • Uwe Bonnes

      Uwe Bonnes - 2017-02-19

      "Philipp" == Philipp Klaus Krause spth@users.sf.net writes:

      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.

      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 ---------

       
  • Philipp Klaus Krause

    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:

    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
    • Uwe Bonnes

      Uwe Bonnes - 2017-02-20

      "Philipp" == Philipp Klaus Krause spth@users.sf.net writes:

      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?

      Bye

      Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de

      Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
      --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------

       
      • Philipp Klaus Krause

        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

         
        • Philipp Klaus Krause

          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
          • Philipp Klaus Krause

            I see someone else has the same problem (cable work on first use after plugging in only): https://sourceforge.net/p/xc3sprog/bugs/20/

             
  • Philipp Klaus Krause

    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.

     

Log in to post a comment.