Intel® IQ80219 General Purpose
PCI Processor Evaluation
Platform
Board Ma nu al
November 13, 2003
Document Number: 274022-001
Intel® IQ80219 General Purpose PCI Processor Evaluation Platform
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY
ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN
INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES
RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER
INTELLECTUAL PROPERTY RIGHT.
Intel products are not intended for use in medical, life saving, life sustaining applications.
Intel may make changes to specifications and product descriptions at any time, without notice.
Designers must not rely on the absence or characteristics of any features or instructions marked “reserved” or “undefined.” Intel reserves these for
future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them.
®
The Intel
published specifications. Current characterized errata are available on request.
Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.
Copies of documents which have an ordering number and are referenced in this document, or other Intel literature may be obtained by calling
IQ80310 and Intel® IQ80219 evaluation platform board Comparisons ............................85
91 Related Documents....................................................................................................................87
92 Related Documents.................................................................................................................. 105
10Board Manual
Intel® IQ80219 General Purpose PCI Processor Evaluation Platform
Revision History
DateRevisionDescription
November 2003001Initial Release.
Contents
Board Manual 11
Intel® IQ80219 General Purpose PCI Processor Evaluation Platform
Contents
This Page Left Intentionally Blank
12Board Manual
Introduction1
1.1Document Purpose and Scope
This document describes the Intel® IQ80219 evaluation platform board (IQ80219). This platform is
targeted for the Intel
®
80219 general purpose PCI processor (80219). The board serves as both an
evaluation platform for developers using 80219 as well as a Customer Reference Board (CRB).
The IQ80219 is intended for general purpose, embedded application development. It is based on
the 80219, a single-function device that integrates the Intel XScale
®
core (ARM* architect ure
compliant) with intelligent peripherals including a PCI bus application bridge.
1.2Related Documents
Table 1. Intel® 80219 General Purpose PCI Proce ssor Related Documen tation List
DocumentNumber
®
Intel
80219 General Purp os e P CI Proc essor Dev el op er’s Manu al274017
®
80219 General Purpose PCI P roc es s or Datasheet274018
Intel
®
80219 General Purp os e P CI Proc essor Des ig n Gu id e274019
Intel
®
80219 General Purp os e P CI Proc essor Spe c ifi ca tion Update274020
Intel
®
Intel
80219 General Purp os e P CI Proc essor Prod u ct B rie f
®
Intel
80219 General Purp os e P C I Pr oc es s or Initialization Ap pl ic ation Note274022
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
1.5Terms and Definitions
T able 4. Terms and Definitions
Acronym/TermDefinition
ARMRefers to both the microprocessor architecture and the company that licenses it.
CRBCustomer Reference Board
ICE
JTAG
PPCI-XPrimary PCI-X.
PSUPower Supply Unit
SPCI-XSecondary PCI-X.
In-Circuit Emulator – A piece of hardware used to mimic all the functions of a
microprocessor.
Joint Test Action Group – A hardware port supplied on Intel XScale
evaluation boards used for in-depth testing and debugging.
Introduction
®
microarchitecture
Board Manual 15
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Introduction
1.6Intel® 80219 General Purpose PCI Processor
About the Intel® 80219 general purpose PCI processor (80219).
The 80219 combines the Intel XScale
purpose, embedded applications. This single-function PCI device is fully compliant with the PCI Local Bus Specification, Revision 2.2. The 80219-specific features include:
• Intel XScale
• PCI - Local Memory Bus Addr ess Tran slation Unit (ATU)
• I
• Direct Memory Access (DMA) Controller
• Peripheral Bus Interface (PBI) Unit
• Integrated Memory Controller Unit (MCU)
• Performance Monitor Unit (PMU)
• Two I
• Eight General Purpose Input Output (GPIO) Ports
Figure 1. Intel
®
core with powerful new features to create a powerful, general
®
core
O* Messaging Unit (MU)
2
2
C Bus Interface Units (BIU)
®
80219 General Purpose PCI Process or Block Diagram
C
2
I
Serial Bus
I2C Bus
Interface
Application
Accelerator
®
Intel
80219 PCI
Processor*
Core
72-Bit
Interface
DDR
Memory
Controller
Unit
32-Bit
Interface
Peripheral
Bus
Interface
Serial Bus
SSP
Serial Bus
Internal Bus
Messaging
Unit
Address
Translation
Unit
Two
DMA
Channels
Performance
Monitoring
Unit
Intel® 80219 General Purpose
PCI Processor
64-bit / 32-bit PCI Bus
fi
* Intel
80219 General Purpose PCI Processor
B2826-01
16Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
Introduction
The PCI Bus is an industry standard, high performance low latency system bus. The 80219 PCI Bus
is capable of 133 MHz operation in PCI-X mode as defined by the PCI-X Addendum to the PCI Local Bus Specification, Revision 1.0a. Also, the processor s upports a 66 MHz conventional P CI mode as
defined by the PCI Local Bus Specification, Revision 2.2. The addition of the Intel XScale
®
core
brings intelligence to the PCI bus application bridge.
The 80219 is a single function PCI device. This function represents the address translation unit. The
address translation unit is an “application bridge” as defined by the PCI-X Addendum to the PCI Local Bus Specification, Revision 1.0a. The 80219 contains PCI configuration space accessible
thro ugh the PCI bus.
80219 core is based upon the Intel XScale
®
core. The core processor operates at a maximum
frequency of 600 MHz. The instruction cache is 32 Kbytes (KB) in size and is 32-way set associative.
Also, the core processor includes a data cache that is 32 KB and is 32-way set associative and a mini
data cache that is 2 KB and is 2-way set associative.
The 80219 includes eight General Purpose I/O (GPIO) pins.
Board Manual 17
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Introduction
1.7Intel® IQ80219 Evaluation Platform Board Features
Table 5. Summary of Features
FeatureDefinition
Battery Backup Unit: Battery back up circuit for SDRAM – 64 MB for 72 hours.
Ethernet Port: Gigabit Ethernet Debugging/Download Port (using In tel® 82544).
Flash ROM: 8 MB Flash ROM 3.3 V – 16-bit Flash I/F.
Form & Factor:
General Purpose I/O: GPIO Pins are used as described in the appropriate section in this document
Hex Display: Two 7-segment Hex LED displays.
JTAG Port: ARM com pl i a nt JTAG Header.
Logic Analyzer:
Memory:
Onboard Power:
PCI-X Bridge: IBM PCI-X Bridge.
Power LED : Power on (gr een) and FAIL (red) LE D indicator s.
Primary PC I: 64 bits 133/10 0/66 MHz PCI-X or PCI 66 MHz
RAID Support
Secondary PCI:
Serial P o r t: One Serial Cons ol e P ort (16C550 Co mpa t i ble ).
Modified PCI long-card format – one Secondary PCI-X (SPCI-X) Expansion slots (right
angel co nnector).
Logic ana ly z er ( mi ct or) in ter f ac e on :
• SPCI-X bus
•Peripheral Bus
Interpo s er Card may be used for the memory bus – Information supplied separately.
Board sources +1.25 V, +2.5 V , +3.3 V, +5 V, +12 V, and -12 V from primary PCI
connector.
• All core voltages are derived from 3.3 V supply.
Support for “RAID” Implementation – Ability to make the devices plugged in the
secondary expansion slots “Private ”.
• 1 x 64-bit PCI-X connector - 66 MHz.
®
• Intel
82544 Gig ab it E th er n et C on t ro ller also on the se co ndary PC I-X .
18Board Manual
Getting Started2
The IQ80219 is a software development environment for Intel® 80219 general purpose PCI processor
(80219).
2.1Kit Content
The IQ802 19 Kit contains the following items:
®
• Intel
• Code|Lab* Develo pment Environment from Accelerated Technology Incorpo rated*.
• JTAG Emulation unit.
• Serial Cable.
• Evaluation Software Bundle.
2.2Hardware Installation
Warning:Static char ges can seve rely da mage the boa rds. Be sure yo u ar e properl y grounde d be fore removi ng
the boar d f rom the anti-st atic bag.
IQ80219 evaluati on platform board.
2.2.1First-Time Installation and Test
For first-time installation, visually inspect the IQ80219 for any damage made during shipment.
Follow the host system manufacturer instructions for installing a PCI adapter. The board is a
full-length PCI/PCI-X adapter and requires a PCI/PCI-X slot free from obstructions. The extended
height of the board requires the cover of the PC to be kept off.
2.2.2Power and Backplane Requirements
The IQ80219 requires a 3.3 V supply coming through the PCI/PCI-X primary connector. The board
can be plugged into either a backplane or a desktop PCI/PCI-X slot. When using a backplane, an ATX
rated power supply is required. The IQ80219 only draws from the 3.3 V line of the power supply.
Most ATX power supply units (PSUs) regulate off the 5 V signal. When there is nothing drawing
from the 5.5 V signal most ATX PSU do not supply the 3.3 V correctly. To overcome this, it is
recommended to put a load on the 5.5 V line of the PSU. An old IDE Hard drive can be used for this.
Caution: When plugging the power supply into the backplane, make sure that the power supp ly is
disconnected from the mains. Most ATX PSUs supply 5 V standby current even when turned Off,
backplane damage is possible.
Board Manual 19
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started
2.3Factory Settings
Make sure that the switch/jumper settings are set to proper positions as explained in Section 3.10,
“Switches and Ju mper s” on page 52.
2.4Development Strategy
2.4.1Supported Tool Buckets
For developing and debugging software application, the production version of the IQ80219 kit
includes the Code|Lab Development Environment. Support for the Code|Lab development
environment is available from ATI*. Please refer to the enclosed package.
The kit also contains evaluation copies for several Software Development Tools. These tools are for
evaluation purposes and do not include any support. Please contact the vendor directly for additional
information and support. They include:
• ARM Developer Suite (ADS) and ARM Firmware Suite (AFS)
• Redhat* GNUPro tools
• LynuxWorks* Embedded Linux RT OS and Development Tool s
• Monta Vista* Embedded Linux RTOS and Development Tools
• WindRiver* VxWorks* RTOS and Tornado* Development Tools
• Accelerated Technology Inc *, Nucl eus Plus* RTOS and Development Tools
2.4.2Contents of the Flash
The production version of the board contains an image for Redhat Redboot* target monitor.
20Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
2.5T arget Monitors
2.5.1Redhat R edboot
RedBoot* is an acronym f or “Red Hat Embedded Debug and Bootstrap”, and is the st andard
embedded system debug/bootstrap environment from Red Hat, replacing the previous generation of
debug firmware: CygMon an d GDB stubs. It provides a bootstrap environment for a range of
embedded operating systems, such as embedded Linux and eCos*, and includes facilities such as
network downloading and debugging. It also provides a simple Flash file system for boot images.
RedBoot provides a set of tools for downloading and executi ng progra m s on embedded targ et
systems, as well as tools for manipulating the target system's environment. It can be used for both
product development (debug support) and for end product deployment (Flash and network booting).
Here are some highlights of RedBoot capabilities:
• Boot scripting support
• Simple command line i nterface for RedBoot configuration and management, accessible via
serial (terminal) or Ethernet (telnet) (see Section 2.6.4, “GNUPro GDB/Insight” on page 26)
• Integrated GDB stubs for connection to a host-based debugger (GBD/Insight) via serial or
Ethernet. (Ethe r net connectivity is limited to local network only)
Getting Started
• Attribute Configuration - user control of aspects such as system time and date (when
applicable), default Flash image to boot from, default fail-safe image, static IP address, etc.
• Configurable and extensible, specifically adapted to the target environment
• Network bootstrap support including setup and download, via BOOTP, DHCP and TFTP
• X/Y-Modem support for image download via serial
• Power On Self Te st
Board Manual 21
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started
2.5.2ARM Firmware Suite
The ARM Firmware Suite is a package of low-level routines and libraries that have been designed to
help developers rapidly bring up applications and operating systems on Intel XScale
microarchitecture-based development platforms, such as the IQ80219.
AFS consists of two pa rts:
1. µHAL, the ARM standard board API, which is low-level firmware, designed to provide a
common set of functions across IQ80219. These include
— System initialization software.
— S imple polled serial drivers.
— LED support.
— Timer support.
— Interrupt Controller support.
µHAL manages all the variables associated with the IQ80219. This is provided in source form
for users to embed and distribute in their own products running on an 80219. Included also as
sources and with object distribution r ights are:
— A simple boot monitor.
— Event chaining librarie s, low level ADS C++ support libraries, be nchmarking and
demonstra tion application s.
— Angel* debug target and host communication software that allows inter-working with
ARM Developer Suite.
2. On top of µHAL, AFS provides some useful ap plications, demos and example operating
syst ems such as µCOS-II. The applications are currentl y.
®
— F lash Library supporting a range of commonly use d Flas h parts.
— F lash management utilities including support for multiple Flash images using the ARM
Flash format standard.
— P CI Library that fully initializes the PCI subsystem and provides device driver primitives.
— DHCP Client over Ethernet of the fast download of binary images into Flash or RAM.
— F ull on line documentation.
— Example OS ports.
22Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
2.5.2.1ARM Angel
Angel is one of the debug monitor programs for 80219. It is provided in source and binary form with
the ARM Software Development Toolkit. It features:
• Debug capability, including memory inspection, image download and execution,
break-pointing and single step
• CPU and board startup and bas ic exception handling
• A full ANSI C library, using semihost ing (f ile I/O Ope ration ) to prov ide servic es fro m the host
which are not availab l e on the target
• A full source distri bution for users in developing stand alone applications
Angel interfaces with the ARM Developer Suite in two ways:
• SW Debuggers use the interface library (Remote_A) to communicate with an Angel target
when debugging or executing code.
• Application c ode uses s oftware interrupt (SWI) calls to request services of Angel either
directly or via the toolkit C library.
2.5.2.1.1Semihosting (File I/O)
Getting Started
The ARM debuggers support a feature known as semihosting to enable a target system which does
not support various features required by the ANSI C library to use the features of the host instead. A
simple example of this is the use of a host “window” to provide a system console, to which the output
of printf(), etc..., can be written.
Semihosting is supported in Angel using a set of SWI calls which the ARM C library uses messages
over the CLIB channel of the target<=>host link, and appropriate code in the host library
(Remote_A.dll under Windows) which interprets and executes these requests.
For information on the SWI calls, see the ARM SDT Reference Manual (DUI 0041B) section 8.3:
Angel C Library Support (SWIs)
Board Manual 23
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
1
Getting Started
2.6Host Communications Examples
How to communicate to the host.
2.6.1Serial-UART Communication
Using a serial connection:
Figure 2. Serial-UART Communication
Host System
SW Debugger
C/C++
ASM
Serial
e
l
b
a
C
l
a
i
r
e
S
Connectivity
Intelfi 80219
PCI Processor
Running a
Debug Monitor
®
80219 PCI Processor*
Intel
Evaluation Platform Board
Serial
Connectivity
Host System
fi
* Intel
80219 General Purpose PCI Processor
2.6.2Ethernet-Network Communication
Using a network connection:
Figure 3. Etherne t-Network Com m unication
Host System
SW Debugger
C/C++
ASM
Ethernet Network
Network
Host System
Connector
PCI/PCI-X Platform
Server/Desktop/Backplane
fi
Intel
Network
Connector
®
Intel
80219 PCI Processor*
Evaluation Platform Board
80219
PCI Processor*
Running a
Debug Monitor
PCI/PCI-X Platform
Server/Desktop/Backplane
B2827-01
fi
* Intel
80219 General Purpose PCI Processor
B2828-0
24Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
1
2.6.3JTAG Deb ug Communication
Using a JTAG Emulator:
Figure 4. JTAG Debug Communication
Host System
SW Debugger
C/C++
ASM
JTAG Emulator
Getting Started
JTAG
Connector
fi
Intel
80219
PCI Processor*
Running a
Debug Monitor
Intel® 80219 PCI Processor*
Evaluation Platform Board
Host System
fi
* Intel
80219 General Purpose PCI Processor
Parallel
Port
PCI/PCI-X Platform
Server/Desktop/Backplane
B2829-0
Board Manual 25
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started
2.6.4GNUPr o GDB/Insight
2.6.4.1Communicating with Redboot
Hardware Setup:
• Host with UNIX/Linux or Win32 installed
®
• Intel
• Redhat Redboot monitor Flashed to the platform board
Recommended Mapping of UART Ports to Host Com Ports
• Host port connecte d to the platform board UART.
The following communication tools can be used:
• Win32 using HyperTerminal
• UNIX using Kermit
• Linux using Miniport
• Solaris using Tip
IQ80219 evaluation platform board with serial cable
Redboot Monitor startup:
Description:terminal emulator runs on host and communic ates with the board via the serial cable.
®
Start: Power up the Intel
7-segment LEDs sequentially display “88”, “A0” through “A6”, followed by “SL” (Scrub
loop). When RedBoot is succes sfully booted, it displa ys the characters “A1” on the LEDs.
When the final state of “A1” does not occur, reset the processor again.
The time for reset is approximately 1 or 2 seconds.
Win32 on Host Connecting with HyperTerminal.
IQ80219 evaluatio n platform boa rd. While the 'rese t' i s asserte d, the t wo
26Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
Getting Started
To bring up a HyperTerminal s ession on a Win32 platform: Go to St art, Programs, Acce ssories,
Communications, HyperTerminal
• HyperTerminal setup screens:
— “Connection Description” Panel:
•Enter name.
— “Connect To” Panel:
•Select host com2 port (or whic hever port you are using).
— Port Settings:
•Bits per second: 115200
•Data Bits: 8
•Parity: none
•Stop Bits: 1
•Flow Control: none
— Start HyperTerminal:
•Select Call from Hyper Terminal pane l.
— Reset or power up IQ80219 board.
— The Host screen reads:
RedBoot(tm) debug environment - built dd:mm:yy, Mon dd 2001
Platform: IQ80321
Copyright (C) 2000, Red Hat, Inc.
RAM: 0xa0000000-0xa2000000
FLASH: 0x00000000 - 0x00800000, 64 blocks of 0x00020000 bytes each.
IP: 192.168.0.1, Default server: 0.0.0.0
RedBoot>
For further information on the GDB/Insight Debugger, refer to the content of the GNUPro CD and/or
the GNUPro Debugging Tools manual. This setup assumes that Redboot is Flashed on the board.
Board Manual 27
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started
2.6.4.2Connecting with GDB
Below are the GDB commands entered from the command prompt. Be sure system path is set to
access “xscale-elf-gdb.exe”. File name in example “hello”. Bold type represents input by user:
>xscale-elf-gdb -nw hello
1
• Start GDB executable, loads debug information and symbols.
(GDB) set remotebaud 115200
• Set baud rate for the IQ80219.
Conn ect COM port:
• When using Windows command prompt:
(GDB) target remote com1
Example: screen output from board to host (GDB) target remote com1:
Remote debugging using com1.
(GDB)
• When using Linux
(GDB) target remote /dev/ttyS0
(GDB) load
• Load the program to the board , may hav e to wai t a few seconds.
(GDB) break main
• Set breakpo int at main.
(GDB) continue
• Start the program using 'continue' verse the usual 'run'.
• Program hits break at main() and wait.
1. To be supplied separately.
28Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
2.6.5ARM Extended Debugger
For further information on the AXD Debugger, refer to the content of the ARM ADS. This setup
assumes that Angel is Flashed on the board:
Descriptio n: Terminal emu lator runs on hos t and communi cates with t he board via the serial c able.
Start:Power up the target board. After the ‘reset’ is asserted, the two 7-segment LEDs
display blank. The time for reset is approximately 1 or 2 seconds.
Assumptions: ARM Developer Suite (ADS) is loaded to Win32 Host, Angel is Flashed to ROM,
Host com port is connected to board serial port ## and compiled project file
Worchester.mcp
Following are the steps from setup to running a project file that has been previously created and
named Worchester.mcp:
1. From Windows start m enu:
a. Programs -> ARM Developer Suite v1.1 -> Metrowerks CodeWarrior
2. From CodeWarrior open project and start debugger:
a. File -> Open (All files) -> W orchester.mcp
1
exists.
Getting Started
b. Project -> Enable Debugger
c. Project -> Debug (AXD Interface comes up)
3. From AXD (ARM extended debugger) configure and connect:
a. Connect Host to Target with s er ial cable