14
Getting Started with the MicroBlaze Development Kit - Spartan-3E 1600E Edition
UG258 (v1.3) November 30, 2007
Chapter 2:
MicroBlaze Development Kit BlueCat Linux Reference System
R
XPS UART Lite Configuration
The XPS UART Lite core is configured to use interrupts. It is set up to use the DTE-Style
serial port with the baud rate set to
115200
. This requires the use of the Null-modem serial
cable provided with this Kit.
Flash IO Multiplexer
In the Spartan-3E 1600E Edition development board, the SPI Flash (XPS SPI) MISO pin and
the MSB of the Parallel Flash (XPS MCH EMC) data pin are multiplexed on the board.
The Flash IO Multiplexer is a custom pcore that is used to select between the Parallel Flash
data (DQ) signals and SPI Flash data (MISO) signals based on Memory Chip Enable
(Active Low) of the Parallel Flash. If the Memocy Chip enable is Low, then the Parallel
Flash Data signals are sent to the external connection, else the SPI Data signals are sent to
the external data pin connections.
Software Applications
The software sources and executable files for simple memory and peripheral tests have
been provided for use in basic functional testing.
The source code for the memory and peripheral tests are located under the project root
directory as
/TestApp_Memory/src/TestApp_Memory.c
and
/TestApp_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 version 5.4.1 distribution.
The BlueCat Linux kernel image is stored in the Intel StrataFlash PROM and is available in
/bclinux_images
under the project root directory.
Note:
The method and details for building a BlueCat Linux kernel are beyond the scope of this
document.
Executing the BlueCat Linux Reference System
To execute the BlueCat Linux reference system, the hardware bitstream and the BlueCat
Linux kernel image must be downloaded into main memory (DDR) by:
1.
Downloading the bitstream directly from the
/ready_for_download
directory or
by generating it from the project in XPS. The bitstream is composed of the hardware
configuration and a simple bootloop software application, which loops the MicroBlaze
processor at a known location until another application is executed.
2.
Downloading the BlueCat Linux kernel image from the directory
/bclinux_images
under the project root directory.
Note:
Make sure that the jumper settings (J30) are set to JTAG configuration mode for downloading
the bitstream or kernel image.
Generating the Bitstream
The system netlist and bitstream can be generated by:
www.BDTIC.com/XILINX