Author Topic: Xilinx CPLC Programmer  (Read 2141 times)

0 Members and 1 Guest are viewing this topic.

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 385
  • Country: gr
Xilinx CPLC Programmer
« on: January 13, 2025, 12:09:42 am »
Hello,
I want to read a code from the (XC2C64A-7VQG100C) CPLD. Could you suggest me what programmer to buy (I would not use it for this CPLD only… it’s just a start). The official programmer as I saw is the (HW-USB-II-G) and a clone of this the (DLC10). Which programmer would you suggest me to buy; the Chinese is trusted or have functional disadvantages with the original one?

Also, the reading & programming is done with Vivado where has superseding Xilinx ISE (I have used before years Xilinx v10.1 to program a development kit Spartan 3 E Starter Kit)?


DLC10
https://vi.aliexpress.com/item/32810890902.html?spm=a2g0o.productlist.main.1.534a6644xaCDQ8&algo_pvid=b59c758b-fca6-4cd0-a9fc-479d16372ecf&algo_exp_id=b59c758b-fca6-4cd0-a9fc-479d16372ecf-0&pdp_npi=4%40dis%21EUR%2143.80%2130.22%21%21%2144.07%2130.41%21%402103835e17366497292721664e5253%2164548542145%21sea%21GR%21138459962%21X&curPageLogUid=hnSK0AUntQoT&utparam-url=scene%3Asearch%7Cquery_from%3A

HW-USB-II-G
https://www.digikey.gr/en/products/detail/amd/HW-USB-II-G/1825189
 

Offline shabaz

  • Frequent Contributor
  • **
  • Posts: 606
Re: Xilinx CPLC Programmer
« Reply #1 on: January 13, 2025, 01:33:43 am »
There isn't code as such in the device. It's a load of configuration, known as a bitfile. You can't make use of that in any meaningful manner (it's not like machine code for a microcontroller, which can be followed when disassembled).

You have to use ISE, Vivado can't be used for those CPLDs. A problem is, that ISE isn't maintained any longer as far as I'm aware, so you'd need to have a virtual machine and run ISE in there preferably.

Finally, regarding programming, you can even use a Raspberry Pi or similar; if you google, you'll find software to do that. Or just buy any programmer intended for it.


 

Online coromonadalix

  • Super Contributor
  • ***
  • Posts: 7113
  • Country: ca
Re: Xilinx CPLC Programmer
« Reply #2 on: January 13, 2025, 02:09:58 am »
you can find old ISE up to v 14.2 if i recall,  but you have to check what they support


find  DLC 9,   DLC 10  and they should work correctly   the other usb  is way high priced for nothing,  on ebay  you have some 3 in 1  models too


and yes with vivado  you may be out of luck  if it is not supported, once again check  support list
 

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 385
  • Country: gr
Re: Xilinx CPLC Programmer
« Reply #3 on: January 13, 2025, 07:21:15 am »
Hello,
I have a PCB with a shorted CPLD and I want to read the load configuration from a working same  PCB with the same CPLD. So there is no way to read the load configuration?
 

Online xvr

  • Frequent Contributor
  • **
  • Posts: 565
  • Country: ie
    • LinkedIn
Re: Xilinx CPLC Programmer
« Reply #4 on: January 13, 2025, 06:53:07 pm »
You can install ISE14 (or 13 or 12 ...) and check that it support your CPLD. Than run iMPACT and take a look for list of supported programming cables. Next find them (or clones of them on AliExpress).
Than buy one and try to read CPLD. If you will be lucky and CPLD is not read protected you can write its contents to new one.
 
The following users thanked this post: 2X

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 385
  • Country: gr
Re: Xilinx CPLC Programmer
« Reply #5 on: January 21, 2025, 06:44:41 pm »
If anyone will need to install Xilinx ISE on windows 11.

How to Download and Install AMD - Xilinx ISE v14.7 on Windows 11 10 for free - Step-by-Step Tutorial
 
The following users thanked this post: coromonadalix

Offline 2XTopic starter

  • Frequent Contributor
  • **
  • Posts: 385
  • Country: gr
Re: Xilinx CPLC Programmer
« Reply #6 on: January 23, 2025, 08:53:54 pm »
You can install ISE14 (or 13 or 12 ...) and check that it support your CPLD. Than run iMPACT and take a look for list of supported programming cables. Next find them (or clones of them on AliExpress).
Than buy one and try to read CPLD. If you will be lucky and CPLD is not read protected you can write its contents to new one.

Hello,
as I saw that the CPLD (XC2C64A-7VQG100C) is supported but with the programmer I am not completely sure (Picture 4). If the programmer is supperted indeed, what is the steps to read the (XC2C64A-7VQG100C)? Do you know if there is any manual or something for Xilinx about reading and programming a CPLD device? Thanks for your reply.

 

Online coromonadalix

  • Super Contributor
  • ***
  • Posts: 7113
  • Country: ca
Re: Xilinx CPLC Programmer
« Reply #7 on: January 24, 2025, 12:12:20 am »
with ISE   if your device is supported,  you have Impact   a software subset  who can read and program, 

you have to define / select your device   and normally if the dongle / interface  DLC9 DLC10 is installed and ok,  you can read it   unless there is some protection  or the device id is not good

read about Impact operations in ISE

to program such a device if my memory is still good,  you need compiled JED files and SVF files (Jedec)  been a very longtime since i played with that ISE suite

BUT there is a BUT     

some universal programmers  can read an Xilinx cpld, they use the jtag  or socket interfaces,  you have to search many models in their supported lists

Xeltec  Elnec   TNM7000   and many other BIG names, or any  jtag projects, open jtag  etc .....


