background image

Getting Started with the MicroBlaze Development Kit - Spartan-3E 1600E Edition

15

UG258  (v1.3) November 30, 2007

www.xilinx.com

Executing the BlueCat Linux Reference System

R

1.

Opening the BlueCat Linux project in XPS, then

2.

Generating the bitstream by selecting 

Hardware 

 Generate Bitstream

 

in XPS

Downloading the Bitstream

To configure the Spartan-3E device, the bitstream can be downloaded by using one of two 
methods:

1.

Using the download option in XPS, then connecting the USB cable from the PC to the 
board and selecting the 

Device Configuration

 

→ 

Download Bitstream 

option

2.

Using the iMPACT configuration tool and downloading the bitstream.

From an EDK shell,change directory to the 

/ready_for_download 

directory:

cd ready_for_download

impact -batch s3e1600e_bclinux.cmd

Downloading the BlueCat Linux Kernel

Before the BlueCat Linux demonstration can be executed, a serial communications utility, 
such as HyperTerminal, must be set up. To configure the HyperTerminal and run the 
BlueCat Linux demonstration on MicroBlaze, the following steps are followed:

1.

A serial cable from the COM port of the PC to the DTE serial port on the board(J10) is 
connected.

2.

A HyperTerminal or similar program is set to a Baud Rate of 

115200

, Data Bits to 

8

Parity to 

None 

and Flow Control to 

None

, as shown in 

Figure 2-2

.

3.

A crossover Ethernet cable to the host PC and the board’s Ethernet port is connected. 
The USB cable must remain connected from the PC to the board. 

X-Ref Target - Figure 2-2

Figure 2-2:

HyperTerminal Settings

UG25

8

_2_2_110507

www.BDTIC.com/XILINX

Содержание MIcroBlaze Development Spartan-3E 1600E Kit

Страница 1: ...R Getting Started with the MicroBlaze Development Kit Spartan 3E 1600E Edition UG258 v1 3 November 30 2007 www BDTIC com XILINX ...

Страница 2: ...E AND AGREE THAT YOU HAVE NOT RELIED ON ANY ORAL OR WRITTEN INFORMATION OR ADVICE WHETHER GIVEN BY XILINX OR ITS AGENTS OR EMPLOYEES XILINX MAKES NO OTHER WARRANTIES WHETHER EXPRESS IMPLIED OR STATUTORY REGARDING THE DESIGN INCLUDING ANY WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE TITLE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS IN NO EVENT WILL XILINX BE LIABLE FOR ANY CONSEQUEN...

Страница 3: ...2007 Revision History The following table shows the revision history for this document Version Revision 08 22 06 1 0 Initial Xilinx release 11 06 06 1 1 Updated command code in the Generating the MFS Image section of Chapter 3 4 24 07 1 2 Updated for EDK 9 1i 11 30 07 1 3 Updated for EDK 9 2 01i www BDTIC com XILINX ...

Страница 4: ...Getting Started with the MicroBlaze Development Kit Spartan 3E 1600E Edition UG258 v1 3 November 30 2007 www xilinx com www BDTIC com XILINX ...

Страница 5: ...are Installation 7 Demo Description and Configuration Mode Settings 7 Demo Description 7 Configuration Mode Settings 9 Executing the Demos 9 Chapter 2 MicroBlaze Development Kit BlueCat Linux Reference System Introduction 11 Hardware Specifics 12 Block Diagram 12 Address Map 12 System Configuration 13 Software Applications 14 Executing the BlueCat Linux Reference System 14 Generating the Bitstream...

Страница 6: ...2 Getting Started with the MicroBlaze Development Kit Spartan 3E 1600E Edition www xilinx com UG258 v1 3 November 30 2007 R www BDTIC com XILINX ...

Страница 7: ...at Linux Reference System Additional Resources To search the database of silicon and software questions and answers or to create a technical support case in WebCase see the Xilinx website at http www xilinx com support Conventions This document uses the following conventions An example illustrates each convention Typographical The following typographical conventions are used in this document Conve...

Страница 8: ...ngdbuild option_name design_name Braces A list of items from which you must choose one or more lowpwr on off Vertical bar Separates items in a list of choices lowpwr on off Vertical ellipsis Repetitive material that has been omitted IOB 1 Name QOUT IOB 2 Name CLKIN Horizontal ellipsis Repetitive material that has been omitted allow block block_name loc1 loc2 locn Convention Meaning or Use Example ...

Страница 9: ...Kit Reference Designs website http www xilinx com products boards s3e1600e reference_designs htm The demo systems are also pre loaded in the Xilinx Platform Flash and the Intel StrataFlash on the development board Please read the remainder of the document for specific details on these resources The reference systems included in this kit require the use of a computer installed with the following so...

