Programming The Spi Flash With The Xspi Software - Xilinx Spartan-3E User Manual

Starter kit board
Hide thumbs Also See for Spartan-3E:
Table of Contents

Advertisement

Chapter 12: SPI Serial Flash

Programming the SPI Flash with the XSPI Software

Open a command prompt or DOS box and change to the XSPI installation directory.
The XSPI installation software also includes a short user guide, in addition to XAPP445.
Type xspi at the prompt to view quick help.
Type the following command at the prompt to program the SPI Flash using the SPI-
formatted Flash file generated earlier. This verifies that the SPI Flash is indeed an M25P16
SPI Flash and then erases, programs, and finally verifies the Flash.
A disclaimer notice appears on the screen. Press the Enter key to continue. The entire
programming process takes slightly longer than a minute, as shown in
After programming the SPI Flash, remove jumper JP8, as shown in
properly programmed, the FPGA then configures itself from the SPI Flash PROM and the
DONE LED lights. The DONE LED is shown in
98
C:\xspi>xspi -spi_dev m25p16 -spi_epv -mcs -i MySPIFlash.mcs -o output.txt
-==< Press ENTER to accept notice and continue >==-
Start
: Mon Feb 27 13:37:07 2006
==> Checking SPI device [STMicro_M25P16_ver_00100] ID code(s)
- density = [2097152] bytes
= [16777216] bits
- mfg_code = [0x20]
- memory_type = [0x20]
- density_code = [0x15]
+-----------------------------------------+
| Device ID code(s) check ====>
+-----------------------------------------+
=> Operation: Erase
=> Operation: Program and Verify using file [MySPIFlash.mcs]
Programmed [283776] of [283776] bytes (w/ polling)
Verified
[283776] of [283776] bytes (0 errors)
--> Total byte mismatches [0] (see [temp.txt])
Finish : Mon Feb 27 13:38:22 2006
Elapsed clock time (00:01:15) = 75 seconds
Figure 12-17: Programming the M25P16 SPI Flash with the XSPI Programming
www.xilinx.com
[ OK ]
|
Utility
Figure
Figure
12-3.
Spartan-3E Starter Kit Board User Guide
UG230 (v1.0) March 9, 2006
R
Figure
12-17.
12-16a. If

Advertisement

Table of Contents
loading

This manual is also suitable for:

Spartan-3e fpga

Table of Contents