You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 10
Next »
For further information about direct (pure SPI) in-system programming of SPI Flash memories, please see Xilinx Application Note XAPP951 "Configuring Xilinx FPGAs with SPI Serial Flash".
You must follow the procedure below.
- Make sure S2 is switched to "Reset" (OFF) during programming.
- Connect the host computer to the micromodule through both the SPI flying leads cable and the USB cable.
- Start Xilinx ISE iMPACT. The following example shows the case of iMPACT 9.2. If the "iMPACT Project" window pops up, press the "Cancel" button.
- Double click the "Direct SPI Configuration" option in the "Modes" panel.
- Right click the "Direct SPI Configuration" panel to add a device and select "Add SPI Device".
- You can now select the file corresponding to your device. In the following example, we will show how to select the micromodule reference device "blinking.mcs" in the "TE0300" folder.
- Select the part name corresponding to the SPI flash present on the module (STMicroelectronics M25P32, a 32 Mbit (4M x 8) Serial Flash memory).
- iMPACT should now look like this.
- Right click the SPI PROM device and select the "Program" operation.
![](/download/attachments/10617700/SPI-direct-8.png?version=1&modificationDate=1378025578000&api=v2)
- In the "Programming Properties" window, just leave the default settings and press the "OK" button.
![](/download/attachments/10617700/SPI-direct-9.png?version=1&modificationDate=1378025658000&api=v2)
- iMPACT will first erase the memory (notice the mismatch between the two progress indicators)
![](/download/attachments/10617700/SPI-direct-10.png?version=1&modificationDate=1378025739000&api=v2)
- and then write it (notice the match between the two progress indicators).
![](/download/attachments/10617700/SPI-direct-11.png?version=1&modificationDate=1378025769000&api=v2)
- After successful programming, you should read the message "Program Succeeded" popping up for a few seconds in the "Direct SPI Configuration" panel.
![](/download/attachments/10617700/SPI-direct-12.png?version=1&modificationDate=1378025809000&api=v2)
- Switch S2 back to the "Run" position. In case you uploaded the test design, you should see the on-board led blinking at 0.5 Hz.