UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 62823

Kintex-7 FPGA KC705 Evaluation Kit - How do I program the on-board Flash from Vivado when using MicroBlaze and an ELF file?

Description

How do I program the on-board Flash, on the KC705, from Vivado when using MicroBlaze and an ELF file?

Solution

Elf Association (It is assumed that the design is already implemented and Elf exists)

1.       Click Generate Block Design.
2.       Choose Associate ELF Files:
        
ar62823-1.png



3.       Choose the desired ELF file:
        
ar62823-2.png



4.       Choose more_info and force-up-to-date:
        
ar62823-3.png



5.      Generate bitstream.
         BRAMs will have a new ELF instead of bootloop.
 

Create PROM file

1.       Run the folllowing command in the Tcl console to create the MCS file:
write_cfgmem -format MCS -size 128 -interface BPIx16 -loadbit "up 0x0 ./hdmi_example.runs/impl_1/hdmi_top_kc705_fmc_hdmi14.bit" hdmi_rx_tx.mcs
 

Program FLASH

1.       Open Hardware manager and select Open a new hardware target:
       
ar62823-4.png



2.       Right click on the device and choose Add Configuration Memory Device
        
ar62823-5.png



3.       Make the following selection (Note: size should be 1024Mb which is 128MB)
        
ar62823-6.png



4.       Choose to configure memory device now.
5.       Select the MCS file you previously generated and use the settings below:
        
ar62823-7.png



6.      Select DIP SW1 settings.
         The Board boots from FLASH when switches 3-4-5 are set to 0-1-0.
AR# 62823
Date Created 11/13/2014
Last Updated 02/09/2015
Status Active
Type General Article
Boards & Kits
  • Kintex-7 FPGA KC705 Evaluation Kit