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
Select … , A RM Serial Driv er, OK
Endian: Little
Configure… , Serial Port:= COM1, Baud Rate:=115200, OK, OK, OK
b. Load Image and Start
On AXD menu: File -> Load Image… -> File name: Cyclone.axf -> Open ->
c. Execute -> Select Go, Breakpoints
4. The LEDs now Flashes ‘80219’. You can set breakpoints and step to control speed or stop
location.
1. To be supplied separately.
Board Manual 29
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started
This Page Left Intentionally Blank
30Board Manual
Hardware Reference Sect ion3
3.1Functional Diagram
Figure 5 shows the functional block for the IQ80219.
Figure 5. Functional Block Diagram
Memory Battery Backup
PC1600 DDR Memory
DDR Memory Bus
Logic
Analyzer
Interface
Intel® 80219
General Purpose
PCI Processor
FLASH
ROM
IOP Peripheral Bus
16550
UART
fi
82544
Intel
Giga Ethernet
FET Quick Switches
PCI-X
Bridge
Primary PCI-X Bus 64-bits, 133 MHz
Secondary PCI-X
Secondary PCI-X Bus 64-bits, 66 MHz
Rotary
Switch
Expansion
Hex
Disp
Logic
Analyzer
Interface
B2807-02
Board Manual 31
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.2Board Form-Factor/C onnecti vity
Table 6 summarizes the form-factor and connectivity features for the IQ80219.
Table 6. Form-Factor/Connectivity Features
Description
The Intel
The IQ 80219s connects to the Primary PCI-X (P PCI-X) bus a PC I-X.
The IQ 80219 has one PCI-X expansion slot.
The IQ 80219 uses the Intel
The IQ 80219 can electrically isolate the I ntel
The IQ 80219 has one se rial port/UART (compatible with 16C550).
The IQ 80219 has one JTAG port compliant with ARM Multi-I CE 20-pin connector stan dard. The JTAG is targeted for th e Intel
XScale
Figure 6. Board Form Factor
®
IQ80219 evaluation platfor m board is a full-size PCI card w ith form factor depicte d by Figure6.
®
82544 Gigabit Ethernet Controller for network connectivity .
®
82544 Gig ab it Et h ernet Contr o ll er on the S PC I-X bu s us in g us er switches.
®
core and is used for software debug purposes .
Secondary PCI-X Connector
Logic Analyzer Connectors
Network
Connector
Logic Analyzer Connectors
Serial Connector
Rotary
Intel
82544
FLASH
HEX Display
JTAG
®
Intel® 80219
General
Purpose
PCI Processor
User Switches
DDR DIMM Connector
Battery
PCI-X
Bridge
B2806-02
32Board Manual
3.3Power
The IQ80219 draws power from the PCI-X bus. The power requirements for the IQ80219 are shown
in Table 7 below. The numbers do not include the power required by a PCI-X card mounted on the
expansion slot.
Table 7. Power Features
VoltageTypical CurrentMaximum Current
+3.3 VTBD VTBD V
+5 VTBD ATBD A
+12 VTBD mATBD mA
-12 VTBD mATBD mA
Note: Does not include the power required by a PCI-X card mounted on the expansion slot.
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
Hardware Reference Section
Board Manual 33
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.4Memory Subsystem
Memory subsystem consists of the SDRAM as well as the Flash memory subsystems.
3.4.1DDR SDRAM
The DDR SDRAM interface consists of a 64-bit wide data path to support 1.6 GB/sec throughput. An
8-bit Error Correction Code (ECC) is stored into the DDR SDRAM array along with the data and is
checked when the data is read.
Table 8. DDR Memory Features
Description
The board features two banks of DDR SDRAM in the form of one two-bank dual inline memory module (DIMM), only Un-buffered
PC1600 DIMMs.
IQ80219 evaluation platform board has a single DIMM connector supporting the DIMM arrangements listed in Table 9.
TypeSizeTypeSize
3.4.1.1Battery Backup
Battery backup is provided to save any information in DDR during a power failure. The evaluation
board contains a Li-ion battery, a ch ar g i ng circuit and a regulator circuit.
DDR technology provides enabling data preservation through the self-refresh command. When the
processor receives an active Primary PCI-X reset, the self-refresh command issues, driving SCKE
signals low. Upon seeing this condition, the board logic circuit holds SCKE low before the processor
loses power. Batteries maintain power to DDR and logic, to ensure self-refresh mode. When the
circuit detects PRST# returning to inactive state, the circuit releases the hold on SCKE. Removing the
battery can disable the battery circuit. When the battery remains in the platform when it is de-powered
and/or removed from the chassis, the battery maintains DDR for about four hours. Once power is
reapplied, the battery is fully charged.
34Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.4.2Flash Memory Requirements
T o tal Flash memory size is 8 MB.
Table 10. Flash Memory Requirements
Description
®
IQ80219 evaluation platform board Total Flash size is 8 MB.
Intel
IQ802 19 Flash technology is based on Intel Strata Flash family.
IQ80219 Flash uses a 16-bit interface.
IQ80219 Flash utili z es the 8021 9 Periphera l Bus.
IQ802 19 M ay be programme d using the PCI-X interface – Flash Recover y Utility (FRU) Utility.
IQ802 19 M ay be programme d using a RAM based software target monit or – Redhat Redb oot and ARM Firmware Suite.
IQ80219 May be programmed using a JTAG emulat ion/debug device.
Board Manual 35
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.5Intel® 80219 General Purpose PCI Processor
Operation Mode
Please refer to user switches section for mode setting during reset.
36Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
3.6Interrupt Ro uting
The IQ80219 Interrupt routing.
Figure 7. External Interrupt Routing to Intel
Intel® 80219 General Purpose
PCI Processor
Hardware Reference Section
®
80219 General Purpose PCI Processor
MUX
MUX
Primary PCI-X INTD#
Primary PCI-X INTC#
MUX
Primary PCI-X INTB#
Primary PCI-X INTA#
XINT0INTA# Gigabit Ethernet
XINT1
XINT2
XINT3
UART Interrupt
INTA# from S-PCI-X Slot
INTB# from S-PCI-X Slot
B2803-02
Board Manual 37
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
1
Hardware Reference Section
3.7Intel® IQ80219 Evaluation Platform Board Peripheral
Bus
The IQ80219 populates the peripheral bus as depicted by Figure 8.
Figure 8. Intel
®
IQ80219 Evaluation Platform Board Peripheral Bus Topology
FLASH
28F640J3A
16-bit
8 Mb
Tl*
TL16C550C
UART
* Other names and brands may be claimed as property of others.
The devices on the bus include Flash ROM, UART, HEX display, and rotary switch.
Table 11. Peripheral Bus Features
The bus speed is targeted for 33 MHz operation
The bus is utilized for attaching debug and Flash devices.
The interfaces/devices that ar e utilized include one serial port, a rotary switch, a HEX Display
Agilent*
HDSP-G211
Hex Display
Intel® 80219 General Purpose PCI Processor Bus
Description
NKK*
DR FC16
Rotary Switch
Battery
Status
Buffers
B2830-0
38Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
3.7.1Flash ROM
Table 12. F lash ROM Features
Flash is an Intel
Flash size is 8 MB
The connection to the peripheral bus is depicted by Figure 9
Figure 9. Flash Connection on Peripheral Bus
®
StrataFlash® technology – Part number: 28F640
Hardware Reference Section
Description
Intel® 80219
General Purpose
PCI Processor
FLASH
28F640J3A
CS
16-bit
8 Mb
PCE0
Intel® 80219 General Purpose PCI Processor Bus
B2831-01
Board Manual 39
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
1
Hardware Reference Section
3.7.2UART
Table 13. UART Features
Description
UART on the peripheral bus is part of the 16C550 family.
The connection to the peripheral bus is depicted by Figure 10.
Figure 10. UART Connection on the Peripheral Bus
Intel® 80219
General Purpose
PCI Processor
XINT2#
* Other names and brands may be claimed as property of others.
Texas
Instruments*
CS
TL16C550C
UART0
PCE1
INTERRUPT
Intel® 80219 General Purpose PCI
Processor Peripheral Bus
B2832-0
40Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
3.7. 3HEX Display
Table 14. HEX Display on the Peripheral Bus
Description
The Intel
display contains two digits (MSB, LSB).
The connection to the peripheral bus is depicted by Figure 11.
Figure 11. HEX Display Connection on the Peripheral Bus
®
IQ80219 evaluation platfor m board includes a HEX Display unit on the peripheral bus. The HEX
Agilent*
HDSP-G211
Hex Display
Intel® 80219
General Purpose
PCI Processor
Hardware Reference Section
* Other names and brands may be claimed as property of others.
PCE3
®
Intel
80219 General Purpose PCI
Processor Peripheral Bus
PCE2
B2833-01
Board Manual 41
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
1
Hardware Reference Section
3.7.4Rotary Switch
The IQ80219 provides a Rotary Switch for the user to select from different boot-up flavors.
Table 15. Rotary Switch Requirements
Description
Rotary switch has a 4-bit resolution (16 positions).
The connection to the peripheral bus is depicted by Figure 12.
Figure 12. Rotary Switch Connection on the Peripheral Bus
NKK DR FC 16
Rotary
®
80219
Intel
General Purpose
PCI Processor
Switch
* Other names and brands may be claimed as property of others.
PCE4
PB_AD[-:3]
Intel® 80219 General Purpose PCI
Processor Peripheral Bus
B2834-0
42Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
3.7.5Battery Status
Table 16. Battery Status Buffer Requirements
Description
The Intel
The connection to the peripheral bus is depicted by Figure 13.
Figure 13. Battery Status Buffer on Peripheral Bus
®
IQ80219 evaluation platform board provides the following sta tus for the battery:
• Battery-Present status-bit on PB data line 9
• Battery-Charge status-bit on PB data line 10
• Battery-Discharge status-bit on PB data line 12
Intel® 80219
General Purpose
PCI Processor
Battery Status
Buffer
AD 9
AD 10
Hardware Reference Section
PCE5
AD 12
BATT_DISCHRG
BATT_DISCHRG
BATT_DISCHRG
Intel® 80219 General Purpose PCI
Processor Peripheral Bus
B2835-01
Board Manual 43
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.8Debug Interface
3.8.1Console Serial Port
The pl atform has one serial port for debug pu rposes as described in Section 3.7, “Intel® IQ80219
Evaluation Pl atform Board Peripheral Bus” on page 38.
3.8.2Ethernet Port
The IQ80219 supports an Intel® 82544EI Gigabit Ethernet Controller on the secondary PCI-X bus.
3.8.2.1Intel® 82544EI Gigabit Ethernet Controller
The Intel® 82544EI Gigabit Ethernet Controller is an integrated third-generation Ethernet LAN
component capable of providing 1000, 100, and 10 Mb/s data rates. It is a single-chip device,
containing both the MAC and PHY layer functions, and optimized for LAN on Motherboard (LOM)
designs, enterprise networking, and Internet appliances that use the Peripheral Component
Interconnect (PCI) and PCI-X bus back-planes.
The 82544EI utilizes a 32/64-bit, 33/66 MHz direct-interface to the PCI bus, compliant with the PCI
Local Bus Specification, Revision 2.2. It also supports the PCI-X Addendum to the PCI Local Bus
Specification, Revision 1.0a. The controller interfaces with the 80219 through on-chip
command/status registers and using a shared memory area.
The physical layer circuitry provides an IEEE 802.3 Ethernet interface for 1000BASE-T,
100BASE-TX and 10BASE-T applications.
®
For programming information please refer to the Intel
Controller Software Developer’s Manual.
82544EI/82544GC Gigabit Ethernet
44Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
1
3.8.3JTAG Debug
The IQ80219 has a 20-pin JTAG connector that is in compliant with ARM Multi-ICE guidelines.
Warning:Be sure to fully understand the pin assignments of the particular logic analyzer being used before
connecting to the Intel
to a NC pin, hardware damage can be incurred.
Table 17. Logic Analyzer Connection
®
IQ80219 evaluation platform board. When voltage is applied, particularly
Description
The Intel
secondary PCI-X BUS.
The IQ80219 has Mictor connectors for Logic Analyzer connection on the Peripheral Bus.
The IQ80219 can facilitate placing a DDR Logic Analyzer Interface card – Connects to the DDR DIMM
connector in plac e of the DIMM.
Board Manual 45
®
IQ80219 evaluation platform board has Mictor connector s for Logic Ana lyzer connec tion on the
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.8.5Mictor J3F2
Warning:Be sure to fully understand the pin ass ignments of the particular logi c an alyzer being used before
connecting to the Intel
®
IQ80219 evaluati on platform board. When voltage is ap plied, particularly
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
I
3.9Board Reset Scheme
Figure 1 5 depicts the reset sc heme for the IQ80219. Table 23 list the reset schemes for the IQ80219.
Table 23. Reset Requirements/Schemes
Primary PCI reset, resets all devices on the board. It occurs during the power-up.
The SRST signal from the JTAG connector is a bi-directional signal that can force a reset similar to the
power-up reset on the board.
Figure 15. RESET Sources
Switch S1H2: Push Button Reset
SV-1
Circuit
Jumper J102
Description
SV-2
Circuit
Hardware Reference Section
SV-3
Circuit
To PCI-X
Bridge
Reset
Reset from Primary
PCI-X Connector
Reset
Note: SV - Supervisory
SV-4
Circuit
PCI-X
Bridge
Intel 80219
General Purpose
PCI Processor
Secondary PCI-X Reset
JTAG Connector
TRST Signal
from JTAG
Emulator
P-Bus Reset
SRST Signal
from/to JTAG
Emulator
To Intel
General Purpose PC
Processor TRST Pin
Intelfi 82544 GbE
PCI-X Connector
UART
FLASH
®
80219
B2836-01
Board Manual 51
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.10Sw itche s and Jump ers
3.10.1Switch Summary
Table 24. Switch Summary
SwitchAssociationDescription
S7E1-1-SpareOff
S7E1-2IOPRST_MODE: Sets IOP Reset-Mode operationOff
S7E1-3IOPRETR Y: Sets IOP RETRY-Mode operationOff
S7E1-4SPCI-X Bus IDSEL_EN_PCIX1: Enables GPIO IDSEL control for the PCI-X slotOff
S7E1-5SPCI-X Bus IDSEL_EN_GBE: Enables GPIO IDSEL control for GBE NICOff
S7E1-6
S7E1-7On
S7E1-8SPCI-X Clock Enables SPCI-X clock circuit enableOff
S8E1-1-SpareOff
S8E1-2SPCI-X Bus QSWITCHEN: Quick-Switch to make GbE NIC visible on the SPCI-X busOn
S8E1-3PCI-X Bridge S_INT_ARB_EN: Internal bridge arbiter operationOn
S8E1-4PCI-X Bridge S_SEL100: SPCI-X max operation frequency indictorOff
S8E1-5PCI-X Bridge S_DRVR_MODE: Driver impedance selection for SPCI-X busOn
S8E1-6PCI-X Bridge P_DRVR_MODE: Driver impedance selection for PPCI-X busOn
S8E1-7PCI-X Bridge IDSEL_REROUTE_EN: Sets the value of SPCI-X private dev maskOff
S8E1-8PCI-X Bridge OPAQUE-EN: controls OPAQUE memory registerOff
S8E2-1
S8E2-2On
S8E2-3-SpareOff
S8E2-4SPCI-X Bus M66EN: Forces the PCI 66 or 33 operation for SPCI-X BusOff
S9E1-1
S9E1-2Off
S9E1-3-SpareOn
S9E1-4PCI-X Bridge M66EN: Forces the PCI 66 or 33 operation for the primary sideOff
S1D1-1
S1D1-2Off
S1D1-3Off
S1D1-4-SpareOff
S4D1-1
S4D1-2Off
S4D1-3
S4D1-4Off
S1H2Board Reset Push-Button Reset – for debug useBounc e
a.Use opposite setti ngs when using an 8 0300- BP Back plane from Cyclone Micr o Sys tems or m ost other P CI- X b ackpl anes
b.On FAB C boards S8E2-3 is not a spare and it must be turned on.
c.Switches S4D1-1 and 2 have to always be opposite of each other.
d.Switches S4D1-3 and 4 have to always be opposite of each other.
SPCI-X Clock Set SPCI-X clock configuration
SPCI-X Bus PCIXCAP: Force PCI-X capability for SPCI-X Bus
PCI-X Bridge PCIXCAP: Set Primary PCI-X capability for the bridge
DDR Memory SPD EEPROM: Configure serial EEPROM Address Range
SPCI-X Bus Selects Private/Public IDSEL routing for PCI-X expansion slot
SPCI-X Bus Selects Private/Public IDSEL routing for GBE NIC
(switches S7E1-3, S8E1-7, S4D1-1, 2, 3, 4).
Factory
Default
a
Off
a
Off
b
Off
Off
a, c
On
a, c
a, d
On
a, d
52Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
3.10.2PCIX Initialization Summary
Figure 1 6 shows a routing guidance on how PCI-X mode is determined/implemented on the
secondary side of the PCI-X bridge. The 80219, GbE device, and the PCI-X expansion slot all reside
on this bus.
Figure 16. PCI-X Routing Diagram on Second ary PCI-X Bridge
Hardware Reference Section
Switch
S8E1-4S7E1-8S7E1-6
Sel 100EnableSelectionPCIXCAPM66EN
PCI-X
Bridge
PCI-X Clock
PCIXCAP
M66EN Signal
S_DEVSEL
S_FRAME
S_IRDY
S_STOP
Signals
S_TRDY
Initialization
Switch
Switch
33 MHz
Clock
Multiplier/Buffer
3.10.2.1User Defined Switches
User can set the PCIXCAP signal to force one of the following modes:
• PCI-X 100/133• PCI-X 66• PCI
S7E1-7S8E2-1 S8E2-2S8E2-4
100 MHz
66 MHz
SwitchSwitch
133 MHz
OSC
r
SPCI-X Slot
Intel®80219
General
Purpose
PCI
Processor
82544
Gigabit Ethernet
B2840-01
The IQ80219 platform is by default set to operate this bus in PCI-X 66 MHz mode. The loading on
the secondary PCI-X bus may result in marginal operation when speed is greater than that.
When an expansion card is placed on the PCI-X expansion slot, the mode is based on the least
capable device on the bus. For example, when the bus is forced to be PCI-X 66 capable and then
places a PCI 66 card in the expansion slot, then the bus is configured as PCI 66.
Important: The clock selection is manually configured. Pay close attention to s etting this up correctly .
Important: All settings must be done prior to power-up/reset.
3.10.2.2PCI-X Bridge Initialization Signals
The On-board PCI-X bridge samples the PCIXCAP , SEL100, and M66EN signals to drive/indicate the
correct mode to the secondary bus devices. The 80219 uses these signals to set its internal PLs,
providing correct frequency to the Intel XScale
Board Manual 53
®
core, as well as internal, peripheral, and DDR buses.
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.10.3Default Switch Settings - Visual
Table 25. Switch S7E1
S7E1
3
a
OffOffOffOnOff
S7E1
4
S7E1
5
S7E16S7E1
OffOffOff
S7E1
1
a.Use opposite setti ngs when using an 8 0300- BP Back plane from Cyclone Micr o Sys tems or m ost other P CI- X b ackpl anes
(switches S7E1-3, S8E1-7, S4D1-1, 2, 3, 4).
S7E1
Table 26. Switch S8E1
OffOnOnOffOnOnOffOff
2
S7E1
7
8
S8E1
1
S8E1
Table 27. Switch S8E2
OffOnOffOff
S8E2
1
S8E2
Table 28. Switch S9E1
OffOffOnOff
S9E1
1
S9E1
Table 29. Switch S1D1
OffOffOffOff
S1D11S1D12S1D1
Table 30. Switch S4D1
a,b
On
S4D11S4D12S4D1
a.Use opposite setti ngs when using an 8 0300- BP Back plane from Cyclone Micr o Sys tems or m ost other P CI- X b ackpl anes
(switches S7E1-3, S8E1-7, S4D1-1, 2, 3, 4).
b.Switches S4D1-1 and 2 have to always be opposite of each other.
c.Switches S4D1-3 and S4D1-4 have to always be opposite of each other.
Off
S8E1
2
2
2
a,b
3
S8E2
3
S9E1
3
3
On
3
a,c
S8E1
4
S8E2
4
S9E1
4
S1D1
4
a,c
Off
S4D1
4
S8E1
5
S8E16S8E1
7
S8E1
8
54Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
3.10.4Jumper Summary
Table 31. Jumper Summary
JumperAssociat ionDescrip tionFactory Default
J1G2PPCI-X ResetCan isolated the PCI-X reset from getting to the board.2-3
J3E1SPCI-X ClockEnables spread-spectrum on the SPCI-X clock.2-3
J3G1PCI-X BridgeEnables Bridge access from the SPCI-X side.2-3
J9E1PCI- X BridgeEnables Base Address Register (BAR).2-3
J9F1PCI-X Bridge
3.10.5Connector Summary
Table 32. Connec tor Summary
ConnectorDescription
J1F1RJ45 Network C onnector for G bE NIC
J1G1RJ11 Serial Port Connector for UART
J7A120-Pin JTAG Debug Connector
J1C1Logic analyzer Mictor Connector for SPCI-X Bus
J2C1Logic analyzer Mictor Connector for SPCI-X Bus
J3C1Logic analyzer Mictor Connector for SPCI-X Bus
J2F1Logic analyzer Mictor Connector for 80219 Peripheral Bus
J3F2Logic analyzer Mictor Connector for 80219 Peripheral Bus
J3F1General Purpose I/O (GPIO) Header – GPIO 0-2
J1A1Secondary PCI-X Expansion Slot
J1B1Secondary PCI-X Expansion Slot – Not Populated
J2H1Primary PCI/PCI-X Edge Connec tor
J6G1DDR DIMM Connector
J8H1Connector for Batte ry
Hardware Reference Section
Allows user to control initialization sequence on the
bridge.
2-3
3.10.6General Purpose Input/Output Header
The boa rd has three pro gram mable gener al -pur pose I/ O pin s (GPI O 0-3 on the 803 21). T hes e pins are
connected to a 6-pin, 2.54 mm (0.100") header (connector J3F1).
Table 33. GPIO Header (J3F1) Definition
PinSignalPinSignal
1GPIO04 GND
2GPIO15 GND
3GPIO26 GND
Board Manual 55
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
a.133 MHz operation is not planned.
b.100 MHz operation is margi nal due to the number of PCI-X loads an d has not been validated. The results may vary
depending on what devices plug into the expansion slot.
c.don’t care.
c
c
OnOn
OnOn
c
c
3.10.8Primary PCI/PCI-X Operation Settings
Table 35. Primary PCI/PCI-X Operation Settings
S9E1-1S9E1-2S9E1-3S9E1-4S8E1-6Operation Mode
OffOffOnOffOffPCI-X 133 MHz
a
b
OffPCI 66MHz
OnPCI 33MHz
56Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
RESET MODE is latched at the de-asserting edge of P_RST# and it determines when the 80219 is held
in reset until the Intel XScale
®
core Reset bit is cleared in the PCI Configuration and Status Register.
Table 37. S witch S7E1-2: RST_MO DE: Settings and Operation Mode
S7E1-2Operation Mode
Off1 Pulled Up: Don't hold in reset (Default mode).
On0 Pulled Down: Hold in reset.
3.10.9.1.2S7E1-3: RETRY
RETRY is latched at the de-asserting edge of P_RST# and it determines when the Primary PCI
interface disable PCI configuration cycles by signaling a Retry until the Configuration Cycle Retry bit
is cleared in the PCI Configuration and Status Register.
Table 38. S wit ch S7E1-3: RETRY: Settings and Operation Mode
OffDisable internal bridge arbiter, use external arbiter.
OnUse inter n al ar bi ter.
3.10.9.7Switch S8E1- 4
Used to choose between 100 MHz and 133 MHz maximum operating frequency on the secondary
interface when in the PCI-X mode. It has no meaning in the PCI mode.
When the bridge initially samples a b’1’ value on the S_PCIXCAP input, then all clients on the bus
are capable of PCI-X 133 operation. The bridge then samples the S_SEL100 input to distinguish
between the 66-100 MHz and the 100-133 MHz clock frequency ranges. When it detects a b’1’ value
on the S_SEL100 input, the bus is initialized with the PCI-X 100 initialization pattern. When the
value is b’0’, the PCI-X 133 initialization pattern is used. These two ranges allow adjustment of the
clock frequency to account for bus loading conditions.
Since the internal PLL is bypassed in the PCI mode and the S_CLK input is used directly, the IBM
133 PCI-X Bridge R2.0 has no need to distinguish between the PCI 66 and PCI 33 modes. Therefore
the bridge does not have an I/O pin for the M66EN signal on its secondary interface.
Table 51. Switch S8E1 - 4: Descriptions
SwitchAsso c iationD es cri p t ionFacto r y Def a ult
S8E1-4PCI-X BridgeS_SEL100: SPCI-X max operation frequency indictor.Off
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
3.10.9.8Switch S8E1- 5
When this input is pulled high (off), the bridge changes the output impedance of the drivers to the
opposite state than was assumed by default, as shown in Table 54 below:
3.10.9.8.1Switch S8E1 - 5: Descriptions
SwitchAssociationDescriptionFactory Default
S8E1-5PCI-X Bridge
Table 53. Switch S8E1 - 5: Settings and Operation Mode
S_DRVR_MODE: Driver impedance selection for
SPCI-X bus.
Default Driver Mode
(S_DRVR_MODE=0, On)
Hardware Reference Section
On
Driver Mode when
(S_DRVR_MODE=1, Off)
3.10.9.9Switch S8E1- 6
When this input is pulled high (off), the bridge changes the output impedance of the drivers to the
opposite state than was assumed by default, as shown in Table 57 below:
Table 55. Switch S8E1 - 6: Descriptions
SwitchAssociationDescriptionFactory Default
S8E1-6PCI-X Bridge
Table 56. Switch S8E1 - 6: Settings and Operation Mode
P_DRVR_MODE: Driver impedance selection for
PPCI-X bus.
Default Driver Mode
(P_DRVR_MODE=0, On)
Off
Driver Mode when
(P_DRVR_MODE=1, Off)
Board Manual 61
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
3.10.9.10Switch S8E1- 7
Used to enable the IDSEL reroute function at reset or power-up. The reset value of the secondary bus
private device mask register is modified according to the tie value of the IDSEL_REROUTE_EN pin.
0 = on: reset value of the se condary bus private device mask registe r is x’00000000’.
1 = off: reset value of the secondary bus private device mask register is x’22F20000’.
Table 58. Switch S8E1 - 7: Descriptions
SwitchAssociationDescriptionFactory Default
S8E1-7PCI-X Bridge
IDSEL_REROUTE_EN: Sets the value of SPCI-X
privat e device mas k.
OffPCI-X Bridge hides the devices that using private sp ace address lines.
OnPCI-X Bridge does not hide any devices.
3.10.9.11Switch S8E1- 8
Used to enable the opaque memory region at reset or power-up. The reset value of bit 0 of the
opaque memory enable register is modified according to the tie value of the OPAQUE_EN pin.
0 = on: reset value of bit 0 of the opaque memory enable register is b’0’.
1 = off: reset value of bit 0 of the opaque memory enable register is b’1’.
This register enables the opaque memory base, opaque memory limit, opaque memory base upper
32 bits, and the opaque memory limit upper 32 bits registers. These registers specify a range of 64-bit
memory addresses that are used exclusively on the secondary PCI bus and are not to be accepted by
the bridge on either the primary or secondary interfaces.
Used as a chip select during configuration read and write transactions on the secondary bus.
Applications that do not require access to the bridge configuration registers from the
secondary bus pull this pin low.
2-3
Table 80. Jumper J3G1: Descriptions
JumperAssociationDescriptionFactory Default
J3G1PCI-X BridgeS_IDSEL: Enables Bridge access from the SPCI-X side.2-3
Table 81. Jumper J3G1: Settings and Operation Mode
J3G1Operation Mode
Pins 1,2
Pins 2,3
66Board Manual
Uses S_IDSEL as chip select during configuration read and write transac tions on the
secondary bus.
S_IDSEL is pulled dow n for application that do not require access to bridge configuration
registers from secondary bus.
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
3.10.9.22Jumper J9E1
Base Address Register Enable:
Used to enable the base address register at reset or power-up. The 64-bit register located at
offsets x'10' and x'14' is used to claim a 1 MB memory region when enabled. The register returns
all zeroes to read accesses and the associated memory region is not claimed when disabled.
0 = (1-2): BAR disabled, register reads returns 0s, no memory region claimed.
1 = (2-3): BAR enabled, bits 63:20 can be written by software to claim a 1 MB memory region.
Table 82. Jumper J9E1: Descriptions
JumperAssociat ionDescript ionFactory D efau l t
J9E1PCI-X BridgeBAR_EN: Enables Base Address Register (BAR)2-3
Table 83. Jumper J9E1: Settings and Operation Mode
J9E1Operation Mode
Pins 1,2Pulled up. BAR disabled, register reads return 0s, no memory region claimed.
Pins 2,3
Pulled down. BAR en abled, bits 63:20 can be written by sof tware to cla im a 1 MB memory
region.
Hardware Reference Section
3.10.9.23Jumper J9F1
Primary Configuration Busy:
Controls the reset and power up value of bit 2 of the miscellaneous control register. Used to
sequence initialization with regard to th e prim ary and secondary buses for applicat ions that
require ac cess to the bridge configuration registers from the second ary bus. When pulled high,
the configuration commands received on t he primary bus are retried until such time as bit 2 of
the miscellaneous control register is set to b‘0’ by a configuration write initiated from the
secondary bus. Applications that do not require access to the bri dge configuration registers
from the secondary bus pul l this signal to ground.
0 = (2-3): Reset value of bit 2 of the miscellaneous control register is b‘0’.
1 = (1-2): Reset value of bit 2 of the miscellaneous control register is b‘1’.
Table 84. Jumper J9F1: Descriptions
JumperAssociat ionDescript ionFactory D efau l t
J9F1PCI-X Bridge
Table 85. Jumper J9F1: Settings and Operation Mode
J9F1Oper a tion Mode
Pins 1,2Pulled up. Res et value of bit 2 of the miscellaneous control register to b’0’.
Pins 2,3Pulled down. Reset value of bit 2 of the miscellaneous control register to b’1’.
P_CFG_BUSY: Allows user to control initialization
sequence on the bridge.
2-3
Board Manual 67
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Hardware Reference Section
This Page Left Intentionally Blank
68Board Manual
External RAID Section4
The IQ80219 provides the capability for the user to develop RAID applications. There is a
requirement to provide the ability of making the secondary PCI-X devices private and the ability to
route the interrupt lines. The following requirements describe this capability.
4.1Private Device Configuration
The de vices on the SPCI-X bus (Exp ansion Slot and Intel® 82544 Gigabit Ethernet Controller) are
configured as private devices based on Table 86 requirements.
The Secondary PCI-X Expansion slot is configured as private by either the 80219 (Using a GPIO pin) or IBM
PCI-X Bridge.
The Intel
IBM PCI-X Bridge.
The device configu ration scheme is based on Figure 17.
Figure 17. IDSEL Routing for Private Device Configuration
®
82544 Gig ab it E the rn et Co nt rol le r is con f ig ure d as pri va te by ei ther t he 80 21 9 ( Usi ng a GP IO pin) o r
Intel® 80219
General Purpose
PCI Processor
IDSEL
S-Ad Line 28
S-Ad Line 22
Private SpacePublic Space
Bridge
GPIO IDSEL_EN_PCIX1
GPIO IDSEL_EN_GBE
Dip Switch
S4D1
S-Ad Line 18
S-Ad Line 20
PCI-X
S-Ad Line 24
IDSEL_REROUTE_EN
DipSwitch
S7E1
U3D1
U3D1
Dip Switch
S8E1-7
SPCI-X Slot
PCIX_IDSEL
GBE_IDSEL
Intel® 80219
General Purpose
PCI Processor
Gigabit Ethernet
B2837-01
Board Manual 69
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
External RAID Section
4.2Interrup t Rout ing
The interrupt lines for devices on the SPCI-X bus (Expansion Slot and Intel® 82544 Gigabit Ethernet
Controllerr) are routed based on requirements.
Table 87. Interrupt Routing for Secondary PCI-X Private Device
NumberDescription
4.2.1
4.2.2
4.2.3The interrupt routing scheme is based on Figure 18.
The INTA# and INTB# of PCI-X Expansion Slot are routed to XINT0# and XINT1# External
Interrupt inputs on the 80219.
The INTA# of Intel 82544 Controller is routed to XINT2# External Interrupt input on the
80219.
Figure 18. Interrupt Routing for Private Device Configuration
Intel® 80219 General Purpose
PCI Processor
XINT0#
XINT2#
XINT3#
INTD#
MUX
INTC#
MUX
INTB#
MUX
INTA#
Intel® 82544
Gigabit Ethernet
INTA#
INTB#
INTA#
SPCI-X Slot
INTD#
INTC#
INTB#
INTA#
PPCI-X Bus
B2838-01
70Board Manual
Software Reference5
5.1DRAM
For DDR SDRAM Sizes and Configurations, see section 7.2.2.1, table 139 of theIntel® 80219
General Purpose PCI Processor Developer’s Manual. Table 89 provides DDR SDRAM Address
Register Definitions, while this sections also contains multiple examples of Address Register
Programming.
®
See the Intel
supported DDR and SDRAM configurations.
80219 General Purpose PCI Processor Design Guide, section 7.1, table 16 for
The Intel
®
80219 general purpose PCI processor (80219) supports 2.5 V DDR memory. Table 88
lists the minimum/maximum values for t he DDR memory bias voltages:
Table 88. DDR Memory Bias Voltage Minimum/Maximum Values
SymbolParameter
V
CC25
V
REF
V
TT
For all registers relating to DRAM and other MCU related registers, see section 7.6, Table 149 of the
®
80219 General Purpose PCI Processor Developer’s Manual.
Intel
2.5 V Supply Voltage2.32.7V
Memory I/O Reference Voltage1.151.35V
DDR Memory T ermination VoltageV
MinimumMaximum
REF
Voltages
- 0.04V
5.2Components on the Peripheral Bus
The 80219 has a peripheral bus which contains the following peripheral devices:
• Flash ROM
• UART
• Rotary Switch
+ 0.04V
REF
Units
• Hex Display
Peripheral memory-Mapped Register Locations for the Peripheral Bus Interface Unit can be found in
the Intel
7 of 12. The appropriate Base address and Limit registers must be set for each of the six chip enables
(PCE0-5). Each peripheral and its corresponding PCE# are described in this section.
All registers associated with the PBI can be found in the IntelProcessor Developer’s Manual, section 8.6, table 12 8.
Board Manual 71
®
80219 General Purpose PCI Processor Developer’s Manual, Secti on 7.5, Table 298, sheet
®
80219 General Purpose PCI
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Software Reference
5.2.1Flash ROM
The Flash ROM is an 8 MB Intel® StrataFlash® (part# 38F640) that sits on the Peripheral Bus and is
accessed using PCE0.
Figure 19. Flash Connection to Peripheral Bus
FLASH
28F640J3A
16-bit
8 Mb
CS
Intel® 80219
General Purpose
PCE0
PCI Processor
Intel® 80219 General Purpose PCI Processor Bus
B2831-01
Under normal operation, the very first instruction access by the Intel XScale
®
core begins at location
0x0 on the 80219 Internal Bus. By default, address 0x0 is pointing to PCE0 where flash is located.
See the Intel
®
Flash Recovery Utility (FRU) Reference Manual for details on how to upload /
FE81 0000HReceive Holding RegisterTransmit Holding Register
FE810001HUnusedInterrupt Enable R egister
FE81 0002HInter ru pt Status Re gi sterFIFO Con trol Regist er
FE810003HUnusedLine Control Register
FE810004HUnusedModem Control Register
FE810005HLine Status RegisterUnused
FE810006HModem Status RegisterUnused
FE810007HScratchpad RegisterScratchpad Register
XINT2#
Texas
Instruments*
TL16C550C
UART0
INTERRUPT
Intel® 80219 General Purpose PCI
Processor Peripheral Bus
CS
PCE1
B2832-0
.
5.2.3Rotary Switch
The Rotary switch changes the value of a memory mapped register so it can be read later from
software. For example, it can be used to allow the user to select from various boot-up flavors. The
Rotary Switch is accessed using Peripheral Chip Enable #4 (PCE4) through PC_AD[0:3].
Board Manual 73
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Software Reference
5.2.4HEX Display
The HEX Display is an Agilent* HDSP-G211, which allows for monitoring of two digits. It sits on
the Peripheral Bus and is accessed using PCE2 and PCE3 as shown here:
Figure 21. Hex Display Connection to Peripheral Bus
Agilent*
HDSP-G211
Intel® 80219
General Purpose
PCI Processor
Hex Display
®
Intel
PCE2
PCE3
80219 General Purpose PCI
Processor Peripheral Bus
* Other names and brands may be claimed as property of others.
Redboot* uses address range 0xFE84 0000 - 0xFE84 0FFF for the left 7-segment LED (PCE3) and
address range 0xFE85 0000 - 0xFE85 0FFF for the right 7-segment LED (PCE2).
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Software Reference
5.3Ethernet
The 82544EI utilizes a 32/64-bit, 33/66 MHz direct-interface to the PCI bus. The controller interfaces
with the 80219 through on-chip command/status registers and using a shared memory area.
The intended usage of this chip is for high speed upload, download, and debugging. It is also used for
developing network storage applications. ARM-AFS, Redboot, VxWorks* and other standard OSs
come with support for this chip.
For more detail see Section 3.8.2 of this manual for a detailed description of the onboard Ethernet
controller. For programming information please refer to the Intel® 82544EI/82544GC Gigabit Ethernet Controller Software Developer’s Manual.
76Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
Software Reference
5.4Board Support Package (BSP) Examples
Examples provided in this section are based on the Red Hat* Redboot software running on the
IQ80321 board.
5.4.1Intel® 80219 General Purp ose PCI Processor Memo ry Map
Figure 2 5 depicts the memory space for the IQ80219 (before Redboot boots):
Figure 25. Intel
®
80219 General Purpose PC I Proce ssor Memor y Map
0000 0000h -
7FFF FFFFh
8000 0000h -
9001 FFFFh
9002 0000h -
FFFF DFFFh
FFFF E000h -
FFFF E8FFh
ATU Outbound Direct
Addressing Window
ATU Outbound
Translation Window
Default starting address
for FLASH
(PCE0 on the PBI)
Code / Data
External Memory
Peripheral Memory-Mapped
Registers
®
Intel
FFFF E900h -
FFFF EFFFh
80219 General Purpose
PCI Processor
B2841-01
Board Manual 77
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Software Reference
5.4.2Redboot* Intel® IQ80219 Memory Map
The virtual memory maps use a C, B, and X column to indicate the caching policy for the region.
XCBDescription
000Un-cached/Un-buffered
001Un-cached/Buffered
010Cached/Buffered Write Through, Read Allocate
011Cached/Buffered Write Back, Read Allocate
100Invalid -- not used
101Un-cached/Buffered No write buffer coalescing
110Mini D-Cache - Policy set by Auxiliary Control Register
111Cached/Buffered Write Back, Read/Write Allocate
Physical Address RangeDescription
0x00000000 - 0x7FFFFFFFATU Outbound Direct Window
0x80000000 - 0x900F FFFFATU Outbound Translate Windows
0xa0000000 - 0xBFFF FFFFSDRAM
a
0xf000 0000 - 0xF080 0000FLASH (PB IU
0xfe80 0000 - 0xFE80 0FFFUART (PBIU CS1)
0xfe84 0000 - 0xFE84 0FFFLeft 7-segment LED (PBIU CS3)
0xfe85 0000 - 0xFE85 0FFFRight 7-segment LED (PBIU CS2)
0xfe8d 0000 - 0xFE8D 0FFFRotary Switch (PBIU CS4)
0xfe8f0000 - 0xFE8F 0FFFBatte ry Stat us (PBIU CS5)
0xfff0 0000 - 0xFFFF FFFF80219 Memory Mapped Registers
a.PBIU: 80219 Peripheral Bus Interface Unit.
b.CS: Chip-Select for the PBIU on the 80219.
CS0b)
Default Virtual MapXCBDescription
0x00000000 - 0x1ff fffff111SDRAM
0x20000000 - 0x9ff fffff000Outbound Direct Wi ndow
0xa0000000 - 0xb00fffff000Outboun d Translate Windows
0xc0000000 - 0xdfffffff000Un-cached alias for SDRAM
0xe0000000 - 0xe00fffff111Cache flu sh region (no phys memory)
0xf000 0000 - 0xf0800000010Flash ( PBIU CS0)
0xfe800000 - 0xfe8 00fff000UART (PBI U CS1)
0xfe840000 - 0xfe840fff000Left 7-segment LED (PBIU CS3)
0xfe85 0000 - 0xfe850fff000Right 7-segment LED (PBI U CS2)
0xfe8d0000 - 0xfe8 d0fff000Rotary Switch (PBIU CS4)
0xfe8f 0000 - 0xfe8f0fff000Battery Status (PBIU CS5)
0xfff00000 - 0xffffffff00080219 Memory Mapped Registers
78Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
5.4.5Redboot Intel® IQ80219 Files
Attached in the kit, find a copy of the Red Hat eCos for 80219r CD. Once the CD is installed, you
may find:
• •The Redboot initialization code source files from the following location:
From the installed directory:
..\Red Hat\eCos\packages\hal\arm\xscale\iq80321\current\include
• •The Redboot binary image files (downloadable onto Flash) from the following location:
From the installed directory:
..\Red Hat\eCos\loaders\iq80321
T o a ccess Red Ha t GNU Pr o t ool s in c lud i ng Re db oo t b i nar ie s a nd s o ur ce co de , y ou ma y al so go t o th e
following location on the Intel site:
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Software Reference
5.4.6Redboot Intel® IQ80219 DDR Memory Initialization Sequenc e
In order to set the correct ECC bits, a DDR memory system (DIMM or discrete components) must be
written to with a known value. This process requires 64-bit writes to the entire DDR memory intended
for use. The following explains the sequence for memory initialization by Redboot on an IQ80321
board with an ECC DIMM. It also includes an example for the scrub (ECC initialization) code.
Initialization Sequence:
1. Disable interrupts. (Technically they are disabled at reset, but for soft reset this is included.
2. Init PBIU (Peripheral Bus Interface Unit) chip selects.
3. En ab l e I cache.
4. Move Flash to 0xF0000000.
5. Set TTB and Enable MMU.
6. Read DIM for memory parameters.
7. Set Memory Drive Strengths.
8. Set Memory Parameters.
9. Delay.
10. Turn DDRAM on.
11. Delay.
12. Enable Data Cache.
13. Enable BTB.
14. Flush all.
15. Clear ECC error logs.
16. Battery Test.
17. Enable ECC.
18. Scrub loo p: Write zeros to all mem or y locations
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
5.4.7Redboot Switching
• S8E1-2 ON: Enable GbE on the SPCI-X Bus.
• S8E1-7 OFF: PCI-X Bridge hides devices using Private Space Address lines.
• S4D1 ON-OFF-ON-OFF: GbE and Expansion Slot P rivate Space.
All other switches are left in default positions.
Software Reference
Board Manual 83
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Software Reference
This Page Left Intentionally Blank
84Board Manual
IQ80310 and IQ80219 ComparisonsA
This appendix provides a brief description for differences between IQ80219 and IQ80310. Please also
refer to application note: Migrating from the Intel
®
80310 I/O Pro c e ssor Chipset to the Intel® 80219
General Purpose PCI Processor Application Note 273562.
Network Debug PortIntel® 82544 GbE on the PCI-X bus
Rotary SwitchSameSame
LED HEX Dis pla yS am eSame
JTAG20-PIN ARM Compliant
Logic Analyzer Connection
IQ80310 and Intel® IQ80219 evaluation platform board Comparisons
®
Intel
IQ80219 Evaluation Platform Board
®
80219 ge neral purpose PCI processor
Intel XScale
Extended PC board that attaches to a
PC/Server/Backplane – One PCI-X Expansion Slot
PCI-X 13 3-MHz/64 -B i ts or
PCI 66 MHz/64 Bits
IBM PCI-X Bridge
Reference: IBM 133 PCI-X Bridge
http://www.chips.ibm.com/
External interrupts are routed throug h the XINT
pins on the 80219. They include INT A , INTB form
PCI-X expansion slot, INTA from 82544 GBE, and
UART interrupt – Steering and Status regi sters are
in 80219 – see Intel
Processor Developer’s Manual
Internal to 80219 – Refer to Intel
Purpose PCI Processor Developer’s Manual
32-bit/33-100MHz multiplexed bus with six
chip-enables, Synch/Asynchronous (IQ80219
operates in 33 MHz Asynchronous mode) –
Refer to PBI section in Intel
Purpose PCI Processor Developer’s Manual
16-bit, 8 MB accessed th rough Peripheral Bus
with chip-enable 0 (PCE0)
One UAR T on the Peripheral bus – 16C5 50
device
“Worchester”
®
microarchitectureIntel XScale® microarchitecture
®
80219 General Purpose PCI
®
80219 Gen era l
®
80219 General
Intel® IQ80310 Evaluation Platform Board
®
80310 I/O processor chipset -Consists of
Intel
®
Intel
80200 processor and Intel® 80312 I /O
compan ion chip
Extended PC board that attaches to a
PC/Server/Backplane – Two PCI Expansion Slots
PCI 66 MHz/64Bits
Integrated PCI bridge in 80312.
UART1, UART2, External Timer, and Secondary
INTD are multiplexed in the CPLD and
connected to 80312 ex ternal interrupt (XINT3).
Seconda ry PCI INTA, B, C are straight through
conn ec tio n to 80 312 XINT0, 1, 2.
In CPL D
8-bit multiplexed Flash-bus with two
chip-enables
8-bit, 8 MB accessed trough Flash-Bank1 with
chip-enable 1 (RCE1)
Two UART on the Flash bank with some logic in
the CPLD – 16C550 device
Intel® 82559 PRO100 device on the secondary
PCI Bus
“Cyclone”
Board Manual 85
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
IQ80310 and IQ80219 Com pariso ns
This Page Left Intentionally Blank
86Board Manual
Getting Started and DebuggerB
B.1Introduction
This appendix pertains to Code|Lab version 2.2 and earlier, which uses the Microsoft Visual
Studio 6.0. For Code|Lab version 2.3 and later, refer to Appendix C, “Getting S tarted and
Debugger”.
B.1.1Purpose
The purpose of this appendix is to help the user setup and become familiar with the Intel® IQ80219
evaluation platform board (IQ80219) some of the development tools. This appendix steps the user
through an exam ple program using:
• Code|Lab EDE• Code|Lab EDE debugger• Macraigor* Raven* JTAG
This exercise includes hardware and software setup, and it includes compiling, linking, executing,
and debugging with the development tools. Using example code, the exercise tours the major features
of the debugger, explores some of the basics of debugging, gains a general understanding of the A TI*
development tools, and tours the prerequisites for developing a new application.
B.1.2Necessary Hardware and Software
This example uses the ATI Code|Lab plug-in for Microsoft* Visual Studio 6.0, the GNU* Pro
compiler, the Macraigor Raven JTAG, and the IQ80219.
B.1.3Related Documents
T able 91. Related Documents
Document TitleDocument #
®
80219 General Purpose PCI Processor Developer’s Manual274017
Intel
®
80200 Processor based on Intel® XScale™ Microarchitecture Developer’s Manual273411
Intel
Hot-Debug for Intel
ARM Assemblers Guide (http://www.arm.com/support/574FKU/$File/ADS_AssemblerGuide_B.pdf
ADS Debug Target Guide (http://www.arm.com/support/574FWT/$File/ADS_DebugTargetGuide_D.pdf
Code|Lab Debug for ARM
a.This document installs to C:\Ati\docs\codelab debug.pdf.
®
XScale™ Core Debug White Paper273539
)
a
)
Many of these documents load as part of ATI Code|Lab install (Start/Programs/ Accelerated
Technology/Documentation). This menu co ntains both the ARM * ADS and Code|Lab documents.
Board Manual 87
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
r
B.2Setup
B.2.1Hardware Setup
Use Figure 28 and the rest of the Intel® IQ80219 Evaluation Platform Board Manual, to set up the
hardware.
• Connect the Raven to the host via the parallel port and to the evaluation board via the 20-pin
JTAG connector.
Note: The parallel port must be configured to EPP mode for the Macraigor Raven to work properly.
The parallel port setting can be changed in the BIOS setup program or in Control Panel. More
information on the Raven can be found at the Macraigor web site. Test software for the Raven is free
and available for download at:
• Connect a serial cable from the evaluation board to the host.
Note: The serial cable connects to the evaluation board with an RJ11 connector and connects to the host
computer serial port via an RJ11 to DB9F adaptor. The serial po rt configuration is covered in the
configuration section below.
Gettin g Start ed a nd Debugger
• The IQ80219 plugs into a bus master PCI or PCI-X sl ot on the backplane or platform.
Note: There are many dip switches on the evaluation board which are used to configure the IBM bridge. Use
the dip switch and jumper sections of the Intel
3.10.2 to configure these switches. A work sheet is highly recommended when working out the switch
settings, Since there are a large number of switches, a record of the settings and the reasons for their
selection very useful. Check the system requirements of Microsoft Visual Studio and ATI Code|Lab to
make sure that the host is sufficient. The platform or backplane must have a 3.3 volt PCI-X or PCI slot.
The evaluation board is not 5 volt tolerant and damage occurs when 5 volts are applied.
Figure 28. Intel
®
®
IQ80219 Hardware Setup Flow Chart
Host
Serial Cable
Evaluation Board
IQ80219 Evaluation Platform Board Manual, section
Parallel Port Cable
JTAG
20-Pin JTAG Connecto
Backplane or PCI-X Platform
Board Manual 89
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started and Debugger
B.2.2Software Setup
ATI Code|Lab is a plug-in to Microsoft Visual Studio 6.0; therefore, Microsoft Visual Studio 6.0 must
be installed on the host system before installing ATI Code|Lab. To load A TI Code|Lab, run setup.exe
under the program directory. Do not install over an old version of ATI Code|Lab. When necessary,
uninstall the old Code|Lab with Add/Remove Programs under the Control Panel before starting the
new installation. To view the soft copies of document, Adobe Acrobat Reader is needed. The latest
version can be downloaded at (http://www.adobe.com
Figure 29. Software Flow Diagram
ATI Code|Lab
Macraigor DLL
Debug Monito r Cod e
Resi de s in t he Flash
).
Applic a tion Code
Loads in to Memory
Evalua tio n B oa r d
MemoryFlash
90Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
B.3New Project Setup
B.3.1Creating a New Project
1. Launch Code|Lab EDE and select “Tools/Customize/Add-ins/Macro Files”.
a. Chec k “Co d e|Lab EDE ” an d cli ck Close.
2. Select “File/New…/Project”, then “Code|Lab EDE Project Wizard”
a. Fill - in th e Project Name box with “Tester1LED”
b. Set an ap pr o p r iate Location path.
Note: The directory “Tester1LED” is created under the path specified in the Location box.
c. Click OK.
3. In the Code|Lab EDE Project Wizard Window:
a. Expa nd th e Redhat GNU Tools for XScale item.
b. Select the appropriate evaluation board.
Gettin g Start ed a nd Debugger
4. Click Finish, then OK on the next window.
5. From h
6. Add the newly downloaded files to the project:
ttp://developer.intel.com/design/iio/swsup/Tester1LED.htm, download the following
zip file (…/Tester1LED) from the Softwa re Supp ort secti on, cont aining the example code fi les
to the newly created project folder:
Tester1LED.zip
blink.c
blink.h
led.c
led.h
a. Go to the “FileView” tab in the Code|L ab environment.
b. Right click “Tester1LED Files”.
c. Click “Add Files to Project…”.
d. Select the four files from step 5.
e. Click OK.
Board Manual 91
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started and Debugger
B.3.2Configuration
On the tool bar, click on the icon that looks like a file folder with the letters “EDE” on it. When the
mouse arrow is placed on it, a text box displays “Project Settings”.
Note: There is no main menu way to acces s the project settings.
1. Download and expand the followi ng file into a directory such as “C:\Redhat”
h
ttp://developer.intel.com/design/intelxscale/dev_tools/020828/RedBoot Deb ug Monitor for
the Intel® IQ80310/IQ80321/IQ80219 boards.
2. Under the “Project” tab, check al l four boxes.
3. Under the “D irectories” tab, make sure that the following paths are iden tical to the pa ths
below:
Note: The Assembler path and Linker path invoke GCC.
a. “Tool Directories: C:\ATI\Tools\GNU\XScale\3.1-xscale-020523\H-i686-pc-cygwin”.
b. “Compiler path: <TOOL_DIR>\BIN\XSCALE-ELF-GCC.EXE”.
c. “Assem b l er pa t h: < TO OL _ DI R >\ BI N \ X SCALE- EL F - GCC .EXE”.
d. “Librarian path: <TOOL_DIR>\BIN\XSCALE-ELF-AR.EXE”.
e. “Linker path: <TOOL_DIR>\BIN\XSCALE-ELF-GCC.EXE”.
Note: GNU Pro is part of the Code|Lab installation and the above “Tool Directories” path is the default
installat ion. When a newer version of GNU Pro is installed at a later time, the “Tools Directory”
path ca n be ed ited to po i nt to the n ew version .
4. Under the “Compiler” tab, edit the bottom box as follows:
"-v -c -Wall -specs=redboot.specs -gdwarf-2 -O0 -I..\ -I..\..\ -I..\..\.. \ -m cpu= xs ca le
<SOURCE>.c -o O\<SOURCE>.o"
5. 5. Under the “Assembler” tab, edit the bottom box as follows:
"-v -specs=redboot.specs -o O\<SOURCE>.o <SOURCE>.s"
6. 6. Under the “Linker” tab, ed it the bottom box as follows:
"-v -specs=redboot.specs -o O\<PROJECT>.elf <OBJS>"
7. 7. Under the “Environment” tab, edit the bottom box as follows:
"SET PATH=C:\ATI\T ools\GNU\XScale\3.1-xscale-020523\H-i686-pc-cygwin\bin".
8. Under the “Debugger” tab:
a. “Debugger: Code|Lab Debug”.
b. “Debug path: C:\Ati\codelab\codelab Debug\codelab DEBUG.exe”.
c. Checked Boxes: “Download program”, “Set Breakpoints”, “Pass Source Paths”.
9. Click “OK ” to s av e and ex it , th en reload Workspac e as instru ct ed .
10. Press the Update Project, the n Update Workspace icons, next to the EDE f o lder icon.
11. Click “Save Pro ject”.
92Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
B.4Flashing with JTAG
B.4.1Overview
Code|Lab and the Raven are capable of reading from, writing to, and erasing the contents of the Flash
on the evaluation board. The board comes with RedBoot loaded in the Flash. RedBoot is the RedHat
debug monitor which initializes the board and has some debug and diagnostic functions. It is capable
of serial communication with the console of a debug program or with Microsoft HyperTerminal, and
it prepares the board for accepting an application program.
Code|Lab invokes a Flash programmer written by Macraigor. More information on the Flash
programmer is located at:
This Flash programmer only supports certain file formats: Intel Hex, Motorola srec and standard elf
(executable and linking format). RedBoot.s19 and RedBoot.srec are both srec files. Worcester.i32 is
an ARM BootMonitor Intel Hex file. BootMonitor is an ARM version of a debug monitor, which is
similar but not identical to RedBoot.
Macraigor offers conversion tools to convert existing file types to a supported file type. These
conversion tools are located at:
The ReadMe.txt file describes the conversions tools. BinToS19.exe converts binary files to srec files
and MakeIntelHex.exe converts a.out files to Intel Hex files. When using the BinToS19.exe
conversion tool, use 0x0 for the starting address. For example, at the CMD prompt in the directory
where BinToS19.exe is located, the command line looks like this:
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started and Debugger
B.4.2Using Flash Programmer
Note: The parallel port must be set to EPP mode or the Macraigor Raven will not work properly.
Download the RedBoot executable files from the following location:
Data Bits: 8
Parity: None
Stop Bits: 1
Then Press OK,OK, OK (this returns to the Connect window).
6. Now press Connect.
Assembly code now visible.
7. Select “Memory/Flash…”
The OCDemon Flash Memory Programmer window appears.
8. The Flash programmer needs a file which is architecture specific, in this case. In the Flash
programmer window, select “File/Open”, then choose th e file “XscaleVerde.ocd”
at”C:\ATI\codelab\codela b Debug\Macraigor\”.
/RedBoot Debug Monitor for the
9. Click the Program button.
10. Click Browse and “Files of type:” Al l Files, then choose the “redboot_ROM.srec” file
(downloaded http://developer.intel.com/design/intelxscale/dev_tools/020523/
Monitor for the Intel® IQ80310/IQ80321/IQ80219 boards and uncompressed from
developer.com).
12. Click OK
The Flash now programs and verifies; click Close when 100% complete.
13. Cycle power to the board to see that the LEDs on the board sequence “8.8.”, “A5”, “A6”,
“S.L”, then “A1”.
This is the normal LED sequence of RedBoot. The board may nee d to be reset more than once.
Explore the other features of the Flash programming window. The contents of the Flash can be
erased, copied to a file on the host, and verified against a file on the host.
94Board Manual
RedBoot Debug
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
Gettin g Start ed a nd Debugger
B.5Debugging Out of Flas h
JTAG debuggers can be used on two levels; with or without the source code. When the Flash is
programmed, the debugger can monitor the executable code, halt it, step through it, and monitor the
memory and registers. The executable code is disassembled so that the assembly code can be
examined.
Debugging with source code allows the user to examine the C code that is being executed. This
requires that the source code is available and linked by the debugger to the executable code that is
running on the evaluation board.
B.6Building an Executable File From Example Code
1. Launch Code|Lab EDE and o p en the “T ester1LED” Works p ace.
2. Click on “T ester1LED files” in the “File/View” window.
3. Click “Build/Clean”. This deletes the old .o files.
4. Click Build/Rebuild All.
5. When there are errors, carefully go back thr ough Section B.3.2, “Configuration”.
Board Manual 95
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started and Debugger
B.7Running the Code|Lab Debugge r
This section is provided to get the system up and running in the Code|Lab Debug environment, but it
is not intended as a full-functional tutorial. Please refer to the ATI Code|Lab Debug Reference Manual for more detailed information.
B.7.1Launching and Configuring Debugger
1. In EDE, click on the icon that looks like a red bug.
a. The “Connect” dialog appears.
2. When not configured from Section B.4.2, “Using Flash Programmer”, go to Section B.4.2 and
perform steps 2-5.
3. When running version 1.5 of the Code|Lab Debugger or earlier, a scr ipt must be specified
under the “Configure Macraigor JTAG Connection” Window:
Note: This script adds delay between the JTAG initialization and the launching of RedBoot so that the
boot is successful after hitting Go.
4. Press Connect to enter debug mode.
a. The Code|Lab Debug environment appears with the Assembly window open.
Note: Mouseovers are available for most of the toolbar icons. (Leave the mouse over the debug icons
across the top on the toolbar to see a brief explanation of each.)
5. Click on the go icon and let RedBoot boot (takes a minute) until you get the RedBoot
prompt “Red Boot>” in the Console wind ow (click the Console ta b at the bottom of the Debug
window to view the Console window).
6. From the console window:
a. type “diag”.
b. hit “Enter”.
The RedBoot Dia gnostic function is invoked.
Try out a few of the tes ts as desired.
7. Close the Debugger and EDE environment.
8. Reset the board (cycle power).
96Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
Gettin g Start ed a nd Debugger
B.7.2Manually Load ing an d Exec ut ing an Applic at ion Progr am
1. Launch the Code|Lab Debug Environment from the desktop icon.
2. Ensure “File…/Program Load Opti ons/Load Executable and Symbols” is che cke d.
3. file, program load option s, load executable and symbols.
a. Select “file, open program, browse”.
b. go find c:\<Redboot downloaded Files>…\Test1LED\O\Test1LED.elf.
4. Hit Go (80, 3, 32, and 21 cycle on the LEDs).
5. Cycle power on the board.
B.7.3Displaying Source Code
1. Launch the Code|Lab EDE Debugger and open the “Tester1LED” ELF program.
Note: Use the F ile/Recen t Pr o g ra m s menu for qui c k ac cess.
2. Select the “Files” view in the lower tab of the Works pace window.
3. Bring up “blink.c” and “led.c” s ource code by double-clicking each filename.
4. Use the “Windows” Menu to arrange the windows, or maximize, minimize, and resize
manually as desir ed.
5. Press the “Mixed” tab at the bo ttom of the “blink.c” window. Notice that the assembly along
with ea ch C statement.
6. Press the “Source” tab to revert back to C code only.
Board Manual 97
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started and Debugger
B.7.4Using Breakpoints
Note the small gray circles on the sidebar beside each line of source code. Single-click any of these
gray circles and a red dot appears. The red dot represents a break point. Single-click the red dot to
remove it, or click the “Remove all breakpoints” icon.
Place a breakpoint on the following lines of code in “blink.c”:
displayLED(leds[8],leds[0]); /* LED display '80'*/
displayLED(leds[0],leds[3]); /* LED display '03'*/
displayLED(leds[3],leds[2]); /* LED Display '32'*/
displayLED(leds[2],leds[1]); /* LED display '21'*/
displayLED(leds[16],leds[16]); /* LED display ' '*/
1. Click the “Go” icon.
The yellow arrow stops at the first break point and the HEX display does not change.
2. Click the “Go” icon again.
The last instruction has now been executed and an “80” is displayed.
3. Continue on in this fashion, watching the lines execute only as they are called, while the
yellow arrow shows exactly what line is up next in execution.
4. Click the “Remove all brea kpoints” icon .
5. Press “Go” again and notice that the program loop is infinite.
6. Press the “Halt” ic on to stop execut ion.
7. Close the debugger and cycle power to the board.
98Board Manual
Intel® IQ80219 General Purpose P CI Proce ssor Evaluation Platfo rm
B.7.5Stepping Through the Code
The “led.c” file contains a function that is called from code in “blink.c”. Tis exercise steps through the
code and utilizes a few of the most common step tools.
1. Launch the debugger, open Tester1LED, and open the “blink.c” and “led.c” files.
2. Set a breakpoint on the following line in “blink.c”:
displayLED(leds[8],leds[0]); /* LED display '80'*/
3. Press Go.
Program execution sit on the first breakpoint.
4. Press the “Step Over” i con and notice how exe cution jumps over the function call to the
next line of execution.
5. Now try the “Step Into” icon and note that the pointer has now jumped into the function
“displayLED”, which is lo cated in the “led .c” file.
6. Press the “Step Over” icon aga in and watch the point er advanc e within the functi on to the next
executab le line.
7. Now press the “Step Out of” icon and notice how execution leaves the called function and
waits on the next executable line in “blink.c” .
Gettin g Start ed a nd Debugger
8. The animate icon can als o be u sed to provide a “Step Into” effect that occurs at a
specifie d tim e interval (default of 1 second). T his can be modified in the “Setting s” se ction of
the “View/Options” menu. Experiment with this as desired.
9. Use Halt to stop the animate mode before the next breakpoint.
10. Also note that Go can be pre ssed at any time to continue execution from the current line to the
next breakpoint or program end.
B.7.6Setting C ode|Lab Debug Options
Besides the Animate debug time interval setting briefly mentioned in step 8 of the previous exercise,
many useful options can be accessed from the “View/Options” menu.
1. Experiment here by b ringing up the Registers window (click and change the view options
between binary and decim al; for example).
Hint: Setti ngs tab, Interface, Radix
2. Also try bringing up the Memory window (c lick ) and change the number of columns
between 4 and 2 and notice the changes.
Hint: Settings tab, Memory Window, Number of Columns
Note: Press window icons a second time to remove them from view.
Again, there are many features of the debug environment not discussed here. Please see the Code|Lab
manuals for a full description of debug features.
Board Manual 99
Intel® IQ80219 General Purpose PC I Proce ssor Evaluation Platfo rm
Getting Started and Debugger
B.8Exploring the Code|Lab Debug Windows
This section discusses some basics of the debug environment. Some of these windows and concepts
have been dealt with during previous exercises in this manual. However, many new windows are also
discussed and basic interaction exercises are given. Begin this section by launching the Code|Lab
Debugger environment and connection via the JTAG port.
B.8.1Toolbar Icons
Placing the mouse arrow on any icon displays the text function of that icon. When the icon launches a
special window (i.e., Watch, Memory, Call Trace, etc.), the icon brings that window up on the first
click and removes the window when pressed again.
B.8.2Workspace Window
Click on the Workspace icon. Click on the Files and Browse tabs and examine the contents. Note that
there are more files than the original source files. When you double-click on the source files, blink.c
and led.c, the source window appears for that file. When you double-click on an included file, the
debugger is not be able to find the file.
B.8.3Source Code
The source code windows are opened by double-clicking on the source files in the Workspace
wind ow under t he files tab. Viewing of mixed A s sembly and C code or C code only, is contro lled by
the tabs at the bottom of these windows.
B.8.4Debug and Console Windows
The Debug window displays debugger activity messages while the Debug tab is displayed. Script
commands can be entered manually at the top of the window. Serial output is displayed while the
Console tab is active. Commands for the running application can be entered at the top of this window.
B.8.5Memory Window
Click on the Memory window icon. Change the address at the top of the window to 0xffffe100 and
click on the green arrow to the right (or press Enter). This changes the viewable starting address of the
Memory window. The ATU header begins at 0xffffe100 and contains a known number (8086). Also
look at the base and limit registers for the memory and Flash devices, at 0xffffe508 and ffffe688
respectively, since they were initialized by RedBoot. Use the IntelProcessor Developer’s Manual, to see what the values mean.
Note: The tabs at the bottom all ow the selection of two memory regions to obser ve.
®
80219 General Purpose PCI
100Board Manual
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.