Lattice Semiconductor XP2 Advanced User Manual page 29

Table of Contents

Advertisement

Lattice Semiconductor
LatticeXP2 SRAM Configuration Using SPI Flash and a Lattice ispDOWNLOAD Cable at
J40
The LatticeXP2 SRAM can be configured easily via the on board SPI Flash using the JTAG port and ispVM. The
LatticeXP2 device is SRAM-based, so it must remain powered on to retain its configuration when programming the
SRAM. The on-board SPI Flash retains its programmed bitstreams when power is off, and can quickly load pro-
grammed bitstreams into the LatticeXP2 device when power is applied.
1. Attach a ground connection from the test equipment chassis ground to the black GND terminal J51.
2. Check that the jumpers are installed as shown in Figure 4.
3. Connect the LatticeXP2 Evaluation Board to an external 5V supply.
4. Connect the Lattice ispDOWNLOAD cable to the header at J40 labeled "XP2".
Note: When using a 1x8 download cable, connect to the 1x10 header by justifying the alignment to pin 1 (V
The board must be un-powered when connecting, disconnecting, or reconnecting the ispDOWNLOAD Cable or
USB cable. Always connect an ispDOWNLOAD Cable's GND pin (black wire), before connecting any other
JTAG pins. Failure to follow these procedures can in result in damage to the LatticeXP2 FPGA and render the
board inoperable.
5. Start the ispVM System software, then select Options > Cable and I/O Port Setup... For the Cable Type,
select either Lattice for parallel port or USB for the type of ispDOWNLOAD cable you are using.
6. Press the SCAN button located in the toolbar. The LatticeXP2 device will be automatically detected. The result-
ing screen will be similar to Figure 5.
Figure 12. ispVM System Interface
7. Left-click on the LFXP2-17E device line and if offered other selections, select the LFXP2-17E and leave that
line selected. Now in the ispVM main menu select Edit > EDIT_DEVICE and a Device Information window will
open as shown in Figure 13. Select Device Access Options and SPI Flash Programming as shown in
Figure 14.
Evaluation Board User's Guide
29
LatticeXP2 Advanced
).
CC

Advertisement

Table of Contents
loading

Table of Contents