DOC PREVIEW
Toronto ECE 532 - Module m01 - Building a MicroBlaze System in XPS

This preview shows page 1-2-3 out of 10 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

University of TorontoECE532 Digital HardwareModule m01: Building a MicroBlaze System in XPSVersion for EDK 8.2.02i as of January 6, 2007AcknowledgementThis module is derived from a Xilinx lab given at the University of Toronto EDK workshop in November2003. Many thanks to Xilinx for allowing us to use and modify their material.Goals• Use Xilinx tools to build and debug a basic MicroBlaze system. This will consist of a MicroBlazeprocessor, memory, and a UART.• Understand basic concepts of the Xilinx Embedded Development Kit (EDK), which includes tools suchas Xilinx Platform Studio (XPS) and processor IP.• Explore some concepts used when programming in an embedded processor environment such as wherea program is loaded, how it is loaded, what gets added to it (runtimes, etc.), and how to interact withit.• Use some software debugging tools in an embedded processor environment.• Get an idea of how to find various useful documentation.RequirementsYou’ll need access to:• The Xilinx EDK 8.2.02i and ISE 8.2.03i software with IP Update 3.• Either the Xilinx Virtex-II Multimedia Board or the Xilinx XUP Virtex-II Pro Development System.• About 15MB of disk space for the project files (at least 12MB, plus some to spare).PreparationYou should have a quick look at the following documents. There are links from the UofT EDK page tothe Xilinx site for the Xilinx documents and the link for the Training Lecture is there as well (see ToolsDocumentation, Resources and Access).You can also find the Xilinx documents in your EDK install directory. Some are online at Xilinx, butothers are only available in your installation.If you are running XPS already, you can use the menu link:Help−→EDK Online DocumentationNoteSome of the activity in this module does not require hardware and can be done later, such as examiningvarious files. If time is running short, it is best to leave these steps till later and focus on the steps thatactually use the hardware.The steps in this module assume you are running it in the Microprocessor lab on the PCs.1University of TorontoECE532 Digital HardwareModule m01: Building a MicroBlaze System in XPSBackgroundThe Base System Builder (BSB), a wizard in XPS, can help you build your first system quickly and easily.XPS uses the Xilinx Integrated Software Environment (ISE) tools to synthesize, place, and route the hardwaredesign. GNU tools are provided in the EDK and are used within XPS to build the software for the embeddedsystem.SetupIf you are working with the Xilinx Multimedia Board, you should have the following hardware in your kit:• Xilinx Virtex-II Multimedia Board• Xilinx Parallel Cable 4 (including an adapter for taking power from a PS/2 port)• USB to RS-232 adapter cable (and driver CD, which may be necessary even on Windows XP — checkhere for installation instructions)• RJ-15 to DB-9 adapter for use in the labs• AC adapterIf you are using the Xilinx XUP Virtex-II Pro Development System, your kit should include:• Xilinx XUP Virtex-II Pro Development System Board• Documentation and driver CD• Digilent VDEC1 video decoder board• USB A-B Cable• USB to RS-232 adapter cable• AC adapterStep-by-stepSetting up the Hardware ConnectionsFor the Xilinx Virtex-II Multimedia BoardPlease be very careful when setting up the hardware so as not to break the connectors. Do not power onthe board until a TA has verified your hardware setup.If you are using the Xilinx XUP Virtex-II Pro Development System Board, skip to the next subsubsection.1. Place the development board on the table such that you can read the Xilinx insignia in the bottomright hand corner.2. Attach the flying leads cable to the Parallel Cable IV pod such that the red (JTAG/SERIAL) lead isfurthest away from you and the pod is faced so you can read the labels. The leads provide a JTAGconnection that is used for downloading FPGA configurations and debugging.3. Connect the cable from the pod to the parallel cable from the computer and the smaller lead to theadapter dangling from the back of the computer. The smaller lead provides power to the pod. Thestatus light on the pod should now be lit orange.2University of TorontoECE532 Digital HardwareModule m01: Building a MicroBlaze System in XPS4. At the top left hand corner of the Ultragizmo board there are two grey cables labeled CON and D.Unplug the CON cable and connect it to the serial cable adapter. Plug the other end of the serial cableinto the connector located at the top left hand side of the board just below the power switch. Thiswill be used for your UART connection.Note: you need two connections to your board to do this lab. First, you need a programming connectionfor configuring the FPGA. This is done using JTAG over either the Parallel Cable IV or the USBconnection to the XUPV2P board. Second, you need a communications connection for interactingwith the designs you instantiate on the FPGA. For instance, the standard input and standard outputof the MicroBlaze in most of your designs will be connected to the serial port on the Multimedia orXUPV2P board. In other words, printf() and scanf() will run over the serial port. It’s for thisconnection that you need the serial cable connected to the CON port.5. Plug one end of the power supply into the power bar and the other into the jack located in the top lefthand corner (just above the power switch).6. Get a TA to check your connections. You can then turn on the power switch (ON and OFF aremarked). The green LEDs near the power switch should be illuminated. Many other LEDs will beflashing, including the System ACE Error LED — this is expected and perfectly okay.For the Xilinx XUP Virtex-II Pro Development System BoardPlease be very careful when setting up the hardware so as not to break the connectors. Do not power onthe board until a TA has verified your hardware setup.If you are using the Xilinx Virtex-II Multimedia Board, consult the last subsubsection.1. Place the development board on the table such that you can read the Xilinx insignia in the bottomright hand corner.2. Connect the USB cable to the socket on the right side of the board towards the upper edge. Thisprovides the JTAG connection that is used for downloading FPGA configurations and for debugging.3. Connect the other end of the USB cable to the PC.4. At the top left hand corner of the Ultragizmo board there are two grey cables labeled CON and D.Unplug the CON cable and connect it to the serial cable adapter. Plug


View Full Document

Toronto ECE 532 - Module m01 - Building a MicroBlaze System in XPS

Documents in this Course
Load more
Download Module m01 - Building a MicroBlaze System in XPS
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Module m01 - Building a MicroBlaze System in XPS and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Module m01 - Building a MicroBlaze System in XPS 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?