How to program a lattice cpld programmer6/12/2023 It seems like there's an intermittent failure somewhere in the signal chain based on the inconsistent response. Other times, when trying to perform the operation "FLASH Erase, Program, and Verify," I received an error that the Verify command could not be completed, but no mention that a programming key was necessary. In Lattice Diamond, I found that the chip would occassionally (maybe half the time?) issue the error requiring the programming key. ![]() The FTDI C232H cable is readily recognized by Lattice and by Python (have to run Zadig to switch the driver from FTDI to WinUSB), so the FTDI chip doesn't seem to be the problem. Using PyFTDI "jtag.py" script and changing the JTAG instructions to match fthe MachXO2 programming commands (p.51, ) I could successfully query the chip and receive the expected ID code. ![]() After all of this it seems like the issues might be caused by an unstable physical connection between the JTAG connections and the MachXO2 chip. I tested the MachXO2 again today with Lattice Diamond and with a python script based on PyFTDI( ).
0 Comments
Leave a Reply. |