Страница 10: ...ing the following Board power supply Download cable host to target Null modem serial cable host to target Cross over ethernet cable host to target Detailed instructions of how to accomplish these tasks are found later in this document Step 3 Choose the reference system or demonstration of choice Demonstrations are located in the Xilinx Platform Flash and the Intel StrataFlash on the development bo...

Страница 11: ...em and documentation can be directly downloaded from the following Xilinx Spartan 3E Development Kit Reference Designs website http www xilinx com products boards s3e1600e reference_designs htm Software Installation The development kit includes the required design software to work with the reference systems To use the reference system provided for this kit both software packages are required to be...

Страница 12: ...ng on the MiroBlaze soft processor Refer to the BlueCat Linux Reference System chapter for details and instructions on how to run the BlueCat Linux demo The BlueCat Linux image is not loaded into the Intel StrataFlash PROM Note The μClinux image is pre loaded into the Intel Strata Flash PROM using the BPI Up configuration mode Therefore for booting the system using the the Lynuxworks Bluecat Linux...

Страница 13: ...osition the SP3E1600E board so the SPARTAN 3E and XILINX logos are oriented upright 2 Make sure the power switch located in the upper left corner of the board is in the off position 3 Plug the power supply adapter cable into the SP3E1600E board Plug in the power supply to AC power 4 Ensure that the configuration jumpers are set to Master Serial mode as shown in Table 1 2 for the Hello World Demo 5...

Страница 14: ... Flow control None 6 Turn on the SP3E1600E board s main power switch If the configuration jumpers are set to Master Serial mode then the Hello World Demo will automatically start 7 To restart or load another demo set the configuration jumpers to the proper settings for the desired demo and depress the PROG pushbutton or simply power cycle the main power switch a The selected demo will load from th...

Страница 15: ... downloading and running the BlueCat Linux kernel demonstration are By using a debugger such as XMD provided as part of the EDK tools and downloading the image file directly into DDR through the MicroBlaze Debug Module Once the Flash is re programmed with the BlueCat linux image then By powering up from the Intel StrataFlash PROM with the FPGA configuration mode pins set to BPI up mode By depressi...

Страница 16: ... kernel See Table 2 1 for the address map of the system Block Diagram The system is shown in Figure 2 1 Address Map The address map for the IP cores in the reference system is given in Table 2 1 X Ref Target Figure 2 1 Figure 2 1 Block Diagram UG258_2_1_110507 MicroBlaze Processor MPMC Xilinx Spartan 3E FPGA XPS UARTLITE XPS GPIO EXTERNAL MEMORY DDR XPS ETHERNETLITE XPS GPIO XPS GPIO XPS TIMER XPS...

Страница 17: ...e block of main memory resides between 0x20000000 and 0x21FFFFFF and are accessed via the XCL Port Interface Modules PIM of the Multi ported Memory Controller MPMC More information about the MMU the Instruction Cache and Data Cache can be found in the MicroBlaze Processor Reference Guide XPS Ethernetlite Configuration The BlueCat Linux RTOS requires that the XPS Ethernet has the interrupts be set ...

Страница 18: ...pp_Peripheral src TestApp_Peripheral c respectively The executable files for these tests are located under the project root directory as TestApp_Memory executable elf and TestApp_Peripheral executable elf respectively A BlueCat Linux ready MicroBlaze system and BlueCat Linux kernel are provided in this reference system This basic BlueCat Linux implementation is built using the BlueCat Linux versio...

Страница 19: ...ectory to the ready_for_download directory cd ready_for_download impact batch s3e1600e_bclinux cmd Downloading the BlueCat Linux Kernel Before the BlueCat Linux demonstration can be executed a serial communications utility such as HyperTerminal must be set up To configure the HyperTerminal and run the BlueCat Linux demonstration on MicroBlaze the following steps are followed 1 A serial cable from ...

Страница 20: ...kdi 1 In XPS Debug Launch XMD is selected 2 In the XMD command window the directory to the project s bclinux_images directory is changed as follows cd bclinux_images The Bluecat Linux image into DDR memory at the starting location 0x20000000 is downloaded using the command dow data standalone kdi 0x20000000 Note This step could take several minutes to download the BlueCat Linux image to the memory...

Страница 21: ... read only except for the var directory and its sub directories New directories can be created under the var directory using the mkdir command Files under the var directory structure can be created or edited using the vi editor Text files can be viewed using the cat command This BlueCat Linux kernel was built with networking support enabled therefore it supports several network utilities when conn...

Страница 22: ...sued The result on a HyperTerminal of the configuration settings for the eth0 Ethernet and lo Local Loopback ports are as shown in Figure 2 4 To ping a remote computer at IP address 1 2 3 9 from the development board this example command string ping c 4 1 2 3 9 is used to ping the remote computer 4 times To telnet from a networked computer to the board issue the command telnet 1 2 3 4 All of the L...

Отзывы: