ml506_lab_resources

所属分类:单片机开发
开发工具:VHDL
文件大小:4518KB
下载次数:21
上传日期:2015-03-18 21:54:20
上 传 者 蜗牛龙
说明:  Xilinx ML506开发板的详细资料,有原理图和管脚图
(stuff of ML506 board of Xilinx)

文件列表:
ml506_lab_resources\button_led_test_hw.bit (2502516, 2010-05-13)
ml506_lab_resources\data\ml506_bsb_system.ucf (49157, 2010-05-10)
ml506_lab_resources\data\ml50x_flashwriter.tcl (32141, 2008-03-27)
ml506_lab_resources\etc\bitgen.ut (221, 2009-04-06)
ml506_lab_resources\etc\download.cmd (115, 2009-04-06)
ml506_lab_resources\etc\flash_params.tcl (942, 2008-10-06)
ml506_lab_resources\etc\flash_ui_microblaze_0.opt (193, 2008-10-06)
ml506_lab_resources\etc\ml50x_flash_params.tcl (924, 2010-05-13)
ml506_lab_resources\etc\xmd_microblaze_0.opt (37, 2008-03-18)
ml506_lab_resources\flash_hello0.bit (2502516, 2010-05-13)
ml506_lab_resources\flash_hello1.bit (2502516, 2010-05-13)
ml506_lab_resources\flash_hello2.bit (2502516, 2010-05-13)
ml506_lab_resources\flash_hello3.bit (2502516, 2010-05-13)
ml506_lab_resources\implementation\download.bit (2502516, 2010-05-13)
ml506_lab_resources\lab_resources.xmp (8611, 2010-05-13)
ml506_lab_resources\ml506_bsb_system.mhs (22822, 2010-05-10)
ml506_lab_resources\ml506_bsb_system.mss (4987, 2010-05-10)
ml506_lab_resources\ml506_bsb_system.xmp (16636, 2010-05-10)
ml506_lab_resources\ml50x_linear_flash_program.sh (1319, 2010-05-13)
ml506_lab_resources\ml50x_linear_flash_program_reverse.sh (1319, 2010-05-13)
ml506_lab_resources\ml50x_linear_flash_promgen.sh (238, 2010-05-13)
ml506_lab_resources\ml50x_plat_flash.cmd (483, 2008-11-21)
ml506_lab_resources\ml50x_plat_flash_promgen.sh (126, 2010-05-13)
ml506_lab_resources\ml50x_spi_flash.cmd (238, 2010-06-25)
ml506_lab_resources\ml50x_spi_flash_promgen.sh (82, 2010-05-13)
ml506_lab_resources\my_plat_flash.bit (2502516, 2010-05-13)
ml506_lab_resources\Program_ML50x_LinearFlash.bat (674, 2008-11-20)
ml506_lab_resources\Program_ML50x_PlatFlash.bat (151, 2008-11-21)
ml506_lab_resources\Program_ML50x_SPIFlash.bat (104, 2008-11-20)
ml506_lab_resources\spi_hello.bit (2502516, 2010-05-13)
ml506_lab_resources\sw\standalone\flash_hello\src\flash_hello0.c (3572, 2010-05-13)
ml506_lab_resources\sw\standalone\flash_hello\src\flash_hello1.c (3572, 2010-05-13)
ml506_lab_resources\sw\standalone\flash_hello\src\flash_hello2.c (3572, 2010-05-13)
ml506_lab_resources\sw\standalone\flash_hello\src\flash_hello3.c (3572, 2010-05-13)
ml506_lab_resources\xrom.bit (2502516, 2010-05-13)
ml506_lab_resources\sw\standalone\flash_hello\src (0, 2015-03-18)
ml506_lab_resources\sw\standalone\flash_hello (0, 2015-03-18)
... ...

