7
ECP5-5G Versa Development Board
PROGRAMN and GSRN
These push-button switches assert/de-assert the logic levels on PROGRAMN (SW2) and GSRN (SW1). Depress-
ing the button drives a logic level “0” to the device.
Programming Serial SPI Flash Memory
A serial SPI (16-pin TSSOP, 128M) Flash memory device (U52) is on-board for non-volatile configuration memory
storage. A Micron N25Q128A device is populated on-board.
The Serial SPI Flash memory device can be configured easily via the ECP5-5G JTAG port. This mode enables the
FPGA to be programmed at power-up or assertion of PROGRAMN with a bitstream stored in the memory device.
1.
Connect the ECP5-5G Versa Development Board.
2.
Set J50 jumper to
ECP5-5G only
programming (See the
Board Programming
section.)
3.
Scan the board or select the
LFE5UM5G-45F
device in the ECP5UM5G device family.
4.
From the Edit pull down menu select
Device Properties
. Set the Access mode to
SPI Flash Background Pro-
gramming
and Operation to
SPI Flash Erase, Program, Verify
.
Figure 7. Diamond Programmer Main Screen
5.
Under the SPI Flash Options, select Family to
SPI Serial Flash
, Vendor to
Micron
, Device to
SPI-N25Q128A
,
Package to
16-pin SO16
.