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
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® IQ80321 Evaluation Platform Board Comparisons ...........................85
91 Related Documents....................................................................................................................87
92 Related Documents..................................................................................................................105
10Board Manual
Intel® IQ80321 I/O Processor Evaluation Platform
Revision History
DateRevisionDescription
April 2003008Changed name and references of Tester1LED to Tester321LED.
March 2003007
November 2002006
21 October 2002005Updated typographical errors in AppendixB, “Get ting Started and Debugger”.
07 October 2002004
August 2002003Replaced Section 5, “Software Reference”.
May 20 02002
February 2002001Initial Release.
Revised Appendix B, “Getting Started and Debugger”.
Added Appendix C, “Getting Started and Debugger”.
Added Warning to Section 3.8.4, “Logic-Analyzer Connectors” through Section 3.8.9,
“Mictor J2C1”.
Added Section 3.10.2, “PCIX Initialization Summary”.
Added Appendix B, “Getting Started and Debugger”.
Corrected various typographical errors.
Updated Notes in Table 24, ad de d Spare for S9E1 -3.
Revised Table 26
Revised Factory De fault in Table 62.
Correc ted Switch nome nclatur e in Table 66 / Table 67 and Table 74 / Tabl e 75.
, Table 27andTable 30.
Contents
Board Manual 11
Intel® IQ80321 I/O Processor Evaluation Platfo rm
Contents
This page intentionally left blank.
12Board Manual
Introduction1
1.1Document Purpose and Scope
This document describes the Intel® IQ80321 Evaluation Platform Board. This platform is targeted for
the Intel
®
80321 I/O processor (80321). The board serves as both an evaluation platform for
developers using 80321 as well as a Customer Reference Board.
The IQ80321 is intended for rapid intelligent I/O development. It is based on the 80321, a
single-function device that integrates the Intel
®
XScale™ co r e ( A RM* archi t ec tu r e co mp l iant)
with intelligent peripherals including a PCI bus application bridge.
1.2Related Documents
Table 1. Intel® 80321 I/O Processor Related Documentation List
DocumentNumber
®
Intel
80321 I/O Processor Developer’s Manual273517
®
80321 I/O Pr oc es s or Da tas h ee t273518
Intel
®
80321 I/O Processor Design Guide273520
Intel
®
80321 I/O Pr oc es s or S pe ci fic a tion Update273519
Intel
®
80321 I/O Pr oc es s or P rod uc t B rie f273525
Intel
®
Migrating from the Intel
®
80321 I/O Pr oc es s or I ni tia lization App li cation No te273522
ARMRefers to both the micropro cessor architectur e 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
evaluation boards used for in-depth testing and debugging.
Intel® IQ80321 I/O Processor Evaluation Platform
Introduction
®
XScale™ microarchitecture
Board Manual 15
Intel® IQ80321 I/O Processor Evaluation Platfo rm
Introduction
1.6Intel® 80321 I/O Processor
About the Intel® 80321 I/O processor.
The Intel
create an intelligent I/O processor. This single-function PCI device is fully compliant with the PCI Local Bus Specification, Revision 2.2. The Intel
• Intel
• PCI - Local Memory Bus A d d ress T r anslatio n U n it (ATU)
• I
• Direct Memory Access (DMA) Controller
• Peripheral Bus Interface (PBI) Unit
• Integrated Memory Controller Unit (MCU)
• Performance Monitor Unit (PMU)
• Application Accelerator Unit (AAU)
• Two I
• Synchronous Serial Port (SSP) Unit
• Eight General Purpose Input Output (GPIO) Ports
Figure 1. Intel
®
80321 I/O processor combines the Intel® XScale™ core with powerful new features to
®
80321 I/O processor-specific features include:
®
XScale™ core
O* Messaging Unit (MU)
2
2
C Bus Interface Units (BIU)
®
80321 I/O Processor Block Diagram
C
2
I
72-Bit
Interface
32-Bit
Interface
Serial Bus
Serial Bus
®
Intel
XScale™
Core
16Board Manual
DDR
Memory
Controller
Unit
Messaging
Unit
64-bit / 32-bit PCI Bus
Address
Translation
Unit
Peripheral
Bus
Interface
Internal Bus
I2C Bus
Interface
Application
Accelerator
Two
DMA
Channels
Intel® 80321 I/O Processor
SSP
Serial Bus
Performance
Monitoring
Unit
A9646-01
Intel® IQ80321 I/O Processor Evaluation Platform
Introduction
It is an integrated processor that addresses the needs of intelligent I/O applications and helps reduce
intelligent I/O system costs.
The PCI Bus is an industry standard, high performance low latency system bus. The 80321 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 supp orts a 66MHz convent ional PCI 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 80321 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 80321 contains PCI configuration space accessible
thro ugh the P CI bus.
®
80321 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 80321 includes eight General Purpose I/O (GPIO) pins.
Board Manual 17
Intel® IQ80321 I/O Processor Evaluation Platfo rm
Introduction
1.7Intel® IQ80321 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 Debu gging/Download Port (using Intel® 82544).
Flash ROM: 8 MB Fl ash 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) LED indicators.
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 P CI lo ng -car d for ma t – 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
Interposer 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” Implemen tation – Ability to make the devices plugged in the
secondary expansion slots “Private”.
• 1 x 64-bit PCI-X connector - 66 MHz.
®
82544 Gig ab it E th er n et C on t ro ller also on the se co ndary PC I-X .
• Intel
18Board Manual
Getting Started2
The IQ80321 is a software development environment for Intel® 80321 I/O processor.
2.1Kit Content
The IQ803 21 Kit contains the following items:
®
• Intel
• Code|Lab* Develo pment Environment from Accelerated Technology Incorporated*
• JTAG Emul a t i o n 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-static ba g .
IQ80321 Evaluation P latform Board
2.2.1First-Time Installation and Test
For first-time installation, visually inspect the IQ80321 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 IQ80321 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 IQ80321 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 supply 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® IQ80321 I/O Processor 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 Jumpers” on page 52.
2.4Development Strategy
2.4.1Supported Tool Buckets
For developing and debugging software application, the production version of the IQ80321 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 RTOS and Development Tools
• Monta Vista* Embedded Linux RTOS and Development Tools
• WindRiver* VxWorks* RTOS and T ornado* Development Tools
• Accelerated Technology Inc*, Nucleus Plus* RTOS and Develo pme nt Tools
2.4.2Contents of the Flash
The production version of the board contains a trio image for Redhat Redboot*, ARM Angel*, and
ATI Code|Lab Monitor . All early sample/engineering boards have the Redboot target monitor.
20Board Manual
2.5T arget Monitors
2.5.1Redhat R edboot
RedBoot* is an acro nym for “Red Hat Embedd ed Debug and Bo otstrap”, and is th e stand ard
embedded system debug/bootstrap environment from Red Hat, replacing the previous generation of
debug firmware: Cyg Mon and G DB stubs. It pr ovides 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 pro vides a s et of t ools for downl oading and exec uting programs 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 conf iguration 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 connectivit y is limited to local network only)
Intel® IQ80321 I/O Processor Evaluation Platform
Getting Started
• Attribute Configuration - user contr ol of as pects such as system time and da te (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 suppo rt for image download via serial
• Power On Self Te st
Board Manual 21
Intel® IQ80321 I/O Processor 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
microarchitecture-based development platforms, such as the IQ80321.
AFS consists of two par ts:
1. µHAL, the ARM standard board API, which is low-level firmware, designe d to provide a
common set of functions across IQ80321. These include
— System initialization software.
— Simple polled serial drivers .
— LED support.
— Timer support.
— Interrupt Controller support.
µHAL manages all the variables associated with the IQ80321. This is provided in source form
for users to embed and distribute in their own products running on an 80321. Included also as
sources and with object distribu tion rights are:
— A simple boot monitor.
— Event chaining libraries, low level ADS C++ support librar ies, benchmarking and
demonstra tion applications.
— 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 exam ple operating
syst ems such as µCOS-II. The applications ar e cu rrently.
®
XScale™
— Flash Library supporting a range of commonly used Flash parts.
— Flash management utilit ies including support for multiple Flash images using the ARM
Flash format standard.
— PCI Library that fully initializes the PCI subsystem and provide s device driver primi tives.
— DHCP Client over Ethernet of the fast download of binary images into Flash or RAM.
— Full on line documentation.
— Example OS ports.
22Board Manual
2.5.2.1ARM Angel
Angel is one of the debug monitor programs for 80321. 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 s emihost ing (f ile I/O Ope ration ) to prov ide servic es fro m the host
which are not avai lable on the target
• A full source distri bution for users in developing standalone applica tions
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)
Intel® IQ80321 I/O Processor Evaluation Platform
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® IQ80321 I/O Processor Evaluation Platfo rm
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
e
l
b
a
C
l
a
i
r
e
S
Intel® 80321
I/O Processor
Serial
Connectivity
Evaluation Platform Board
Running a
Debug Monitor
Intel
®
IQ80321
Serial
Host System
Connectivity
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
Network
Connector
Evaluation Platform Board
Intel® 80321
I/O Processor
Running a
Debug Monitor
Intel
PCI/PCI-X Platform
Server/Desktop/Backplane
®
IQ80321
A9647-01
A9648-01
24Board Manual
Intel® IQ80321 I/O Processor Evaluation Platform
2.6.3JTAG Debug Communication
Using a JTAG Emulator:
Figure 4. JTAG Debug Communication
Host System
SW Debugger
C/C++
ASM
JTAG Emulator
Getting Started
JTAG
Connector
Intel® 80321
I/O Processor
Running a
Debug Monitor
®
IQ80321
Evaluation Platform Board
Intel
Host System
Parallel
Port
PCI/PCI-X Platform
Server/Desktop/Backplane
A9649-01
Board Manual 25
Intel® IQ80321 I/O Processor 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
IQ80321 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” (Scr ub
loop). When RedBoot is succes sfully booted, it displays 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.
IQ80321 Evaluati on Platform Bo ard. While the 'reset' is asserte d, the two
26Board Manual
Intel® IQ80321 I/O Processor Evaluation Platform
Getting Started
To bri ng up a HyperTerminal session on a Win32 pl atform: Go to Start, P rograms, Acce ssories ,
Communications, HyperTerminal
• HyperTerminal setup scree ns :
— “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 Termi nal panel.
— Reset or power up IQ80321 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® IQ80321 I/O Processor 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 IQ80321.
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 'conti nue' verse the usual 'run'.
• Program hits break at main() and wait.
1. To be supplied separately.
28Board Manual
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.
Intel® IQ80321 I/O Processor Evaluation Platform
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 serial cable