xmcsutil.exe
xspi_at.exe
prog_flash.bat
spi_cpld.jed
5. Generate a bit file for the FPGA
6. Use iMPACT to generate an MCS file for the bit file generated in the previous step. When
generating the MCS file, select a single platform flash device that will hold the entire
design configuration bits. The following table shows the platform flash devices that must
be used when generating the MCS file in iMPACT for the Virtex-4 MB board:
FPGA
LX25
LX60
Sx35
7. Un-install JP9 jumpers.
8. Make sure JP12 jumper is un-installed. When JP12 jumper is un-installed, the CPLD
outputs are placed in the tri-state mode allowing the Flash Programming Header to drive
the serial flash SPI bus.
9. Connect a PC4 cable to the Flash Programming Header (JP17) and power up the Virtex-
4 MB development board.
10. Copy the MCS file to the C:\Flash_Utilities folder
11. Open a DOS window in the C:\Flash_Utilities folder and enter the following command to
program the serial flash:
C:\ Flash_Utilities > prog_flash design_name.mcs flash_part_number
The prog_flash batch file will erase the flash, program and verify it.
December 20, 2005
Table 27 – Platform Flash Selection
Platform Flash Used
XCF08P, XCF16P or XCF32P
XCF16P or XCF32P
Where:
design_name.mcs
the bit file
flash_part_number
AT45DB321C (V4MB board is populated with one or
the other device).
A utility that is used to reverse the
bytes in an MCS file. This is needed
by the xspi_at utility.
This utility is used to erase, program
and verify the Atmel serial flash on
the Virtex-4 MB development board.
This batch file calls the xmcsutil and
xspi_at utilities to erase, program and
verify the Atmel serial flash on the
Virtex-4 MB development board.
Programming file for the XC9536XV
CPLD
XCF32P
-> The mcs file generated using
-> Either AT45DB321B or
30
Need help?
Do you have a question about the Virtex-4 and is the answer not in the manual?