Page 1
MicroBlaze Microcontroller Reference Design User Guide v1.3.1 UG133 v1.3.1 January 7, 2005...
Page 2
Xilinx, Inc. assumes no obligation to correct any errors contained herein or to advise any user of this text of any correction if such be made. Xilinx, Inc. will not assume any liability for the accuracy or correctness of any engineering or software support or assistance provided to a user.
Page 3
MicroBlaze Microcontroller Ref Des User Guide UG133 v1.3.1 January 7, 2005 The following table shows the revision history for this document. Version Revision 7/22/04 Initial Xilinx release. 8/27/04 Edited content; imported new images 11/19/04 Reconfigured book; added new chapter; incorporated edits...
Xilinx Spartan-3 Starter Kit Board, the design may be modified readily for any Xilinx or third party platform. This guide is an aid in getting started and learning how to use the Xilinx Embedded Development Kit (EDK) tools. It does this through examples, which show how multiple software images can be run on a defined soft Microcontroller hardware configuration.
Additional Resources Additional Resources For additional information, go to http://support.xilinx.com. The following table lists some of the resources available from this website. You can also directly access these resources using the provided URLs. Resource Description/URL Tutorials Tutorials covering Xilinx design flows, from design entry to verification and debugging http://support.xilinx.com/support/techsup/tutorials/index.htm...
Cross-reference link to a Figure 2-5 in the Virtex-II Red text location in another document Handbook. Go to http://www.xilinx.com Blue, underlined text Hyperlink to a website (URL) for the latest speed files. MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com UG133 January 7, 2005...
This guide is provided as an aid in getting started and learning how to use the Xilinx Embedded Development Kit (EDK) tools. It does this through examples, which show how multiple software images can run on a defined soft microcontroller hardware configuration.
Reference Design Building Blocks MicroBlaze Microcontroller Reference Design Number 1 Reference Design Building Blocks The block diagram of the MicroBlaze Microcontroller used in this MicroBlaze Microcontroller Reference Design is shown in Figure 2-1. The design includes an Internal Block RAM memory, an RS232 UART, 4 GPIO blocks, and a JTAG_UART used for software debugging.
Microblaze design using an OPB interrupt controller and an OPB microprocessor debug module (MDM) reference design available on the Embedded Design Kit web site at http://www.support.xilinx.com/ise/embedded/edk_examples.htm For documentation on interrupts, see the MicroBlaze Processor Reference Guide in the EDK documentation. MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com...
• ISE 6.3i or later To download the completed reference design, the following hardware is required: • Xilinx Spartan-3 Evaluation Board. For information on the evaluation board, see http://www.xilinx.com/products/spartan3/s3boards.htm. • Xilinx Parallel Cable used to program and debug the device •...
“Tools>Update Bitstream”. This will run any of the programs needed to generate the Hardware Application for this reference design. The message panel should read: Memory Initialization completed successfully. Done. MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com UG133 January 7, 2005...
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.
Note: Close all other XMD and GDB windows prior to downloading a configuration bits. Running the Calculator_App program After the Calculator_App has been loaded, the hyperterminal should show: Simple Calculator App for Spartan-3 Starter Kit Push button to start math operation... MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com UG133 January 7, 2005...
Loader after the FPGA is Configured and the Processor is Running This step will show an example of how a Hardware Application can be initially loaded with a “Stub” program. This will configure the MicroBlaze Microcontroller where it is waiting to be loaded with the actual Software Application.
Selecting a Software Application to be Loaded with a BOOT Loader after the FPGA is loaded and run, and then a different Software Application can be loaded and run. In this example the MicroBlaze processor must be loaded with a Software Application through the use of a stub program.
Begin from step 2 to configure the device prior to loading a new application program and debugging. Make certain to close all XMD and GDB windows. Figure Top x-ref 2-3 Figure 2-5: Target Selection for Software Debugger MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com UG133 January 7, 2005...
Calculator_App program Additional MicroBlaze and EDK Information Congratulations, you have successfully integrated a MicroBlaze Microcontroller into an FPGA and executed software code. For additional information on MicroBlaze and the EDK tools, go to http://support.xilinx.com. MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com...
Need help?
Do you have a question about the MicroBlaze and is the answer not in the manual?
Questions and answers