Both the core board and the programmer have been verified
to be compatible with the CH552 open-source JTAG programmer, which includes level conversion and uses the GH1.25-6P
interface. The firmware, sourced from xjtuecho (which is inconvenient), can be downloaded directly from the attachment on GitHub using WCHISPTool.
The FPGA is a Cyclone IV. The E-series EP4CE6F17C8N is not compatible with other chips in the same series (such as EP4CE10).
Correction: According to Quartus, the pinout of EP4CE6F17 and EP4CE10F17 is compatible. EP4CE15F17 is not compatible.
The board has an onboard USB-to-serial adapter, two user buttons, one reset button, one SDRAM, one EEPROM, and 16 LEDs.
All pins are marked on the silkscreen, so there's no need to consult the schematic.
Note:
All resistors and capacitors are in 0402 packages; be extremely careful when soldering.
The LED for "DONE" (which is prone to short circuits) should be red; otherwise, you may encounter a problem where you can download but cannot load the flash memory. Reducing the resistance might be feasible.
Most resistors are 10kΩ; you can reduce the resistance as needed. All capacitors can be 100nF; soldering fewer capacitors is fine.
The board can only be powered via Type-C; there are no external power supply pins provided. The 3.3V external power supply
to the programmer is a bit slow and may freeze. Please press RST to reset and download again.
After downloading the JIC file, remember to press the RST key to reset so that the test file can be run from the flash.
The flash is 4Mb, and the crystal oscillator is 50MHz. Other frequencies will cause problems with the UART.
The attached JIC/SOF file is the test file; just download it directly. The code was pieced together from the internet, so I won't post it here. After downloading, the LEDs on one side of the SDRAM will be sequential, and the other side will be the 8-bit data output of the UART. The serial port baud rate is 9600, with loopback transmission and reception. This is for testing purposes only, and the effect is shown in the attached video
. Regarding cost, the EP4CE6F17C8N disassembled unit costs about 10 RMB/PCS on Taobao. The core board + programmer costs about 25 RMB. Most of the components are common ones, but it's quite expensive to assemble them individually. There's also a BGA, which I can't work with without a hot air gun. If you have the resources, you can use it to practice. There are quite a few capacitors on the back.