******************************************************************************* ** Copyright 2008, Xilinx, Inc. ** This design is confidential and proprietary of Xilinx, Inc. All Rights Reserved. ******************************************************************************* ** ____ ____ ** / /\/ / ** /___/ \ / Vendor: Xilinx ** \ \ \/ Version: 1.0 ** \ \ Filename: spi_flash_readme.txt ** / / Date Last Modified: ** /___/ /\ Date Created: ** \ \ / \ ** \___\/\___\ ** **Device: **Purpose: **Reference: ** ******************************************************************************* ** ** Disclaimer: LIMITED WARRANTY AND DISCLAIMER. These designs are ** provided to you "as is." Xilinx and its licensors make and you ** receive no warranties or conditions, express, implied, ** statutory or otherwise, and Xilinx specifically disclaims any ** implied warranties of merchantability, noninfringement, or ** fitness for a particular purpose. Xilinx does not warrant that ** the functions contained in these designs will meet your ** requirements, or that the operation of these designs will be ** uninterrupted or error free, or that defects in the Designs ** will be corrected. Furthermore, Xilinx does not warrant or ** make any representations regarding use or the results of the ** use of the designs in terms of correctness, accuracy, ** reliability, or otherwise. ** ** LIMITATION OF LIABILITY. In no event will Xilinx or its ** licensors be liable for any loss of data, lost profits, cost ** or procurement of substitute goods or services, or for any ** special, incidental, consequential, or indirect damages ** arising from the use or operation of the designs or ** accompanying documentation, however caused and on any theory ** of liability. This limitation will apply even if Xilinx ** has been advised of the possibility of such damage. This ** limitation shall apply notwithstanding the failure of the ** essential purpose of any limited remedies herein. ** ******************************************************************************* SPI Flash is a prom that can store your configuration file and program it to the FPGA. This demonstration shows you how to store your own design into the SPI Flash and how to program it onto the FPGA. This exercise overwrites the contents of the SPI Flash. We will assume the ml506_lab_resources.zip has been extracted into some directory, hereafter referred to as . The ML506 board has one M25P32 SPI flash device. This SPI flash device can hold one BIT file for an ML506 board. A sample ML506 BIT file for SPI Flash is included in the Lab Resources File: spi_hello.bit There are two modes of SPI Flash programming, direct and indirect. Direct SPI Flash programming uses the flying leads attached to header j2 and connects directly to the SPI Flash device. Indirect SPI Flash programming downloads a bitstream to the FPGA and uses it to indirectly program the SPI flash. To select configuration using SPI flash, set the configuration address and mode DIP switch (SW3) to: 00000101 ******************************************************************************* Direct SPI Flash Programming from the iMPACT GUI Note: Refer to AR 31760: SPI Programming Mode when using Direct SPI mode http://testlinx/support/answers/31760.htm 1. Disconnect the cable attached to header J1 (the header on the left side of the board) from the Xilinx download cable. 2. Connect JTAG flying wires from the Xilinx download cable to the J2 header using the pin labels as a guide on how to make the connections. The 7-pin J2 header is located to the right of the FPGA and just above the LCD panel. 3. Set the configuration address DIP switches (SW3) to 00000101, for SPI Flash programming. 4. Open a DOS command shell. Click Start Menu -> Run, then enter cmd as the program to run, and click OK. 5. Change directory to your lab directory. Type cd . 6. Copy your BIT file into this folder. copy .bit . 7. Format the BIT file to an MCS file. promgen -spi -p mcs -o .mcs -s 16384 -u 0 .bit 8. Launch iMPACT and double- click Direct SPI Configuration in the iMPACT Modes window to program the SPI Flash device. 9. Right-click the Direct SPI Configuration tab and select Add SPI Device... 10. Navigate to .mcs created above and click Open. 11. In the Select Device Part Name drop-down dialog box, select M25P32 and click OK. 12. The Direct SPI Configuration tabbed window displays a diagram of a single SPI PROM. Right-click on the SPI PROM and select Program. 13. Click OK to program the SPI Flash device. 14. Press the Prog button. The design takes about 8 seconds to finish loading and begin to run. ******************************************************************************* Indirect SPI Flash Programming from the iMPACT GUI 1. Connect the Xilinx download cable to header J1 (the header on the left side of the board). 2. Set the configuration address DIP switches (SW3) to 00000101, for SPI Flash programming. 3. Open a DOS command shell. Click Start Menu -> Run, then enter cmd as the program to run, and click OK. 4. Change directory to your lab directory. Type cd . 5. Copy your BIT file into this folder. copy .bit . 6. Format the BIT file to an MCS file. promgen -spi -p mcs -o .mcs -s 16384 -u 0 .bit 7. Launch iMPACT and double-click Boundary Scan in the iMPACT Modes window to scan the FPGA chain. 8. Click File -> Initialize Chain. 9. Right-click on the FPGA and select Add SPI Flash... 10. Navigate to .mcs created above and click Open. 11. In the FPGA SPI Flash Association dialog box, under the SPI Flash drop-down, select M25P32 and click OK. 12. The SPI Flash will appear above the FPGA. Right-click on the SPI Flash and select Program. 13. Programming takes about two minutes. Once the Programming is done, the FPGA will load from SPI Flash and begin to run. ******************************************************************************* Indirect SPI Flash Programming from the command line In the ml506_lab_resources is a file that will perform the Indirect SPI Flash Programming. Edit the Program_ML50x_SPIFlash.bat to modify the promgen command as needed to match your BIT file name. 1. Connect the Xilinx download cable to header J1 (the header on the left side of the board). 2. Set the configuration address DIP switches (SW3) to 00000101, for SPI Flash programming. 3. Open a DOS command shell. Click Start Menu -> Run, then enter cmd as the program to run, and click OK. 4. Change directory to your lab directory. Type cd . 5. Copy your BIT file into this folder. copy .bit . 6. Run the SPI Flash programming bat file Program_ML50x_SPIFlash.bat 7. Programming takes about four minutes. Once the Programming is done, the FPGA will load from SPI Flash and begin to run.

近期下载者

相关文件


收藏者