6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 1:56 pm

All times are UTC




Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: CPLD trainer on eBay
PostPosted: Fri Jan 28, 2022 8:23 pm 
Offline
User avatar

Joined: Sun Nov 27, 2011 12:03 pm
Posts: 229
Location: Amsterdam, Netherlands
plasmo wrote:
The EPF10K70 is one of the few 5V FPGA developed right around the turn of this century. It was rapidly superseded by newer, more dense 3.3V FPGA so now it is pretty much an unobtainum.

Pretty much, yes. Early Cyclones are probably in the same boat (and those are already 3V3).

I've personally kept an eye on 'dumps' of the older Altera chips on Ebay for a very long time, for production of both realized and future retro projects. Mostly MAX 3000 and 7000 CPLDs. One Flex (EPF8282AVTC100-4, times 114). Never used them though.


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Fri Jan 28, 2022 8:44 pm 
Offline
User avatar

Joined: Sun Nov 27, 2011 12:03 pm
Posts: 229
Location: Amsterdam, Netherlands
SamCoVT wrote:
On Intel's website, trying to download the Max+PLUS II software just brings you to a discontinuation notice, which says it the software will no longer be available after March 12th 2021. It's the same for any versions of Quartus before 13 (I just saw plasmo posted that Quartus 8.1 had the 10K)

I've archived copies of Max Plus II 9.3 and 10.2, should anyone really need them (and some Quartusses (or is it Quarti ? ;-)) 9.0 onwards).

