|
|
Xilinx Flash/PROM - Write bitfile to SPI serial flash
|
Xilinx Flash/PROM - Write bitfile to SPI serial flash
|
The included file boot-loader-ethmac.mcs is a flash configuration file
|
The included file boot-loader-ethmac.mcs is a flash configuration file
|
for the SPI (serial) flash on the SP605 FPGA development board.
|
for the SPI (serial) flash on the SP605 FPGA development board.
|
It contains the boot-loader-ethmac design. Here are instructions on how to create an mcs file
|
It contains the boot-loader-ethmac design. Here are instructions on how to create an mcs file
|
and how to load it onto the SP605 board. These instructions are for Xilinx ISE 14.5.
|
and how to load it onto the SP605 board. These instructions are for Xilinx ISE 14.5.
|
|
|
|
|
1. Start impact. Select Prepare a PROM file
|
1. Start impact. Select Prepare a PROM file
|
Step 1. Select Storage Target
|
Step 1. Select Storage Target
|
SPI Flash -> Configure single FPGA
|
SPI Flash -> Configure single FPGA
|
|
|
Step 2. Add Storage Device
|
Step 2. Add Storage Device
|
64M
|
64M
|
|
|
Step 3
|
Step 3
|
File Format MCS
|
File Format MCS
|
Add Non_Configuration Files No
|
Add Non_Configuration Files No
|
|
|
Select the bitfile to write
|
Select the bitfile to write
|
Would you like to add another device file to Revision:0 ? No
|
Would you like to add another device file to Revision:0 ? No
|
|
|
Impact Process->Generate File...
|
Impact Process->Generate File...
|
Impact creates an MCS file and says Generate Succeeded.
|
Impact creates an MCS file and says Generate Succeeded.
|
|
|
Then restart impact and select Boundary Scan flow
|
Then restart impact and select Boundary Scan flow
|
Right mouse on the FPGA and select Add SPI/BPI Flash
|
Right mouse on the FPGA and select Add SPI/BPI Flash
|
|
|
Select Attached SPI/BPI dialogue
|
Select Attached SPI/BPI dialogue
|
SPI PROM -> W25Q64FV
|
SPI PROM -> W25Q64FV
|
Data Width: 1
|
Data Width: 1
|
|
|
Then a Flash device appears in the Boundary scan window attached the tje xc6slx45t FPGA.
|
Then a Flash device appears in the Boundary scan window attached the tje xc6slx45t FPGA.
|
Right mouse on the Flash and select Program
|
Right mouse on the Flash and select Program
|
This takes a couple of minutes.
|
This takes a couple of minutes.
|
|
|
To use that image, you need the following switch settings on the SP605 board;
|
To use that image, you need the following switch settings on the SP605 board;
|
SW1 (the 2-switch block box near the red on/off power switch in the upper right corner of the board)
|
SW1 (the 2-switch block box near the red on/off power switch in the upper right corner of the board)
|
M0=on, M1=off
|
M0=on, M1=off
|
Then press the PROG button just below it to load that bitfile from the SPI flash into the FPGA.
|
Then press the PROG button just below it to load that bitfile from the SPI flash into the FPGA.
|
|
|
|
To use the Parallel flash
|
|
M0=off, M1=off
|
|
|
|
|
Online tutorial for instructions with pictures -
|
Online tutorial for instructions with pictures -
|
|
|