whack
Member level 5
I was wondering if it's possible to program a Lattice MachXO2 FPGA with something generic that I already have laying around. I intend to use FPGA's internal flash for configuration bitstream.
MachXO2 can be programmed using JTAG, master/slave SPI, I2C, Wishbone.
I have the following programming devices on hand:
iMPACT USB cable for Xilinx - JTAG+SPI
BusPirate v3 - variety of serial protocols including SPI, I2C and JTAG
Raspberry Pi B+ - a large variety here, I think the same SPI, I2C and JTAG available
Nexys2 FPGA board can also be equipped for programming using many protocols.
Does anyone know or have experience programming Lattice FPGAs with something like this?
- - - Updated - - -
Looks like BusPirate can work as an FTDI cable (has FTDI chip on it)... Anyone programmed Lattice FPGAs this way?
- - - Updated - - -
Ran Diamond Programmer from Lattice. Output shows this:
MachXO2 can be programmed using JTAG, master/slave SPI, I2C, Wishbone.
I have the following programming devices on hand:
iMPACT USB cable for Xilinx - JTAG+SPI
BusPirate v3 - variety of serial protocols including SPI, I2C and JTAG
Raspberry Pi B+ - a large variety here, I think the same SPI, I2C and JTAG available
Nexys2 FPGA board can also be equipped for programming using many protocols.
Does anyone know or have experience programming Lattice FPGAs with something like this?
- - - Updated - - -
Looks like BusPirate can work as an FTDI cable (has FTDI chip on it)... Anyone programmed Lattice FPGAs this way?
- - - Updated - - -
Ran Diamond Programmer from Lattice. Output shows this:
This is starting to look promising.INFO - Board with FTDI USB Host Chip detected.
INFO - Detected HW-USBN-2B (FTDI) cable at port FTUSB-0.