Thursday, December 12, 2013

A Lattice CPLD/FPGA Programmer

We wanted to program a Lattice CPLD, but we didn't get the isp USB cable on time. Since we had a Cypress USB board based on CY7C68013A, we were checking if that could be of use. The Cypress board was got on EBAY.

CY7C68013A Development Board


We referred to MachXO™ Mini Development Kit User’s Guide EB41 for the possible schematic on the isp USB cable programmer. We need to program the correct VID and PID of the Lattice USB ISP Programmer. The VID and PID can be got from the driver files that came with the Lattice programming software. The EEPROM need to be programmed with CyConsole after installing the Cypress SuiteUSB.

As seen in the MachXO™ Mini Development Kit User’s Guide EB41 schematics, the PB0, PB2, PB3 and PD2 are used for TCK, TMS, TDI and TDO respectively. PD3 should be connected to GND so that the software detects it as Target Power OK.

Happy Programming!

1 comment:

  1. Can you tell me more about programming the EEPROM? :)

    ReplyDelete