XC9572XL CPLD development board in (wide) DIP footprint

Topics relating to PALs, CPLDs, FPGAs, and other PLDs used for the support or creation of 65-family processors, both hardware and HDL.
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Re: XC9572XL CPLD development board in (wide) DIP footprint

Post by BigEd »

[Sorry, this post was drafted yesterday but not posted. Hopefully it's still of some help.]
Quote:
I need a USB programmer, I got no parallel port any more, I also don't have a PC but this covered with a virtual machine. In older documents it is mentioned that WinCUPL supports the Altera ByteBlaster cable. Again you need a parallel port for that. Do you know whether the current version of WinCUPL supports the USB Blaster cable?
Have a search for "ATMEL svf file" - SVF is a standard textual format for driving JTAG. So, in general, you use the proprietary toolchain to produce something - in ATMEL's case a HEX or JED file - then a conversion tool to make an SVF, and then some standard tool on your system to 'play' the SVF file into the JTAG port of the device.

In some case you might convert the SVF file in the more compact Xilinx format, XSVF. You might need the Xilinx tools to convert a JED file. See
http://hackaday.com/2008/12/11/how-to-p ... ices-cpld/

For example, the Bus Pirate recipe requires XSVF - see http://dangerousprototypes.com/docs/Bus ... SVF_player

Try
http://www.labbookpages.co.uk/electroni ... Chain.html
("Convert your compiled hex file into a SVF (Serial Vector Format) file using the Atmel utility avrsvf.exe. Use the lmilk utility to 'play' the SVF file and program the AVR")
https://www.awce.com/avrjtag.htm
http://www.atmel.com/Images/doc1651.pdf

As for WinCUPL, it would be interesting to hear if it runs happily in WINE on Linux - most Windows programs do. No need for a virtual machine or a Windows installation. It seems to be working for me, once I'd applied "winetricks" -see
http://wiki.winehq.org/winetricks

(One can always check the WINE-compatibility status of a windows program at WINEHQ - for example
http://appdb.winehq.org/objectManager.p ... n&iId=1850
)

Cheers
Ed
User avatar
cbscpe
Posts: 491
Joined: 13 Oct 2013
Location: Switzerland
Contact:

Re: XC9572XL CPLD development board in (wide) DIP footprint

Post by cbscpe »

Hi,

yes I have a Mac. In fact I only have Mac's. I like them because they mostly do what I want and and what they think that I might be wanting. And they have a Unix shell! I use Parallels Desktop to run Virtual Machines. I stopped using WINE and derivates as it is more a hazard game than a tool. If a program is mentioned as working does not mean it works on all environments and porting WINE to Mac is not as easy and requires a lot of time, which I don't have. Just my 5 cents.

Now back to business. The Toolchain would look something like

- Use WinCUPL in the Windows XP Virtual Machine to convert my design to a HEX or JED File
- Use a tool to convert a the HEX or JED file to a SVF file
- Use a Hardware, SVF Player combination to bring the design from the computer to the CPLD

Any chanceI can use my USB Blaster for the last step?

Regards

Peter
Post Reply