Lattice Semiconductor XP2 Advanced User Manual page 25

Table of Contents

Advertisement

Lattice Semiconductor
The following device programming sections provide procedures for programming the on-board SPI Flash using
either a standard USB cable, or an ispDOWNLOAD cable (parallel or USB). If you would like to program the
LatticeXP2 SRAM or Flash directly instead, then the procedures are slightly different in that you will select those
rather than SPI Flash programming at Step 7, Figure 6 in the first procedure below, and much the same for the sec-
ond configuration procedure.
For a complete discussion of the LatticeXP2's configuration and programming options, refer to technical note
TN1141,
LatticeXP2 sysCONFIG Usage
LatticeXP2 SRAM Configuration Using SPI Flash and a Standard USB Cable at J33
The LatticeXP2 SRAM can be configured easily via the on-board SPI Flash using the USB Download port at J33
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 programmed 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. Now move the J35 jumper from the left-side two
pins to be on the right-side two pins.
3. Connect the LatticeXP2 Evaluation Board to an external 5V supply.
4. Push the SW1 USB Download reset button located just above the MachXO device (U9). Connect a standard
USB cable from your PC's USB connector to the USB download connector J33 on the LatticeXP2 Advanced
Evaluation Board.
5. Start the ispVM System software, then select Options > Cable and I/O Port Setup..., then check that the
Cable Type is set to USB.
Note: If you receive a Windows notification about installing a USB driver, then in ispVM System select ISPTOOLS
and INSTALL/UNINSTALL LSC USB/PARALLEL PORT DRIVER..., then select the LSC WINDOWS USB
DRIVER, and push the INSTALL button. Now push the SW1 USB Download reset button located just above the
MachXO device (U9). Windows should recognize the USB cable to the LatticeXP2 Advanced Evaluation Board.
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. If offered multiple LatticeXP2 device types, select the LFXP2-17E.
Figure 5. 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
Guide.
25
LatticeXP2 Advanced
Evaluation Board User's Guide

Advertisement

Table of Contents
loading

Table of Contents