Altera Cyclone II EP2C5 board
Altera Cyclone II EP2C5 board - "EP2C5/EP2C8 mini board"
FPGA: Altera Cyclone II EP2C5T144 (EP2C5T144C8N)
5 - device type: 4608 logic elements T - package TQFP (thin quad flat pack) 144 - pin count C - operating temperature C - commercial 0 - 85 degrees Celsius 8 - speed grade (6, 7 or 8, 6 is fastest) N - lead-free
- flash: EPCS4 - 4 Mbit
- oscillator: 50 MHz
- connectors: 1 x JTAG (10 pin)
JTAG - 5x2 header (P6) - key on left side TCK_JTAG 1 2 GND TDO_JTAG 3 4 VDD33 TMS_JTAG 5 6 (nc) (nc) 7 8 (nc) TDI_JTAG 9 10 GND note: pin 5 (TMS) and 9 (TDI) have 1k pullups to VDD33. note: pin 1 (TCK) have 1k pulldown to GND. note: there are protection diodes (BAT54S) on JTAG signal lines (TDI, TCK, TDO, TMS)
- 1 x AS (10 pin)
switches: 1 x pushbutton, labeled KEY
LEDs: 1 x power LED (D3)
- 3 x user LEDs (D2, D4, D5)
- power: 1 x 5 V DC, center positive
- pins (by discovery)
STM32 JTAG PA0 TDI PA1 TDO PA2 TCK PA3 TMS PA4 TRST PA5 SRST
multicomp - ftdi232 - gnd, cts, (VCC - not connected), txd, rxd, rts
Back to FPGA page.
blwiki - Cyclone II EP2C5 Mini Dev Board, RBC wiki: Multicomp Cyclone II-C, Multicomp extension board (third from the top), Multicomp playground,
possible projects: vt52-fpga, uart,
bb, c1, eb, multicomp II-c: abc80,
2021-10-03: I re-created this page on my self-hosted web server.
2020-10-28: bb - multicomp 6809 - VGA - tested with both minimal and full (release_extram) image; both work, and both allow testing full ram 10 passes = ok. Connected up a usb serial dongle to FTDI port 1, used screen /dev/ttyUSB1 115200 - no output. Must verify port and pin connections.
2020-10-28: bb - multicomp - VGA - tested with 2 new AS6C4008-55PCN chips; the machine boots straight into ROM, and I can boot into any of the OS'es on the (CP/M) sdcard: Dos+, CP/M-2.2, CP/M-3, MP/M-2, BASIC, ZSDOS and ZPM3 (Volume 1-7) the remaining volumes can be mounted on drive B: or C:, they are (per system18.txt):
Volume.009: 0:ZCPR3 Utilities A-O Volume.010: 0:ZCPR3 Utilities P-Z Volume.011: 1:WordStarV3.30 4:PerfectWriterV1.03 7:dBASEIIv2.43 10:MultiplanV1.05 2:SpelStarV3.30 5:dBASEDIIv2.3b 8:DataStarV1.010 11:PLAN80v1 3:WordStarV4.0 6:dBASEIIv2.4 9:Supercalc2vC5.06 15:TMakerV4.01 Volume.012: 1:ADVenture 2:InfocomGames 3:Nemesis 4:Sargon 5:Mychess Volume.013: 1:MuMath Volume.014: 1:Documentation Volume.015: 1:ToolworksC80v3.0 6:TurboPascalCPM80v3.00a 11:cb80v1.3 2:C80mathpack 7:TurboPascalCPM80v3.01a 12:MicroFocusCobolV2.1 3:ToolworksC80v3.0a 8:TurboDatabaseToolbox 13:MSCobolV4.65 4:ToolworksC80v3.1 9:BascomV5.3 14:Fortran80v3.33 5:TurboPascalCPM80v1.00 10:BascomV5.30a 15:Fortran80v3.4 Volume.016: 1:RMLAlgolV4.1c 4:PLI80disk2 7:ForthV1.1 10:smallmac 2:apl-zV1.1 5:BasicE 8:smallc21 11:BDS-Cv1.6 3:PLI80v1.0 6:AlgolMv1.1 9:sm_tools Volume.017: 1:MBasic80v5.21 2:LLLBasic 3:Tinybasic 4:muLISP80 11:ToolworksLisp80v1.0 Volume.018: 1:UVMac 2:M80-L80 3:SLRasmV1.30 4:MitecZASv2.5 5:MAC-RMAC
let me test a few.
2020-10-28: package with 4 x AS6C4008-55PCN from RS Online arrived today.
2020-10-26: ordered 4 x AS6C4008-55PCN chips, from RS Online this time. Cost: NOK 173.48 plus shipping NOK 110.- a total of NOK 283.48. More likely they will work.
2020-10-26: multicomp - tried with a AS6C1008-55PCN chip (128 K) in the socket furthest away from the VGA connector - it didn't work. Probably needs changes to the RTL. This should help: Multicomp playground nice!
2020-10-26: multicomp - checked power to the two AS6C4008 memory chips - power is good. Switched the two chips, didn't help, I still get errors on (Camelforth) memory test. Replaced the chips with the two other AS6C4008-55PCN, same problem - memory errors. Not surprised, they're from the same order.
2020-10-25: c1 - ada2p4 - downloaded the multicomp09_iram.zip file (and the multicomp09_nov2016.zip file) and tweaked the minimal 6809 machine until it compiled. Camelforth came up, and I could test the VGA (no colors?) and the external memory per this page. Unfortunately, the memory test
HEX 1000 1FFF PASS
fails with lots of "Error@address".
1000 1010 PASS
also reports only errors. Either my RAM chips are bad (possible) or the pin assignments are incorrect (must check). A while later - pin assignments appears to match.
2020-10-25: microSD card module pinout - (component side up, sdcard towards you, pins away from you) left to right: gnd, miso, clk, mosi, cs, 3V3.
2020-10-23: eb - sdb6 - Multicomp - tested Microcomputer_VGA, Microcomputer_TTY on this machine, same result as on bb machine.
2020-10-23: bb - sdb5 - Multicomp - compiled Microcomputer_VGA project and used jtag to program the fpga,
jtag> detect IR length: 10 Chain length: 1 Device Id: 00000010000010110001000011011101 (0x020B10DD) Filename: /home/tingo/doc/Altera/docs/fpga/bsdl//EP2C5T144.BSD jtag> svf 14-Multicomp/Microcomputer_VGA/output_files/Microcomputer.svf warning: unimplemented mode 'ABSENT' for TRST
I get a blinking cursor on the VGA monitor, then nothing happens. Connected a PS/2 keyboard, the num lock led turns on and off when I press the num lock button, that is all.
2020-10-23: bb - sdb5 - Multicomp - write a cp/m and more image to a microSD card: this image
tingo@kg-bsbox:/zs/tingo/work/bitraf/2020/20200909_multicomp_Cyclone_II_with_EP2C5_4_serial_ports/software/MC-2G-1024$ ll -h *img -rw-r--r-- 1 tingo tingo 152M Oct 14 2016 System18.img
write it to sdc
tingo@kg-bsbox:/zs/tingo/work/bitraf/2020/20200909_multicomp_Cyclone_II_with_EP2C5_4_serial_ports/software/MC-2G-1024$ sudo dd if=./System18.img of=/dev/sdc bs=1M status=progress 152+0 records in 152+0 records out 159383552 bytes (159 MB, 152 MiB) copied, 47.5726 s, 3.4 MB/s
2020-10-23: bb - sdb5 - jtag detect the fpga board
$ jtag UrJTAG 2019.12 #d4f0cccf Copyright (C) 2002, 2003 ETC s.r.o. Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors UrJTAG is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for UrJTAG. warning: UrJTAG may damage your hardware! Type "quit" to exit, "help" for help. jtag> detect IR length: 10 Chain length: 1 Device Id: 00000010000010110001000011011101 (0x020B10DD) Filename: /home/tingo/doc/Altera/docs/fpga/bsdl//EP2C5T144.BSD jtag> quit
2020-10-23: soldered pins for 5V onto the Multicomp extension board. Figured out that the EP2C5 board has center positive on the barrel power connector, and where positive is on P8 (hint: it is not the square pin) and soldered a power connector lead onto the board. power-on test - connected the two boards together, connected the power lead to the Multicomp extension board, and powered on. Turns out the the LEDs on the Multicomp extension board (D1, D2, D3) matches the LEDs on the EP2C5 board (D2, D4, D5) so when the board is powered the default bitstream makes them blink. Good.
2020-10-22: Multicomp extension board - soldered on most of the components, added two RAM chips to the sockets. Figured out the pinouts for
SD Socket - gnd on the left when you read "SDSocket" the right way
ftdi232 - when you can read "FTDI232" the right way, from left to right: gnd, cts, (VCC - not connected), txd, rxd, rts
2020-10-21: Multicomp extension board - started assembling the board
2020-10-13: eBay - the package with the 4 x AS6C4008-55PCN chips arrived.
2020-09-25: eBay - I ordered 4 x 1pcs AS6C4008-55PCN AS6C4008 55PCN Integrated Circuit DIP from a seller on eBay - adeleparts2010 ( 86731 ) - for USD 24.72 + USD 4.- shipping, USD 7.18 VAT, a total of USD 35.90.
2019-09-17: according to blwiki, the pin assignments are
fpga connected pin to 3 D2 LED 7 D4 LED 9 D5 LED 144 KEY pushbutton. Push to ground, no external pullup. Set internal pullup on FPGA configuration if used. 17 50 MHz clock input 73 10uF capacitor to ground. 10K resistor to Vcc, for power up reset if needed? 26 VCC 1.2V. Only needed for EPC28. The "zero ohm" resistor could be removed and the pin used as normal. 27 gnd. Only needed for EPC28. The "zero ohm" resistor could be removed and the pin used as normal. 80 gnd. Only needed for EPC28. The "zero ohm" resistor could be removed and the pin used as normal. 81 gnd. Only needed for EPC28. The "zero ohm" resistor could be removed and the pin used as normal.
set_global_assignment -name FAMILY "Cyclone II" set_global_assignment -name DEVICE EP2C5T144C8 set_global_assignment -name TOP_LEVEL_ENTITY Blink1 set_global_assignment -name ORIGINAL_QUARTUS_VERSION "13.0 SP1" set_global_assignment -name PROJECT_CREATION_TIME_DATE "09:39:16 NOVEMBER 20, 2016" set_global_assignment -name LAST_QUARTUS_VERSION "13.0 SP1" set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0 set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85 set_global_assignment -name ERROR_CHECK_FREQUENCY_DIVISOR 1 set_global_assignment -name VHDL_FILE Blink1.vhd set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL" set_global_assignment -name CDF_FILE ../Chain1.cdf set_location_assignment PIN_3 -to LED0 set_location_assignment PIN_7 -to LED1 set_location_assignment PIN_9 -to LED2 set_location_assignment PIN_144 -to PB
nice to have an example
2019-09-16: ebay - I got 1 x CycloneII EP2C5T144 FPGA Development Board + ALTERA USB Blaster JTAG programmer in my mailbox. Tested the board - detected ok with a DirtyJTAG cable and urjtag:
jtag> cable DirtyJTAG jtag> detect IR length: 10 Chain length: 1 Device Id: 00000010000010110001000011011101 (0x020B10DD) Filename: /home/tingo/doc/Altera/docs/fpga/bsdl//EP2C5T144.BSD jtag> print No. Manufacturer Part Stepping Instruction Register ------------------------------------------------------------------------------------------------------------------- 0 EP2C5T144 BYPASS BYPASS
The Altera UsbBlaster is also detected by urjtag. It doesn't power the board, so not so easy to test.
2019-09-17: the Multicomp extension board + parts arrived in my mailbox.
2019-09-13: ebay - I got 2 x ALTERA FPGA CycloneII EP2C5T144 Mini System Development Board Learning Board Kit in my mailbox
2019-09-03: vcf forum - I bought a Multicomp extension board (for CycloneII EP2C5 mini board) + parts from a user on vcf for USD 35.- including shipping (about NOK 333.-)
2019-09-02: ebay - I ordered 1 x CycloneII EP2C5T144 FPGA Development Board + ALTERA USB Blaster JTAG programmer for GBP 11.33 shipping included. About NOK 131.74.
2019-09-02: ebay - I ordered 2 x ALTERA FPGA CycloneII EP2C5T144 Mini System Development Board Learning Board Kit for AUD 35.18 shipping included. About NOK 225.59 which is about NOK 112.80 per board.