Poss. OT: Linux sotware for ATDH1150 USB programmer?

Topics relating to PALs, CPLDs, FPGAs, and other PLDs used for the support or creation of 65-family processors, both hardware and HDL.
Post Reply
User avatar
drogon
Posts: 1671
Joined: 14 Feb 2018
Location: Scotland
Contact:

Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by drogon »

Now looking at some of the 5v CPLDs for my next thing and I'm wondering if anyone is using or has any suggestions for Linux software to program the ATF1508AS with the ATDH1150 USB programmer?

I'm not after something to take logic and turn it into JED files just the software to throw those JED files into the chip.

Thanks,

Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
User avatar
Proxy
Posts: 746
Joined: 03 Aug 2018
Location: Germany

Re: Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by Proxy »

Edit: sorry I completely misunderstood your question even though I read it like 3 times.

But to your question, couldn't you just run a Windows VM?
User avatar
drogon
Posts: 1671
Joined: 14 Feb 2018
Location: Scotland
Contact:

Re: Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by drogon »

Proxy wrote:
Edit: sorry I completely misunderstood your question even though I read it like 3 times.

But to your question, couldn't you just run a Windows VM?
Maybe - it's a time vs. energy thing and when I've tried to do this in the past I've had issues with the MS Win side seeing the USB hardware. I do have an old WinXP laptop which I use with my Genius G540 programmer which I'm using for the Lattice GALs I'm using, so I might dig that out of storage and use it for the CPLDs.

Cheers,

-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
User avatar
floobydust
Posts: 1394
Joined: 05 Mar 2013

Re: Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by floobydust »

There's really not an easy solution that I'm aware of. I moved over to Intel-based Macs back in 2008 and never looked back. I also standardized on VMware Fusion back then, so I keep a Win7 x64 Pro license running (it still gets updates even now). I run the VM for my 65C02 hobby code, which includes the WDC Tools, WinCUPL, Dataman 40Pro Programmer (USB attached) and recently picked up the ATDH1150 Programmer. Fortunately, VMware can easily assign any USB device to a VM and it just works... I've yet to find any USB device that doesn't work properly.

On the other code front, you might want to try the Codeweavers stuff... we (IBM software group) worked with them way back in the OS/2 days. It was pretty good code and has apparently gotten much better over the decades. They support a large number of Windows apps under Linux and OSX last I looked.
User avatar
Proxy
Posts: 746
Joined: 03 Aug 2018
Location: Germany

Re: Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by Proxy »

hmm, have you already tried Wine to run AVRISP?

i tested it in a Linux VM and was able to get it to install it, but i got stuck afterwards because it requires the ftd2xx.dll.
AFAIK this has to be hand written as the Windows DLL will not natively work on Linux. it seems a few people have already attempted it a long time ago: https://sourceforge.net/projects/wineftd2xx/
but you would probably need to make your own updated version of it.
which is probably a lot of work, but would also enable others to use AVRISP on Linux if you make it public.

other than that the only other thing i could think of is to just get a dirt cheap PC and throw some Windows installation on it, something easily installed without a license, like XP, Win7, or Win10
User avatar
drogon
Posts: 1671
Joined: 14 Feb 2018
Location: Scotland
Contact:

Re: Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by drogon »

Proxy wrote:
hmm, have you already tried Wine to run AVRISP?

i tested it in a Linux VM and was able to get it to install it, but i got stuck afterwards because it requires the ftd2xx.dll.
AFAIK this has to be hand written as the Windows DLL will not natively work on Linux. it seems a few people have already attempted it a long time ago: https://sourceforge.net/projects/wineftd2xx/
but you would probably need to make your own updated version of it.
which is probably a lot of work, but would also enable others to use AVRISP on Linux if you make it public.

other than that the only other thing i could think of is to just get a dirt cheap PC and throw some Windows installation on it, something easily installed without a license, like XP, Win7, or Win10
I have an old WinXP Laptop .. somewhere. I'll dig that out and give it a go.

Thanks,

-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
User avatar
cjs
Posts: 759
Joined: 01 Dec 2018
Location: Tokyo, Japan
Contact:

Re: Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by cjs »

Proxy wrote:
it seems a few people have already attempted it a long time ago: https://sourceforge.net/projects/wineftd2xx/
but you would probably need to make your own updated version of it.
which is probably a lot of work, but would also enable others to use AVRISP on Linux if you make it public.
It may not be quite as much work as it seems at first glance. As the authors mention that, "It is effectively a shim layer between the FTDI's Linux D2XX drivers and Microsoft Windows applicatons [sic] running under Wine." The FTDI 2xx drivers have been a standard part of the Linux for a long time now (just a couple of days ago I plugged in an FT245R into a system with a 4.19 kernel and it Just Worked, coming up as /dev/ttyUSB0), so it probably involves only updating kernel interfaces, and not trying to rewrite any driver code itself.
Curt J. Sampson - github.com/0cjs
User avatar
cbscpe
Posts: 491
Joined: 13 Oct 2013
Location: Switzerland
Contact:

Re: Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by cbscpe »

I use Windows 10 under Parallels for macos or use a Windows 10 Laptop.
tingo
Posts: 11
Joined: 07 Aug 2018
Location: Oslo, Norway

Re: Poss. OT: Linux sotware for ATDH1150 USB programmer?

Post by tingo »

FWIW, UrJTAG works with lots of programmers, natively under Linux (and FreeBSD too) and you can use it with things like a DirtyJTAG adapter if you don't have a "real" JTAG programmer. I've used it to program different FPGA's (altera, Xilinix, etc.). Perhaps it will work for these chips too?
--
Torfinn
Post Reply