This is a very tiny Quartus II project that shows the bare minimum configuration you need to be able to design FPGA logic programs, run them on the chip, and even store them in the on board EEPROM (If your board isn't the cheapest version that has no EPCS4 memory chip on the bottom of it).
I'll write more here when I get a chance. Basically, you need a USB Blaster clone (I prefer the white cased one because it allows Device Discovery), and a little understanding of FPGAs and what exactly you're doing.
There are some good tutorials around on the web but I'll throw what I can in here when I get the chance.
ctrl-l (that's an L)
Assignments -> Pin Planner then change the Location field. Recompile after you change pin assignments
Tools -> Programmer then select you hardware, then press Device Detect OR (if device detect stalls for 30 seconds) just manually add the EP2C5T144 device
This is the pain in the butt. You need to convert the .pom output from your compile step to a .jic file first. Actually, all of this is described in: https://www.altera.com/en_US/pdfs/literature/an/an370.pdf
- Open
File -> Convert Programming File - Select
JTAG Indirect Configuration File (.jic)from theProgramming file type:select box - Select
EPCS4in theConfiguration device:select box - Provide a
File name:for the output.jicfile - In the
Input files to convertlist, highlight theSOF Dataand selectAdd File... - Navigate to and select the
.soffile generated when you compiled the design (eg.blink01.sof). ClickOpen - Again, in the
Input files to convertlist, highlight theFlash Loaderand selectAdd Device... - Navigate through the list of devices to find your FPGA (eg.
Cyclone IIandEP2C5). ClickOKto select that device and go back to theConvert Programming Filewindow - Click
Generateto convert the.sofinput to a.jicfile
Now that you have a compiled .jic file, open the Programmer window, and select View -> Show Device Tree to show the details about what you're going to flash.
- Click
Add File...on th left hand side - Select your new
.jicfile - On the line listing your
.jicfile, check theProgram/Configurebox - Make sure only your new device configuration is listed.
- Click
Startto flash the.jicfile to theEPCS4flash - Disconnect the USB-Blaster and power cycle the board. It should load your compiled design from the flash chip and start executing it.