20
LatticeEC Advanced Evaluation Board –
Lattice Semiconductor
Revision C User’s Guide
SPI Flash Download via JTAG
The LatticeEC device is capable of programming the SPI FLASH device from its JTAG port.
1.
Install a jumper on JP7. This provides the CCLK to GPIO connection, as described in Lattice technical note
TN1078,
SPI Serial Flash Programming Using ispJTAG on LatticeECP/EC FPGAs
.
2.
Ensure that SW2 is set to position 2 (down) and that SW5 is set to “000” to select the SPI configuration mode.
3.
Connect the LatticeEC Evaluation Board to an external 5V supply.
4.
Connect the ispDOWNLOAD cable to the appropriate header. JP6 is used for the 1x10 cable, while JP8 is used
for the 2x5 version.
Note: When using a 1x8 download cable, connect to the 1x10 header by justifying the alignment to pin 1 (Vcc).
5.
Start the ispVM System software.
6.
Press the ‘SCAN’ button located in the toolbar. The LatticeEC device should be automatically detected. The
resulting screen should appear similar to Figure 8.
Figure 8. ispVM System Interface
7.
Double-click the device to open the device information dialog, as shown in Figure 9. In the device information
dialog, set the ‘Device Access Options’ setting to ‘Advanced SPI Flash Programming’. The SPI Flash Program-
mer dialog should immediately appear, as shown in Figure 10.