Author Topic: Lattice programmer HW-USBN MachXO2  (Read 1915 times)

0 Members and 1 Guest are viewing this topic.

Offline amurrayf88Topic starter

  • Newbie
  • Posts: 1
  • Country: es
Lattice programmer HW-USBN MachXO2
« on: July 26, 2017, 02:19:20 pm »
Dear all,
I have been trying to program a MachXO2-1200ZE 100QFP FPGA using a chinese clone Lattice programmer bought in ebay (http://www.ebay.co.uk/itm/251686578853), but there must be something connected incorrectly and I haven't been able to do so.   

I get the following error in Diamond Programmer:
  • INFO - Lattice HW-USBN-2A cable detected.
  • INFO - No Board with FTDI USB Host Chip detected.
  • INFO - Detected HW-USBN-2A cable at port EzUSB-0.
  • Starting: "pgr_program run"
  • INFO - Check configuration setup: Start.
  • Device#1 LCMXO2-1200ZE: Failed to verify the ID
  • (Expected: 0x012B2043 Read: 0x00000000).
  • ERROR - Check configuration setup: Unsuccessful.
  • ERROR: pgr_program failed.
  • ERROR - Programming failed.

For what I have read in different Lattice documents (datasheet, Programming and Configuration Usage Guide, Programming Cable Users Guide), I should connect the target board and the programmer in the following way:

Target board (MachXO2-1200ZE)
VCC = 1.2 V, current limit 20 mA
VCCIO = 2.5 V (all VCCIO pins of Banks 0-3 are connected to 2.5 V)

Programmer:
VCC = 1.2 V.
Prog, Init and TRST disconnected.
Programmer has status light in green.

Ports TDI, TDO, TMS and TCK are connected between the target board and the programmer. There is a pull-down resistor (4.7 k) in TCK, and a 500 ohm resistor between VCC and GND (I work with a low power FPGA).
The target board is also un-powered when connecting the programmer.

Does anybody has a clue on where am I wrong? Is there something missing in the connections?  :-//

 

Offline joshtyler

  • Contributor
  • Posts: 36
  • Country: gb
Re: Lattice programmer HW-USBN MachXO2
« Reply #1 on: July 26, 2017, 07:39:19 pm »
I'm not familiar with programming this particular FGPA family/ this particular prorgrammer.

But since you're using a VCCIO of 2.5V, surely the programmer needs the VCC pin held at 2.5V?
« Last Edit: July 26, 2017, 07:42:15 pm by joshtyler »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf