Today all parts came together (FPGA, Board, resistors etc.), so I soldered the board.
You may blame me for not using a ferrite bead but I consulted a person with phd in electrical engineering and it seems ferrite beads are mostly used to keep high frequency radiation low to pass specific test, not to keep the device functional.
Yeah, but somehow my board isn't working
Instead of 4.7kOhms I had to use 2.7kOhms I had lying around because the chinese seller delivered 100Ohm instead of the ordered 4.7k, but I think that won't make a significant difference?
I downloaded Lattice Diamond, created a short VHDL file which just turns Pin 17 on, flashed my FT232H to a Lattice USB JTAG device (which gets recognized by Lattice Diamond):
INFO - Cable Auto Detection Activated.
INFO - No Lattice HW-DLN-3C (parallel) cable detected.
INFO - No Lattice HW-USBN-2A cable detected.
INFO - Board with FTDI USB Host Chip detected.
INFO - Detected HW-USBN-2B (FTDI) cable at port FTUSB-0.
but if I try to upload the code to the FPGA I get this error message:
Starting: "pgr_project save "D:/Programme/Lattice Diamond/Projects/Proj1/impl1/impl1.xcf""
Starting: "pgr_program run"
INFO - Check configuration setup: Start.
Device#1 LCMXO2-1200HC: Failed to verify the ID
(Expected: 0x012BA043 Read: 0xFFFFFFFF).
ERROR - Check configuration setup: Unsuccessful.
ERROR: pgr_program failed.
ERROR - Programming failed.
I use pins ADBUS0 - ADBUS3 (TCK, TDI, TDO, TMS) from FT232H. I also attached the config file.
I attached my schematic and routing. Could this really not be working just because of a missing ferrite bead?
Edit: I just took a look in the FT232H data sheet (Page 9 :
http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232H.pdf). The template file for the Lattice Programmer uses 245 FIFO-Mode instead of Serial RS232.
Which pins are responsible for JTAG in this mode? Instead of TCK/TDI etc. they are now called D0, D1, ..., RXF, TXE,RD. Which do I have to use?