ML505/ML506/ML507 Getting Started Tutorial www.xilinx.com 29
UG348 (v3.0.2) October 9, 2008
ML50x Demonstrations in Platform Flash
R
3. Select from the menu presented on the serial terminal to run various diagnostic tests.
My Own Platform Flash Image Demonstration
Description
This exercise shows you how to store your own design revision into the non-volatile
Platform Flash configuration device. This exercise overwrites the contents of Platform
Flash.
To program your own BIT file into Platform Flash:
1. Change the Configuration Address / Mode DIP switches to the following binary
value:
For ML505/ML506: 01011001
For ML507: 00111001
2. Open a DOS command shell. Click Start Menu ā Run, then enter cmd as the program
to run, and click OK.
3. Change directory to your lab directory. Type cd <LAB_DIR>.
4. Copy your bit file into this folder.
Copy <file_name>.bit .
5. Format the BIT file to an MCS file.
For an ML505 (or ML506) board, on one line type in the command prompt:
promgen -w -p mcs -c FF -o ml505_production_platflash -ver 0
my_plat_flash.bit -ver 1 xrom.bit -ver 2 <file_name>.bit -ver 3
<file_name>.bit -x xcf32p xcf32p
For an ML507 board, on one line type in the command prompt:
promgen -w -p mcs -c FF
-o
ml507_production_platflash -ver 0
xrom.bit -ver 1
my_plat_flash.bit -x xcf32p xcf32p
Programming and informational files with extensions (.mcs, .cfi, .prm, .sig) are
created.
6. Program the two Platform Flash devices on the ML50x by running the following batch
file from the DOS command prompt:
Program_ML505_PlatFlash.bat
7. Press Prog to configure the FPGA with the design programmed into the Platform Flash
at:
For ML505/ML506: configuration address 2
For ML507: configuration address 1
Note:
ISE iMPACT also offers a method for programming the Platform Flash.