Hi to all,
thanks for this thread. It saved my bacon. I have tried programming the board for bazzilion times and always failed miserably through FTDI, while Lattice ISP programming calbe worked.
It turned out to be same reason as with cups printing- I needed to remove kernel module, led generic USB layer show USB device and leave it accessible to the program, which accesses it with libftdi.
Thanks again.
But I have one more question:
I have two such boards. Originally both were with XO27000HE chip, but I managed to let magic smoke out of one, so I replaced it. BUt because Farnell didn't have HE version, I used HC instead and adapted VCC from 1.2V to 3.3V. Basically I bricked two Vccx testpoints together and so now I have 3.3V for I/O and core.
New chip seem to be soldered on correctly, but I can't program it through FTDI ( haven't checked ISP cable yet).
When trying to program basic demo ( blinks LEDs), it fails with:
Device#1 LCMXO2-7000HC: Failed to verify the ID
(Expected: 0x012BD043 Read: 0xFFFFFFFE).
ERROR - Check configuration setup: Unsuccessful.
ERROR: pgr_program failed.
ERROR - Programming failed.
I suspect FTDI's EEPROM might be the possible issue- that it expects HE version.
I noticved that those boards tend to carry different chips- early ones were with XO2-1200HE
Do they have to be tweaked (EEPROM) or should this just work and I screwed something else ?