To work around the unavailability of the free temporary licenses one could perhaps try using an old license while turning back the clock (the PC one, the one on your wall won't help).


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Fri Jan 28, 2022 9:46 pm 
Offline

Joined: Sun May 13, 2018 5:49 pm
Posts: 247
okwatts wrote:
Found 9.0 for windows at archive.org,(https://archive.org/details/90-quartus-free). I think according to Intel website this is the last version to support Flex. This may be the best we can do.
That's good news. I have one of these boards and can see if I can make it work. I've been poking the MAX7000 that's on there a little bit, as you can still find those on ebay, but I didn't realize the software for the FLEX 10K was going to disappear. I'll try to make some time this weekend to play with it and I'll let you know if I make any progress.


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Fri Jan 28, 2022 11:38 pm 
Offline

Joined: Sat May 02, 2015 6:59 pm
Posts: 134
Quartus ii 9.1 SP 2 Web Edition is probably the one you want. Later versions had the inbuilt simulator removed.

You can find the windows version on archive.org
https://archive.org/details/91sp-2-quartus-free

You can also find it at various universities for download:

Universitat Politècnica de Catalunya · BarcelonaTech
https://weble.upc.edu/asig/dd/

University of Coimbra in Portugal (Department of Electrical and Computer Engineering)
Jorge Lobo (Teacher at the university) has the Windows version, the special FAT32 Windows version, and the Linux version for download.
https://home.deec.uc.pt/~jlobo/altera/

I'm installing a windows version in a VM at the moment, I'll let you know what it supports.


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 12:11 am 
Offline

Joined: Sat Oct 09, 2021 11:21 am
Posts: 703
Location: Texas
Cray Ze wrote:
University of Coimbra in Portugal (Department of Electrical and Computer Engineering)
Jorge Lobo (Teacher at the university) has the Windows version, the special FAT32 Windows version, and the Linux version for download.
https://home.deec.uc.pt/~jlobo/altera/


I'm downloading that Linux version. I hope it's not just for RedHat or something! Willing to give it a try, thanks for the link!

Chad


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 12:22 am 
Offline

Joined: Sat May 02, 2015 6:59 pm
Posts: 134
Unfortunately the windows version of Quartus II 9.1 sp2 didn't offer Flex10K in the device list, though Flex10K came up multiple times in the directory structure. It might be licence locked.
Now installing 9.0 for a look.


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 12:28 am 
Offline

Joined: Sat May 02, 2015 6:59 pm
Posts: 134
Well, this is 9.0, looks like we have a winner.

I'll see if I can find a Linux version.


Attachments:
Flex10K.png
Flex10K.png [ 26.83 KiB | Viewed 29880 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 2:22 am 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1076
Location: Albuquerque NM USA
okwatts wrote:
Found 9.0 for windows at archive.org,(https://archive.org/details/90-quartus-free). I think according to Intel website this is the last version to support Flex. This may be the best we can do.

I downloaded and installed it on my Win10 laptop. It is able to compile the "Pong" program that I posted on this thread Jan 22. So it is looking really good. To be absolutely certain, I need to plug in a USB blaster and see whether it can program the UP2 board.

The readme file of Quartus 9.0 stated:

The Quartus II Design Software is supported on the
following operating systems and versions:
Windows XP SP2 32-bit
Windows XP SP2 64-bit
Windows XP Pro X64 Edition
Windows Vista 64-bit
Windows Vista 32-bit
Red Hat Enterprise Linux 4.0 for 32-bit and for AMD64
or Intel EMT64 64-bit CPUs
Red Hat Enterprise Linux 5.0 for 32-bit and for AMD64
or Intel EMT64 64-bit CPUs
SUSE 9 Enterprise Linux
CentOS 4/5 for 32-bit and for AMD64
or Intel EMT64 64-bit CPUs


So it seems to have some Linux support.
Bill


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 2:31 am 
Offline

Joined: Sat May 02, 2015 6:59 pm
Posts: 134
I was able to find reference to the linux version "90_quartus_free_linux.tar" along with an MD5 sum, but couldn't locate the file itself anywhere.


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 10:37 am 
Offline

Joined: Sat Oct 09, 2021 11:21 am
Posts: 703
Location: Texas
Cray Ze wrote:
I was able to find reference to the linux version "90_quartus_free_linux.tar" along with an MD5 sum, but couldn't locate the file itself anywhere.


I'm downloading the Windows version right now, thanks for looking anyways! Alright FLEX, here we go!

Chad


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 10:59 am 
Offline

Joined: Sat May 02, 2015 6:59 pm
Posts: 134
There saw there are a couple more cheap boards on ebay, though the associated text says they are not shipping outside the US (no good for me).
https://www.ebay.com/itm/183924586506


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 7:50 pm 
Offline

Joined: Sun May 13, 2018 5:49 pm
Posts: 247
I installed the 9.0 version of Quartus from archive.org on Win7 in Virtualbox on my Linux machine. After setting up the USB Blaster programming cable to be passed through to Win7, I was able to create a project, compile it, program it, and it works! I did have to install the driver for the USB Blaster in Win7. The drivers are in a "drivers" folder under the quartus folder - if you accept the defaults during install it's
C:\altera\90\quartus\drivers
and of course you have to let Windows know it's OK to install unsigned drivers (much easier in Win7 than Win10).

Thanks to everyone who helped narrow down and locate the version that works. Attached is a screenshot of my circuit (using 1 whole Logic Element!) that just reads from one of the dip switches and turns on/off one of the LEDs in the 7-segment display.

The configuration of the Flex10K doesn't stay when the power is cycled (it holds it's configuration in SRAM). It looks like if you want it to be configured on startup, you need an "EPC" configuration device. It looks like it's a serial flash chip, but it has smarts to run the clock and data at startup to load the bistream into the FPGA (more modern FPGAs just use a regular serial flash memory and they load themselves). There is an 8-pin DIP socket on the board for an EPC but it's not included on my board.

Those EPC devices do appear to still be available on eBay. The datasheet says it can be programmed over JTAG, so I'm assuming the USB Blaster cable can program it if it's installed, but I'm not sure how it gets into the JTAG chain. There are jumpers on the University Program board to put the MAX7000 or the FLEX10K or both onto the JTAG bus, but I don't see anything in the printed manual about using an EPC device. Later Altera trainer boards had a jumper to put the bitstream into a flash chip instead of loading it into the FPGA directly and then the chip would use that configuration if powercycled.


Attachments:
File comment: Quartus 9.0 running on Win7 under Virtualbox on Linux. Was able to program the Flex10K after setting up USB passthrough in Virtualbox for the USB Blaster.
Quartus90_Win7_Flex10K.png
Quartus90_Win7_Flex10K.png [ 64.86 KiB | Viewed 29827 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sat Jan 29, 2022 8:17 pm 
Offline

Joined: Wed Nov 11, 2020 10:42 pm
Posts: 96
Location: Kelowna Canada
Thanks for confirming that it works now I need to get one at a reasonable price!


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sun Jan 30, 2022 2:08 am 
Offline

Joined: Fri Oct 04, 2019 4:26 am
Posts: 19
Location: Rancho Cordova, CA
Wow! this thread took off. Thanks to those that helped track down the Flex10K Altera/Intel software that will work with the dev board.

I have installed the SW and am waiting for the board to show up which should be this Monday.

Greg


Top
 Profile  
Reply with quote  
 Post subject: Re: CPLD trainer on eBay
PostPosted: Sun Jan 30, 2022 3:23 am 
Offline

Joined: Fri Dec 21, 2018 1:05 am
Posts: 1076
Location: Albuquerque NM USA
I finally managed to install USB Blaster on my Win 10 laptop and verify that Quartus 9 can compile and program the Flex10K70 on the UP2 board. The UP2 board does not have EPC1 installed, so Flex10K70 needs to be programmed every power cycle. EPM7128 have programming flash on chip, so it does not need to re-program after power cycling.

The USB Blaster driver does not have digital signature, so installing it on Win 10 is somewhat tricky. I read the on-line help and stumbling around with different way of powering up Win10 and finally got into a mode where it allows installation of driver without digital signature. I don't remember exactly what I did but can only say that it is possible to install USB Blaster driver in Win10.
Bill

PS, I downloaded Arlet's Verilog 6502 from GitHub and successfully compiled it with Quartus 9. The resource utilization of 6502 core is lesser than 20%, so Flex10K70 has plenty of resource to hold a 6502 core and other peripherals.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 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: