Skip to end of metadata
Go to start of metadata

Table of contents

TEF1001 CPLD Access

  • CPLD JTAG is selectable with DIP S1-1 to OFF
  • Use TE0790 with TE0791 Adapter
    • TE0790  Standard Firmware
    • TE0790 DIP 1:ON,2OFF,3:OFF,4ON
    • Use TE0791 J8 Pin Header
  • Connect TE0791 J8 to TEF1001 J8 on Bottom (TE0790 USB Connector must look away from TEF1001)
    • TEF1001 J8 Pinout:1:TMS,2:TDI,3:TDO,4:TCK,5:GND,6:3.3V

Available CPLD Firmware

  • TEF1001 CPLD - Firmware description for PCB Revision 02 and newer
    • Default delivered Firmware
  • TEF1001-REV01 CPLD - Firmware description for PCB Revision 01


  • TEF1001/<PCB Revision>/Firmware/
    • Use files from the subfolders of your PCB revision

General instructions

CPLD Firmware Update - General Requirements

  • Lattice Diamond or Lattice Diamond Programmer is available for free on
  • Lattice compatible JTAG Programmer, for example:
    • Trenz TE0790 or Carrier with FTDI for JTAG
    • Most JTAG programmer, which used FTDI Chip to translate USB to JTAG
      • Digilent FTDI based programmer are not compatible with Lattice.
  • JTAG must be connected to CPLD JTAG
  • JTAG Enable Pin of CPLD must be selectable and set to VDD
  • Correct CPLD Firmware (JED-File) from Trenz Electronic Download

CPLD Firmware Update - General Procedure


  • Connect only one JTAG device to host PC.
  • Close all other JTAG programs, like Xilinx tools (on WinOS check hw_server.exe is terminated).


  1. Enable CPLD JTAG access (See JTAG section on CPLD Firmware description)
  2. Connect JTAG
  3. Power on System
  4. Open Lattice Diamond Programmer
  5. Detect Cable and click "Ok"
    For some devices second Port must be selected:
  6. Select Device (See CPLD Firmware overview description).
    In the most cases select the correct detected device one time (it's yellow at first on the menue)
  7. Select correct Firmware from Download Area (JED File)
  8. Program CPLD:
  9. Disable CPLD JTAG access (See JTAG section on CPLD Firmware description)
  10. Restart System

More Information are available on the CPLD Firmware description and on the readme.txt included into the download zip.

  • No labels