http://dangerousprototypes.com/docs/Xilinx_CoolRunner-II_CPLD_quick_start


and it depends  if you do reverse stuff / hacking etc ...   that normally we don't help much ?   

and theses  CoolRunner II   chips  do have protection bits,   sometimes reading them   is just getting rubish ....   and the only way to reprogram them  is fully erasing them
« Last Edit: January 24, 2025, 12:23:40 am by coromonadalix »
 
The following users thanked this post: 2X

Offline KG7AMV

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: us
  • Rhine_Labs
    • My Personal Blog
Re: Xilinx CPLC Programmer
« Reply #8 on: January 30, 2025, 10:25:00 am »
Xeltek IS01 in system programmer Supports that device https://www.xeltek-cn.com/devsearch/search.html?lang=en-us

Offline davep238

  • Contributor
  • Posts: 38
  • Country: us
 
The following users thanked this post: 2X

Online coromonadalix

  • Super Contributor
  • ***
  • Posts: 7113
  • Country: ca
Re: Xilinx CPLC Programmer
« Reply #10 on: February 07, 2025, 05:53:37 pm »
I'm running Windows 10 Pro. I use Xilinx XC9500 and XC9500XL CPLDs with ISE 14.7 (running in Oracle VirtualBox). I also use Artix-7 FPGAs with the latest version of Vivado.
I bought a WaveShare Platform Cable USB from Amazon, that works with all of my Xilinx parts (including ancient Spartan-2 and Spartan-3 boards). It works great with both ISE and Vivado! It is so much faster than any of the Digilent USB programmers I have.

https://www.amazon.com/Waveshare-Compatible-Cable-Circuit-Configuration/dp/B0BFFCD1J6/ref=sr_1_5?crid=3FEPV76D1GPDS&dib=eyJ2IjoiMSJ9.YPsAIIff0mdm3wo80OubyAHNXe81pgxadI62mCWhTivGufvvOEhPXPzz8nhot0Dg7-CngdyDc0jDwBuvJdeSd3VWGKdjgTKarCQQwHGkdN2MsAWMVBuIN4iSEBUGDtEsqRT517QFRLDTntMtsSzH5frN4j5wEQn04KaCBU_1ScxsovJGiETH-ZKCgfEdDLKDJshL8ppMtBqUC-nsEQ66rrq7DyU__CCK8vTjFOm0hCBTxlzQQ6BoLJv4-18j-xqyTrtpt1XvvxExZrWbgKvobNT8N2cy-cEz_Z-rdPQ6wNnxVBjaF8lnpJMlYZZeBxKyx67E3RCEkreAkr9h057qGso0e9rARdy3geLtx02I3b4.GOgst2jDr3AelZSqNrjPI05DTls5Lc5KxEDgaJp1tb4&dib_tag=se&keywords=waveshare+platform+cable+usb&qid=1738878078&refinements=p_123%3A356892&rnid=85457740011&s=electronics&sprefix=waveshare+platform+cable+usb%2Caps%2C77&sr=1-5

yes a DLC10 clone ...  If ISE 14.4 is good i'm happy for you, i can't recall when the 9500 series where dropped, i tought it was earlier around ise 12.1

you can still download them and ask Xilinx for free licenses numbers for the ISE suites, i have kept all of them, many gigs of fun .....
 

Offline davep238

  • Contributor
  • Posts: 38
  • Country: us
Re: Xilinx CPLC Programmer
« Reply #11 on: February 08, 2025, 03:23:27 pm »
I'm running Windows 10 Pro. I use Xilinx XC9500 and XC9500XL CPLDs with ISE 14.7 (running in Oracle VirtualBox). I also use Artix-7 FPGAs with the latest version of Vivado.
I bought a WaveShare Platform Cable USB from Amazon, that works with all of my Xilinx parts (including ancient Spartan-2 and Spartan-3 boards). It works great with both ISE and Vivado! It is so much faster than any of the Digilent USB programmers I have.

https://www.amazon.com/Waveshare-Compatible-Cable-Circuit-Configuration/dp/B0BFFCD1J6/ref=sr_1_5?crid=3FEPV76D1GPDS&dib=eyJ2IjoiMSJ9.YPsAIIff0mdm3wo80OubyAHNXe81pgxadI62mCWhTivGufvvOEhPXPzz8nhot0Dg7-CngdyDc0jDwBuvJdeSd3VWGKdjgTKarCQQwHGkdN2MsAWMVBuIN4iSEBUGDtEsqRT517QFRLDTntMtsSzH5frN4j5wEQn04KaCBU_1ScxsovJGiETH-ZKCgfEdDLKDJshL8ppMtBqUC-nsEQ66rrq7DyU__CCK8vTjFOm0hCBTxlzQQ6BoLJv4-18j-xqyTrtpt1XvvxExZrWbgKvobNT8N2cy-

yes a DLC10 clone ...  If ISE 14.4 is good i'm happy for you, i can't recall when the 9500 series where dropped, i tought it was earlier around ise 12.1

you can still download them and ask Xilinx for free licenses numbers for the ISE suites, i have kept all of them, many gigs of fun .....

The exact ISE version that I use is: ISE 14.7 VM for Windows 10.
It does support the following CPLDs: XPLA3, Coolrunner2, XC9500, and XC9500XL. Of course, all of those CPLDs are obsolete. It also supports the Spartan-3 and Spartan-6 families, some Spartan-7 and Artix-7 chips, and Virtex4 ~ 7 chips.

In my opinion, ISE seems to be faster than Vivado, and produces more meaningful error messages. However, Vivado is much, much better at producing sensible RTL schematics.

-Dave Pollum
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf