Cyclone II EP2C5 Mini Dev Board

From Land Boards Wiki
Jump to navigation Jump to search



  • EP2C5-DB Multicomp Adapter card
  • FPGA part is EP2C5T144C8 (marking is EP2C5T144C8N)
  • Ebay listing
  • 80+ I/O pins
    • (4) 14x2 headers (0.1" pitch)
  • EPCS4 for configuration EPROM (4 Mbit)
  • 5 VDC power supply
    • 5V only operation
    • 2.1mm DC socket
  • (3) LEDs
  • Button
  • 50 MHz crystal oscillator (clock)
  • JTAG/SWD connectors
  • LED for power indication

Part Specific Programming[edit]

  • Land Boards GitHub repo
  • Quartus II 64-bit Edition 13.0.1 SP 1 Web Edition
  • JTAG - Upload temporary .sof program over JTAG
    • Does not remain after power cycling
  • AS - Upload ,pof file to EPROM over AS
    • Flash EPROM = EPCS4
    • Remains after power cycling

EP2CE P428-720PX.jpg

I/O Pin Mapping[edit]

FPGA Pin	Function	Notes
3	D2 LED	Low to Light LED
7	D4 LED	Low to Light LED
9	D5 LED	Low to Light LED
144	Pushbutton	Push to ground, no external pullup. Set internal pullup on FPGA configuration if used.
17	50MHz clock input	
73	10uF capacitor to ground	10K resistor to Vcc, for power up reset if needed?
26	Connected to Vcc 1.2V	Only needed for EPC28. The "zero ohm" resistor could be removed and the pin used as normal.
27	Connected to GND	Only needed for EPC28. The "zero ohm" resistor could be removed and the pin used as normal.
80	Connected to GND	Only needed for EPC28. The "zero ohm" resistor could be removed and the pin used as normal.
81	Connected to Vcc 1.2V	Only needed for EPC28. The "zero ohm" resistor could be removed and the pin used as normal.


LEDs on EP2C5 Board[edit]

  • D2 is on PIN_3
  • D4 is on PIN_7
  • D5 is on PIN_9

LEDs on EP2C5 PCB.jpg

LEDs Schematic.PNG

Quartus II Notes[edit]

  • Requires older version of Quartus II
    • Version 13.0 SP1
  • Project > Copy Project to create a separate copy of your project, rather than just a revision within the same project
  • VHDL Examples




Pin List (Multicomp)[edit]

# Clocks and reset
set_location_assignment PIN_17 -to clk
set_location_assignment PIN_144 -to n_reset
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to n_reset
# PS/2
set_location_assignment PIN_87 -to ps2Data
set_location_assignment PIN_86 -to ps2Clk
set_location_assignment PIN_101 -to rxd1
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to rxd1
set_location_assignment PIN_103 -to txd1
set_location_assignment PIN_104 -to rts1
# External SRAM
set_location_assignment PIN_4 -to n_sRamWE
set_location_assignment PIN_126 -to n_sRamCS
set_location_assignment PIN_134 -to n_sRamOE
set_location_assignment PIN_32 -to sramAddress[16]
set_location_assignment PIN_8 -to sramAddress[15]
set_location_assignment PIN_30 -to sramAddress[14]
set_location_assignment PIN_24 -to sramAddress[13]
set_location_assignment PIN_28 -to sramAddress[12]
set_location_assignment PIN_136 -to sramAddress[11]
set_location_assignment PIN_132 -to sramAddress[10]
set_location_assignment PIN_139 -to sramAddress[9]
set_location_assignment PIN_142 -to sramAddress[8]
set_location_assignment PIN_143 -to sramAddress[7]
set_location_assignment PIN_141 -to sramAddress[6]
set_location_assignment PIN_137 -to sramAddress[5]
set_location_assignment PIN_133 -to sramAddress[3]
set_location_assignment PIN_135 -to sramAddress[4]
set_location_assignment PIN_129 -to sramAddress[2]
set_location_assignment PIN_125 -to sramAddress[1]
set_location_assignment PIN_121 -to sramAddress[0]
set_location_assignment PIN_122 -to sramData[7]
set_location_assignment PIN_120 -to sramData[6]
set_location_assignment PIN_118 -to sramData[5]
set_location_assignment PIN_114 -to sramData[4]
set_location_assignment PIN_112 -to sramData[3]
set_location_assignment PIN_113 -to sramData[2]
set_location_assignment PIN_115 -to sramData[1]
set_location_assignment PIN_119 -to sramData[0]
# Composite Video
set_location_assignment PIN_75 -to video
set_location_assignment PIN_74 -to videoSync
set_location_assignment PIN_64 -to videoB0
set_location_assignment PIN_63 -to videoB1
set_location_assignment PIN_67 -to videoG0
set_location_assignment PIN_65 -to videoG1
set_location_assignment PIN_70 -to videoR0
set_location_assignment PIN_69 -to videoR1
set_location_assignment PIN_71 -to hSync
set_location_assignment PIN_72 -to vSync
# SD Card
set_location_assignment PIN_92 -to sdMISO
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to sdMISO
set_location_assignment PIN_94 -to sdSCLK
set_location_assignment PIN_93 -to sdMOSI
set_location_assignment PIN_97 -to sdCS
set_location_assignment PIN_53 -to driveLED
# IO
set_location_assignment PIN_25 -to J6IO8[0]
set_location_assignment PIN_31 -to J6IO8[1]
set_location_assignment PIN_41 -to J6IO8[2]
set_location_assignment PIN_40 -to J6IO8[3]
set_location_assignment PIN_43 -to J6IO8[4]
set_location_assignment PIN_42 -to J6IO8[5]
set_location_assignment PIN_45 -to J6IO8[6]
set_location_assignment PIN_44 -to J6IO8[7]
set_location_assignment PIN_48 -to J8IO8[0]
set_location_assignment PIN_47 -to J8IO8[1]
set_location_assignment PIN_52 -to J8IO8[2]
set_location_assignment PIN_51 -to J8IO8[3]
set_location_assignment PIN_58 -to J8IO8[4]
set_location_assignment PIN_55 -to J8IO8[5]
set_location_assignment PIN_76 -to J8IO8[6]
set_location_assignment PIN_60 -to J8IO8[7]