Xilinx UG133 manual Downloading Design Files to the Fpga, Right click on Project CalculatorApp

Page 13

Downloading the Design and Launching XPS

R

or, if all files are up to date, then it will say:

...

make: Nothing to be done for `init_bram'. Done.

Downloading Design Files to the FPGA

The following two sections illustrate two methods of downloading a Software Application into the FPGA. The first method is when the Software Application can be incorporated into the FPGA bitstream. The second method illustrates loading a selected application into the FPGA using the GDB debugger for software development and debugging.

Selecting a Software Application to Run When the FPGA is Configured

In this step the Software Application that will be loaded when the FPGA is initially loaded with a new bitstream will be selected. Please select the XPS Software Application tab. There are 3 options that can be selected when choosing the Software Application. This first example will show how a Software Application can be initially added to the FPGA bitstream. This will configure the MicroBlaze Microcontroller program and Data memory with the software application already pre-loaded. This means that as soon as the FPGA has been successfully configured, the MicroBlaze Microcontroller Software Application will already be running on the MicroBlaze Microcontroller Hardware Application.

In this case, although multiple software applications could overlap in the Bram, only one software application can be selected at one time. To select the desired application, perform the following steps:

1.Select the Application tab the XPS window.

2.Right click on Project: Calculator_App.

3.Set “Mark to Initialize BRAMs”. The Project: Calculator_App will have a small green arrow appear to the left of the text.

4.Confirm that “Mark to Initialize BRAMs” is not checked for the other projects and default applications. The Graphic to the left of each other application should appear as a green arrow with a red ‘X’ over it. Verify that this is the case for ‘microblaze_0_bootloop’, ‘microblaze_0_xmdstub’, and ‘Project: TestApp’. If any are set, please Right click and confirm that “Mark to Initialize BRAMs” is not checked. If checked, click to deselect it. The green arrow should then appear with a red “X”.

MicroBlaze Microcontroller Ref Des User Guide

www.xilinx.com

6

UG133 January 7, 2005

Image 13
Contents UG133 v1.3.1 January 7 MicroBlaze Microcontroller Reference Design User GuideMicroBlaze Microcontroller Ref Des User Guide Version Revision Microcontroller Reference Design Overview Introduction Guide ContentsConventions Additional ResourcesTypographical Conventions Meaning or Use Example Online DocumentMicrocontroller Reference Design Overview Application Reference Design Building BlocksReference Design Building Blocks Features FeaturesDownloading the Design and Launching XPS Getting StartedSystem Requirements Downloading the Reference DesignsDownloading the Design and Launching XPS Updating and Generation Hardware FilesRight click on Project CalculatorApp Downloading Design Files to the FpgaRunning the CalculatorApp program Loading the CalculatorApp Software ApplicationUpdating and Generation Hardware Files Loading the microblaze0xmdstub Software Application 4Software Selection with a Boot loader5Target Selection for Software Debugger Loading the TestApp Software Application with XmdstubLoading the CalculatorApp Software Application with Xmdstub Additional MicroBlaze and EDK InformationAdditional MicroBlaze and EDK Information