6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed Sep 25, 2024 4:28 am

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sun Jun 29, 2014 8:37 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
[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


Top
 Profile  
Reply with quote  
PostPosted: Sun Jun 29, 2014 10:05 am 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 491
Location: Switzerland
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron