6
ECP5 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 JTAG port. This mode enables the
FPG
A to be programmed at power-up or assertion of PROGRAMN with a bitstream stored in the memory device.
1. Connect the ECP5 Versa Development Board.
2. Scan the board or select the L
FE5UM-45F device in the ECP5UM device family.
3. From the Edit pull down menu select De
vice Properties. Set the Access mode to SPI Flash Background Pro-
gramming
and Operation to SPI Flash Erase, Program, Verify.
Figure 4. Diamond Programmer Main Screen
4. Under the SPI Flash Options, select Family to SPI Serial Flash, Vendor to Micron, Device to SPI-N25Q128A,
Package to 16-pin SO16.