Arm Devboard Usermanual
Arm Devboard Usermanual
Arm Devboard Usermanual
ARM926EJ-S
HBI-0117
User Guide
Change history
Proprietary Notice
Words and logos marked with ® or ™ are registered trademarks or trademarks owned by ARM Limited, except
as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the
trademarks of their respective owners.
Neither the whole nor any part of the information contained in, or the product described in, this document
may be adapted or reproduced in any material form except with the prior written permission of the copyright
holder.
The product described in this document is subject to continuous developments and improvements. All
particulars of the product and its use contained in this document are given by ARM in good faith. However,
all warranties implied or expressed, including but not limited to implied warranties of merchantability, or
fitness for purpose, are excluded.
This document is intended only to assist the reader in the use of the product. ARM Limited shall not be liable
for any loss or damage arising from the use of any information in this document, or any error or omission in
such information, or any incorrect use of the product.
Confidentiality Status
Product Status
Web Address
http://www.arm.com
ii Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Conformance Notices
This device is test equipment and consequently is exempt from part 15 of the FCC Rules under section 15.103
(c).
CE Declaration of Conformity
The Versatile/PB926EJ-S generates, uses, and can radiate radio frequency energy and may cause harmful
interference to radio communications. However, there is no guarantee that interference will not occur in a
particular installation. If this equipment causes harmful interference to radio or television reception, which
can be determined by turning the equipment off or on, you are encouraged to try to correct the interference
by one or more of the following measures:
• ensure attached cables do not lie across the card
• reorient the receiving antenna
• increase the distance between the equipment and the receiver
• connect the equipment into an outlet on a circuit different from that to which the receiver is connected
• consult the dealer or an experienced radio/TV technician for help
Note
It is recommended that wherever possible shielded interface cables be used.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. iii
iv Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Contents
Versatile Platform Baseboard for ARM926EJ-S
User Guide
Preface
About this document .................................................................................. xviii
Feedback ................................................................................................... xxiii
Chapter 1 Introduction
1.1 About the Versatile/PB926EJ-S .................................................................. 1-2
1.2 Versatile/PB926EJ-S architecture ............................................................... 1-4
1.3 Precautions ................................................................................................. 1-9
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. v
Contents
vi Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Contents
Appendix B Specifications
B.1 Electrical specification ................................................................................. B-2
B.2 Clock rate restrictions .................................................................................. B-5
B.3 Mechanical details .................................................................................... B-10
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. vii
Contents
viii Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
List of Tables
Versatile Platform Baseboard for ARM926EJ-S
User Guide
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. ix
List of Tables
x Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
List of Tables
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. xi
List of Tables
xii Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
List of Figures
Versatile Platform Baseboard for ARM926EJ-S
User Guide
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. xiii
List of Figures
xiv Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
List of Figures
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. xv
List of Figures
Figure D-4 JTAG signal flow on the PCI backplane ................................................................... D-9
Figure D-5 AMP Mictor connector J4 ........................................................................................ D-11
Figure D-6 PCI expansion board JTAG connector J5 .............................................................. D-12
Figure E-1 Dynamic memory board block diagram .................................................................... E-2
Figure E-2 Static memory board block diagram ......................................................................... E-3
Figure E-3 Memory board installation locations ......................................................................... E-5
Figure E-4 Chip select information block .................................................................................... E-7
Figure E-5 Samtec connector ................................................................................................... E-12
Figure E-6 Dynamic memory board layout ............................................................................... E-22
Figure E-7 Static memory board layout .................................................................................... E-22
Figure F-1 Signals on the RealView Logic Tile expansion connectors ...................................... F-2
Figure F-2 RealView Logic Tile fitted on Versatile/PB926EJ-S .................................................. F-3
Figure F-3 HDRX, HDRY, and HDRZ (upper) pin numbering .................................................... F-4
Figure F-4 RealView Logic Tile tristate for I/O ........................................................................... F-6
Figure F-5 Clock signals and the RealView Logic Tile ............................................................. F-10
Figure F-6 Bus signals for RealView Logic Tile and FPGA ...................................................... F-13
Figure G-1 Nodes added to Connection Control window ............................................................ G-5
Figure G-2 The Connection Control window ............................................................................... G-6
Figure G-3 ARM926EJ-S Development Chip detected ............................................................... G-7
Figure G-4 Error shown when unpowered devices are detected ................................................ G-7
Figure G-5 Error shown when no devices are detected .............................................................. G-8
Figure G-6 Error shown when the USB debug port is not functioning ........................................ G-8
Figure G-7 Connection Properties window ................................................................................. G-8
Figure G-8 The Debug tab of the Register pane ....................................................................... G-10
xvi Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Preface
This preface introduces the Versatile Platform Baseboard for ARM926EJ-S User Guide.
It contains the following sections:
• About this document on page xviii
• Feedback on page xxiii.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. xvii
Preface
Intended audience
This document has been written for experienced hardware and software developers to
aid the development of ARM-based products using the Versatile/PB926EJ-S as part of
a development system.
Organization
Chapter 1 Introduction
Read this chapter for an introduction to the Versatile/PB926EJ-S. This
chapter shows the physical layout of the board and identifies the main
components.
Appendix B Specifications
Refer to this appendix for electrical, timing, and mechanical
specifications.
xviii Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Preface
Typographical conventions
monospace bold Denotes language keywords when used outside example code.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. xix
Preface
Further reading
This section lists related publications by ARM Limited and other companies.
ARM publications
The following publications provide information about the registers and interfaces on the
ARM926EJ-S PXP Development Chip:
• ARM926EJ-S Development Chip Reference Guide (ARM DDI 0287)
• ARM926EJ-S Technical Reference Manual (ARM DDI 0198)
• ARM926EJ-S™ PrimeXsys Platform Virtual Component Technical Reference
Manual (ARM DDI 0232)
• ARM926EJ-S™ PrimeXsys Platform Virtual Component User Guide (ARM DUI
0213)
• ARM MOVE Coprocessor Technical Reference Manual (ARM DDI 0251)
• ARM VFP9-S Coprocessor Technical Reference Manual (ARM DDI 0238)
• ARM MBX HR-S Graphics Core Technical Reference Manual (ARM DDI 0241).
The following publications provide reference information about the ARM architecture:
• AMBA™ Specification (ARM IHI 0011)
• ARM Architecture Reference Manual (ARM DDI 0100).
The following publications provide information about related ARM products and
toolkits:
• Multi-ICE™ User Guide (ARM DUI 0048)
• RealView™ ICE User Guide (ARM DUI 0155)
• Trace Debug Tools User Guide (ARM DUI 0118)
• ARM MultiTrace® User Guide (ARM DUI 0150)
• ARM RealView Logic Tile LT-XC2V4000+ User Guide (ARM DUI 0186)
• RealView™ Debugger User Guide (ARM DUI 0153)
• RealView Compilation Tools Compilers and Libraries Guide (ARM DUI 0205)
• RealView Compilation Tools Developer Guide (ARM DUI 0203)
• RealView Compilation Tools Linker and Utilities Guide (ARM DUI 0206).
xx Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Preface
The following publications provide information about ARM PrimeCell® and other
peripheral or controller devices:
• ARM PrimeCell Advanced Audio CODEC Interface (PL041) Technical Reference
Manual (ARM DDI 0173)
• ARM PrimeCell Color LCD Controller (PL110) Technical Reference Manual
(ARM DDI 0161)
• ARM PrimeCell DMA (PL080) Technical Reference Manual (ARM DDI 0196)
• ARM Dual-Timer Module (SP804) Technical Reference Manual (ARM DDI
0271)
• ARM PrimeCell GPIO (PL061) Technical Reference Manual (ARM DDI 0190)
• ARM PrimeCell Keyboard Mouse Controller (PL050) Technical Reference
Manual (ARM DDI 0143)
• ARM PrimeCell Multimedia Card Interface (PL180) Technical Reference Manual
(ARM DDI 0172)
• ARM Multiport Memory Controller (GX175) Technical Reference Manual (ARM
DDI 0277)
• ARM PrimeCell Real Time Clock Controller (PL031) Technical Reference
Manual (ARM DDI 0224)
• ARM PrimeCell Smart Card Interface (PL131) Technical Reference Manual
(ARM DDI 0228)
• ARM PrimeCell Synchronous Serial Port Controller (PL022) Technical Reference
Manual (ARM DDI 0194)
• ARM PrimeCell Synchronous Static Memory Controller (PL093) Technical
Reference Manual (ARM DDI 236)
• ARM PrimeCell System Controller (SP810) Technical Reference Manual (ARM
DDI 0254)
• ARM PrimeCell UART (PL011) Technical Reference Manual (ARM DDI 0183)
• ARM PrimeCell Vector Interrupt Controller (PL190) Technical Reference
Manual (ARM DDI 0181)
• ARM PrimeCell Watchdog Controller (SP805) Technical Reference Manual
(ARM DDI 0270)
• ETM9 Technical Reference Manual (ARM DDI 0157)
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. xxi
Preface
Other publications
The following publication describes the JTAG ports with which Multi-ICE or RealView
ICE communicates:
• IEEE Standard Test Access Port and Boundary Scan Architecture (IEEE Std.
1149.1).
The following datasheets describe some of the integrated circuits or modules used on
the Versatile/PB926EJ-S:
• 1.8 Volt Intel StrataFlash® Wireless Memory with 3.0 Volt I/O (28F1256L30B90)
Intel Corporation, Santa Clara, CA.
xxii Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Preface
Feedback
ARM Limited welcomes feedback both on the Versatile/PB926EJ-S and on the
documentation.
If you have any comments or suggestions about this product, contact your supplier
giving:
• the product name
• an explanation of your comments.
If you have any comments about this document, send email to [email protected] giving:
• the document title
• the document number
• the page number(s) to which your comments refer
• an explanation of your comments.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. xxiii
Preface
xxiv Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Chapter 1
Introduction
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 1-1
Introduction
You can use the Versatile/PB926EJ-S as a basic development system with a power
supply and a connection to a JTAG interface unit.
The basic system provides a good platform for developing code for the ARM7 and
ARM9 series of processors. The ARM926EJ-S Development Chip is much faster than
a software simulator or a core implemented in RealView Logic Tiles. Code developed
for the ARM926EJ-S Development Chip will also run on the ARM10 and ARM11
processor series.
The expanded system with RealView Logic Tiles can be used to develop
AMBA-compatible peripherals and to test ASIC designs. The fast processor core and
the peripherals present in the ARM926EJ-S Development Chip, Versatile/PB926EJ-S
FPGA, and RealView Logic Tile FPGA enable you to develop and text complex
systems operating at, or near, their target operating frequency.
1-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Introduction
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 1-3
Introduction
1-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Introduction
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 1-5
Introduction
MUX
DiskOnChip
AHBM1
AHBM2
AHBS
SDRAM
Trace Port Flash
Adaptor Control Status Memory
LEDs SRAM expansion
switches
connector
Memory
USB debug expansion
connector
Clocks, reset, JTAG, configuration,
JTAG and control circuitry Versatile Logic Tile
interface expansion connectors
(also shared connections to I/O
Chip scope signals from GPIO, AHB monitor,
interface SCI, UART, SSP, and CLCD)
Audio LAN
OTG243
Mouse
1-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Introduction
The FPGA provides system control and configuration functions for the
Versatile/PB926EJ-S that enable it to operate as a standalone development system or
with expansion RealView Logic Tiles or PCI cards. See FPGA on page 3-17.
The FPGA also implements additional peripherals, for example the audio CODEC,
USB, Ethernet and PCI interfaces.
1.2.4 Displays
The ARM926EJ-S Development Chip outputs signals for a color LCD display. An
external interface board can be connected to the CLCD connector to drive different size
displays.
The CLCD signals from the ARM926EJ-S Development Chip are converted on the
Versatile/PB926EJ-S to a VGA signal. The resolution of the VGA signal is
configurable. See Appendix C CLCD Display and Adaptor Board.
The ARM RealView Logic Tiles, such as the Versatile/LT-XC2V6000, enable the
development of AMBA AHB and APB peripherals, or custom logic, for use with ARM
cores. You can place standard or custom peripherals in the FPGA on the RealView
Logic Tile. Three AHB buses, the static memory interface, and the DMA and interrupt
signals are brought out to the RealView Logic Tile connectors. See Appendix F
RealView Logic Tile.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 1-7
Introduction
1.2.6 Memory
The volatile memory system includes SSRAM and SDRAM memory. You can expand
this memory by installing external static or dynamic memory expansion boards.
The nonvolatile memory system consists of 64MB of 32-bit flash and 64MB of 16-bit
NAND Disk-on-Chip flash. The flash is managed by the static memory controller in the
ARM926EJ-S Development Chip. You can expand the flash memory by installing an
external static memory expansion board. See Appendix E Memory Expansion Boards.
The JTAG connector enables JTAG hardware debugging equipment, such as Multi-ICE
or RealView ICE, to be connected to the Versatile/PB926EJ-S. The JTAG signals can
also be controlled by the on-board USB debug port controller. See JTAG and USB debug
port support on page 3-97.
1-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Introduction
1.3 Precautions
This section contains safety information and advice on how to avoid damage to the
Versatile/PB926EJ-S.
Warning
Do not supply more than one power source. If you are using the baseboard with the PCI
enclosure for example, do not connect a power source to J35 or J34.
To avoid a safety hazard, only connect Safety Extra Low Voltage (SELV) equipment to
the connectors on the Versatile/PB926EJ-S.
Caution
To avoid damage to the board, observe the following precautions.
• never subject the board to high electrostatic potentials
• always wear a grounding strap when handling the board
• only hold the board by the edges
• avoid touching the component pins or any other metallic element
• do not connect more than one power source to the platform
• always power down the board when connecting RealView Logic Tiles or
expansion boards.
Caution
Do not use the board near equipment that is:
• sensitive to electromagnetic emissions (such as medical equipment)
• a transmitter of electromagnetic emissions.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 1-9
Introduction
1-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Chapter 2
Getting Started
This chapter describes how to set up and prepare the Versatile/PB926EJ-S for use. It
contains the following sections:
• Setting up the Versatile Platform on page 2-2
• Setting the configuration switches on page 2-3
• Connecting JTAG debugging equipment on page 2-6
• Connecting the Trace Port Analyzer on page 2-8
• Supplying power on page 2-11
• Using the Versatile/PB926EJ-S Boot Monitor and platform library on page 2-12.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-1
Getting Started
• a CD containing sample programs, Boot Monitor code, FPGA and PLD images,
and additional documentation
1. Set the configuration switches to select the boot memory location, operating
frequency, and FPGA image. See Setting the configuration switches on page 2-3.
4. If you are using expansion RealView Logic Tiles, mount the tile on the tile
expansion connectors. See Appendix F RealView Logic Tile and the manual for
your RealView Logic Tile.
5. If you are using a Trace Port Analyzer (TPA), connect the Trace Port interface
buffer board. See Connecting the Trace Port Analyzer on page 2-8.
6. If you are using a debugger, connect to the JTAG or USB debug port on the board.
See Connecting JTAG debugging equipment on page 2-6.
8. If you are using the supplied Boot Monitor software to select and run an
application, see Using the Versatile/PB926EJ-S Boot Monitor and platform
library on page 2-12
Note
If you are using the Versatile/PB926EJ-S with the PCI backplane, see also Appendix D
PCI Backplane and Enclosure.
2-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-3
Getting Started
The configuration switches S1-1 to S1-8 determine boot memory type, the FPGA
image, and the RealView Logic Tile image, memory configuration, and FPGA options
at power on.
Use switch S1-1 and S1-2 to select the boot device as shown in Table 2-1.
Note
If the switch lever is down, the switch is ON. The default is OFF, switch lever up.
OFF OFF Disk on Chip, see Booting from Disk on Chip on page 4-12
OFF ON NOR flash, see Booting from NOR flash on page 4-13
ON OFF Static expansion memory, see Booting from static expansion memory on page 4-14
ON ON AHB expansion memory, see Booting from AHB expansion memory on page 4-15
Configuration switches S1-1 to S1-8 are not normally changed from their factory
default positions listed in Table 2-2. For more information on configuration switch S1,
see Configuration control on page 3-7.
2-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
Note
For information on other configuration links and the function of the status LEDs, see
Test, configuration, and debug interfaces on page 3-95.
The setting of S6-1 determines whether the Boot Monitor starts after a reset:
S6-1 OFF A prompt is displayed enabling you to enter Boot Monitor commands.
S6-1 ON The Boot Monitor executes a boot script that has been loaded into flash.
The boot script can execute any Boot Monitor commands. It typically
selects and runs an image in application flash. You can store one or more
code images in flash memory and use the boot script to start an image at
reset. Use the SET BOOTSCRIPT command to enter a boot script from the
Boot Monitor (see Table 2-3 on page 2-13).
Output of text from STDIO for both applications and Boot Monitor I/O depends on the
setting of S6-3:
S6-3 does not affect file I/O operations performed under semihosting. Semihosting
operation requires a debugger and a JTAG interface device. See Redirecting character
output to hardware devices on page 2-22 for more details on I/O.
Note
Switch S6-2 and S6-4 to S6-8 are not used by the Boot Monitor and are available for
user applications.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-5
Getting Started
• program new configuration images into the configuration flash, FPGA, and PLDs
on the board. (You cannot program the normal flash from configuration mode.)
The setup for using a JTAG interface with the Versatile/PB926EJ-S is shown in
Figure 2-2.
2-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
The setup for using the USB debug port on the Versatile/PB926EJ-S is shown in
Figure 2-3. The Versatile/PB926EJ-S contains logic that interfaces the USB debug port
to the onboard JTAG signals.
Note
For more details on JTAG debugging and selection between the JTAG and USB debug
connector, see JTAG and USB debug port support on page 3-97. If you are using the
ARM RealView® Debugger, see Appendix G Configuring the USB Debug Connection
for installation and configuration details.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-7
Getting Started
For MultiTrace, connect the TPA to the buffer board and plug the adaptor into the
Versatile/PB926EJ-S as shown in Figure 2-4. MultiTrace requires a Multi-ICE JTAG
unit.
For RealView Trace, connect the Trace Port Analyzer (TPA) to the adaptor board and
plug the adaptor into the Versatile/PB926EJ-S as shown in Figure 2-4. RealView Trace
requires a RealView ICE JTAG unit. The Ethernet and power supply cables connect to
the RealView ICE unit.
2-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
Note
The high-density cable from the RealView ICE box requires a buffer board to connect
to the JTAG connector on the Versatile/PB926EJ-S.
The low-density cable can be used to connect the RealView ICE box directly to the
JTAG connector, but this interface operates at lower speed.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-9
Getting Started
JTAG unit This is a protocol converter that converts debug commands from the
debugger into JTAG messages for the ETM.
Note
The trace and debug components must match the debugger you are using:
2-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
Note
If you are using the supplied brick power supply connected to J35, the Standby/power
pushbutton toggles the power on and off.
If you are using an external power supply connected to J34, or you are powering the
board from the PCI backplane, the Standby/power switch is not used and power is
controlled by shutting down the external power source.
Caution
You can use only one power source for the system. Use only the PCI connector, J34, or
J35. Do not, for example, use the PCI connector and J34 at the same time.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-11
Getting Started
When the Boot Monitor starts on reset, the following actions are performed:
• clock dividers are loaded with appropriate values
• the memory controllers are initialized
• a stack is set up in memory
• Boot Monitor code is copied into SDRAM
• C library I/O routines are remapped and redirected
• the current bootscript, if any, is run.
To run Boot Monitor and have it display a prompt to a terminal connected to UART0,
set switch S6-1 to OFF and reset the system. Standard input and output functions use
UART0 by default. The default setting for UART0 is 38400 baud, 8 data bits, no parity,
1 stop bit. There is no hardware or software flow control.
Note
If the Boot Monitor has been accidently deleted from flash memory, it can be rebuilt and
reloaded. See Rebuilding the Boot Monitor on page 2-17.
The command interpreter accepts user commands from the debugger console window
or an attached terminal and carries out actions to complete the commands.
Note
Commands are accepted in uppercase or lowercase. The Boot Monitor accepts
abbreviations of commands if the meaning is not ambiguous. For example, for QUIT, you
can type QUIT, QUI, QU, Q, quit, qui, qu, or q.
2-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
Command Action
ALIAS alias commands Create an alias command alias for the string of commands contained in commands.
CLEAR BOOTSCRIPT Clear the current boot script. The Boot Monitor will prompt for input on reset even if the
S6-1 is set to ON to indicate that a boot script should be run.
CONFIGURE Enter Configure subsystem. Commands listed in Table 2-4 on page 2-14 can now be
executed.
CONVERT BINARY binary_file Provides information to the system that is required by the RUN command in order to
LOAD_ADDRESS address execute a binary file. A new file with name binary_file is produced, but with an .exe file
[ENTRY_POINT address] extension.
COPY file1 file2 Copy file1 to file2. For example, to copy the leds code from the PC to the Disk-on-Chip
enter:
COPY C:\software\projects\examples\rvds2.0\leds.axf leds.axf
Note
Remote file access requires semihosting. Use a debugger connection to provide
semihosting.
CREATE filename Create a new file in the Disk-on-Chip by inputting text. Press Ctrl-Z to end the file.
DEBUG Enter the debug subsystem. Commands listed in Table 2-5 on page 2-15 can now be
executed.
DIRECTORY [directory] List the files in a Disk-on-Chip directory. Files only accessible from semihosting cannot
be listed.
EXIT Exit the Boot Monitor. The processor is held in a tight loop until it is interrupted by a JTAG
debugger.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-13
Getting Started
Command Action
FLASH Enter the flash file system for the NOR flash on the Versatile/PB926EJ-S. See Table 2-6
on page 2-15 for flash commands.
LOAD name Load the Disk-on-Chip image name into memory and run it.
RUN image_name Load the Disk-on-Chip image image_name into memory and run it.
SET BOOTSCRIPT script_file Specify script_file as the boot script. If the run boot script switch S6-1 is ON, script_file
will be run at system reset.
Command Action
DISPLAY HARDWARE Display hardware information (for example, the FPGA revisions).
EXIT Exit the configure commands and return to executing standard Boot Monitor commands.
QUIT Alias for EXIT. Exit the Configure commands and return to standard Boot Monitor
commands.
SET DATE dd/mm/yy Set date. The date can also be entered as dd-mm-yy
SET TIME hh:mm:ss Set time. The time can also be entered as hh-mm-ss
2-14 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
Command Action
DEPOSIT address value [size] Load memory specified by address with value. The size parameter is optional. If
used, it can be BYTE, HALFWORD, or WORD. The default is WORD.
EXIT Exit the debug commands and return to executing standard Boot Monitor
commands.
QUIT Alias for EXIT. Exit the Debug commands and return to standard Boot Monitor
commands.
STOP TIMER Stop the timer started with the START TIMER command and display the elapsed time.
Table 2-6 lists the commands for the NOR Flash subsystem.
Command Action
ERASE RANGE start end Erase an area of NOR flash from the start address to the end address.
Warning
This command can erase the Boot Monitor image if it is stored in NOR flash. See Loading
Boot Monitor into NOR flash on page 2-17.
EXIT Exit the flash commands and return to executing standard Boot Monitor commands.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-15
Getting Started
Command Action
LIST AREAS List areas in flash. An area is one or more contiguous blocks that have the same size and
use the same programming algorithm.
QUIT Alias for EXIT. Exit the NOR flash commands and return to standard Boot Monitor
commands.
RESERVE SPACE address size Reserve space in NOR flash. This space will not be used by the Boot Monitor. address is
the start of the area and size is the size of the reserved area.
RUN name Load the image name from flash and run it.
UNRESERVE SPACE address Free the space starting at address in NOR flash. This space can be used by the Boot
Monitor.
WRITE BINARY file Write a binary file to flash. By default, the image is identified by its file name. Use
[NAME new_name] NAME new_name to specify a name instead of using the default name.
[FLASH_ADDRESS address]
[LOAD_ADDRESS address]
Use FLASH_ADDRESS address to specify where in flash the image is to be located. The
[ENTRY_POINT address]
optional LOAD_ADDRESS and ENTRY_POINT arguments enable you to specify the load address
and the entry point.
If an entry point is not specified, the load address is used as the entry point.
Note
Remote file access requires semihosting. Use a debugger connection to provide
semihosting.
WRITE IMAGE file Write an ELF image file to flash. By default, the image is identified by its file name. For
[NAME new_name] example, t:\images\boot_monitor.axf is identified as boot_monitor. Use NAME new_name to
[FLASH_ADDRESS address] specify a name instead of using the default name.
Use FLASH_ADDRESS address to specify where in flash the image is to be located. If the image
is linked to run from flash, the link address is used and address is ignored.
Note
Remote file access requires semihosting. Use a debugger connection to provide
semihosting.
2-16 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
All firmware components are built using GNUmake, which is available for UNIX,
Linux and for most Windows versions. (To use GNUmake under windows Cygwin must
be installed, for more information contact Redhat.)
Because the platform library used by the Boot Monitor requires callout startup routines
support specific to RVCT, the Boot Monitor (and any application that uses the platform
library for directing STDIO) can only be rebuilt using RVCT tools.
You can specify the following build options after the make command:
• BIG_ENDIAN=1/0, defining image endianness (Default 0, little endian)
• THUMB=1/0, defining image state (Default 0, ARM)
• DEBUG=1/0, defining optimization level (Default 0, optimized code)
• VFP=1/0, defines VFP support (Default 0, no VFP support)
• DISKONCHIP=1/0, defines Disk-on-Chip support (Default 1, Disk-on-Chip support)
Note
The image must be build as a simple image. Scatter loading is not supported.
The build options define the subdirectory in the Builds directory that contains the
compile and link output:
<Debug>_<State>_<Endianness>_Endian + further component specific options
After rebuilding the Boot Monitor, load it into either NOR flash or the NAND flash
Disk-on-Chip, see Loading Boot Monitor into NOR flash and Loading Boot Monitor
into Disk-on-Chip on page 2-19.
If the flash becomes corrupt and the board no longer runs the Boot Monitor, the Boot
Monitor must be reprogrammed into flash.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-17
Getting Started
Note
The Boot Monitor is normally located in Disk-on-Chip flash instead of NOR flash (see
Loading Boot Monitor into Disk-on-Chip on page 2-19). You can, however, load the
Boot Monitor into NOR flash instead of Disk-on-Chip flash if this is required for a
specific application.
Because the debugger does not initialize SDRAM, the Boot Monitor image cannot be
loaded and run directly. Use the scripts in the BoardFiles directory on the CD to setup
the board:
6. SDRAM is now initialized and the memory is remapped. To load Boot Monitor
into flash:
a. From the debugger, load and execute the file Boot_Monitor.axf
b. at the Boot Monitor prompt enter:
>FLASH
Flash> WRITE IMAGE Boot_Monitor.axf
7. Loading the image into flash takes a few minutes to complete. Wait until the
prompt is displayed again before proceeding.
To load the Boot Monitor into Disk-on-Chip instead of into NOR flash, see Loading
Boot Monitor into Disk-on-Chip on page 2-19.
2-18 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
The Disk-on-Chip interface to the NAND flash emulates a disk drive. Use the
Disk-on-Chip utility doc_configure.axf to format the NAND flash and load the Boot
Monitor as the boot file as follows:
7. If required, use the utility to format the Disk-on-Chip. At the prompt enter:
Config> FORMAT
After a short delay, a message displays indicating that formatting is complete.
Caution
Formatting the Disk-on-Chip erases all files present on the NAND flash. The
Disk-on-Chip is formatted at manufacture. Only reformat if the flash has become
corrupted.
8. Load the initial program loader files for the Disk-on-Chip. At the Boot Monitor
prompt enter:
Config> WRITE IPL doc_ipl.axf
After a short delay, a message displays indicating that the loader has been
successfully programmed to the Disk-on-Chip.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-19
Getting Started
9. Load the secondary program loader files for the Disk-on-Chip. At the prompt
enter:
Config> WRITE SPL doc_spl.axf
After a short delay, a message displays indicating that the secondary loader has
been successfully programmed to the Disk-on-Chip.
10. Load the Boot Monitor as the boot program. At the prompt enter:
Config> WRITE BOOT boot_monitor.axf
After a short delay, a message displays indicating that the Boot Monitor has been
successfully programmed to the Disk-on-Chip.
11. Loading the images into the Disk-on-Chip NAND flash takes a few minutes to
complete. Wait until the prompt is displayed again before proceeding.
12. Verify that the boot file has been copied to the Disk-on-Chip boot region by
entering:
Config> LIST
2-20 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
The command interpreter in configure.axf accepts user commands from the debugger
console window and carries out actions to complete the commands on the Disk-on-Chip
subsystem.
Command Action
WRITE BOOT filename Load filename and place the image in the Boot Monitor area of the
Disk-on-Chip. For example: WRITE BOOT boot_monitor.axf
WRITE IPL filename Load filename and place the image in the Initial Program Loader
area of the Disk-on-Chip. For example: WRITE IPL doc_ipl.axf
WRITE SPL filename Load filename and place the image in the Secondary Program
Loader area of the Disk-on-Chip. For example: WRITE SPL
doc_ipl.axf
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-21
Getting Started
The redirection of character I/O is carried out within the Boot Monitor platform library
routines in retarget.c and boot.s. During startup, the platform library executes a
SoftWare Interrupt instruction (SWI). If the image is being executed without a debugger
(or the debugger is not capturing semihosting calls) the value returned by this SWI is
–1, otherwise the value returned is positive. The platform library uses the return value
to determine the hardware device used for outputting from the C library I/O functions.
(Redirection is through a SWI to the debugger console or directly to a hardware device)
The STDIO calls are redirected within retarget.c. Redirection depends on the setting
of switch S6-3, see Boot Monitor configuration on page 2-5.
All firmware components are built using GNUmake, which is available for UNIX,
Linux and for most Windows versions. (To use GNUmake under windows Cygwin must
be installed, for more information contact Redhat.)
The platform library has a number of build options that can be specified with the make
command:
• BIG_ENDIAN=1/0, defining image endianness (Default 0, little endian)
• THUMB=1/0, defining image state (Default 0, ARM)
• DEBUG=1/0, defining optimization level (Default 0, optimized)
• VFP=1/0, defines VFP support (Default 0 no VFP support)
• DISKONCHIP=1/0, defines Disk-on-Chip support (Default 1, Disk-on-Chip support)
The build options define the directory that contains the compile and link output. The
make file creates a directory called Builds if it is not already present. The Builds
directory contains subdirectories for the specified make options (for example,
Debug_ARM_Little_Endian). To delete the objects and images for all targets and delete the
Builds directory, type make clean all.
2-22 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
The platform library on the CD provides all required initialization code to bring the
Versatile/PB926EJ-S up from reset. The library is used by the Boot Monitor, but it can
be used by an application independently of the other code in the Boot Monitor.
To build an image that uses the I/O and memory control features present in the platform
library:
1. Write the application as normal. There must be a main() routine in the application.
2. Link the application against the Boot Monitor platform library file platform.a.
The file platform.a is in one of the target build subdirectories
(install_dir\software\firmware\Platform\Builds\target_build). Choose the
Builds subdirectory that matches your application. For example,
Release_ARM_Little_Endian for ARM code.
Define the image entry point to be __main and the region __main to be the first
section in the execution region:
-entry __main -first __main
Note
If you are not using the platform.a library, you must provide your own
initialization and I/O routines.
You can also build the platform library functionality directly into your application
without building the platform code as a separate library. This might be useful, for
example, if you are using an IDE to develop your application.
See the filelist.txt file in the software directory for more details on software
included on the CD. The selftest directory, for example, contains source files
that can be used as a starting point for your own application.
To run the image from RAM, load the image with a debugger and execute as normal.
The image uses the procedure described in Redirecting character output to hardware
devices on page 2-22 to redirect standard I/O either to the debugger or to be handled by
the application itself.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-23
Getting Started
2. The image must be programmed into flash using the Boot Monitor. Flash support
is implemented in the Boot Monitor image.
Run the Boot Monitor image from the debugger and enter the flash subsystem,
type FLASH at the prompt:
>FLASH
flash>
2-24 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Getting Started
3. The command used to program the image depends on the type of image:
• To program the ELF image into flash, use the following command line:
flash> WRITE IMAGE elf_file_name NAME name FLASH_ADDRESS address
The entry point and load address for ELF images are taken from the image
itself.
• To program a binary image into flash, use the following command line:
flash> WRITE BINARY image_file_name NAME name FLASH_ADDRESS address1
LOAD_ADDRESS address2 ENTRY_POINT address3
flash>
Note
name is a short name for the image. If the NAME option is not used at the command
prompt, name will be derived from the file name.
4. The image is now in flash and can be run by the Boot Monitor. At the prompt,
type:
flash> RUN name
1. Build and link the application as described in Loading and running an application
from NOR flash on page 2-24.
Note
Images with multiple load regions are not supported.
The image must have an execution region in RAM or SDRAM.
The execution address must not be in the top 4MBytes of SDRAM since this is
used by the Boot Monitor.
2. The image must be programmed into Disk-on-Chip using the Boot Monitor.
Connect a debugger and use semihosting to load the file into NAND flash:
>COPY C:\software\elf_file_name file_name
3. To run the image manually, from the debugger, or terminal connected to UART0,
type:
>RUN file_name
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 2-25
Getting Started
2. Press Ctrl-Z to indicate the end of the boot script and return to the Boot Monitor
prompt.
4. Specify the boot script to use at reset from the Boot Monitor by typing:
>SET BOOTSCRIPT myscript.txt
5. Set S6-1 ON to instruct the Boot Monitor to run the boot script at power on.
6. Reset the platform. The Boot Monitor runs and executes the boot script
myscript.txt. In this case, it relocates the image file_name and executes it.
2-26 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Chapter 3
Hardware Description
This chapter describes the on-board hardware. It contains the following sections:
• ARM926EJ-S Development Chip on page 3-3
• FPGA on page 3-17
• Reset controller on page 3-22
• Power supply control on page 3-34
• Clock architecture on page 3-36
• Advanced Audio Codec Interface, AACI on page 3-58
• Character LCD controller on page 3-61
• CLCDC interface on page 3-63
• DMA on page 3-67
• Ethernet interface on page 3-70
• GPIO interface on page 3-73
• Interrupts on page 3-74
• Keyboard/Mouse Interface, KMI on page 3-76
• Memory Card Interface, MCI on page 3-77
• PCI interface on page 3-80
• Serial bus interface on page 3-81
• Smart Card interface, SCI on page 3-82
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-1
Hardware Description
3-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
For more detail on using the ARM926EJ-S Development Chip components, see also:
• the ARM926EJ-S Development Chip Reference Manual
• AHB buses used by the FPGA and RealView Logic Tiles on page F-11
• Chapter 4 Programmer’s Reference.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-3
Hardware Description
Figure 3-1 shows the main blocks of the ARM926EJ-S Development Chip.
accelerator
MBX interface port
MBX
MPMC S M
(GX175) S ARM Data AHB S
ARM Instruction AHB
S
CLCDC AHB
S
DMA1 AHB
interface
S
EXP AHB
Bus
S M S AHB S
DMA0 AHB (Versatile
config S
Logic Tile
CLCDC M or PCI
Mon.
AHB
(PL110) S master)
config S
DMAC M
interface
(PL080) M S M AHB M2
Bus
config S (FPGA
Bus matrix peripherals)
VIC multiplexors
interface
AHB M1
(PL190) and decoders
Bus
S M (Versatile
config S
Logic Tile
peripherals)
config S
SSMC
(PL093) S
Core DMA
S S
APB AHB/APB bridge APB AHB/APB bridge
M M
RTC
Dual Timer (PL031) SSP1
(SP804) x2 (PL022)
Watchdog
SCI
(SP805) UART x3 (PL131)
GPIO x4 System (PL011)
(PL061) Controller
(SP810)
3-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
ARM926EJ-S
The ARM926EJ-S CPU is a member of the ARM9 Thumb® family. The
ARM926EJ-S (r0p3) macrocell is a 32-bit cached processor with
ARMv5TE architecture that supports the ARM and Thumb instruction
sets and includes features for direct execution of Java byte codes.
Executing Java byte codes requires the Java Technology Enabling Kit
(JTEK).
The ARM926EJ-S contains a Memory Management Unit (MMU), 32KB
data and instruction caches, and 32KB of data and instruction Tightly
Coupled Memory (TCM). The TCM operates with a single wait-state and
provides higher data rates than external memory.
ETM9 The Embedded Trace Macrocell (ETM) provides signals for off-chip
trace. The ETM transmits a 16-bit packet to an external trace port
analyzer where the signals can be stored and later analyzed to reconstruct
the code flow.
Clock control
The ARM926EJ-S Development Chip contains deskew PLL that uses an
external reference clock to generate internal clocks for the CPU, AHB
bus, memory, and off-chip peripherals. Dividers in the chip are
programmable and give considerable flexibility in clock rates for the
CPU, bridges, and memory.
AHB buses The ARM926EJ-S processor uses two separate AHB masters for
instructions and data to maximize system speed. The DMA controller has
two AHB masters. The CLCD controller has one AHB master.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-5
Hardware Description
There are also two expansion master buses (AHB M1 and AHB M2) and
one expansion slave bus (AHB S). The expansion bus bridges are
configurable to support different performance and complexity trade-offs.
A bus matrix inside the ARM926EJ-S Development Chip manages the
multiple paths between each master and the peripherals and memory.
The AHB Monitor provides information on bus accesses that can be
recorded by an attached logic analyzer. The bus accesses and other
performance information can be recorded to aid software profiling. See
AHB monitor on page 3-16 and the ARM926EJ-S Development Chip
Reference Manual for more information.
Memory controllers
The ARM926EJ-S Development Chip includes a multi-port memory
controller (for dynamic memory) and a static memory controller. Both
controllers have 32-bit interfaces to external memory. See Memory
interface on page 3-15.
DMA controller
The PrimeCell DMAC enables peripheral-to-memory,
memory-to-peripheral, peripheral-to-peripheral, and
memory-to-memory transactions. See DMA on page 3-67.
Interrupt controller
The PrimeCell VIC provides an interface to the interrupt system and
provides vectored interrupt support for high-priority interrupt sources
from:
• peripherals in the ARM926EJ-S Development Chip
• peripherals in the FPGA (a secondary interrupt controller is present
in the FPGA)
• peripherals in expansion RealView Logic Tiles.
See Interrupts on page 3-74.
CLCD controller
The CLCDC provides a flexible display interface that supports a VGA
monitor and color or monochrome LCD displays. See CLCDC interface
on page 3-63.
3-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Timers There are four 32-bit down counters that can be used to generate
interrupts at programmable intervals. A Real-Time-Clock is fed with an
external 1Hz signal.
After reset, configuration can be modified by the system controller and the
configuration registers in the FPGA. For example, you can simulate a system that boots
in big-endian or with the vector table located at address 0xFFFF0000 by changing the
value of bits 0 and 1 in the SYS_CFGDATA2 register and pressing the SDC
RECONFIG button.
See Status and system control registers on page 4-18 and Configuration registers
SYS_CFGDATAx on page 4-25.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-7
Hardware Description
Configuration switches
The S1 boot option select switches are listed in Table 3-1. For more information on
setting boot memory options, see Setting the configuration switches on page 2-3 and
Configuration and initialization on page 4-9, and Boot Select Register, SYS_BOOTCS
on page 4-36. Switch S1 values determine the BOOTCSSEL[7:0] signals. (S1-1
controls BOOTCSSEL0 and S1-8 controls BOOTCSSEL7.)
Switch Description
S1-1 Controls the chip select signals for the static memory, see also Setting the configuration switches
and on page 2-3.
S1-2 The factory default setting is booting from Disk-on-Chip NAND flash, S1-1 OFF and S1-2 OFF.
S1-4 Reserved for selection of the controller to use for static memory.
The factory default is OFF.
Caution
This switch must not be changed from the default position as the functionality is not supported.
S1-6 Selects one of four Versatile/PB926EJ-S FPGA images to load on power up (or after the FPGA
and CONFIG button is pressed).
S1-7 The factory default is FPGA image zero, S1-7 OFF and S1-6 OFF.
Note
Only one image is supplied with the Versatile/PB926EJ-S. See FPGA configuration on page 3-18.
S1-8 RealView Logic Tile stack image. Selects one of two RealView Logic Tile FPGA images to load
on power up.
The factory default is RealView Logic Tile FPGA image zero, S1-8 OFF. See the documentation
provided with your RealView Logic Tile for details on the FPGA_IMAGE signal.
3-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Configuration block
PLL control
clock divider select AHB bridges
bus synchronization and clock
controller
FPGA
Configuration register
SYS_CFGDATA1
DEV CHIP
Configuration register
RECONFIG
SYS_CFGDATA2
pushbutton
nPBSDCRECONFIG
Configuration
control
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-9
Hardware Description
The configuration block in the development chip samples the state of the HDATAMx
pins while the rest of the chip is held in reset. The state of these pins is stored and used
to drive configuration signals within the chip and to define the operating mode of the
chip when reset is released. For more detail on the configuration signals, see
Configuration registers SYS_CFGDATAx on page 4-25 and the ARM926EJ-S
Development Chip Reference Manual.
Note
For details on configuring the clocks, see ARM926EJ-S Development Chip clocks on
page 3-40.
3-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
External masters drive the ARM926EJ-S Development Chip AHB S port which goes
through an AHB-AHB bridge to the expansion master port on the matrix. This master
can access most of the slaves within the ARM926EJ-S Development Chip, including the
GX175 MPMC (SDRAM controller), the PL093 SSMC (static memory controller), and
the expansion slaves.
External slaves are connected to the ARM926EJ-S Development Chip AHB M1 and
AHB M2 ports. Two of the expansion slave ports on the internal bus matrix are fed to
AHB-AHB bridges which drive the AHB M1 and AHB M2 ports. These ports are
accessible by all five of the internal masters and the expansion master connected to the
AHB S port.
Simultaneous access
Figure 3-3 on page 3-12 shows how the matrix allows multiple masters to use the buses
at the same time:
• The ARM926EJ-S Data AHB master is accessing 0x10004000 and this decodes to
the external AHB M2 bus (the CODEC interface in the FPGA).
• The CLCDC master is accessing 0x01000000 and this decodes to dynamic memory
on one of the MPMC slaves (DYN CS0). The MPMC will manage the multiple
accesses to the slave ports.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-11
Hardware Description
ARM926EJ-S
M M
MPMC (GX175)
M
To
AHB M2
(PL080)
DMAC
M
M
To
AHB M1
(PL093)
SSMC
To To
S DMA
Core
APB APB
ARM926EJ-S Dev. Chip
The default memory map for each of the internal buses is slightly different as shown in
Figure 3-4 on page 3-13 and Figure 3-5 on page 3-14.
Caution
The AHB S bus is driven by the PCI bridge in the FPGA or by an external RealView
Logic Tile. Do not use the FPGA PCI master to AHB S bus path to drive the PCI M2
addresses at 0x41000000–0x6FFFFFFF.
For more information on the system buses, see Memory map on page 4-3, AHB buses
used by the FPGA and RealView Logic Tiles on page F-11, and the ARM926EJ-S
Development Chip Reference Manual.
3-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-13
Hardware Description
0x101FFFFF
0x101F5000
SSP SSP SSP 0x101F4000
UART 2 UART 2 UART 2 0x101F3000
UART 1 UART 1 UART 1 0x101F2000
UART 0 UART 0 UART 0 0x101F1000
SCI SCI SCI 0x101F0000
0x101EFFFF
0x101E9000
RTC RTC 0x101E8000
GPIO 3 GPIO 3 0x101E7000
GPIO 2 GPIO 2 0x101E6000
GPIO 1 GPIO 1 0x101E5000
GPIO 0 GPIO 0 0x101E4000
Timer 2&3 Timer 2&3 0x101E3000
Timer 0&1 Timer 0&1 0x101E2000
Watchdog Watchdog 0x101E1000
Sys. Controller Sys. Controller 0x101E0000
3-14 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Note
The memory at 0x00000000 and 0x34000000 at boot time is determined by the boot select
switches and the remap signals (see Memory aliasing at reset on page 3-27). The region
at 0x80000000–0xFFFFFFFF is recommended for accesses to a RealView Logic Tile. PCI
cards must be initialized before use (see PCI configuration on page 4-79).
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-15
Hardware Description
The AHB layer monitors observe the activity on their respective bus signals to produce
real-time information that is exported off-chip to a logic analyzer.
The AHB monitor also contains event counters that monitor bus transactions. The event
counters can be accessed through the both the ARM DATA AHB and ARM AHB S
buses. The event counters provide a simple mechanism for monitoring bus utilization.
The AHB debug port consists of 33 output pins that export status data packets at the
AHB clock rate. A localized clock is exported on AHBMONITOR[33]. The interface
between the development chip and the debug connector is shown in Figure 3-7.
monitor AHBMONITOR_[33:0]
J17
ARM926EJ-S
Bus
Dev. Chip
See the ARM926EJ-S Reference Manual and AHB monitor on page 4-41.
3-16 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
3.2 FPGA
Figure 3-8 shows the architecture of the FPGA on the Versatile/PB926EJ-S.
UART
Interface logic
Switch and
LED
Smart card
interface
Serial bus
interface
Char LCD
FPGA interface
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-17
Hardware Description
Note
The ARM926EJ-S Development Chip and FPGA buses on the Versatile/PB926EJ-S are
shared with the RealView Logic Tile headers. If you are using a RealView Logic Tile,
ensure that the tile manages the bus signals correctly (AHB buses used by the FPGA and
RealView Logic Tiles on page F-11).
At power-up the FPGA loads its configuration data from a flash memory device.
Parallel data from the flash memory is streamed by the configuration PLD into the
configuration ports of the FPGA. Figure 3-9 on page 3-19 and Figure 3-10 on page 3-20
show the FPGA configuration mechanism. The image loaded into the FPGA is
determined by configuration switches S1-6 and S1-7 as listed in Table 3-2 on page 3-19.
3-18 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
nBOARDPOR
FA[22:0]
FnOE Config
FnWE flash
FnCS
FnBYTE
3V3 FD[7:0]
S1-6
BOOTCSSEL5 GLOBAL_DONE
S1-7
BOOTCSSEL6
GLOBAL DONE LED
Config
LOCAL DONE LED
PLD
3V3
LOCAL_DONE
CFG_D[7:0]
CFG_nWRITE
CFG_CCLK VBATT
J20
FPGA CFG_nCS
CONFIG FPGA_nINIT
nPBFPGACONFIG FPGA
FPGA_nPROG 1.5V
battery
JTAG
OFF OFF FPGA image 1 (this is the image supplied with the board) 0x0
OFF ON FPGA image 2 (this image is not supplied with the board) 0x200000
ON OFF FPGA image 3 (this image is not supplied with the board) 0x400000
ON ON FPGA image 4 (this image is not supplied with the board) 0x600000
a. S1-7 and S1-6 determine the state of the configuration flash address bits 22 and 21.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-19
Hardware Description
nTRST
LOCAL_DONE
GLOBAL_DONE
nSYSPOR
2.6µs 7µs
Note
The configuration flash can hold four FPGA images. However, only one FPGA image
is provided.
The configuration flash is a separate device and not part of the user flash.
You can use a JTAG debugger or the Progcards utility to reprogram the PLDs, FPGA,
and flash if the Versatile/PB926EJ-S is placed in configuration mode. See also JTAG
and USB debug port support on page 3-97.
The Versatile/PB926EJ-S is supplied with the configuration PLD and flash image
already programmed. The information in this section is provided, however, in case of
accidental erasure of the configuration PLD or flash image.
Caution
You are advised not to reprogram these devices with any images other than those
provided by ARM Limited.
3-20 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
2. Put the Versatile/PB926EJ-S into configuration mode by fitting the CONFIG link
J32 on the board and powering-up.
Caution
The 1.5V cell battery provides the VBATT backup voltage to the external DS1338
time-of-year clock and FPGA encryption key circuitry within the FPGA. Removing the
battery erases the encryption key.
Each board is provided with an encryption key that is unique to the board. The standard
image supplied with the board is not encrypted. However, encrypted images might be
supplied by ARM in the future. If you are using encrypted images and the key is erased,
you must return the board to ARM to have the key reloaded.
The battery is expected to last for approximately 10 years from manufacture of the
Versatile/PB926EJ-S. To replace the battery:
3. Insert the new battery and ensure that the positive terminal is facing upwards in
the holder.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-21
Hardware Description
Note
Use the RESET pushbutton (nPBRESET), the JTAG reset signal (nSRST), the PCI
backplane reset signal (P_nRST), the RealView Logic Tile reset signal (nSYSPOR or
nSRST from the tile), or a software reset to reset the ARM926EJ-S core. The current
ARM926EJ-S Development Chip configuration settings are retained. (The effect of
these reset sources pushbutton can be modified by setting the reset level flags, see Reset
level on page 3-24.)
Use the DEV CHIP RECONFIG pushbutton to reset the processor and reload the chip
configuration settings from the FPGA configuration registers.
Use the FPGA CONFIG pushbutton to reload the FPGA image without repowering the
entire system. The FPGA configuration registers are reloaded with their default values.
(Pressing FPGA CONFIG also resets the core and reloads the RealView Logic Tile
images.)
3-22 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Figure 3-11 shows the reset and reconfigure logic. (Not all JTAG reset signals are
shown.)
nTRST
USBnRESET USB
nPBFPGACONFIG controller
FPGA USBWAKEUP
OTG243
CONFIG
nPBRESET Ethernet
ETHnRESET controller
RESET LAN
91C111
nPBSDCRECONFIG
DEV CHIP P_nRST PCI bus
RECONFIG
AACIRESET Audio
CODEC
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-23
Hardware Description
Table 3-3 lists the default levels of reset that results from external sources.
Figure 3-12 on page 3-25 shows the activity on the reset signals at different levels of
reset.
The level of reset that results from pressing the RESET pushbutton or generating a
software reset can be configured by the SYS_RESETCTRL register. The ability to
configure the reset level gives greater flexibility in designing applications, FPGA
images, and RealView Logic Tile IP.
3-24 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
CONFIGINIT
DOCRESET
Wait for lock
DLLRESET
PLLRESET
PORESET
SYSPOR
ACTIVE
RESET
Reset state
Reset level 1 2 3 4 5 6
nCONFIGCLR
CONFIGINIT
APPLYCFGWORD
DLLRESET
Reset signal
DLLOCK
nPLLRESET
nPORESET
nDOCRESET
nDOCBUSY
HRESETn
nSYSRST
nRESET
USBnRESET
CLK24MHZ
A state machine in the FPGA (see Figure 3-13 on page 3-26) uses the value of
SYS_RESETCTRL and the external reset signals to sequence the reset signals.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-25
Hardware Description
FPGA APPLYCFGWORD
Internal FPGA reset
and configuration logic HRESETn
ACTIVE
Clock DLLLOCK
RESET CONFIGINIT
controller
ARM926EJ-S
nPORESET
Dev. Chip
nDOCBUSY
Wait for DOCBUSY nCONFIGCLR
DOCRESET nPLLRESET
SYS_RESETCTL[8:0] Reset Level 6
nRESET
Memory
Reset
PLLRESET
level Level 4
nPBSDCRECONFIG sync. nDOCRESET
Wait for lock
SOFTRESET
Logic Tile
Versatile
nSRST DLLRESET
Level 3
P_nRST Enable
CONFIGINIT
nPBRESET Level 2
Clock nSYSRST
CONFIGCLR
Level 1
Peripherals
USBnRESET
SYSPOR
nSYSPOR ETHnRESET
AACIRESET
REFCLK24MHZ State machine
Clock
See Table 3-4 on page 3-29 for a description of the reset signals.
3-26 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Under normal operation, the Versatile/PB926EJ-S has dynamic memory located at 0x0.
In order to load the boot code however, non-volatile memory must be remapped to the
boot address.
Remapping the memory is done by changing how the chip select signals in the
ARM926EJ-S Development Chip connect to the external chip select signals that control
memory devices. Figure 3-14 on page 3-28 shows the two stage remapping process:
• If DEVCHIP REMAP signal is HIGH, from the system controller, it disables the
nMPMCDYCS0 signal that is normally generated by accesses to memory region
0x00000000–0x03FFFFFF.
Accesses to memory region 0x00000000–0x03FFFFFF are remapped to:
— the AHB expansion memory chip select if BOOTCSSEL[1:0] is b11
— nSTATICCS1 if one of BOOTCSSEL[1:0] is not b11.
This remapping occurs inside the ARM926EJ-S Development Chip.
At reset, the DEVCHIP REMAP and FPGA_REMAP signals are both HIGH.
Note
If the size of the physical memory selected by nDOCCS, nNORCS, nEXPCS, or AHB
expansion memory is less than the address range of 0x00000000–0x03FFFFFF, the physical
memory is aliased and repeated to fill the address space.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-27
Hardware Description
0x34000000
-0x37FFFFFF
nSTATICCS1 NOR flash
nNORCS
FPGA_REMAP
DEVCHIP REMAP
BOOTCSSEL[1] (from S1-2)
0x00000000 BOOTCSSEL[0] (from S1-1)
-0x03FFFFFF AHB expansion memory
SDRAM bank 4
nMPMCDYCS0
0x04000000
-0x07FFFFFF
3-28 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Name Function
APPLYCFGWORD This internal signal causes the FPGA to apply configuration data from the
SYS_CFGDATAx registers in the FPGA to the M1 and M2 data buses, see
Configuration registers SYS_CFGDATAx on page 4-25.
nBOARDPOR This signal resets the configuration PLD and configuration flash.
This signal is also used to generate the nTRST pulse at power on.
nCONFIGCLR Loads the default configuration for the ARM926EJ-S Development Chip. The
default configuration data is hard-coded into the ARM926EJ-S Development
Chip.
CONFIGINIT This signal causes the ARM926EJ-S Development Chip to load configuration
data from the M1 and M2 data buses. This enables configuration of the chip
without resetting the entire system.
C_nSRST JTAG open-collector reset signal (shared with FPGAnINIT) to or from the
RealView Logic Tile. This signal is part of the configuration JTAG chain.
C_nTRST JTAG TRST signal to the configuration JTAG chain in the RealView Logic
Tile. This signal is part of the configuration JTAG chain.
nDOCBUSY Memory status signal from the Disk-on-Chip. The DoC requires approximately
27ms after reset is applied in order to initialize its internal controllers.
D_nSRST JTAG open-collector reset request signal to or from the RealView Logic Tile.
This signal is part of the debug JTAG chain.
D_nTRST JTAG TRST signal to the debug JTAG chain in the RealView Logic Tile. This
signal is part of the debug JTAG chain.
FPGA_nPROG The FPGA_nPROG signal forces all FPGAs in the system to reconfigure.
This signal enables the FPGAs to be reconfigured without powering-down the
system.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-29
Hardware Description
Name Function
GLOBAL_DONE This is an open-collector configuration signal that goes HIGH when all FPGAs
have finished configuring. The system is held in reset until this signal goes
HIGH.
HRESETn This signal is resets the AMBA AHB components within the FPGA. It is driven
active at the same time as nRESET.
nPBFPGACONFIG This signal is generated from the FPGA RECONFIG pushbutton and causes a
total reconfiguration of the system.
nPBRESET Push-button reset signal to the FPGA. The signal is generated by pressing the
reset button.
nPBSDCRECONFIG This signal is generated from the DEV CHIP CONFIG pushbutton and causes
a reconfiguration of the ARM926EJ-S Development Chip.
nPOWERFAIL This signal shuts down the onboard regulators. It is triggered by the supply
voltage falling to less than 9V. (The signal is only valid if the DC IN supply is
used.)
Note
There is a nPWRFAIL signal to the interrupt controller, but this signal is not
affected by the power supply voltage. nPWRFAIL can, however, be used to
test automatic shutdown code (see Miscellaneous System Control Register,
SYS_MISC on page 4-37).
3-30 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Name Function
nPWRFAIL This signal is provided by the FPGA to the interrupt controller. User software
can test this signal and shut down before a power loss causes a loss of data.
Note
This signal is not driven by any power-detection logic. It is provided so that
custom implementations of the FPGA image have a signal that could be
manipulated by a register. Creating such an FPGA image would enable testing
of user software that implements a shutdown routine.
nRESET Reset signal to the development chip and FPGA. The CPU core, all system
peripherals, and some system controller registers are reset. This signal is
synchronized with the system bus clock to provide AMBA compliance. For
details on system registers reset at different reset levels, see Table 4-4 on
page 4-19.
nSRST nSRST is an active LOW open-collector signal that can be driven by the JTAG
equipment to reset the board. Some JTAG equipment senses this line to
determine when you have reset a board.
This is also used in configuration mode to control the initialization of the
FPGA.
Note
nSRST splits into D_nSRST and C_nSRST to provide separate debug and
configuration signals on the RealView Logic Tile connector HDRZ.
nSYSPOR Power-on reset signal that initializes the reset level state machine after
GLOBAL_DONE goes HIGH. This signal is also fed to a RealView Logic
Tile header.
nSYSRST System reset to the RealView Logic Tile header. This signal is synchronized
with the system bus clock to provide AMBA compliance.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-31
Hardware Description
Name Function
nTRST TAP controller reset (the board drives this signal with nBOARDPOR).
Note
nTRST splits into SDC_nTRST, D_nTRST, and C_nTRST to provide
separate debug and configuration signals on HDRZ of the RealView Logic
Tile.
3-32 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
nBOARDPOR
LOCAL_DONE
GLOBAL_DONE
nSYSPOR
nTRST
Note
The release time for GLOBAL_DONE depends on any RealView Logic Tiles in the
system. It might be held LOW longer if the tiles take longer to configure.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-33
Hardware Description
If the Versatile/PB926EJ-S is powered from the PCI backplane or the screw terminals,
the VSMP voltage is not present. Therefore:
• the 5VSB standby voltage is not present
• nSHDN1 is held LOW
• nSHDN2 is held HIGH (this enables the 5V analog regulator)
• the Power/Standby pushbutton has no effect and you must use the external power
source to turn the system on or off.
3-34 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Standby voltage,
5V 5VSB
reg STANDBY
LED
D Q
POWER/
STANDBY Q
push button R
nPOWERFAIL
low-voltage (VSMP<9V)
detect
nSHDN1
1V8
VSMP
5V 1V8 (to Dev. Chip)
reg reg
Fuse
DC IN, J35 1V5
(9 to 15 V) 1V5 (to FPGA)
3V3 reg
12V reg
3V3
5V_ANALOG
5V nSHDN2
5V (to AACI)
reg VLCD
Terminal
(to LCD expansion
block, J34
connector)
12V_PCI
3V3 3V3
5V 5V
3V3 OK LED 5V OK LED
PCI
bus
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-35
Hardware Description
SMCLK[2:0]
AACI Global and AHB
MPMC[4:0]
CODEC
bridge clocks
24.576MHz
xtal UART, KMI,
SSP, SCI,
MMC, and
Control Control
24MHz
xtal
signals signals HCLKx AHB bridge
clocks
Clock selection and control
Global, CPU
Programable and bridge
oscillators clocks PLLCLKEXT
OSC0-OSC4 GLOBALCLK
6MHz xtal
24MHz
Internal clocks
25MHz xtal
OSCCLK4 CLCDCLKEXT
CLCDC
Ethernet 32kHz data clock
oscillator
module RTC
TIMCLKEXT 1MHz
USB Divide Timers
by 24
SCIREFCLKEXT 24MHz Clocks for
on-chip
UARTCLKEXT 24MHz peripherals
SSPCLKEXT 24MHz (UARTs, SCI
and SSP)
ARM926EJ-S
FPGA
Versatile/PB926EJ-S Dev. Chip
3-36 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
FPGA The FPGA contains clock control logic that can set the frequency of the
programmable clock generators and direct their outputs to internal and
external peripherals.
Audio CODEC
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-37
Hardware Description
Ethernet The Ethernet controller has a 25MHz dedicated crystal oscillator for
timing the Ethernet bus. The 24MHz reference from the programmable
oscillator OSC0 is used as a reference frequency for the controller
interface to the FPGA.
USB The 24MHz reference from the programmable oscillator OSC0 is used as
a reference frequency for the external USB controller.
Logic Tile A RealView Logic Tile can be connected to the expansion connectors.
The tile normally uses the GLOBALCLK from the Versatile/PB926EJ-S
as the clock for its AHB buses. The tile can, however, also generate
GLOBALCLK. (The signal nGLOBALCLKEN from Z50 on the
RealView Logic Tile indicates to the Versatile/PB926EJ-S whether
GLOBALCLK is supplied from OSC0 or from the RealView Logic Tile.
This signal is pulled HIGH by the RealView Logic Tile to select the
RealView Logic Tile GLOBALCLK as the source for GLOBALCLK
on the Versatile/PB926EJ-S.)
The tile can also generate the external clocks for the AHB bridges when
they are operating in asynchronous mode. In normal operation, the AHB
bridges operate in synchronous mode and the Versatile/PB926EJ-S is the
source of the bridge clocks connected to the tile.
The static memory clocks, CLCD data clock, and several of the
peripheral clocks from the Versatile/PB926EJ-S are connected to the tile.
Debug The JTAG connector supplies the reference JTAG clock TCK. There is
also an on-board USB debug port that is driven by the 24MHz reference
and a dedicated 6MHz crystal oscillator.
3-38 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The various clocks and clock selection mechanism are described in the following
sections:
• ARM926EJ-S Development Chip clocks on page 3-40
• ICS307 programmable clock generators on page 3-50
• Peripheral clocks on page 3-56
• RealView Logic Tile clocks on page 3-54
Note
The clocking selection and control logic in the Versatile/PB926EJ-S enables you to
emulate many different clock systems and operating modes (for example, low-power
mode with slow clocks, operation without a PLL, and synchronous or asynchronous
AHB bridges).
The default values for clock selection and control are appropriate for most situations.
You must modify the multiplexor settings if you are doing one of the following:
• Using an external RealView Logic Tile to generate the reference clocks for the
CPU or AHB bridges.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-39
Hardware Description
This section describes the clocks used by the ARM926EJ-S Development Chip.
Figure 3-18 shows the clock circuitry inside the chip.
CFGMBXCLKDIVSEL[1:0]
SDRAM
MPMC
CFGHCLKEXTDIVSEL[2:0]
CFGDATA values
CFGSMCCLKDIVSEL[1:0]
Flash
SMC clock SSMC
CFGAHBM1ASYNC divider
0
CFGAHBM2ASYNC 1
CLCDC
0
XTALCLKEXT
CFGAHBSASYNC 1
REFCLK32K
PLLCLKEXT
HDATAM1
(from SYS_CFGDATAx regs) HDATAM2
HCLKM2
HCLKS
1 S M2 M1
Peripheral
CLCDCLKEXT (OSC4)
bridge bridge bridge
clocks
UARTCLKEXT
TIMCLKEXT
SCIREFCLKEXT
SSPCLKEXT
REFCLK32KDRVF2S
PLLCLKEXT (OSC2)
GLOBALCLK (OSC0)
(from 32KHz osc.)
Configuration signals
Asynchronous mode
bus clocks
(from clock
multiplexor logic)
Alternative
peripheral
clocks
3-40 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
GLOBALCLK 6–75MHz This is a master clock that is shared between the FPGA, RealView ICS307
Logic Tile, and ARM926EJ-S Development Chip. OSC0
HCLKM1 6–50MHz The AHB master interface clock is used by the AHB Bridge 1 to ICS307
off-chip peripherals when it operates in asynchronous mode. By OSC1
default, the multiplexor selects GLOBALCLK (driven by OSC0)
as the external clock source.
Note
By default, the AHB M1, AHB M2, and AHB S bridges all operate
in synchronous mode and the external reference clocks are ignored.
HCLKM2 6–40MHz The AHB master interface clock is used by the AHB Bridge 2 to ICS307
off-chip peripherals when it operates in asynchronous mode. By OSC2
default, the multiplexor selects GLOBALCLK (driven by OSC0)
as the external clock source.
HCLKS 6–33MHz The AHB master interface clock is used by the AHB Bridge to ICS307
on-chip peripherals when it operates in asynchronous mode. By OSC3
default, the multiplexor selects GLOBALCLK (driven by OSC0)
as the external clock source.
PLLCLKEXT 6–200MHz When the development chip PLL is not used, this input can be used ICS307
to drive the CPU and AMBA clocks. This clock is selected by the OSC0
Clock and Reset Controller which is controlled by the System
Controller.
Note
By default, the ARM926EJ-S Development Chip uses a PLL to
generate the CPU and AMBA clocks based on the XTALCLKEXT
signal. PLLCLKEXT and REFCLK32K are not used.
REFCLK32K 32.768kHz This clock is selected by the Clock and Reset Controller which is Crystal
(fixed) controlled by the System Controller. This signal is also used to
generate a 1Hz clock for the Real Time Clock. When the
development chip PLL is not used, this input can be used to drive
the CPU and AMBA clocks.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-41
Hardware Description
Peripheral clocks 24MHz and The SSP, SCI, and UART use an external 24MHz as reference. The 24MHz
1MHz timers use an external 1MHZ clock as reference. crystal
XTALCLKDRV 6–75MHz For the default clock multiplexor setting, this signal is driven from ICS307
the FPGA (from OSC0) and is distributed as HCLKM1, OSC0
HCLKM2, HCLKS, PLLCLKEXT, GLOBALCLK, and
XTALCLKEXT.
XTALCLKEXT 6–75MHz When the ARM926EJ-S Development Chip PLL is used, this input ICS307
is used as the reference clock for the PLL. When the on-chip PLL OSC0
is not used this input can be used as the reference clock for the CPU
and AMBA clocks. This clock is selected by the Clock and Reset
Controller which is controlled by the System Controller.
Default operation
Figure 3-19 on page 3-43 shows a simplified block diagram with default clock settings
and the internal and external multiplexors replaced by an equivalent circuit.
Caution
It is recommended that you use the default value of 0xE0 for the clock multiplexing
signals HCLKCTRL[7:0]. Changing the value of HCLKCTRL[7:0] is only required
if you want to individually control the source for XTALCLKEXT (GLOBALCLK),
AHB M1, AHB M2, or AHB S.
If you install a RealView Logic Tile for example, you can add additional clock
generation and control logic in the tile FPGA. If you change the multiplexing signals,
ensure that you have programmed the oscillators to generate the correct bridge
frequencies or have implemented the correct clock generation logic in your RealView
Logic Tile.
3-42 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
HCLKEXT (35MHz)
ARM926EJ-S
Dev. Chip CPUCLK HCLKEXT
HCLK HCLK (70MHz)
PLL (210MHz) divider
divider (2)
(3)
PLL used with
ARM926EJ-S On-chip
XTALCLKEXT to
peripherals
generate HCLKEXT
and HCLK MBX
clock MBX
CFGHCLKDIVSEL[1:0] (35MHz)
divider
(2) MPMC
CFGDATA values
CFGMBXCLKDIVSEL[1:0]
CFGHCLKEXTDIVSEL[2:0]
SDRAM
70MHz
CFGSMCCLKDIVSEL[1:0]
XTALCLKEXT (35MHz)
Flash
clock 70MHz SMC
clock
divider
External AHB clock 35MHz AHB AHB AHB
HDATAM1
HDATAM2
(2)
(all bridges operating in S M2 M1
synchronous mode) bridge bridge bridge
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-43
Hardware Description
• OSC0 provides the XTALCLKEXT input clock for the PLL in the ARM926EJ-S
Development Chip.
• The PLL output CPUCLK is used as the CPU core clock and as the input to the
HCLK divider.
Setting the clock frequencies involves trade-offs between CPU performance, bus
performance, MBX performance, and memory access time. The clocks must also be
within their operational limits, see Clock rate restrictions on page B-5.
The AHB bridges operate in synchronous mode by default. The internal part of the AHB
bridge is clocked by HCLK and external part of the bridge is clocked by HCLKEXT.
HCLKEXT is the feedback to the PLL, so the HCLKEXT frequency is the same as
the PLL reference frequency XTALCLKEXT.
3-44 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Use the following steps to set the external AMBA bus clock to 35MHz, the CPUCLK
rate to 210MHz, and the internal AMBA bus and SDRAM frequency to 70MHz:
• The external AMBA bus clock is at the same frequency as the XTALCLKEXT
signal, so OSC0 must be set to 35MHz. This requires that the SYS_OSC0 register
is loaded with b0000010110010100111 (0x02CA7).
This sets the Divide Select bits to b000 (divide by 10), the Reference Divider bits
to b0010110 (divide by 24), and the VCO Divider bits to b010100111 (multiply by
175). See ICS307 programmable clock generators on page 3-50 and Oscillator
registers, SYS_OSCx on page 4-23 for details on programming OSC0.
• An MBX clock 70MHz is within the permitted range, so its divider is set to 1
(CFGMBXCLKDIVSEL[1:0]= b00).
• An SMC of 70MHz is outside the operating frequency range for flash memory, so
the SMC clock divider must be set to 2 (CFGSMCCLKDIVSEL[1:0]= b01).
The flash memory in synchronous mode operates at 35MHz
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-45
Hardware Description
The following signals control the external part of the AHB bridges if they are operating
in asynchronous mode:
CFGM1ASYNC If HIGH, the external HCLKM1 is selected as the clock for the
external part of bus bridge M1. The signal is controlled by the
value of bit 22 of the SYS_CONFIGDATA2 register. The default
is LOW, the internal clock HCLKEXT is used and the bridge
operates in synchronous mode.
CFGM2ASYNC If HIGH, the external HCLKM2 is selected as the clock for the
external part of bus bridge M2. The signal is controlled by the
value of bit 23 of the SYS_CONFIGDATA2 register. The default
is LOW, the internal clock HCLKEXT is used and the bridge
operates in synchronous mode
CFGSASYNC If HIGH, the external HCLKS is selected as the clock for the
external part of bus bridge S. The signal is controlled by the value
of bit 24 of the SYS_CONFIGDATA2 register. The default is
LOW, the internal clock HCLKEXT is used and the bridge
operates in synchronous mode
3-46 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
bridge mode
REFCLK32K
PLLCLKEXT
Configuration
HCLKM1
HCLKM2
signals
HCLKS
HDATAM1
HDATAM2
Clock multiplexors
(equivalent circuit)
(To RealView
Logic Tile)
GLOBALCLK
HCLKCTRL[7:0]
HCLKM1_F2L
XTALCLKDRV
GLOBALCLK
HCLKM1M2F
HCLKM2M2F
HCLKM1F2S
HCLKM2F2S
PLLCLKEXT
HCLKM1F2F
HCLKM2F2F
HCLKSM2F
HCLKM2_F2L
HCLKSF2S
HCLKSF2F
HCLKS_F2L
OSC3
SYS_CFGDATA1
SYS_CFGDATA2 OSC2
HCLKCTRL[5] OSC1
HCLKCTRL[6]
HCLKCTRL[7] OSC0
24MHz
32kHz crystal
oscillator
FPGA SYS_OSCx registers and clock ICS307 control signals
control serializer
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-47
Hardware Description
HCLKCTRL[7:0] - These signals control the multiplexor that selects clocks for the FPGA
ARM926EJ-S Development Chip.
HCLKM1M2F - These are FPGA input clocks (for M1, M2, and S) that can be Clock
HCLKM2M2F routed to HCLKxM2F and used as clocks for the M1, M2, and S select
HCLKSMF2F buses in the FPGA. logic
HCLKM1F2F - These are FPGA output clocks (for M1, M2, and S) that can be used Clock
HCLKM2F2F as feedback signals to DLLs in the FPGA. select
HCLKSF2F logic
HCLKM1F2S - These are FPGA output clocks (for M1, M2, and S) that can be used FPGA
HCLKM2F2S as ARM926EJ-S Development Chip reference clocks.
HCLKSF2S
HCLKM1F2L - These are FPGA output clocks (for M1, M2, and S) that can be used FPGA
HCLKM2F2L as RealView Logic Tile reference clocks. By default, these are
HCLKSF2L driven by OSC0.
HCLKM1L2S - These are RealView Logic Tile output clocks (for M1, M2, and S) RealView
HCLKM2L2S that can be used as ARM926EJ-S Development Chip reference Logic Tile
HCLKSL2S clocks.
HCLKM1L2F - These are RealView Logic Tile output clocks (for M1, M2, and S) RealView
HCLKM2L2F that can be used as clocks for buses in the FPGA. Logic Tile
HCLKSL2F
OSC0 For the image provided with the FPGA and the default
HCLKCTRL[7:0] value of 0xE0, programmable oscillator OSC0
is the source for the XTALCLKEXT, GLOBAL_CLK,
HCLKM1, HCLKM2, HCLKS, and PLLCLKEXT signals.
OSC2 Programmable oscillator OSC2 can be used the source for the
HCLKM2 signal.
OSC3 Programmable oscillator OSC3 can be used the source for the
HCLKS signal.
3-48 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Table 3-7 to Table 3-9 on page 3-50 list the source of the bridge clocks for different
values of the HCLKCTRL[7:0] signals (from SYS_CONFIGDATA1[23:16]). The
default value of HCLKCTRL[7:0] is 0xE0.
HCLKCTRL signal
0 X 0 1 OSC0 (default)
0 X 0 0 OSC1
HCLKCTRL signal
0 X 0 1 OSC0 (default)
0 X 0 0 OSC2
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-49
Hardware Description
HCLKCTRL signal
0 X 0 1 OSC0 (default)
0 X 0 0 OSC3
Five programmable (6–200 MHz) clocks are supplied to the FPGA by the
programmable MicroClock ICS307 clock generators (OSC0–OSC4):
OSCCLK0 This is the default reference clock for XTALCLKDRV. This is normally
used as GLOBALCLK, the external AHB bridge clocks, and the
reference for the PLL that generates CPUCLK.
OSC0 uses a 24MHz crystal as its reference. A fixed-frequency 24MHz
signal, REFCLK24MHZ, is output from OSC0 and used as a reference
signal for:
• The input for programmable oscillators OSC1–OSC4.
• the Ethernet controller clock (the Ethernet serial data clock is
generated from a 25MHz crystal on the Ethernet controller).
• the USB controller clock
• the USB debug controller clock
• the external peripheral clocks for the SCI, UART, and SSP in the
ARM926EJ-S Development Chip.
• the input to divide-by-24 logic in the FPGA that produces the
1MHz reference clock for the timers.
OSCCLK1 An alternative reference clock for the AHB M1 bridge clocks from the
FPGA to the clock selection multiplexors (HCLKM1F2S,
HCLKM1F2F, and HCLKM1F2L). By default, this clock is not used
and the AHB M1 bridge operates in synchronous mode.
3-50 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
OSCCLK3 An alternative reference clock for the AHB S bridge clocks from the
FPGA to the clock selection multiplexors (HCLKSF2S, HCLKSF2F,
and HCLKSF2L). By default, this clock is not used and the AHB S
bridge operates in synchronous mode.
OSCCLK4 This the reference for the CLCD controller (a buffered version of this
clock is output to the ARM926EJ-S Development Chip as
CLCDCLKEXT).
The output frequencies of the ICS307s are controlled by divider values loaded into the
serial data input pins on the oscillators. The divider values are defined by the
SYS_OSCx and SYS_OSCRESETx registers. The data stream and register format is
shown in Figure 3-21. See Oscillator registers, SYS_OSCx on page 4-23 for details on
the clock control registers.
31 24 23 19 18 16 15 9 8 0
Not transmitted to Reserved, transmitted to DIVIDE RDW, Reference VDW, VCO Divider
oscillator oscillator but not used select Divider Word Word
Note
Bit 23 is loaded into the shift register first and bit 0 is loaded last. Data is clocked into
the ICS307DATA pins of the oscillators on the rising edge of ICS307CLK. One of the
ICS307STRB[4:0] signals is pulsed HIGH to latch the serial data into the divider
control register.
You can calculate the oscillator output frequency from the formula:
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-51
Hardware Description
where:
VDW Is the VCO divider word (4 – 511) from SYS_OSCx[8:0]
RDW Is the reference divider word (1 – 127) from SYS_OSCx[15:9]
DIVIDE Is the divide ratio (2 to 10) selected from SYS_OSCx[18:16]:
• b000 selects divide by 10
• b001 selects divide by 2
• b010 selects divide by 8
• b011 selects divide by 4
• b100 selects divide by 5
• b101 selects divide by 7
• b110 selects divide by 3
• b111 selects divide by 6.
For more information on the ICS clock generator and a frequency calculator, see the ICS
web site at www.icst.com. For details of the clock control registers, see Status and system
control registers on page 4-18.
The Versatile/PB926EJ-S can be restarted with low-frequency clocks. This is useful, for
example, if you are testing a peripheral in an external RealView Logic Tile that cannot
support high frequency operation at startup. This mode does not require you to write a
startup-application that writes to SYS_OSC0.
To restart the system in low-frequency mode, set switch S1-5 to ON and power-cycle
the system or press the DEV CHIP CONFIG pushbutton. The resulting frequencies are:
OSCCLK0 The reference clock is programmed for 10MHz operation. The ratios for
the clock dividers are not changed.
HCLKEXT This 10MHz clock controls the external half of the AHB bridges when
they are operating in synchronous mode.
HCLK This 20MHz clock controls the internal half of the AHB bridges and is
the reference clock for the memory controllers.
To return to the default operating mode, set switch S1-5 to OFF and reset the system.
3-52 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The system controller in the ARM926EJ-S Development Chip can switch the system
into power-saving modes (slow, doze, and sleep).
Peripheral clocks
The UART, Smart Card Interface, and Synchronous Serial Port in the ARM926EJ-S
Development Chip are clocked from a 24MHz reference clock from the FPGA. The
clock is a buffered version of the REFCLK24MHZ (from the crystal oscillator circuit
that is part of OSC0).
The Dual Timer Counter modules in the ARM926EJ-S Development Chip are clocked
by a 1MHz reference clock from the FPGA. The 1MHz clock is generated by dividing
the 24MHz reference by 24 in the FPGA.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-53
Hardware Description
Caution
By default, the clock multiplexors select XTALCLKDRV from the FPGA (buffered
version of OSC0 output) as the reference clock.
Setting Z50 HIGH on the RealView Logic Tile pulls nGLOBALCLKEN HIGH and
selects the RealView Logic Tile as the source for the global clock and the AHB bridge
clocks. However, you must ensure that you implement appropriate clock generation and
selection logic in your RealView Logic Tile and that the clocks operate correctly at
power on.
The RealView Logic Tile can also be selected to provide the external bridge clocks
when an AHB bridge is operating in asynchronous mode. Using the tile as the source of
the bridge clocks is only recommended for the AHB M1 and AHB S bridges. See
Operating the AHB bridges in asynchronous mode on page 3-46 for more details.
3-54 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
XTALCLKEXT ARM926EJ-S
RealView
HDATAM1
HDATAM2
Logic Tile
HCLKM1
HCLKM2
HCLKS
OSC
GLOBALCLK GLOBALCLK
Divider
HCLKSL2S
HCLKCTRL[7:0]
HCLKSL2F
Clock
multiplexors
HCLKM1F2L AHB M1
(equivalent timing
circuit)
HCLKM2F2L
AHB M2
timing
XTALCLKDRV
GLOBALCLK
HCLKM1F2F
HCLKM1M2F
HCLKM2M2F
HCLKM2F2F
HCLKM1F2S
HCLKM2F2S
HCLKM1F2L
FPGA
HCLKM2F2L
HCLKSM2F
SYS_CFGDATA1
SYS_CFGDATA2
OSC2
HCLKCTRL[5]
HCLKCTRL[6] OSC1
OSC0
24MHz
crystal
FPGA SYS_OSCx registers and
clock control serializer ICS307 control signals
Figure 3-22 Example of selecting a tile clock for the AHB S bridge
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-55
Hardware Description
Table 3-11 lists the other memory and peripheral clocks on the Versatile/PB926EJ-S.
For more detail on the clocking system, see the files in the Schematics directory of the
CD supplied with the Versatile/PB926EJ-S.
AACIBITCLK 12.288MHz This is the synchronization clock from the audio CODEC. The Crystal
clock is an input to the AACI PrimeCell. oscillator
CLCDCLKEXT 6–50MHz The clock for PL110 CLCD Controller in the development chip can ICS307
be derived from this input. OSC4
ETHLCLK AHB M2 ETHLCLK is used to synchronize data transfers between the 24MHz
external controller and the FPGA. (The Ethernet controller uses a reference
25MHz crystal for clocking signals to and from the Ethernet
connector.)
MPMCCLK[4:0] - The dynamic memory clocks from the MPMC in the development MPMC
chip. This is a buffered version of HCLK. controller
SCIREFCLKEXT 24MHz The clock for PL131 SCI in the development chip can be derived 24MHz
from this input. This is a buffered version of REFCLK24MHZ. reference
SMCLK[2:0] - The static memory clocks from the SSMC in the development chip. SSMC
This is HCLK divided by 1, 2, or 3. controller
Figure 3-23 on page 3-57 shows the clock multiplexor switches and the effect of the
HCLKCTRL[4:0] signals.
Note
The HCLKx_L2S and HCLKx_L2F clocks must be driven from the same reference
source in the RealView Logic Tile. The HCLKx_F2S and HCLKx_F2F clocks are
driven from the same source in the Versatile/PB926EJ-S FPGA. Two signals are used
for each clock for loading purposes and to allow for future expansion.
3-56 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
00
CLK_GLOBAL
10
HCLKSL2S 01 HCLKS
HCLKSF2S 11
00
10
HCLKSL2F 01
00
10
HCLKM2L2S 01 HCLKM2
Z50 HCLKM2F2S 11
HCLKxL2S
nGLOBALCLKEN
HCLKxL2F 00
HCLKxF2L 10
HCLKM2L2F 01
HCLKM2F2F 11
00
10
HCLKM1L2S HCLKM1
01
HCLKxF2L HCLKM1F2S 11
00
10
HCLKM1L2F 01
HCLKxF2S ARM926EJ-S
HCLKM1F2F 11
HCLKxF2F HCLKCTRL1 Dev. Chip
HCLKCTRL2
HCLKCTRL3
FPGA HCLKCTRL4
L2FSPARE4 HCLKCTRL0
XTALCLKDRV GLOBAL CLK XTALCLKEXT
GLOBALCLK
HCLKM1
HCLKM2
HCLKS
PLLCLKEXT PLLCLKEXT
REFCLK32KF2S REFCLK32KF2S
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-57
Hardware Description
Note
For a description of the audio CODEC signals, refer to the LM4549 datasheet available
from the National Semiconductor website. See also Advanced Audio CODEC Interface,
AACI on page 4-42.
Characteristic Value
Audio sample data width 12, 16 or 18-bit native. Other data sizes require software
conversion of sample data.
Sample rates supported 4kHz to 48kHz, variable in 1Hz steps. Record and
playback sample rates can be independently selected.
3-58 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
AACISDATAIN
CODEC_LINE_IN_L Tip
(bottom)
LM4549
AACIRESET
J3
Audio CODEC_LINE_IN_R Ring
AACISDATAOUT CODEC
microphone
J4
CODEC_MIC2 Ring
FPGA
A
MIC_BIAS
B
C
Solder link LK1 for
microphone bias voltage
Two microphone inputs are present on J4. Only monophonic sound is supported, but
microphone channel CODEC_MIC1 or CODEC_MIC2 can be selected in software.
Solder link LK1 selects passive or active (electret) microphones:
Link AB Active microphone with power on CODEC_MIC1 (tip). Passive
microphone on CODEC_MIC2 (not powered).
This is the default configuration.
Link BC Active microphone with power on CODEC_MIC2 (ring). Passive
microphone on CODEC_MIC1 (not powered).
No link Passive microphone on CODEC_MIC1 and CODEC_MIC2.
The signals associated with the audio CODEC interface are also assigned to connector
J45, the AACI expansion socket pins, as shown in Table 3-13 on page 3-60.
Note
The AACI expansion connector J45 is not fitted to the Versatile/PB926EJ-S.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-59
Hardware Description
3-60 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The character display has an 8-bit interface, DB[7:0] (CHARLCDD[7:] from the
controller).
The device is controlled by the E, RnW, and RS pins. The controller drives these pins
with the CHARLCDE, CHARLCDnWRITE, and CHARLCDRS signals.
A 3.3V to 5V translation buffer is used to interface the to the 5Vlogic levels of the
character LCD. RS selects the access of either the data register or the command register.
A read of the command register returns the busy flag in DB[7].
LK10 is installed at the factory to match the voltage requirement of the particular
display module installed on the board.
Note
The LCD display is much slower than the peripheral bus. Poll the busy flag or write an
interrupt service routine to determine if the device is ready to accept commands. See
Character LCD display on page 4-44.
An interrupt signal is generated by the character LCD controller a short time after the
raw data is valid. However this interrupt signal is reserved for future use and you must
use a polling routine instead of an interrupt service routine.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-61
Hardware Description
5V 33 BLLED 2
1
2 CHARLCDVCC 15
3V3 3 VO 3
LK10
10K
1K 16
CHARLCDD3 BUFCHARLCDD3 10
CHARLCDD4
Buffer BUFCHARLCDD4 11
AHB M2
CHARLCDD5 BUFCHARLCDD5 12
CHARLCDD6 BUFCHARLCDD6 13
CHARLCDD7 BUFCHARLCDD7 14
dir
CHARLCDnWRITE BUFCHARLCDRnW 5
CHARLCDRS BUFCHARLCDRS 4
Buffer
CHARLCDE BUFCHARLCDE 6
3-62 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
A PLD rearranges the CLCDC display signals for the selected resolution and color
depth for a CLCD display. A DAC converts the rearranged CLCD signals into VGA
analog signals. The LCDMODE[1:0] signals select the mapping of CLCD video data
to the RGB signals for different resolutions.
Use the Synchronous Serial Port (SSP) to access the touchscreen controller on the
adapter board.
Figure 3-26 on page 3-64 shows the architecture of the display interface.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-63
Hardware Description
R[7:0] RED
VGA connector
G[7:0] GREEN
CLD[23:0] Video DAC
B[7:0] BLUE
VGA_CLK
VGA_HSYNC
VGA_VSYNC
CLCP LT_CLCD_R[7:0]
CLLP LT_CLCD_G[7:0]
CLFP LT_CLCD_B[7:0]
Logic Tile
CLAC LT_CLCP
CLLE VGA mode PLD LT_CLLP
LT_CLFP
ARM926EJ-S
LT_CLAC
Dev. Chip
LT_CLLE
PL110 CLPOWER
CLCDC BUF_R[7:0]
BUF_G[7:0]
BUF_B[7:0]
Buffers
LCD_CLCP BUF_CLCP
LCD_CLLP BUF_CLLP
LCD_CLFP BUF_CLFP
LCDMODE[1:0] LCD_CLAC BUF_CLAC
LCD_CLLE BUF_CLLE
TSnPENIRQ TSnPENIRQX
TSnKPADIRQ TSnKPADIRQX
Interrupt signals
LCDID[4:0] LCDID[4:0]X
LCDSD0OUTnIN BUF_LCD0OUTnIN
Buffers
BUF_LCDXWR
BUF_LCDXCS
BUF_LCDXRD
3-64 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
See Color LCD Controller, CLCDC on page 4-47 and the ARM926EJ-S Development
Chip Reference Manual for interface details.
Signal Description
CLD[23:0] LCD panel data. This is the digital RGB signals and synchronization signals.
CLCP LCD panel clock to or from the RealView Logic Tile. A buffered version of this signal is output to
the CLCD adaptor board as BUF_CLCP. This signal can also be driven to the RealView Logic
Tile on LT_CLCP.
CLLP Line synchronization pulse (STN)/horizontal synchronization pulse (TFT) to or from the
RealView Logic Tile. A buffered version of this signal is output to the CLCD adaptor board as
BUF_CLLP. This signal can also be driven to the RealView Logic Tile on LT_CLLP.
CLFP Frame pulse (STN)/vertical synchronization pulse (TFT) to or from the RealView Logic Tile. A
buffered version of this signal is output to CLCD adaptor board as BUF_CLFP. This signal can
also be driven to the RealView Logic Tile on LT_CLFP.
CLAC STN AC bias drive or TFT data enable output to or from the RealView Logic Tile. A buffered
version of this signal is output to the CLCD adaptor board as BUF_CLAC. This signal can also
be driven to the RealView Logic Tile on LT_CLAC.
CLLE Line end signal to or from the RealView Logic Tile. A buffered version of this signal is output to
the CLCD adaptor board as BUF_CLLE. This signal can also be driven to the RealView Logic
Tile on LT_CLLE.
CLPOWER LCD panel power enable. Depending on the link settings on the CLCD adaptor board, this signal
can be used to turn off power to the display.
B[7:0] Blue output signals to D/A converter and to or from the RealView Logic Tile. A buffered version
of these signals are output to the CLCD adaptor board as BUF_B[7:0].
G[7:0] Green output signals to D/A converter and to or from the RealView Logic Tile. A buffered version
of these signals are output to the CLCD adaptor board as BUF_G[7:0].
R[7:0] Red output signals to D/A converter and to or from the RealView Logic Tile. A buffered version
of these signals are output to the CLCD adaptor board as BUF_R[7:0].
RED, GREEN, Analog output from D/A converter for red, green, and blue signals to VGA connector.
BLUE
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-65
Hardware Description
Signal Description
LCDID[4:0] These signals are determined by resistor links on the LCD adaptor board. They indicate the type
of display that is attached to the adaptor board.
LCDMODE[1:0] These signals select the VGA display resolution. The signals control remapping of the CLD[23:0]
data signals to the B[7:0], G[7:0], and R[7:0] signals to the CLCD display and the DAC for the
VGA display.
LCDDATnCOM This signal indicates to the external controller on the CLCD expansion board whether the current
value is data or a command.
LCDSD0 Serial data in or out for an external controller on the CLCD expansion board.
LCDSD0OUTnIN This signal controls the direction of the serial data bus.
LCDXCS Chip select signal to an external controller on the CLCD expansion board.
VGA_CLK The VGA clock synchronizes the conversion of the B[7:0], G[7:0], and R[7:0] signals into the
RED, GREEN, and BLUE analog signals.
3-66 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
3.9 DMA
On-chip peripherals in the ARM926EJ-S Development Chip use DMA channels 6–15.
DMA control signals for channels 0–5 are passed to the RealView Logic Tile connectors
and signals for channels 0–2 are also passed to the DMA mapping multiplexors in the
FPGA. Figure 3-27 on page 3-68 shows the DMA architecture.
See also Direct Memory Access Controller and mapping registers on page 4-52.
Caution
The FPGA and RealView Logic Tile share the signals for channels 0 to 2. Ensure that
the RealView Logic Tile logic does not drive the DMA signals at the same time as the
FPGA is driving the signals. You can, for example, put a tristate control in your
RealView Logic Tile peripherals such that the RealView Logic Tile peripheral DMA
signals can be disabled if a FPGA peripheral is using a shared DMA channel.
The DMA control signals have pull-up or pull-down resistors as appropriate. It is not
necessary therefore to drive unused signals.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-67
Hardware Description
Logic Tile
connectors FPGA
14 UART0 Rx
13 UART1 Tx
12 UART1 Rx
On-chip peripherals
11 UART2 Tx
9 SSP Tx
PL080 DMAC
8 SSP Rx
7 SCI Tx
6 SCI Rx
Channel 5
Channel 3 USB-A
interfaces
USB-B
Channel 2 MMCI0
Channel 1 MMCI1
UART3 Tx
Channel 0 UART3 Rx
SCI int A
SCI int B
ARM926EJ-S
Dev. Chip
SYS_DMAPSR0
SYS_DMAPSR1
SYS_DMAPSR2
3-68 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The DMA control signals for external devices are listed in Table 3-15.
Note
Some FPGA peripherals do not use all of the DMA control signals. The USB controller,
for example, uses only the DMACSREQ and DMACCLR signals.
The names of DMA control signals change as they pass through the mapping logic in
the FPGA. For the USB controller, DMACSREQ signals correspond to
USBDREQ[1:0] and the DMACCLR signals correspond to USBDACK[1:0].
Signal Description
DMACCLR[5:0] Clear outputs from DMAC. These signals acknowledge the request
from the corresponding DMASREQ or DMABREQ signals.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-69
Hardware Description
The internal registers of the LAN91C111 are memory-mapped onto the AHB M2 bus
and occupy 16 word locations at 0x10010000.
The isolating RJ45 connector incorporates two network status LEDs. The function of
the LEDs can be set to indicate link, activity, transmit, receive, full duplex, or 10/100
selection. See the data sheet for the LAN91C111 for more details on programming the
registers.
(to USB
AHB M2 controller)
LAN91C111 10/100Mb
8KB RAM Ethernet chip
USBETHA[8:2]
TPO+
FPGA USBETHD[31:0] Encoder
Bus TPO-
interface FIFOs, LAN DMA, and driver
ETHx
and and CSMA/CD TPI+
control Buffer and
register TPI- J5
EEPROM decoder
block
LED A
25MHz LED
control LEDB
xtal
3-70 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Signal Description
LEDA, LEDB Activity indicator LEDs. The function of the LEDs can be configured by writing
to a LAN91C111 register.
ETHnLDEV Asserted LOW if the address enable signal, ETHAEN, is low and the address lines
decode to the controller address programmed into the base address register
ETHnVLBUS This signal is connected to ground by a pull-down resistor. If LOW, the controller
uses VL bus accesses. If HIGH, the controller uses EISA DMA accesses.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-71
Hardware Description
The SMCS LAN91C11 is a fast Ethernet controller that incorporates a Media ACcess
(MAC) Layer, a PHYsical (PHY) layer, and an 8KB dynamically configurable transmit
and receive FIFO.
The controller supports dual-speed 100Mbps or 10Mbps and auto configuration. When
auto configuration is enabled, the chip is automatically configured for network speed
and for full or half-duplex operation.
The controller uses a local VL-Bus host interface with a bridge to the AHB bus provided
by the FPGA. The FPGA generates the appropriate access control signals for the host
side of the Ethernet controller. The VL-Bus is a synchronous bus that supports 32-bit
accesses.
The LAN91C111 is a little-endian device. The default configuration for the system bus
is also little-endian. If you configure the system bus for big-endian operation you must
perform half-word and byte swapping in software.
When the Versatile/PB926EJ-S is manufactured, an ARM value for the Ethernet MAC
address and the register base address are loaded into the EEPROM. The register base
address is 0. A unique MAC address is programmed at manufacture, but the address can
be reprogrammed if required. Reprogramming of the EEPROM is done through Bank
1 (general and control registers).
3-72 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The GPIO signals are also connected to the expansion connector for the optional
RealView Logic Tile. This enables you to use the GPIO signals with custom logic you
implement in the tile.
See also General Purpose Input/Output, GPIO on page 4-56, the ARM926EJ-S
Development Chip Reference Manual and the ARM PrimeCell GPIO (PL061) Technical
Reference Manual. See GPIO interface on page A-14 for connector pinout information.
3V3
Logic Tile
ARM926EJ-S
Dev. Chip Pullup resistors
(10K Ohm)
PL061 GPIO
PrimeCell
GP0_[7:0]
J15
GP1_[7:0]
PL061 GPIO
PrimeCell
GP2_[7:0]
J16
GP3_[7:0]
Note
Bit 7 of GPIO 3 is used for the battery voltage signal BATOK from the system
controller.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-73
Hardware Description
3.12 Interrupts
The ARM926EJ-S Development Chip contains the primary interrupt controller and a
secondary interrupt controller is in the FPGA, see Figure 3-30.
VICINTSOURCE31
ZU216
VICINTSOURCE30
ZU215
Versatile Logic Tile
VICINTSOURCE29
ZU214
interrupt signals
VICINTSOURCE28
ZU213
VICINTSOURCE27
ZU212
VICINTSOURCE26
ZU211
VICINTSOURCE25
ZU210
VICINTSOURCE24
ZU209
VICINTSOURCE23
ZU208
VICINTSOURCE22
ZU207
USB 26
UART0 12
ETHERNET 25
SSP 11
AACI 24
RTC 10
MMCI1A 23
GPIO3 9
MMCI0A 22
GPIO2 8
DiskOnChip 21
GPIO1 7
Reserved 20-10 GPIO0 6
9
Touchscreen keypad Timers 2 and 3 5
Touchscreen pen 8 Timers 0 and 1 4
CharLCD 7 Comms Tx 3
UART3 6 Comms Rx 2
FPGA SCI1 5 Software Int 1
KMI1 (mouse) 4 Watchdog 0
KMI0 (keyboard) 3
MMCI1B 2
MMCI0B 1
ARM926EJ-S Dev. Chip
0
SIC_SOFTINTx
3-74 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The primary interrupt controller manages interrupts from internal devices and provides
11 pins for use by the external secondary interrupt controller and multiplexor present in
the FPGA. VICINTSOURCE31 is the output from the secondary controller.
VICINTSOURCE[30:21] can be driven from individual interrupt signals from
peripherals in the FPGA or on a RealView Logic Tile.
For details on the programming model for the interrupt controllers, see:
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-75
Hardware Description
FPGA 3V3
5V
connector
Keyboard
KMI0CLKR
J24
PL050
KMI0DATAR
GND
AHB M2
3V3
5V
connector
KMI1CLKR
Mouse
PL050
J23
KMI1DATAR
10R GND
1K pullup
current-limit
resistors
resistors
See also Keyboard and Mouse Interface, KMI on page 4-67 and the ARM PrimeCell PS2
Keyboard Mouse Controller (PL050) Technical Reference Manual.
3-76 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The MMC socket provides nine pins that connect to the card when it is inserted into the
socket. (The nine-way socket is compatible with SD cards. However MMC uses only
seven of the nine pins.)
The socket contains two switches that are operated by inserting or removing the card.
These are used to provide signaling on the nCARDIN and WPROT signals.
The function of the interface signals depends on whether an MMC or SD card is fitted.
Both card types default to MMC but the SD card has an additional operating mode
called widebus mode. Table 3-17 shows the use of the signals for both modes of
operation.
nCARDINx card presence detect (active LOW) card presence detect (active LOW)
Insert the card into the socket with the contacts face down for the connector on the top
of the Versatile/PB926EJ-S or face up for the bottom connector. Cards are normally
labelled on the top surface and provide an arrow to indicate the correct way to insert
them.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-77
Hardware Description
Remove the card by gently pressing it into the socket. It springs back and can be
removed. This ensures that the card detection switches within the socket operate
correctly.
3V3
FPGA S
nMCIPWR0
G HEXFET MCIVDD0 4
D
MCICLK0 5
GND 6
MCI0DAT0 7
MCI0DAT1 8
MCI0DAT2 9
PL180 MMCI PrimeCell
MCI0DAT3 1
WPROT0 DET_B
AHB M2
CARDIN0 DET_A
3V3
S
nMCIPWR1
G FET MCIVDD1 4
D
MCICLK1 5
GND 6
GND 3
MCI1DAT1 8
MCI1DAT2 9
MCI1DAT3 1
WPROT1 DET_B
CARDIN0 DET_A
3-78 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Signal Description
CARDINx Card detect signal. Read the current state from SYS_MCI.
See MMC and SD flash card interface on page A-8 for details of the MMC/SD card
socket and pin numbering.
See also MultiMedia Card Interfaces, MCIx on page 4-70 and the ARM PrimeCell
Multimedia Card Interface (PL180) Technical Reference Manual.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-79
Hardware Description
PCI bridges pass valid accesses between the Versatile/PB926EJ-S and the PCI bus.
The slave bridge connected to the AHB M2 bus recognizes addresses 0x41000000 to
0x6FFFFFFF as being intended for a target within the PCI address space of the memory
map, and passes accesses within this region to the PCI bus. The PCI_IMAPx registers
define the address translation values for the PCI I/O, PCI configuration, and PCI
memory windows.
The PCI_SMAPx registers define the address translation values for PCI accesses to the
AHB S bus.
The AHB to PCI bridge supports read and write accesses in both directions, as shown
in Figure 3-33.
Versatile PB/926EJ-S
PCI Backplane
PCI_IMAPx
ARM926EJ-S Dev. Chip
registers
Slot 1
Slot 2
Slot 3
PCI_SMAPx
registers Xilinx
PCI to
Address AMBA
AHBS Master Inbound bridge
translation
AHB FIFO
windows
Interrupt
See also and Appendix D PCI Backplane and Enclosure and PCI controller on
page 4-74.
3-80 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Each device on the serial bus has its own slave address. The unique address for each
slave on the serial bus is shown in Table 3-19.
Slave address
Slave device
(7-bit)
The block diagram of the interface is shown in Table 3-19. See Serial bus interface on
page 4-86 for more information on the programming interface.
SBSCL
Serial bus control
SBSDA
registers
AHB M2
FPGA
Table 3-20
Signal Description
SBSCL Open-collector clock. This clock is driven by the FPGA, but can be
held LOW by an external device if it is not ready to receive or
transmit data
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-81
Hardware Description
There are two sets of Smart Card connectors on the board, J25/J48 and J26/J49. Only
one header is fitted for each channel. The connector numbers refer to different size
connectors that can be can be fitted. (J25 and J26 are large connectors. J48 and J49 are
small connectors.)
Figure 3-35 on page 3-83 shows the tristate buffers that are used to provide the interface
between the SCI and the cards. The 16-way box header J28 enables you to monitor the
signals or to connect an off-board smart card connector.
SCI0 output signals go to both the RealView Logic Tile connectors and the Smart Card
connector. The signals from the SC0 connector to the interface can be disabled by a tile
pulling nDRVEN1 HIGH. This enables a RealView Logic Tile to implement a device
that communicates with the ARM926EJ-S Development Chip using the Smart Card
interface protocol.
3-82 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
A
Programmable
SC_VCC0 to buffers and
J27 B
power supply interface connectors for SCI 0
C
SCI 0 output signals
SCIVCCEN0
Logic Tile
SCICLKIN0
SCIDATAIN0
SCIDETECT0
ARM926EJ-S Dev. Chip
SCIDATAOUTOD0 nDRVINEN1
SCICLKOUT0 SC_CLK0
nSCICLKEN0 SC_VCC0
J25/J48 (top)
nSCIDATAEN0 GND
nSCIDATAOUTEN0 SC_DATA0
nSCICARDRST0 nSC_RST0
GND
nSCIDETECT0
SCIFCB0
AHBM2
J28 SCI expansion
nSCICLKEN1
SCICLKOUT1
SCICLKIN1 SC_CLK1
PL031 SCI PrimeCell
SCIDATAIN1
SC_VCC1
SCIDETECT1
J26/J49 (bottom)
GND
nSCIDATAEN1
FPGA
nSCIDATAOUTEN1 SC_DATA1
nSCICARDRST1 nSC_RST1
SCIFCB1 GND
SCIDETECT1 nSCIDETECT1
SCIVCCEN1
A
Programmable SC_VCC1 to buffers and interface
J50 B
power supply
C connectors for SCI 1
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-83
Hardware Description
You can set the Smart Card interface voltage to operate at 5V, 3.3V or 1.8V by setting
jumpers on J27 (for SCI0) and J50 (for SCI1).
• Connect pins AB for 3.3V operation
• Connect pins CB for 5V operation
• omit the link for 1.8V operation.
The default setting is linking pins AB. Both 3.3V and 5V cards will function with this
setting.
Note
The Smart Card VCC is switched on and off by the SCIVCCENx signal from the
PrimeCell.
See also Smart Card Interface, SCI on page 4-88 and the SCI PrimeCell PL131
Technical Reference Manual.
Signal Description
SCIDETECTx Card detect signal from card interface device (active HIGH).
nDRVINEN0 Device select signal from RealView Logic Tile. This signal can
be driven HIGH by the logic tile to enable it to drive the
SCIDATAIN0, SCICLKIN0, and SCIDETECT0 signals. The
signal is normally pulled LOW by a resistor to ground.
3-84 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
SSPCLKOUT
SSPFSSOUT
SSPTXD
nSSPCTLOE
Logic Tile
nSSPOE
SSPRXD
SSPCLKIN
SSPFSSIN
nDRINEN0
SSPCLKOUT
PL022 SSPC PrimeCell
ARM926EJ-S Dev. Chip
SSPFSSOUT
SSPTXD
SSPRXD
SSPCLKIN
SSPFSSIN
SSPnCS
AHB M2 3V3
TSMISO
TSMOSI
CLCD expansion
TSSCLK
LCDDATnCOM
FPGA
Buffers
TSnKPADIRQ
TSnPENIRQ
TSnDAV
TSnSS
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-85
Hardware Description
Name Description
nSSPCTLOE Output enable signal (active LOW) for the SSPCLKOUT output from the
PrimeCell SSP. This output is asserted (LOW) when the device is in master
mode and de-asserted (HIGH) when the device is in slave mode.
nSSPOE Output enable signal (active LOW) to indicate when SSPTXD is valid.
nDRVIEN1 Device select signal from RealView Logic Tile. This signal can be driven
HIGH by the logic tile to enable it to drive the SSPRXD signal.
The SSP functions as a master or slave interface that enables synchronous serial
communication with slave or master peripherals having one of the following:
• a Motorola SPI-compatible interface
• a Texas Instruments synchronous serial interface
• a National Semiconductor Microwire interface.
3-86 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
• Touch screen, keypad, LCD bias, and analogue inputs on the optional LCD
adaptor board. See Appendix C CLCD Display and Adaptor Board.
• Optional SSP devices, such as an EEPROM, that are connected to the expansion
header J29.
Note
Although it is possible to connect both the CLCD adaptor board and an off board
SSP device at the same time, care must be taken to ensure the correct SSP
interface protocol is used when communicating with each device. The interface
can be shared because the data from the touch screen controller data (TSMISO)
is buffered with an open drain driver into SSPRXD.
See also Synchronous Serial Port, SSP on page 4-89 and the ARM PrimeCell
Synchronous Serial Port Controller (PL022) Technical Reference Manual.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-87
Hardware Description
Note
Switch S6-1 and S6-2 are used to control the Boot Monitor. See Boot Monitor
configuration on page 2-5.
Set bits [7:0] in the SYS_LED register at 0x10000008 to illuminate LEDs 7–0. The state
of the user switches S6[8:1] is present on bits [7:0] of the SYS_SW register at
0x10000004.
The state of the general-purpose pushbutton S3 can be read from bit 4 of the SYS_MISC
register at 0x10000060. Setting bit 3 of SYS_MISC causes a S3 depression to generate a
PWRFAIL interrupt. The interrupt can be used to test auto-shutdown code or to awaken
the processor from sleep mode. See Miscellaneous System Control Register, SYS_MISC
on page 4-37.
SYS_LED
LED[7:0]
LEDs and resistors
SYS_SW
AHB M2 SW[7:0]
Switch S6 and
pullup resistors
SYS_MISC
General purpose
FPGA pushbutton S3
(GP PUSHSWITCH)
3-88 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The three UARTs provided by the ARM926EJ-S Development Chip have the following
features:
• functionally similar to standard 16C550 devices
• port function corresponds to the DTE configuration
• SER0 (UART0) has full CTS, RTS, DCD, DSR, DTR, and RI modem control
signals
• SER1 and SER2 (UART1 and UART2) have simple modem control signals CTS
and RTS
• programmable baud rates of up to 1.5Mbits per second (the line drivers however,
are only guaranteed to 250kbps)
• 16-byte transmit FIFO
• 16-byte receive FIFO
• programmable interrupt.
Signals from UART0, UART1, and UART2 are also connected to the expansion
connector for the optional RealView Logic Tile. UART0 has two IrDA signals that are
connected to the RealView Logic Tile expansion headers: SIROUT0 and SIRIN0. There
is no IrDA interface logic on the Versatile/PB926EJ-S itself.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-89
Hardware Description
Logic Tile
Versatile
nDRVINEN1
nDRVINEN0
PrimeCell PrimeCell PrimeCell UART0 IrDA signals
PL011
RS232
J10A
ARM926EJ-S Dev. Chip
RS232
J10B
UART1x input signals SER1x
PL011
J11A
RS232
UART2x input signals SER2x
AHBM2
PrimeCell
SER3x
PL011
RS232
UART3x output signals
FPGA
J11B
UART3x input signals SER3x
3-90 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The signals from the ARM926EJ-S Development Chip are converted from logic level
to RS232 level by MAX3243E buffers as shown in Figure 3-39 and Figure 3-40.
UART0DCD SER0_DCD 1
UART0RXD SER0_RX 2
UART0TXD SER0_TX 3
UART0DTR MAX3243E SER0_DTR 4
RS232
GND 5
J10A
transceiver
UART0DSR SER0_DSR 6
UART0RTS SER0_RTS 7
UART0CTS SER0_CTS 8
UART0RI SER0_RI 9
NC 1
UARTxRXD SERx_RX 2
NC 9
Logic level RS232 level
See also UART on page 4-97 and the ARM PrimeCell UART (PL011) Technical
Reference Manual.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-91
Hardware Description
The signals associated with the UART interface are shown in Table 3-23.
Signal Description
nDRVINEN0 This signal can be driven HIGH by an attached logic tile. This
tristates the signals from serial connectors J10A and J10B (SER0
and SER1) and allows the RealView Logic Tile to drive these
signals. The signal is normally pulled LOW by a resistor to ground.
nDRVINEN1 This signal can be driven HIGH by an attached logic tile. This
tristates the signals from serial connector J11A (SER2) and allows
the RealView Logic Tile to drive these signals. The signal is
normally pulled LOW by a resistor to ground.
a. For UART1, UART2, and UART3, the DTR and DSR signals are connected together and are
not input to the ARM926EJ-S Dev. Chip or FPGA.
b. For UART1, UART2, and UART3, the DCD and RI signals are not connected to the
ARM926EJ-S Dev. Chip or FPGA.
3-92 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
The internal registers of the controller are memory-mapped onto the AHB M2 bus at
0x10020000.
connector
J6, OTG
USBnRESET registers OTG
USBDACK[1:0] transceiver DM1 3
USBDRQ[1:0]
USBWAKEUP Function
control USB
USBEOT[1:0] function
registers
Interface
USBnINT control
USB2
USBnCS logic and
FPGA
USBnWR USB3
USBnRD Memory DP2 2
USB
connector
control DP3 6
USBETHA[8:2] Host logic USB
controller transceiver DM3 7
registers
(to Ethernet
nOC 5V
controller) Over-current power
detect
AHB M2
OTG243 USB port 1 provides an OTG device interface and connects to J6. OTG243
USB ports 2 and 3 can function in either master or slave mode and connect to the dual
type A connector J7 (USB2 is the top connector).
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-93
Hardware Description
The signals associated with the USB interfaces are shown in Table 3-24.
USBWAKEUP From FPGA FPGA drives this signal HIGH to wake up the controller
nOC From OTG Over current detect (disconnects power to USB2 and USB3)
USBEOT[1:0] To FPGA DMA end of transfer. USBEOT1 for channel 1, USBEOT0 for channel 0.
USBDRQ[1:0] From FPGA DMA request. USBDRQ1 for channel 1, USBDRQ0 for channel 0.
VBUS - If the OTG is in slave mode, this is the incoming 5V digital power supply
from the cable.
Note
For a full description of the USB controller, refer to the datasheet for the
TransDimension OTG243.
3-94 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
Note
There are also test points and debug connectors for individual interface circuits. See Test
and debug connections on page A-33.
Figure 3-42 on page 3-96 shows the test and debug connectors, links, and LEDs.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-95
Hardware Description
3-96 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
JTAG hardware
The RealView Debugger and the AXD debugger, for example, use an
external interface box, such as RealView ICE or Multi-ICE, to connect to
the JTAG connector. If you are using an external JTAG debug tool, the
embedded debug hardware is disabled.
Note
ARM Multi-ICE and RealView ICE ground pin 20 of the JTAG connector. On the
Versatile/PB926EJ-S, pin 20 is connected to a pull-up resistor and the nICEDETECT
signal. The USB debug port is automatically disabled if a JTAG emulator is connected
and nICEDETECT is LOW. If you are using third-party debugging hardware, ensure
that a ground is present on pin 20 of the JTAG connector.
Debug The D_x signals are used for the development chip and synthesized JTAG
TAP controllers in the RealView Logic Tile. This is the normal mode of
operation (see JTAG debug (normal) mode on page 3-98).
Config The C_x signals are used to program the FPGA and PLDs. This chain is
available in configuration mode (see JTAG configuration mode on
page 3-98). See also ChipScope integrated logic analyzer on page 3-105.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-97
Hardware Description
The debug mode is selected by default (when a jumper is not fitted on the CONFIG link,
see Figure 3-42 on page 3-96). In debug mode:
• the CONFIG LED is off on the Versatile/PB926EJ-S (and on each tile in the
stack)
• the JTAG signals are routed through the ARM926EJ-S Development Chip
• The PLDs and FPGAs are not visible on the scan chain unless they contain
debuggable devices
• If RealView Logic Tiles are present and have debuggable devices, the D_x signals
are part of their JTAG scan chain
• the FPGAs in the system load their images from configuration flash.
This mode is selected if the CONFIG link is fitted (see Figure 3-42 on page 3-96). In
configuration mode:
• The CONFIG LED is lit on the Versatile/PB926EJ-S (and on each tile in the
stack).
• If RealView Logic Tiles are present, the C_x signals are part of the JTAG scan
chain.
• All FPGAs and PLDs in the system (including any devices in a RealView Logic
Tile) are added into the scan chain.
• The TAP controller in the ARM926EJ-S Development Chip is not visible and is
replaced by a Boundary Scan TAP controller that is used for board-level
production testing.
3-98 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
• This enables the board to be configured or upgraded in the field using JTAG
equipment or the onboard USB debug port.
JTAG signals
Table 3-25 on page 3-100 provides a description of the JTAG and related signals.
Note
In the description in Table 3-25 on page 3-100, the term JTAG equipment refers to any
hardware that can drive the JTAG signals to devices in the scan chain. Typically this is
RealView ICE, Multi-ICE, or the embedded USB debug logic.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-99
Hardware Description
TDI Test data in TDI and TDO connect each component in the scan chain.
(from JTAG equipment)
TDO Test data out TDO is the return path of the data input signal TDI. The JTAG
(to JTAG equipment) components are connected in the return path so that the length of
track driven by the last component in the chain is kept as short as
possible.
TMS Test mode select TMS controls transitions in the TAP controller state machine.
(from JTAG equipment)
TCK Test clock TCK synchronizes all JTAG transactions. TCK connects to all
(from JTAG equipment) JTAG components in the scan chain. Series termination resistors are
used to reduce reflections and maintain good signal integrity.
RTCK Return TCK Some devices sample TCK and delay the time at which a
(to JTAG equipment) component actually captures data. Using a mechanism called
adaptive clocking, the RTCK signal is returned by the core to the
JTAG equipment, and the TCK is not advanced until the core has
captured the data. In adaptive clocking mode, RealView ICE or
Multi-ICE waits for an edge on RTCK before changing TCK. In a
multiple device JTAG chain, the RTCK output from a component
connects to the TCK input of the next device in the chain.
nCFGEN Configuration enable nCFGEN is an active LOW signal used to put the boards into
configuration mode. In configuration mode all FPGAs and PLDs
are connected to the scan chain so that they can be configured by the
JTAG equipment. (The TAP controller in the Versatile/PB926EJ-S
is not accessible.)
nSRST System reset nSRST is an active LOW open-collector signal that can be driven
(bidirectional) by the JTAG equipment to reset the target board. Some JTAG
equipment senses this line to determine when a board has been reset
by the user.
This is also used in configuration mode to control the initialization
pin (nINIT) on the FPGAs.
Though not a JTAG signal, nSRST is described because it can be
controlled by JTAG equipment.
3-100 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
nTRST Test reset (from JTAG This active LOW open-collector signal is used to reset the JTAG
equipment) port and the associated debug circuitry on the ARM926EJ-S
Development Chip. It is asserted at power-up, and can be driven by
the JTAG equipment. This signal is also used in configuration mode
to control the programming pin, nPROG, on FPGAs.
DBGRQ Debug request DBGRQ is a request for the processor core to enter the debug state.
(from JTAG equipment) It is provided for compatibility with third-party JTAG equipment.
DBGACK Debug acknowledge DBGACK indicates to the debugger that the processor core has
(to JTAG equipment) entered debug mode. It is provided for compatibility with
third-party JTAG equipment.
nRTCKEN Return TCK enable nRTCKEN is an active LOW signal driven by any tile that requires
RTCK to be routed back to the JTAG equipment. If nRTCKEN is
HIGH, the baseboard drives RTCK LOW. If nRTCKEN is LOW,
the baseboard drives the TCK signal back to the JTAG equipment.
The JTAG path chosen depends on whether the system is in configuration mode or
debug mode. The CONFIG link controls the nCFGEN signal that is routed through the
Versatile/PB926EJ-S and tile connectors. Figure 3-43 on page 3-102, Figure 3-44 on
page 3-103, and Figure 3-45 on page 3-104 show the JTAG signal routing.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-101
Hardware Description
nDRVEN PLD_TCK
TDI TDI
FPGA_TCK
TCK TCK
TDO TDO
TMS TMS
nTRST nTRST
nSRST nSRST
RTCK RTCK
JTAG
connector TDI
TDO
RTCK
nTRST nTRST
TMS TMS
nSRST nSRST
Trace Port
connector
3-102 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
D_TCK D_TCK
PLD2_TCK ChipScope
PLD_TCK 1 C_TCK
0
FPGA_TCK
1 C_TDI
0
TDI D_TDI
JTAG control signals
D_TDO
TDO 1
C_TMS
D_TMS
nCFGEN nCFGEN
(LOW for
CONFIG mode) nTRST
nTRST
TMS
nSRST nSRST
D_RTCK
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-103
Hardware Description
D_TCK
C_TCK C_TCK_IN
1
nTILE_DET
C_TDO_OUT
D_TDI D_TDI
ARM ARM
1
D_TDO D_TDO_OUT
D_TCK
C_TDO
Logic Tile circuitry
D_RTCK
C_TMS C_TMS
D_TMS D_TMS
nCFGEN nCFGEN
nTRST C_nTRST
D_nTRST
nSRST C_nSRST
D_RTCK
D_nSRST Logic Tile
3-104 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Hardware Description
If the board is in debug mode, the configuration scan chain is not normally accessible.
The integrated logic analyzer connector, however, provides access to the
Versatile/PB926EJ-S configuration scan chain and enables debugging of the
Versatile/PB926EJ-S FPGA design and the ARM926EJ-S Development Chip software
simultaneously. For more details on the integrated logic analyzer, see the ChipScope
details on the Xilinx website (www.xilinx.com).
Note
Connection of the trace port analyzer is described in Connecting the Trace Port
Analyzer on page 2-8.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 3-105
Hardware Description
3-106 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Chapter 4
Programmer’s Reference
This chapter describes the memory map and the configuration registers for the
peripherals in the ARM926EJ-S Development Chip. It contains the following sections:
• Memory map on page 4-3
• Configuration and initialization on page 4-9
• Status and system control registers on page 4-18
• AHB monitor on page 4-41
• Advanced Audio CODEC Interface, AACI on page 4-42
• Character LCD display on page 4-44
• Color LCD Controller, CLCDC on page 4-47
• Direct Memory Access Controller and mapping registers on page 4-52
• Ethernet on page 4-55
• General Purpose Input/Output, GPIO on page 4-56
• Interrupt controllers on page 4-57
• Keyboard and Mouse Interface, KMI on page 4-67
• MBX on page 4-68
• MultiMedia Card Interfaces, MCIx on page 4-70
• MOVE video coprocessor on page 4-69
• MultiPort Memory Controller, MPMC on page 4-71
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-1
Programmer’s Reference
For detailed information on the programming interface for ARM PrimeCell peripherals
and controllers, see the appropriate technical reference manual. For the DMA channels,
interrupt signals, and release versions of ARM IP, see the section of this chapter that
describes the peripheral.
4-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
There are multiple buses in the ARM926EJ-S Development Chip. Not all of the buses
can access all of the memory regions. See AHB bridges and the bus matrix on page 3-11
and the ARM926EJ-S Reference Manual for details on the bus matrix and bus accesses.
Note
The MOVE and VFP coprocessors are not memory-mapped peripherals so they do not
appear in the memory map listed in Table 4-1. See the appropriate technical reference
manual for more detail on these devices.
MPMC Chip Select 0. Normally the bottom 64MB of the Board PIC21, SIC21 0x00000000– 64MB
first bank of SDRAM (During boot remapping, this can be 0x03FFFFFF
NOR flash, Disk-on-Chip, static expansion memory or
memory on a RealView Logic Tile.)
Note
Interrupts are for Disk-on-Chip only.
MPMC Chip Select 0, top 64MB of the first bank of Board - 0x04000000– 64MB
SDRAM 0x07FFFFFF
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-3
Programmer’s Reference
Multimedia Card Interface 0 (MMCI0) FPGA MCI0A: PIC 22, 0x10005000– 4KB
SIC 22 MCI0B: 0x10005FFF
SIC 1
Multimedia Card Interface 1 (MMCI1) FPGA MCI1 A: PIC 23, 0x1000B000– 4KB
SIC 23 MCI1B: 0x1000BFFF
SIC 2
4-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-5
Programmer’s Reference
Reserved for use by RealView Logic Tile bus AHB M2. - - 0x14000000– 192MB
(AHB M2 expansion memory for booting from can be 0x1FFFFFFF
placed in this region. If selected, the region will be
mapped to 0x0 at reset.)
SSMC Chip Selects 4–7, static expansion memory Board - 0x20000000– 256MB
0x2FFFFFFF
SSMC Chip Select 0, Disk on Chip Board PIC21, SIC21 0x30000000– 64MB
0x33FFFFFF
SSMC Chip Select 1, normally NOR flash (During boot Board - 0x34000000– 64MB
remapping, this can be NOR flash, Disk-on-Chip, or static 0x37FFFFFF
expansion memory)
4-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
PCI interface bus windows PCI PCI3: PIC 30, 0x41000000– 752MB
PCI SelfCfg window: 0x41000000 SIC 30 PCI2: 0x6FFFFFFF
PCI Cfg window: 0x42000000 PIC 29, SIC 29
PCI I/O window: 0x43000000 PCI1: PIC 28,
PCI memory window 0: 0x44000000 SIC 28 PCI0:
PCI memory window 1: 0x50000000
PIC 27, SIC 27
PCI memory window 2: 0x60000000
MPMC Chip Selects 2–3, expansion dynamic memory Board - 0x70000000– 256MB
0x7FFFFFFF
RealView Logic Tile expansion ( AHB M1 bus). (If a Board PIC 21–PIC 30 0x80000000– 2GB
RealView Logic Tile is installed, accesses in this range (RealView (shared with 0xFFFFFFFF
must be decoded by the tile. This is the recommended Logic Tile SIC)
address range for placing memory-mapped peripherals in headers)
a RealView Logic Tile.)
a. The primary interrupt controller is in the ARM926EJ-S Development Chip. The secondary controller is in the FPGA. See
Primary interrupt controller on page 4-58 and Interrupt controllers on page 4-57.
Figure 4-1 on page 4-8 shows the ARM Data bus memory map. See AHB bridges and
the bus matrix on page 3-11 for details on other buses in the ARM926EJ-S
Development Chip.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-7
Programmer’s Reference
SSP
UART 2
0xFFFFFFFF Static expansion socket
UART 1
(CS3 0x3C000000)
UART 0
2MB SRAM
Logic Tile expansion SCI 0
(CS2 0x38000000)
(AHB M1) Reserved
NOR flash
RTC
(CS1 0x34000000)
GPIO 3
Disk On Chip flash
0x80000000 GPIO 2
(CS0 0x30000000)
GPIO 1
Dynamic memory Static expansion socket
expansion socket GPIO 0
(CS7 0x2C000000)
0x78000000 (MPMC CS3) Timers 2 & 3
Static expansion socket
Timers 0 & 1
Dynamic memory (CS6 0x28000000)
expansion socket Watchdog
(MPMC CS2) Static expansion socket
0x70000000 System controller
(CS5 0x24000000)
AHB Monitor
PCI bus Static expansion socket
0x41000000 Reserved
(CS4 0x20000000)
MBX VIC
0x40000000 DMAC
CLCD
This region is typically MPMC configuration
Static memory used for AHB M2 memory
(SSMC CSx) SMC configuration
on a Versatile Logic Tile
that is to be accessed at Reserved
0x20000000 0x0 during boot remapping USB
0x14000000 AHB M2 EXP Ethernet
Reserved Reserved
0x101F5000 MCI 1
0x10000000 Registers
SCI 1
UART 3
Dynamic expansion
Character LCD
socket During boot remapping,
(MPMC CS1) memory between KMI 1
0x08000000 0x00000000 and KMI 0
0x04000000 is mapped to MCI 0
either: AACI
SDRAM NOR flash SSMC CS1,
DOC flash SSMC CS0, AIC
(MPMC CS0)
Expansion SSMC CS3, Serial Bus
or AHB M2 memory PCI control
0x00000000
System registers
4-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
On reset, the ARM926EJ-S Development Chip begins executing code at address 0x0.
This address is normally volatile SDRAM. Remapping allows non-volatile static
memory to be decoded for accesses to low memory. Remapping of non-volatile memory
to the boot region at 0x00000000–0x03FFFFFF is done by the following signals:
BOOTSEL[1:0]
These signals (from configuration switches S1-1 and S1-2) select the
non-volatile memory to use if remapping is active (DEVCHIP REMAP
HIGH).
DEVCHIP REMAP
This signal (from the System Controller register at 0x101E0000) in the
ARM926EJ-S Development Chip redirects accesses to memory region
0x00000000–0x03FFFFFF (normally decoded to dynamic chip select 0) to
either static chip select 1 to non-volatile memory.
Depending on the state of BOOTSEL[1:0], the non-volatile memory
used for boot memory can be either NOR flash, or Disk-on-Chip, static
expansion memory on a memory expansion board, or memory on a
RealView Logic Tile. At reset, the DEVCHIP REMAP signal is HIGH.
FPGA_REMAP
This signal (from the SYS_MISC register in the FPGA) redirects chip
select 3 (normally 0x34000000–0x37FFFFFF) to one of Disk-on-Chip
(0x30000000), NOR flash (0x34000000), or static expansion memory
(0x3C000000) depending on the state of BOOTSEL[1:0]. At reset, the
FPGA_REMAP signal is HIGH.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-9
Programmer’s Reference
Configuration switch S1 modifies the memory map of static memory at reset as listed
in Table 4-2. S1-1 controls BOOTCSSEL0 and S1-2 controls BOOTCSSEL1. If a
switch is ON, the corresponding BOOTCSSEL signal is HIGH.
OFF OFF Disk on Chip, see Booting from Disk on Chip on page 4-12
OFF ON NOR flash, see Booting from NOR flash on page 4-13
ON OFF Static expansion memory, see Booting from static expansion memory on page 4-14
ON ON AHB expansion memory on a RealView Logic Tile, see Booting from AHB expansion
memory on page 4-15
A simplified version of the remap logic is shown in Figure 3-14 on page 3-28.
The ARM926EJ-S Development Chip begins executing at 0x0 after a reset. But because
DEVCHIP REMAP and FPGA_REMAP are active at reset, the remapping logic uses
causes boot instructions to be fetched from non-volatile static memory.
The boot code must perform the following actions on reset to remove the remapping and
enable SDRAM at 0x0:
1. At reset, the remap signals are both high, therefore static memory is remapped to
address 0x0. Perform any critical CPU initialization at this time.
Ensure that you do not access SDRAM at this point as it has not been initialized.
4-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Note
For AHB expansion memory on a RealView Logic Tile, the jump location
depends on the decoding address for the AHB expansion memory (typically in the
range 0x14000000–0x1FFFFFFF). AHB memory is not aliased at
0x34000000–0x37FFFFFF.
3. Clear the DEVCHIP REMAP bit by writing a 1 to bit 8 of the System Controller
register at 0x101E0000. This removes the remapping of boot memory to 0x0.
4. Initialize the MPMC controller with the appropriate values for the type of
dynamic RAM used.
5. Use the SDRAM at location 0x0 to hold additional initialization code and the
stack for the application.
7. Set up all static chip select control registers. If you are not booting from NOR
flash, you must also set up the control register for nSTATICCS1.
Note
Refer to the code examples supplied on the CD for an example of boot source code.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-11
Programmer’s Reference
The memory maps for S1-2 OFF (BOOTSEL1 LOW) and S1-1 OFF (BOOTSEL0
LOW) are shown in Figure 4-2.
0x3FFFFFFF
Static Static Static Static
Static CS 3
expansion expansion expansion expansion
0x3C000000
0x3BFFFFFF
SRAM SRAM SRAM SRAM Static CS2
0x38000000
0x37FFFFFF
Disk on Disk on NOR NOR
Static CS1
chip chip flash flash
0x34000000
0x33FFFFFF
Disk on Disk on Disk on Disk on Static CS 0
chip chip chip chip 0x30000000
0x07FFFFFF
MPMC MPMC MPMC MPMC SDRAM CS0
SDRAM SDRAM SDRAM SDRAM
0x04000000
0x03FFFFFF
MPMC MPMC
Disk on NOR Remapped
SDRAM SDRAM
chip flash memory
CS0 CS0 0x0
4-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The memory maps for S1-2 OFF (BOOTSEL1 LOW) and S1-1 ON (BOOTSEL0
HIGH) are shown in Figure 4-3.
0x3FFFFFFF
Static Static Static Static
Static CS 3
expansion expansion expansion expansion
0x3C000000
0x3BFFFFFF
SRAM SRAM SRAM SRAM Static CS2
0x38000000
0x37FFFFFF
NOR NOR NOR NOR
Static CS1
flash flash flash flash
0x34000000
0x33FFFFFF
Disk on Disk on Disk on Disk on Static CS 0
chip chip chip chip 0x30000000
0x07FFFFFF
MPMC MPMC MPMC MPMC SDRAM CS0
SDRAM SDRAM SDRAM SDRAM
0x04000000
0x03FFFFFF
MPMC MPMC
NOR NOR Remapped
SDRAM SDRAM
flash flash memory
CS0 CS0 0x0
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-13
Programmer’s Reference
The memory maps for S1-2 ON (BOOTSEL1 HIGH) and S1-1 OFF (BOOTSEL0
LOW) are shown in Figure 4-4.
0x3FFFFFFF
Static Static Static Static
expansion expansion expansion expansion Static CS 3
0x3C000000
0x3BFFFFFF
SRAM SRAM SRAM SRAM Static CS2
0x38000000
0x37FFFFFF
Static Static NOR NOR
expansion expansion flash flash Static CS1
0x34000000
0x33FFFFFF
Disk on Disk on Disk on Disk on Static CS 0
chip chip chip chip 0x30000000
0x07FFFFFF
MPMC MPMC MPMC MPMC
SDRAM CS0
SDRAM SDRAM SDRAM SDRAM
0x04000000
0x03FFFFFF
MPMC MPMC
Static NOR Remapped
SDRAM SDRAM
expansion flash memory
CS0 CS0 0x0
4-14 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The memory maps for S1-2 ON (BOOTSEL1 HIGH) and S1-1 ON (BOOTSEL0
HIGH) are shown in Figure 4-5.
The AHB expansion memory on the RealView Logic Tile is accessed on the AHB M2
bus.
Note
If you are booting from static memory on a RealView Logic Tile, jump to the natural
address of your expansion memory before disabling DEVCHIP REMAP.
0x3FFFFFFF
Static Static Static Static
Static CS 3
expansion expansion expansion expansion
0x3C000000
0x3BFFFFFF
SRAM SRAM SRAM SRAM Static CS2
0x38000000
0x37FFFFFF
NOR NOR NOR NOR
Static CS1
flash flash flash flash
0x34000000
0x33FFFFFF
Disk on Disk on Disk on Disk on Static CS 0
chip chip chip chip 0x30000000
0x07FFFFFF
MPMC MPMC MPMC MPMC SDRAM CS0
SDRAM SDRAM SDRAM SDRAM
0x04000000
0x03FFFFFF
MPMC MPMC
AHB AHB Remapped
SDRAM SDRAM
expansion expansion memory
CS0 CS0
0x0
DEVCHIP REMAP HIGH LOW HIGH LOW
FPGA_REMAP HIGH HIGH LOW LOW
State at SDRAM at (not used) Normal
reset 0x0 visible operation
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-15
Programmer’s Reference
Some memory access characteristics, for example chip select polarity and memory
width, are set by the CONFIGDATA signals. Changing these values might be required,
for example, if you are booting from expansion memory. The signal states are
determined by the SYS_CFGDATAx registers. These registers contain configuration
data to be applied to HDATAM2 pins of the ARM926EJ-S Development Chip when
nPBSDCRECONFIG is asserted by pressing the DEV CHIP RECONFIG pushbutton.
See Configuration from the DEV CHIP RECONFIG pushbutton on page 3-9 for details
of the CONFIGDATA signals.
The values in the SYS_CFGDATAx registers retain their value during the ARM926EJ-S
Development Chip reconfiguration. The DEV CHIP RECONFIG pushbutton can
therefore be used to test different configuration options without resetting the system.
See Configuration registers SYS_CFGDATAx on page 4-25 for details of the power-on
default values.
See also the ARM Multiport Memory Controller (GL175) Technical Reference Manual
and the ARM PrimeCell Static Memory Controller (PL093) Technical Reference
Manual for detailed information on the memory controllers.
4-16 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Memory banks
Table 4-3lists the controller memory banks, chip selects, and memory range.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-17
Programmer’s Reference
See also the ARM PrimeCell System Controller (SP810) Technical Reference Manual
for details of control registers in the SP810 System Controller that is in the
ARM926EJ-S Development Chip. See also Reset controller on page 3-22 for a
description of the reset logic.
Note
All registers are 32 bits wide and do not support byte writes. Write operations must be
word-wide. Bits marked as reserved in the following sections must be preserved using
read-modify-write operations.
In Table 4-4 on page 4-19, the entry for Reset Level indicates the highest reset level that
modifies its contents:
Level 0 The system power on reset (nSYSPOR) is a level 0 reset and initializes
all registers to their default value.
4-18 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Reset
Name Address Accessa Description
level
SYS_LED 0x10000008 Read/Write 6 Bits [7:0] map to user LEDs (located next to S6)
SYS_OSC0 0x1000000C Read/Write 2 Settings for the ICS307 programmable oscillator chip
Lockable OSC0. This oscillator provides the PLLCLKEXT
and XTALCLKEXT signal sources. See Oscillator
registers, SYS_OSCx on page 4-23 and ARM926EJ-S
Development Chip clocks on page 3-40.
SYS_OSC1 0x10000010 Read/Write 2 Settings for the ICS307 programmable oscillator chip
Lockable OSC1. This oscillator provides the HCLKM1 signal
source.
SYS_OSC2 0x10000014 Read/Write 2 Settings for the ICS307 programmable oscillator chip
Lockable OSC2. This oscillator provides the HCLKM2 signal
source.
SYS_OSC3 0x10000018 Read/Write 2 Settings for the ICS307 programmable oscillator chip
Lockable OSC3. This oscillator provides the HCLKS signal
source.
SYS_OSC4 0x1000001C Read/Write 2 Settings for the ICS307 programmable oscillator chip
Lockable OSC4. This oscillator provides the CLCDCLKEXT
signal source.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-19
Programmer’s Reference
Reset
Name Address Accessa Description
level
SYS_FLAGS 0x10000030 Read only 6 General-purpose flags (reset by any reset). See Flag
registers, SYS_FLAGx and SYS_NVFLAGx on
page 4-30.
SYS_RESETCTL 0x10000040 Read/Write 0 The reset control register sets reset depth and
Lockable programmable soft reset.
SYS_PCICTL 0x10000044 Read only - Read returns a HIGH in bit [0] if a PCI board is
present in the expansion backplane.
SYS_MCI 0x10000048 Read only - Contains the “card present” and “write enabled”
status for the MMCI0 and MMCI1 cards
SYS_CLCDSER 0x10000054 Read/Write 6 Control interface to activate the 2.2 inch display on
the LCD adaptor.
SYS_BOOTCS 0x10000058 Read only - Contains the settings of the boot switch S1.
SYS_DMAPSR0 0x10000064 Read/Write 6 Selection control for remapping DMA from external
peripherals to DMA channel 0.
SYS_DMAPSR1 0x10000068 Read/Write 6 Selection control for remapping DMA from external
peripherals to DMA channel 1.
SYS_DMAPSR2 0x1000006C Read/Write 6 Selection control for remapping DMA from external
peripherals to DMA channel 1.
4-20 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Reset
Name Address Accessa Description
level
SYS_OSCRESET0 0x1000008C Read/Write 0 Value to load into the SYS_OSC0 register if the
Lockable DEV CHIP RECONFIGURE pushbutton is pressed
(APPLYCFGWORD active).
At power-on reset, the SYS_OSCRESET0 is loaded
with the same default value as used for SYS_OSC0.
SYS_OSCRESET1 0x10000090 Read/Write 0 Value to load into the SYS_OSC1 register if the
Lockable DEV CHIP RECONFIGURE pushbutton is pressed
(APPLYCFGWORD active).
At power-on reset, the SYS_OSCRESET1 is loaded
with the same default value as used for SYS_OSC1.
SYS_OSCRESET2 0x10000094 Read/Write 0 Value to load into the SYS_OSC2 register if the
Lockable DEV CHIP RECONFIGURE pushbutton is pressed
(APPLYCFGWORD active).
At power-on reset, the SYS_OSCRESET2 is loaded
with the same default value as used for SYS_OSC2.
SYS_OSCRESET3 0x10000098 Read/Write 0 Value to load into the SYS_OSC3 register if the
Lockable DEV CHIP RECONFIGURE pushbutton is pressed
(APPLYCFGWORD active).
At power-on reset, the SYS_OSCRESET3 is loaded
with the same default value as used for SYS_OSC3.
SYS_OSCRESET4 0x1000009C Read/Write 0 Value to load into the SYS_OSC4 register if the
Lockable DEV CHIP RECONFIGURE pushbutton is pressed
(APPLYCFGWORD active).
At power-on reset, the SYS_OSCRESET4 is loaded
with the same default value as used for SYS_OSC4.
SYS_TEST_OSC0 0x100000C0 Read only 6 32-bit counter clocked from ISC307 clock 0.
SYS_TEST_OSC1 0x100000C4 Read only 6 32-bit counter clocked from ISC307 clock 1.
SYS_TEST_OSC2 0x100000C8 Read only 6 32-bit counter clocked from ISC307 clock 2.
SYS_TEST_OSC3 0x100000CC Read only 6 32-bit counter clocked from ISC307 clock 3.
SYS_TEST_OSC4 0x100000D0 Read only 6 32-bit counter clocked from ISC307 clock 4.
a. If Access is lockable, the register can only be written if SYS_LOCK is unlocked (see Lock Register, SYS_LOCK on page 4-24).
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-21
Programmer’s Reference
The SYS_ID register at 0x10000000 is a read-only register that identifies the board
manufacturer, board type, and revision. Figure 4-6 shows the bit assignment of the
register.
31 24 23 16 15 12 11 4 3 0
Use the SYS_SW register at 0x10000004 to read the general purpose (user) switch S6. A
value of 1 indicates that the switch is on.
31 8 7 0
GP switch
Reserved
8 7 6 5 4 3 2 1
4-22 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Use the SYS_LED register at 0x10000008 to set the user LEDs. (The LEDs are located
next to user switch S6.) Set the corresponding bit to 1 to illuminate the LED.
31 8 7 0
LED
Reserved
8 7 6 5 4 3 2 1
Note
If the DEV CHIP RECONFIG pushbutton is pressed, the contents of the
SYS_OSCRESETx registers are copied into the SYS_OSCx registers before the
contents are transmitted to the programmable oscillators. This allows the clock
frequencies and the clock divider ratios to be changed at the same time.
31 19 18 16 15 9 8 0
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-23
Programmer’s Reference
Table 4-6 lists the details of the SYS_OSCx registers. For more detail on bit values, see
ICS307 programmable clock generators on page 3-50 and Clock rate restrictions on
page B-5.
Note
Before writing to a SYS_OSC register, unlock it by writing the value 0x0000A05F to the
SYS_LOCK register. After writing the SYS_OSC register, relock it by writing any
value other than 0x0000A05F to the SYS_LOCK register.
The control registers cannot be modified while they are locked. This mechanism
prevents the registers from being overwritten accidently. The registers are locked by
default after a reset. Figure 4-10 shows the bit assignment of the register.
31 17 16 15 0
Reserved LOCKVAL
LOCKED
4-24 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
In a production ASIC, the configuration signals would be tied HIGH or LOW, but they
are configurable in the ARM926EJ-S Development Chip. This enables you to test
different build options. For example, you can simulate a system that boots in big-endian
or with the vector table located at address 0xFFFF0000 by changing the value of bits 0 and
1 in the SYS_CFGDATA2 register and pressing the SDC RECONFIG button.
For details on the configuration process, see Configuration from the DEV CHIP
RECONFIG pushbutton on page 3-9.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-25
Programmer’s Reference
31 24 23 16 15 0
Clock Reserved for AHBM1 configuration
Reserved
multiplexors (should be zero)
Power-on
Bits Description
reset state
[15:0] - Reserved for future use for AHB M1 configuration, should be zero.
4-26 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
31 29 28 27 26 25 24 23 22 2120 19 18 17 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
HCLKEXT
HCLKDIV
SMCCLK
MBXCLK
BYPASS
BRIDGE
BIGEND
CS POL
DIVSEL
DIVSEL
DIVSEL
STATIC
VINITHI
M2BUR
M1BUR
WIDTH
MPMC
SBUR
M2AS
M1AS
PASS
MEM
DYN
SAS
VFP
SEL
PLL
FB
Reserved
Power-on
Bits Description
reset state
[28] b0 CFGINCROVERRIDES, AMBA on-chip AHB slave bridge. Override burst transfer with
INCR mode (active HIGH).
[27] b0 CFGINCROVERRIDEM2, AMBA off-chip AHB bridge 2. Override burst transfer with
INCR mode (active HIGH).
[26] b0 CFGINCROVERRIDEM1, AMBA off-chip AHB bridge 1. Override burst transfer with
INCR mode (active HIGH).
[25] b0 CFGAHBPASST, AMBA bridges. Switch the AHB M1, M2, and S bridges to pass-through
mode (active HIGH).
[24] b0 CFGAHBSASYNC, clock control. Force the slave bridge AHB S to asynchronous mode
(active HIGH).
See ARM926EJ-S Development Chip clocks on page 3-40.
[23] b0 CFGAHBM2ASYNC, clock control. Force bridge AHB M2 to asynchronous mode (active
HIGH).
See ARM926EJ-S Development Chip clocks on page 3-40.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-27
Programmer’s Reference
Power-on
Bits Description
reset state
[22] b0 CFGAHBM1ASYNC, clock control. Force off-chip bridge 1 to asynchronous mode (active
HIGH).
See ARM926EJ-S Development Chip clocks on page 3-40.
Note
If Switch S1-3 is ON, CFGAHBM1ASYNC, CFGAHBM2ASYNC, and
CFGAHBSASYNC are all forced HIGH and asynchronous mode is used for the AHB M1,
M2, and S bridges.
If Switch S1-3 is OFF, the mode for each bridge is selected by the bit value.
[21:20] b01 CFGSMCCLKDIVSEL[1:0], clock control. Sets the HCLK to SMCLK divide ratio. The
divide value is set as follows: b00 = 1 b01 = 2 (The default clock is 35MHz, one half HCLK.)
b10 = 3 b11 = 4
See ARM926EJ-S Development Chip clocks on page 3-40.
[19:18] b00 CFGMBXCLKDIVSEL[1:0], clock control. Sets the HCLK to MBXCLK divide ratio. The
divide value is set as follows: b00 = 1 (The default MBX clock is 70MHz, the same as HCLK.)
b01 = 2 b10 = 3 b11 = 4
See ARM926EJ-S Development Chip clocks on page 3-40.
[14:13] b10 CFGHCLKDIVSEL[1:0], clock control. Sets the CPUCLK to HCLK divide ratio. The
divide value is set as follows: b00 = 1 b01 = 2 b10 = 3 b11 = 4
See ARM926EJ-S Development Chip clocks on page 3-40.
[12] b0 CFGPLLSHORTFB, clock control (active HIGH). Removes the clock tree delay from the
PLL feedback (see ARM926EJ-S Development Chip clocks on page 3-40).
4-28 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Power-on
Bits Description
reset state
[11] b0 CFGPLLBYPASS, clock control (active HIGH). Forces the PLL output to be bypassed. The
XTALCLKEXT signal is used to clock the AMBA subsystem (see ARM926EJ-S
Development Chip clocks on page 3-40).
[10] b1 CFGUSEPLL, clock control (active HIGH). Uses the output from the PLL in the
ARM926EJ-S Development Chip to clock the AMBA subsystem (see ARM926EJ-S
Development Chip clocks on page 3-40).
[9] b0 CFGBOOTCSPOL, memory control. Defines the polarity of the static chip select
STATICCS1 at reset when the MPMC is used as the static memory controller. When HIGH,
nMPMCSTCS1 is active HIGH.When LOW, nMPMCSTCS1 is active LOW.
[8:7] b10 CFGBOOTMEMWIDTH[1:0], memory width for STATICCS1 from the SSMC.
These signals configure the SMMWCS7[1:0] signals.
The memory width is defined as follows: b00 = 8-bit b01 = 16-bit b10 = 32-bit b11 = reserved
Note
b10 is the default and should be used unless booting is from expansion memory (EXPCS). If
booting from static expansion memory, the value of EXPCSWIDTH[1:0] specifies the
memory width.
[5] b0 CFGREMAPDYEXEN, dynamic memory and expansion memory alias enable (see
Remapping of boot memory on page 4-9). When HIGH and CFGREMAPSTEXEN is LOW,
then dynamic memory is aliased to 0x00000000. When HIGH and CFGREMAPSTEXEN is
HIGH, then expansion memory is aliased to 0x00000000.
Note
The combination of CFGREMAPSTENEX LOW and CFGREMAPDYEXEN LOW is not
supported.
[4] b1 CFGREMAPSTEXEN, static memory and expansion memory alias enable (see Remapping
of boot memory on page 4-9). When HIGH and CFGREMAPDYEXEN is LOW, then static
memory is aliased to 0x00000000. When HIGH and CFGREMAPDYEXEN is HIGH, then
expansion memory is aliased to 0x00000000.
Note
The combination of CFGREMAPSTENEX LOW and CFGREMAPDYEXEN LOW is not
supported.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-29
Programmer’s Reference
Power-on
Bits Description
reset state
[3] b0 CFGMPMCnSMC, memory controller select. If this signal is HIGH, the static memory
controller is disabled. Reserved. Must be set to 0.
[2] b1 CFGVFPENABLE, coprocessor multiplexor signal for VFP9-S. Coprocessor enable (active
HIGH).
[1] b0 BIGENDINIT, ARM926EJ-S processor endian control. Defines the byte endian mode at
reset. When LOW, little endianness is used. When HIGH, big endianness is used.
[0] b0 VINITHI, ARM926EJ-S processor exception location. Determines the reset location of the
exception vectors for the ARM926EJ-S.When LOW, the vectors are located at 0x0000000.
When HIGH, the vectors are located at 0xFFFF0000.
A convention for ARM cores is to map the exception vectors to begin at address 0. However,
the ARM926EJ-S Development Chip enables the vectors to be moved to 0xFFFF0000 by setting
the V bit in coprocessor 15 register 1. To maintain compatibility across all cores, the default
reset value maps the vector to begin at address 0 (see also the ARM926EJ-S Development Chip
Reference Manual).
The registers shown in Table 4-10 provide two 32-bit register locations containing
general-purpose flags. You can assign any meaning to the flags.
4-30 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
• The SYS_NVFLAGS Register retains its contents after a normal reset and is only
cleared by a Power-On Reset (POR).
The SYS_FLAGS and SYS_NVFLAGS registers contain the current state of the flags.
The SYS_FLAGSSET and SYS_NVFLAGSSET registers are used to set bits in the
SYS_FLAGS and SYS_NVFLAGS registers:
• write 1 to SET the associated flag
• write 0 to leave the associated flag unchanged.
The SYS_RESETCTL register at 0x10000040 sets reset depth and programmable soft
reset, see Reset controller on page 3-22 and Reset level on page 3-24. The function of
the register bits are shown in Table 4-11 on page 4-32. You must unlock the register (see
Lock Register, SYS_LOCK on page 4-24) before the register contents can be modified.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-31
Programmer’s Reference
31 9 8 7 3 2 0
Reset
level
Use
Reserved Reserved
[8] Write Set this bit to generate a reset at the level specified by bits [2:0]
The SYS_PCICTL register at 0x10000044 enables the bridge to the PCI bus:
• Setting bit 0 HIGH enables PCI bus accesses.
• Read returns a HIGH in bit 0 if a PCI board is present in the expansion backplane.
See Appendix D PCI Backplane and Enclosure, PCI controller on page 4-74, and PCI
interface on page 3-80 for more information on the PCI backplane.
4-32 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
31 5 4 3 2 1 0
DMUX
WP1
WP0
CD1
CD0
Reserved
Bit 0 of the SYS_FLASH register at 0x1000004C controls write protection of NOR flash
devices. The function of the register bits are shown in Table 4-13.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-33
Programmer’s Reference
The SYS_CLCD register at 0x10000050 controls LCD power and multiplexing and
controls the interface to the touchscreen as listed in Table 4-14. See also LCD power
control on page C-7.
31 13 12 8 7 6 5 4 3 2 1 0
3V5V SW
NEG SW
POS SW
SSPnCS
CLCDID
TSnSS
MODE
IO ON
Reserved
[12:8] Read CLCDID[4:0], returns the setting of the ID links on the CLCD adaptor board
Value Display
0 640x480
1 320x240
2 220x176
3-31 Reserved
[7] Read/write SSP expansion chip select (SSPnCS), If LOW, the chip select on the SSP expansion
connector is active. See Synchronous Serial Port, SSP on page 3-85.
[5] Read/write VDDNEGSWITCHa, enable NEG voltage on the CLCD adaptor board
[4] Read/write PWR3V5VSWITCHa, enable FIXED voltage on the CLCD adaptor board
[3] Read/write VDDPOSSWITCHa, enable POS voltage on the CLCD adaptor board
[2] Read/write LCDIOONa, enable the RGB signal buffers on CLCD adaptor board
[1:0] Read/write LCD Mode [1:0], controls mapping of video memory to RGB signals. See Display
resolutions and display memory organization on page 4-48.
Bit 1 Bit 0 Display mode
0 0 8:8:8
0 1 5:5:5:1
1 0 5:6:5, red LSB
1 1 5:6:5, blue LSB
a. The voltage control selection in the SYS_CLCD register might be overridden by links on the CLCD adaptor board.
4-34 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The SYS_CLCDSER register at 0x10000054 controls the interface to the serial power-on
logic in the 2.2inch display on the LCD adaptor board. See Table 4-15 and LCD power
control on page C-7. Use this register to configure the 2.2inch display at power-on.
31 7 6 5 4 3 2 1 0
D0OnIN
DSXRD
D0OUT
DATnC
DXWR
DXCS
D0IN
Reserved
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-35
Programmer’s Reference
31 8 7 6 5 4 3 2 1 0
Reserved
AHB/ST
FPGA 2
FPGA 1
STACK
SEL 2
SEL 1
LF
Reserved
[7] Read Stack image (RealView Logic Tile image 0 or 1). The default is tile image 0 (S1-8
OFF).
[2] Read If 1, the AHB bus bridge operates in asynchronous mode instead of synchronous
mode. The default is 0 (S1-3 OFF).
[1:0] Read Static boot memory select switches (S1-2 and S1-1)
b00 Disk-on-chip
b01 NOR flash (default setting)
b10 Static expansion memory
b11 AHB expansion memory
4-36 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The SYS_24MHZ register at 0x1000005C provides a 32-bit count value. The count
increments at 24MHz frequency from the 24MHz crystal reference output
REFCLK24MHZ from OSC0. The register is set to zero by a reset.
31 12 11 8 7 5 4 3 2 1 0
RTCOUT
TILEDET
GP Push
SUS EN
FPGA
Reserved ETMEXTOUT Reserved
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-37
Programmer’s Reference
The registers are set to zero by a reset. The DMA mapping is disabled by default.
Table 4-19 on page 4-39 lists the bit assignments. See Direct Memory Access Controller
and mapping registers on page 4-52 for more information on the DMA logic.
31 8 7 6 5 4 0
Reserved
Enable
FPGA peripheral
Reserved mapped to DMA
4-38 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
31 19 18 16 15 9 8 0
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-39
Programmer’s Reference
Note
Before writing to a SYS_OSCRESETx register, unlock it by writing the value
0x0000A05F to the SYS_LOCK register (see Lock Register, SYS_LOCK on page 4-24).
After writing the SYS_OSCRESETx register, relock it by writing any value other than
0x0000A05F to the SYS_LOCK register.
For more detail on bit values, see ICS307 programmable clock generators on page 3-50
and Oscillator registers, SYS_OSCx on page 4-23.
Note
At power-on reset (nSYSPOR), the SYS_OSCRESETx are loaded with the same
default values used for SYS_OSCx.
The values of the SYS_OSCRESETx values can be changed after powering on. Pushing
the DEV CHIP RECONFIG pushbutton loads the values of the SYS_OSCRESETx
registers into the SYS_OSCx registers and loads the programmable oscillators with the
new values.
4-40 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Property Value
Interrupt NA
DMA NA
For more information on the protocols used by the AHB monitor, see the ARM926EJ-S
Development Chip Reference Manual and AHB monitor on page 3-16.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-41
Programmer’s Reference
Property Value
Release version ARM AACI PL041 r1p0 (modified to one channel and 256
FIFO depth in compact mode and 512 in non-compact mode)
4-42 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The AACI PrimeCell in the Versatile/PB926EJ-S has a different FIFO depth than the
standard PL041. Therefore, the AACIPeriphID3 register contains the values listed in
Table 4-23.
31 8 7 6 5 3 2 0
Number of
Not used Res. FIFO depth
channels
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-43
Programmer’s Reference
Property Value
Location FPGA
Interrupt NA
DMA NA
Reference documentation datasheet for the Hitachi HD44780 display (see also Character
LCD controller on page 3-61)
Note
The HD44780 display interface is very slow.
Requests to read or write data or a command to the character LCD are captured and
executed later. It is not until 500ns later that the access is completed. Poll access
complete flag (bit 0 of CHAR_RAW) or wait for a Char LCD interrupt on SIC7 to check
that the last access has completed.
After accepting a command, the character LCD typically requires 37µs to finish
processing. Some commands, Return Home for example, take substantially longer
(20ms). Poll the busy signal to determine when the display is ready for a new data or
command write.
An interrupt signal is generated by the character LCD controller a short time after the
raw data is valid. However this interrupt signal is reserved for future use and you must
use a polling routine instead of an interrupt service routine.
4-44 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The control and data registers for the character LCD interface are listed in Table 4-25.
0x10008000 CHAR_COM Write command, read A write to this address will cause a write to the
busy status HD44780 command register some cycles later.A
read from this address will cause a read from the
HD44780 busy register some cycles later.
Note
The data read from this address is not valid LCD
register data. Use the CHAR_RAW and
CHAR_RD registers to return LCD register data.
0x10008004 CHAR_DAT Write data RAM, read A write to this address will cause a write to the
data RAM HD44780 data register some cycles later.A read
to this address will cause a read to the HD44780
data register some cycles later.The data read from
this address is not valid LCD register data. Use
the CHAR_RAW and CHAR_RD registers to
return LCD register data.
0x10008008 CHAR_RD Read captured data Bits [7:0] contain the data from last request read,
from an earlier read valid only when bit 0 is set in CHAR_RAW. Bits
command [31:8] should be ignored.
0x1000800C CHAR_RAW Write to reset access Bit 0 indicates AccessComplete (write 0 to clear).
complete flag, read to The bit is set if read data is valid. Bits [31:1]
determine if data in should be ignored.
CHAR_RD is valid
0x10008014 CHAR_STAT Read status Bit 0 is the state of AccessComplete ANDed with
the CHAR_MASK
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-45
Programmer’s Reference
Bit
Command Description
pattern
Clear display b00000001 Clears entire display and sets display RAM address counter to
zero.
Return home b0000001x Sets display RAM address counter to zero and returns the cursor
to the first character position. Display RAM contents are not
erased.
Entry mode set b000001DS Sets cursor move direction to increment (D HIGH) or decrement (D
LOW).
Specifies display shift (S HIGH).
This setting affects future display RAM read or write operation.
Display on/off b00001DCB Sets entire display on /off (D HIGH for on)
control Sets cursor on/off (C HIGH for on)
Sets cursor position character blinking on/off (B HIGH for on).
Cursor or b0001CDxx Moves cursor (C LOW) or shifts display (C HIGH) right (D HIGH)
display shift or left (D LOW) without changing display RAM contents.
Function set b001LNFxx Sets interface data length to 8 (L HIGH, the default) or 4 (L LOW).
Sets number of display lines to two (N HIGH, the default) or Sets
one (N LOW).
Sets character font to 5x10 (F HIGH, the default) or 5x8 (F LOW).
Set CGRAM b01AAAAAA Sets character generator RAM address to bAAAAAA. Character
address generator RAM data is sent and received after this setting.
Set DDRAM b1AAAAAAA Sets display RAM address to bAAAAAAA. Display RAM data is sent
address and received after this setting.
For more details on the character display, see the Hitachi HD44780 datasheet. Example
code for accessing the character LCD is provided on the CD as part of the Boot Monitor
and Selftest applications. This code is copied to your hard disk during installation, see:
• install_dir\software\firmware\Platform\source\lcd_dbg.c
• install_dir\software\projects\selftest\apcharlcd\apcharldc.c.
4-46 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Property Value
Note
There are also LCD power control registers at 0x10000050 and
0x10000054. See CLCD Control Register, SYS_CLCD on
page 4-34 and 2.2 inch LCD Control Register SYS_CLCDSER
on page 4-35.
DMA NA
The following locations are reserved, and must not be used during normal operation:
• locations at offsets 0x030 to 0x1FE are reserved for possible future extensions
• locations at offsets 0x400 to 0x7FF are reserved for test purposes.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-47
Programmer’s Reference
The register map for the variant of the PL110 used in the ARM926EJ-S Development
Chip is not the same as that listed for the standard PL110. The differences are listed in
Table 4-28.
Address
Reset value Description in PL110
(Dev. Difference
(Dev. Chip) TRM
Chip)
0x10120018 0x0 LCDControl, LCD panel CLCDC TRM lists address as 0x1012001C
pixel parameters
0x1012001C 0x0 LCDIMSC, interrupt mask CLCDC TRM lists address as 0x10120018
set and clear
0x10120800– 0x0 Not present Hardware cursor registers from PL111 (see the
0x10120C2C ARM926EJ-S Technical Reference Manual for details)
Different display resolutions require different data and synchronization timing. Use
registers CLCD_TIM0, CLCD_TIM1, CLCD_TIM2, and SYS_OSCCLK4 to define
the display timings. Table 4-29 lists the register and clock values for different display
resolutions.
4-48 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Epson 2.2in panel QCIF (176x220) 16MHz, 0x2C48 0x02010228 0x010004DB 0x04AF3800
The mapping of the 32 bits of pixel data in memory to the RGB display signals depends
on the resolution and display mode. Table 4-30 lists software usage of memory bits and
Table 4-31 on page 4-51 lists the correspondence between the hardware pins and the
bits in memory.
Note
For resolutions based on 16 bits per pixel, two pixels (pixel0 and pixel1) are encoded in
one 32-bit word.
Rx, Gx, and Bx in Table 4-30 and Table 4-31 on page 4-51 refer to bits used to set the
red, green, and blue brightness.
Memory
8/8/8 1/5/5/5 5/6/5 red (lsb) 5/6/5 blue (lsb)
bit
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-49
Programmer’s Reference
Table 4-30 Assignment of display memory to R[7:0], G[7:0], and B[7:0] (continued)
Memory
8/8/8 1/5/5/5 5/6/5 red (lsb) 5/6/5 blue (lsb)
bit
4-50 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
CLD23 23, B7 - - -
CLD22 22, B6 - - -
CLD21 21, B5 - - -
CLD20 20, B4 - - -
CLD19 19, B3 - - -
CLD18 18, B2 - - -
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-51
Programmer’s Reference
Property Value
Memory base address 0x10130000 for DMAC (PL010) 0x10000064 for DMA mapping
register SYS_DMAPSR0 0x10000068 for DMA mapping
register SYS_DMAPSR1 0x1000006C for DMA mapping
register SYS_DMAPSR2
DMA NA
Sixteen peripheral DMA interfaces are provided by the PrimeCell DMAC, of which ten
are used by the ARM926EJ-S Development Chip peripherals (UART0–3, SCI, and
SSP) and six are made available for devices in the FPGA or RealView Logic Tile.
Note
The DMA controller cannot access the Tightly Coupled Memory in the ARM926EJ-S
core. Other access limitations are:
• The DMAC master 0 can always access the DMA APB and FPGA peripherals
• DMAC master 1 can always access dynamic and static memory.
• Accesses to other regions are usually mapped to AHB M2.
4-52 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
15 UART0 Tx
14 UART0 Rx
13 UART1 Tx
12 UART1 Rx
11 UART2 Tx
10 UART2 Rx
9 SSP Tx
8 SSP Rx
7 SCI Tx
6 SCI Rx
Note
The three DMA channels 0, 1, and 2 are connected to the FPGA, but there are more than
three FPGA peripherals that can use DMA. Three DMA mapping registers control the
FPGA device that has access to the channels. Table 4-34 on page 4-54 shows the
register format and possible values.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-53
Programmer’s Reference
31 8 7 6 5 4 0
Reserved
Enable
FPGA peripheral
Reserved mapped to DMA
[31:8] - Reserved
[6:5] - Reserved
a. The OTG243 controller provides three USB interfaces, OTG (USB1), USB2, USB3, and OTG.
The OTG243, however, has only two DMA control channels, USB A and USB B, that are
managed by the USBDACK[1:0] and USBDRQ[1:0] signals. To assign a DMA channel to a
USB interface, both the DMA mapping register and the OTG243 must be programmed.
4-54 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
4.9 Ethernet
The Ethernet interface is implemented in an external SMC LAN91C111 10/100
Ethernet single-chip MAC and PHY. The internal registers of the LAN91C111 are
memory-mapped onto the AHB M2 bus and occupy 16 word locations at 0x10010000.
Property Value
Release version The FPGA contains a custom interface to the LAN91C111 chip
To access the PHY MII registers, you must implement a synchronous serial connection
in software to control the management register in Bank 3. By default, the PHY is set to
isolate in the control register. This disables the external interface. Refer to the
LAN91C111 application note or to the self test program supplied on the CD for
additional information.
When manufactured, an ARM value for the Ethernet MAC address and the register base
address are loaded into the EEPROM. The register base address is 0. The MAC address
is unique, but can be reprogrammed if required. Reprogramming of the EEPROM is
done through Bank 1 (general and control registers).
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-55
Programmer’s Reference
Property Value
DMA NA
Note
Bit 7 of GPIO 3 is used for the battery voltage signal BATOK.
4-56 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The VIC in the ARM926EJ-S Development Chip accepts interrupts from peripherals on
the or RealView Logic Tiles and generates the FIQ and IRQ signals. The VIC provides
a software interface to the interrupt system and functions as the primary interrupt
controller (PIC).
Property Value
Memory base address 0x10140000 for PL190 VIC (primary interrupt controller)
DMA NA
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-57
Programmer’s Reference
Property Value
Location FPGA
DMA NA
The primary interrupt control registers are listed in Table 4-39. For more detail on the
primary interrupt controller, see the ARMPL190 VIC Technical Reference Manual.
4-58 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The bit assignments for the primary interrupt controller are shown in Figure 4-23 and
Table 4-40 on page 4-60. Each bit corresponds to an interrupt source. Use the bit to
enable or disable the interrupt or to check the interrupt status.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PWRFAIL
CommRX
CommTX
Software
Timer23
Timer01
UART2
UART1
UART0
WDOG
GPIO3
GPIO2
GPIO1
GPIO0
CLCD
GND
DMA
SCI0
MBX
RTC
SSP
V31
V30
V29
V28
V27
V26
V25
V24
V23
V22
V21
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-59
Programmer’s Reference
[30] VICINTSOURCE30 External interrupt signal from RealView Logic Tile or PCI3
interrupt signal
[29] VICINTSOURCE29 External interrupt signal from RealView Logic Tile or PCI2
interrupt signal
[28] VICINTSOURCE28 External interrupt signal from RealView Logic Tile or PCI1
interrupt signal
[27] VICINTSOURCE27 External interrupt signal from RealView Logic Tile or PCI0
interrupt signal
[26] VICINTSOURCE26 External interrupt signal from RealView Logic Tile or USB
interrupt signal
[24] VICINTSOURCE24 External interrupt signal from RealView Logic Tile or AACI
interrupt signal
[23] VICINTSOURCE23 External interrupt signal from RealView Logic Tile or MCI1A
interrupt signal
[22] VICINTSOURCE22 External interrupt signal from RealView Logic Tile or MCI0A
interrupt signal
4-60 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
[1] Software interrupt Software interrupt. Enabling and disabling the software interrupt
is done with the Enable Set and Enable Clear Registers. Triggering
the interrupt however, is done from the Soft Interrupt Set register.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-61
Programmer’s Reference
The register map for the secondary interrupt controller is shown in Table 4-41.
The bit assignments for the secondary interrupt controller are shown in Figure 4-24 and
Table 4-42 on page 4-63. Each bit corresponds to an interrupt source. Use the bit to
enable or disable the interrupt or to check the interrupt status. (For the
SIC_PICENABLE, SIC_PICENSET, and SIC_PICENCLR registers, the bits control
the pass-through switches that determine if an interrupt goes only to the SIC or directly
to the PCI.)
31 30 29 28 27 26 25 24 23 22 2120 10 9 8 7 6 5 4 3 2 1 0
Reserved
KEYPAD
MMCI1A
MMCI0A
MMCI1B
MMCI0B
CH LCD
TOUCH
ETHER
UART3
SCU1
SOFT
AACI
KMI1
KMI0
PCI3
PCI2
PCI1
PCI0
DOC
USB
Reserved
4-62 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Interrupt
Bit Description
source
[31] Reserved NA
[20:10] Reserved NA
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-63
Programmer’s Reference
This section describes interrupt handling and clearing in general. For examples of
interrupt detection and handling, see the ARM Developer Suite Developer Guide, the
RealView Compilation Tools User Guide, and the ARM926EJ-S Technical Reference
Manual.
Note
Although the primary interrupt controller is a vectored interrupt controller (VIC), the
examples in this section do not used vectored addresses.
To determine an interrupt source, read the STATUS registers in the PIC and SIC to
determine the interrupt controller that generated the interrupt.
2. Determine the nature of the interrupt by reading the peripheral masked interrupt
status register.
3. Clear the peripheral interrupt by setting the appropriate bit in the peripheral
interrupt clear register.
Each peripheral contains its own interrupt mask and clear registers that must be
configured before an interrupt is enabled. The code segments in Example 4-1 on
page 4-65 to Example 4-3 on page 4-66 show how primary and secondary peripheral
interrupts are handled. See the selftest program supplied on the CD for more examples
of interrupt handling.
Example 4-1 on page 4-65 shows an example of clearing and re-enabling the primary
controller SCI0 card out interrupt.
4-64 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Example 4-2 shows how to detect the SCI1 card out interrupt signal from the secondary
interrupt controller.
Example 4-2 Pseudo code for SIC SCI1 card out interrupt
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-65
Programmer’s Reference
Example 4-3 shows clearing and re-enabling the SIC SCI1 card out interrupt by using
PIC_SCR31.
4-66 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Property Value
Location FPGA
DMA NA
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-67
Programmer’s Reference
4.13 MBX
The MBX Graphics Accelerator is an AMBA compliant SoC peripheral that is
developed, tested, and licensed by ARM Limited.
Property Value
DMA NA
The ARM MBX HR-S contains a tile accelerator that operates on 3D scene data (sent
as batches of triangles). The accelerator has a direct connection to the MPMC that
allows rendered images to be saved directly into display memory.
4-68 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Details of the MOVE coprocessor function are only available to licensees. Contact
ARM for information on licensing. The release version of the MOVE accelerator is
MOVE r3p0-00bet0
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-69
Programmer’s Reference
Property Value
DMA DMA channels for MCI 0 and MCI 1 are selectable as 0,1, or 2.
See Direct Memory Access Controller and mapping registers
on page 4-52.
4-70 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Property Value
Interrupt NA
DMA The MPMC does not use interrupts or DMA. DMA transfers,
however, can be set up to access memory controlled by the
MPMC.
For information on default values for the memory controllers, see Memory
characteristics on page 4-16. Sample programs that configure and use dynamic
memory can be found on the CD that accompanies the Versatile/PB926EJ-S.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-71
Programmer’s Reference
Table 4-47 lists the register values for typical operation with 133MHz SDRAM. The
HCLK frequency is 70MHz and the SDRAM is organized as four banks of 8MB x 16bit.
Note
The platform.a library contains memory setup routines. See Building an application
with the platform library on page 2-23.
Address
Register name Value Description
offset
4-72 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Address
Register name Value Description
offset
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-73
Programmer’s Reference
Caution
The PCI controller is provided by Xilinx. The source HDL for this device is not
provided on the CD. The PCI controller will be deleted if you rebuild the FPGA image.
Property Value
Location FPGA
Memory base address 0x10001000 for the map and control registers PCI configuration
region is 0x41000000–0x42FFFFFF PCI memory region 0 is
0x44FFFFFF–0x4FFFFFFF PCI memory region 1 is
0x50000000–0x5FFFFFFF PCI memory region 2 is
0x60000000–0x6FFFFFFF
Reference documentation PCI v2.2 Specification (see the PCI SIG web site at
www.pcisig.com) See also Table 4-50 on page 4-75, PCI
interface on page 3-80, and Appendix D PCI Backplane and
Enclosure)
4-74 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
There are windows that provide access from the AHB M2 bus to the PCI expansion bus
are listed in Table 4-49.
The SYS_PCICTL, PCI_SELFID, and PCI_FLAGS control the operation of the PCI
bus and provide status information. The PCI_IMAPx and PCI_SMAPx registers define
the address translation values for the PCI I/O, PCI configuration, and PCI memory
windows. See Table 4-50.
0x10000044 SYS_PCICTL R/W Read returns a HIGH in bit 0 if a PCI board is present in the expansion
backplane.
0x10001000 PCI_IMAP0 R/W Translate AHB M2 address to PCI address for accesses
0x44000000–0x4FFFFFFF.
0x10001004 PCI_IMAP1 R/W Translate AHB address to PCI address for accesses
0x50000000–0x5FFFFFFF.
0x10001008 PCI_IMAP2 R/W Translate AHB address to PCI address for accesses
0x60000000–0x6FFFFFFF.
0x10001014 PCI_SMAP0 R/W Translate PCI base address region 0 to AHB address.
0x10001018 PCI_SMAP1 R/W Translate PCI base address region 1 to AHB address.
0x1000101C PCI_SMAP2 R/W Translate PCI base address region 2 to AHB address.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-75
Programmer’s Reference
PCI_IMAPx registers
The map registers memory address bits [31:28] for the PCI regions as shown in
Figure 4-25. In this example, the PCI_IMAP2 register contains 0x8 and this is used for
the high bits of the PCI address bus.
PCI_IMAP2 register 8
PCI decode
AHB M2 address
0x61234567
The map register formats are shown in Figure 4-26 and Table 4-54 on page 4-79.
31 4 3 0
Address bits for
Reserved PCI [31:28]
Bits Description
[3:0] Contains the value to use for bits [31:28] of the PCI address for accesses to this
region.
4-76 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
PCI_SELFID register
Writing the slot location of the Versatile/PB926EJ-S into this register enables normal
configuration accesses to return information on the Versatile/PB926EJ-S. That is,
normal configuration accesses to this slot position are converted automatically into self
configuration accesses.
31 5 4 0
Slot number for
Reserved VPB/926
Bits Description
[4:0] Contains the slot location of the Versatile/PB926EJ-S on the PCI backplane.
PCI_FLAGS register
This read-only register returns status information about abort conditions on the PCI bus.
The register format is shown in Figure 4-28 and Table 4-53 on page 4-78.
31 2 1 0
Master
Target
Reserved
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-77
Programmer’s Reference
Bits Description
[31:2] Reserved.
[1] Target abort flag. The bit value is the same as bit 38 of the Command Status
Register in the Xilinx PCI controller. This bit position is reserved for future use.
[0] Master abort flag. The bit value is the same as bit 39 of the Command Status
Register in the Xilinx PCI controller. This bit will be HIGH if an error occurred
while the Versatile/PB926EJ-S was operating as a master.
PCI_SMAPx registers
The map registers provide memory address bits [31:28} of the AHB bus for PCI
accesses as shown in Figure 4-29. In this example, PCI_SMAP2 contains 0x2 and this
is used for the high bits for the AHB S address bus.
PCI decode
PCI_SMAP2 register 2
AHB S address
0x21234567
4-78 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
The map register format is shown in Figure 4-30 and Table 4-54.
31 4 3 0
Address bits for
Reserved AHB [31:28]
Bits Description
[3:0] Contains the value to use for bits [31:28] of the AHB
address when the PCI accesses the slave port.
This section describes how to configure the PCI controllers on the Versatile/PB926EJ-S
and any PCI cards attached to the PCI backplane.
The slot positions for PCI cards are numbered from 11 to 31. The numbering is based
on the address bit that is connected to the IDSEL line. The base address for the PCI
configuration header is determined as follows:
0x41000000 + ((slot position)<<11)
For example, if the Versatile/PB926EJ-S is put into slot C where PCI address bit 29 is
connected to the IDSEL signal, then the base address for the Versatile/PB926EJ-S
header table is at memory location:
0x41000000 + (29<<11) = 0x4100E800
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-79
Programmer’s Reference
The self-configuration addresses for the slot A, B, and C in the PCI backplane are listed
in Table 4-55.
Address
Configuration header
Slot connected
memory
to IDSEL
C 29 0x4100E800–0x4100E83F
B 30 0x4100F000–0x4100F03F
A 31 0x4100F800–0x4100F83F
The base address for normal configuration is 0x42000000. The normal configuration
addresses for the slot A, B, and C in the PCI backplane are listed in Table 4-55.
Address
Configuration header
Slot connected
memory
to IDSEL
C 29 0x4200E800–0x4200E83F
B 30 0x4200F000–0x4200F03F
A 31 0x4200F800–0x4200F83F
The contents of the PCI configuration header is listed in Table 4-57. The default values
refer to the Versatile/PB926EJ-S.
Address Default
Configuration word function
offset value
4-80 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Address Default
Configuration word function
offset value
+0x0C BIST (Reserved in Versatile/PB926EJ-S)Header Type Lat. timer Line 0x00 0x00
Size (Reserved in Versatile/PB926EJ-S) 0x00 0x00
The PCI backplane uses the top 3 bits of PCI address to determine whether that slot
should respond to configuration cycles. When the Versatile/PB926EJ-S generates PCI
configuration cycles by accessing the 0x41000000 or 0x42000000 region, the only one of
the PCI cards responds.
See the PCI v2.2 specification for more detail on the configuration space header.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-81
Programmer’s Reference
To configure a PCI card in the expansion bus, first find the memory location that maps
the Versatile/PB926EJ-S into the system:
1. Scan addresses 0x41000000 + (n<<11) to locate the PCI slot holding the
Versatile/PB926EJ-S. The slot range for n is 11 to 31. If you are using the
horizontal slot on the PCI expansion backplane, n is 29.
2. Write the value of n that indicates the slot position into the PCI_SELFID register.
3. Set bit 2 of the Command/Status Register (at offset +0x04) to enable the
Versatile/PB926EJ-S to be initiator on the system. This enables initiator transfers.
4. Because the PCI_SELFID register now holds the slot number for the
Versatile/PB926EJ-S, scanning the normal configuration space at 0x42000000
reveals all PCI cards in the backplane.
Perform normal configuration cycles on other slot positions to see what else is on
the bus. Instead of the self config area at 0x41000000, use memory locations in
Config area 0x42000000 + (n<<11), where n is 11 to 31. That is, scan:
0x42005800, 0x42006000, 0x42006800, and so on to 0x4200f800.
5. The accesses return 0xFFFFFFFF if the slot is empty, or the device and vendor id for
card present. (For the Versatile/PB926EJ-S, the device/vendor id is 0x030010EE.)
If a card is present, read the base address registers to determine how much and
what type of memory is required by each of target boards found in the system.
6. Write to the base address registers in the header table to setup the PCI memory
map and tell each target the PCI memory addresses they should respond to (see
Table 4-57 on page 4-80).
7. Set the PCI control registers at 0x10001000 appropriately so an access to one of the
three memory regions causes a PCI access to the correct PCI memory location.
Note
An example of PCI scanning and configuration is provided as an example on the CD.
4-82 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
• The initiator creates only single reads and writes. This is quite inefficient and
results in low performance. It does, however, simplify the logic in the FPGA and
allows 66MHz performance.
• The target issues a retry response for reads until the data is ready.
• The target issues a retry response for reads or writes when the fifo is full (target
has a 512 deep FIFO, initiator fifo is 16 deep)
• Cardbus CIS Pointer and Expansion ROM configuration registers are not
implemented.
• The target will only respond to some of sixteen PCI bus commands, and initiator
only creates six of the cycle types (see Table 4-58 on page 4-84).
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-83
Programmer’s Reference
4-84 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
A counter in the RTC is incremented every second. The RTC can therefore be used as a
basic alarm function or long time-base counter.
The current value of the clock can be read at any time or the RTC can be programmed
to generate an interrupt after counting for a programmed number of seconds. The
interrupt can be masked by writing to the interrupt match set or clear register.
Property Value
DMA NA
Reference documentation ARM PrimeCell Real Time Clock Controller (PL031) Technical
Reference Manual
Note
There is also a separate Time-of-Year RTC implemented in an external DS1338 chip on
the Versatile/PB926EJ-S. The external RTC can be accessed by the serial bus interface
(see Serial bus interface on page 4-86). For details on the programming interface to the
Time-of-Year RTC, see the datasheet for the Maxim DS1338 integrated circuit.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-85
Programmer’s Reference
Property Value
Location FPGA
Interrupt NA
DMA NA
Note
SDA is an open-collector signal that is used for sending and receiving data. Set the
output value HIGH before reading the current value.
4-86 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Software must manipulate the SCL and SDA bits directly to access the data in the three
devices. The pre-defined eight-bit device addresses are listed in Table 4-62. See the
\firmware\examples directory on the CD for example code for reading the memory
expansion EEPROM.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-87
Programmer’s Reference
Property Value
Reference documentation SCI PrimeCell PL131 Technical Reference Manual (see also
Smart Card interface, SCI on page 3-82)
4-88 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Property Value
The SSP functions as a master or slave interface that enables synchronous serial
communication with slave or master peripherals having one of the following:
• a Motorola SPI-compatible interface
• a Texas Instruments synchronous serial interface
• a National Semiconductor Microwire interface.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-89
Programmer’s Reference
• If the LCD adaptor board is fitted with a touch screen, the controller interfaces to
the SSP port to provide touch screen, keypad, LCD bias and analogue inputs. See
the LCD adaptor board TSCI appendix for further details.
Note
Use the SYS_CLCD register to control the SSP chip selects. See CLCD Control
Register, SYS_CLCD on page 4-34.
4-90 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Property Value
Interrupt NA
DMA NA
The following key parameters are programmable for each SSMC memory bank:
• external memory width, 8, 16, or 32-bit
• burst mode operation
• write protection
• external wait control enable
• external wait polarity
• write WAIT states for static RAM devices
• read WAIT states for static RAM and ROM devices
• initial burst read WAIT state for burst devices
• subsequent burst read WAIT state for burst devices
• read byte lane enable control
• bus turn-around (idle) cycles
• output enable and write enable output delays.
For information on default values for the memory controllers, see Memory
characteristics on page 4-16.
Note
To enable write access to the NOR flash (static chip select 1), set bit 0 of SYS_FLASH
to HIGH. The default at power-on reset is LOW.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-91
Programmer’s Reference
Table 4-66 to Table 4-70 on page 4-93 lists the register values for the SSMC for typical
operation of static memory devices and with a 35MHz system clock.
Note
The platform.a library contains memory setup routines. See Building an application
with the platform library on page 2-23.
Name of SSMC
Address Value Description
register
Table 4-67 Register values for Intel flash, standard async read mode, no bursts
Name of SSMC
Address Value Description
register
4-92 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Table 4-68 Register values for Intel flash, async page mode
Name of SSMC
Address Value Description
register
Name of SSMC
Address Value Description
register
Name of SSMC
Address Value Description
register
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-93
Programmer’s Reference
Name of SSMC
Address Value Description
register
Name of SSMC
Address Value Description
register
4-94 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Property Value
Interrupt NA
DMA NA
Note
There are also system control registers in the FPGA. See Status and system control
registers on page 4-18.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-95
Programmer’s Reference
4.24 Timers
The Dual-Timer module is an AMBA compliant SoC peripheral that is developed,
tested, and licensed by ARM Limited. There are two Dual-Timer modules present in the
ARM926EJ-S Development Chip.
Property Value
DMA NA
• Two 32/16-bit down counters with free-running, periodic and one-shot modes.
• Common clock with separate clock-enables for each timer gives flexible control
of the timer intervals.
• Identification registers that uniquely identify the Dual-Timer module. These can
be used by software to automatically configure itself.
At reset, the timers are clocked by a 32KHz reference from an external oscillator
module. Use the system controller to change the timer reference from 32KHz to 1MHz
(see the ARM926EJ-S Development Chip Reference Manual).
4-96 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
4.25 UART
The PrimeCell UART is an AMBA compliant SoC peripheral that is developed, tested,
and licensed by ARM Limited. There are three UARTs in the ARM926EJ-S
Development Chip and one UART is in FPGA. The 24MHz reference clock to the
UARTs come from the crystal oscillator that is part of OSC0.
Property Value
Memory base address 0x101F1000 for UART0 0x101F2000 for UART1 0x101F3000 for
UART2 0x10009000 for UART3
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-97
Programmer’s Reference
The PrimeCell UART varies from the industry-standard 16C550 UART device as
follows:
• receive FIFO trigger levels are 1/8, 1/4, 1/2, 3/4, and 7/8
• the internal register map address space, and the bit function of each register differ
• the deltas of the modem status signals are not available.
• 1.5 stop bits not available (1 or 2 stop bits only are supported)
• no independent receive clock.
4-98 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
Property Value
Memory base address 0x10020000, the registers in the OTG243 are memory-mapped
onto the AHB M2 bus
DMA There are two DMA channels available for the USB controller.
These are selectable as 0,1, or 2. See Direct Memory Access
Controller and mapping registers on page 4-52.
Reference documentation TransDimension OTG243 Data Sheet (see also USB interface
on page 3-93 and test program supplied on the CD)
Address Description
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-99
Programmer’s Reference
Property Value
Memory base address The VFP registers are not memory-mapped. Access is from the
coprocessor instructions.
Interrupt NA
DMA NA
Note
The following operations from the IEEE 754 standard are not supplied by the VFP9-S
instruction set:
• remainder
• round floating-point number to integer-valued floating-point number
• binary-to-decimal conversions
• decimal-to-binary conversions
• direct comparison of single-precision and double-precision values.
Complete implementation of the IEEE 754 standard is achieved by support code that is
provided with the ARM compilation tools.
The latest VFP support code can be obtained as part of Application Note 98. If you are
using RealView Compilation Tools (RVCT), the appropriate code and documentation
are provided within your installation. If you are using the ARM Developer Suite (ADS)
1.2, Application Note 98 can be downloaded from www.arm.com/support/.
4-100 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Programmer’s Reference
4.28 Watchdog
The PrimeCell Watchdog module is an AMBA compliant SoC peripheral developed,
tested and licensed by ARM Limited. The Watchdog module consists of a 32-bit down
counter with a programmable timeout interval that has the capability to generate an
interrupt and a reset signal on timing out. It is intended to be used to apply a reset to a
system in the event of a software failure.
Note
The Watchdog counter is disabled if the core is in debug state.
Property Value
DMA NA
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. 4-101
Programmer’s Reference
4-102 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Appendix A
Signal Descriptions
For more information on connectors used on the Versatile/PB926EJ-S, see the parts list
spreadsheet in the CD schematics directory.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-1
Signal Descriptions
3V3 1 2 GND
SSPnCS 3 4 GND
SSP connector
SSPCLKOUT 5 6 SSPCLKIN
SSPFSSOUT 7 8 SSPFSSIN
SSPTXD 9 10 SSPRXD
nSSPCTLOE 11 12 nSSPOE
GND 13 14 GND
The signals associated with the SSP are shown in Table A-1.
A-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
The signals on the SIM sockets are also connected to the SCI expansion socket. The
signals associated with the SCI are shown in Table A-2.
5 GND Ground
SW1 nSCIDETECTx Card detect signal from switch in socket (not present
on J25 and J26)
5V/3V3/1V8 1 5 GND
nSC_RSTx 2 6 VPP
SC_CLKx 3 7 SC_DATAx
4 8
Figure A-2 shows the signal assignment of a smartcard. Pins 4 and 8 are not connected
and are omitted on some cards.
The SIM card is inserted into one of the SIM card sockets with the contacts face down
on the top connector or face up on the bottom connector.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-3
Signal Descriptions
Figure A-3 shows the pinout of the connector J28. This can be used to connect to an
off-PCB smart card device.
GND 2 1 SC_VCC0
SC_FCB0 nSC_RST0
SC_DATA0 SC_CLK0
nSCIDETECT0 NC
GND SC_VCC1
SC_FCB1 nSC_RST1
SC_DATA1 SC_CLK1
nSCIDETECT1 NC
16 15
A-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Figure A-4 shows the pin numbering for the 9-pin D-type male connector used on the
Versatile/PB926EJ-S and Table A-4 shows the signal assignment for the connectors.
1 2 3 4 5
6 7 8 9
1 SER0_DCD NC NC NC
9 SER0_RI NC NC NC
a. The signals SER1_DTR, SER2_DTR, and SER3_DTR are connected to the
corresponding SER1_DSR, SER2_DSR, and SER3_DSR signals. These signals cannot
be set or read under program control.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-5
Signal Descriptions
Note
For a full description of the USB signals refer to the datasheet for the TransDimension
OTG243.
A-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Note
A link on the board enables bias voltage to be applied to the microphone (see Advanced
Audio Codec Interface, AACI on page 3-58).
6 AGND
5 AMP_L
Line out
(J3 top) 4 AMP_R
3 AGND
7 CODEC_LINE_IN_L
Line in
2 AGND
(J3 bottom) 8 AGND
1 CODEC_LINE_IN_R
1 AGND
Microphone 5 CODEC_MIC1
(J4)
2 CODEC_MIC2
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-7
Signal Descriptions
DATA2 9
DATA3 1
CMD 2
Ground 3
VDD 4
Clock 5
Ground 6
DATA0 7
DATA1 8
Ground
Write protect
Card in
Ground
The MMC card uses seven pins, and the SD card uses all nine pins. The additional pins
are located as shown in Figure A-7 with pin 9 next to pin 1 and pins 7 and 8 spaced more
closely together than the other pins. Figure A-8 shows an MCI card, with the contacts
face up.
123 4 5 6 7
A-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Function SD widebus
Pin Signal Function MCI
mode
8 MCIxDATA1 Data 1 NC
9 MCIxDATA2 Data 2 NC
Insertion For the connector on the top of the board, insert the card into the socket
with the contacts face down. For the connector on the bottom of the
board, insert the card into the socket with the contacts face up as viewed
from the top of the board. Cards are normally labeled on the top surface
with an arrow to indicate correct insertion.
Removal Remove the card by gently pressing it into the socket. It springs back and
can be removed. Removing the card in this way ensures that the card
detection switches within the socket operate correctly.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-9
Signal Descriptions
1 B0 35 B1
2 B2 36 B3
3 B4 37 B5
4 B6 38 B7
5 G0 39 G1
6 G2 40 G3
7 G4 41 G5
8 G6 42 G7
9 R0 43 R1
10 R2 44 R3
11 R4 45 R5
12 R6 46 R7
13 CLLE 47 GND
14 CLAC 48 GND
15 CLCP 49 GND
16 CLLP 50 GND
17 CLFP 51 GND
18 TSnKPADIRQ 52 GND
19 TSnPENIRQ 53 GND
20 TSnDAV 54 LCDID0
21 TSSCLK 55 LCDID1
A-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
22 TSnSS 56 LCDID2
23 TSMISO 57 LCDID3
24 TSMOSI 58 LCDID4
25 LCDXWR 59 GND
26 LCDSD0 60 GND
27 LCDXRD 61 GND
28 LCDXCS 62 3V3
29 LCDDATnCOM 63 3V3
30 LCDSD0OUTnIN 64 5V
31 CLPOWER 65 5V
32 nLCDIOON 66 VLCD
33 PWR3V5VSWITCH 67 VLCD
34 VDDPOSSWITCH 68 VDDNEGSWITCH
Note
The R[7:0], G[7:0], and B[7:0] signals are digital CLCD signals. The digital signals
must be converted by the PLC and DAC to produce the R, G, and B analog signals used
on the VGA connector.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-11
Signal Descriptions
1 35
B0 B1
B2 B3
B4 B5
B6 B7
G0 G1
G2 G3
G4 G5
G6 G7
R0 R1
R2 R3
R4 R5
R6 R7
CLLE GND
CLAC GND
CLCP GND
CLLP GND
CLFP GND
TSnKPADIRQ GND
TSnPENIRQ GND
TSnDAV LCDID0
TSSCLK LCDID1
TSnSS LCDID2
TSMISO LCDID3
TSMOSI LCDID4
LCDXWR GND
LCDSD0 GND
LCDXRD GND
XCDXCS 3V3
LCDDATnCOMM 3V3
LCDSD0OUTnIN 5V
CLPOWER 5V
nLCDIOON VLCD
PWR3V5VSWITCH VLCD
VDDPOSSWITCH VDDNEGSWITCH
34 68
A-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Pin Description
1 RED
2 GREEN
3 BLUE
4 NC
5 GND
6 GND
7 GND
8 GND
9 NC
10 GND
11 NC
12 NC
13 HSYNC
14 VSYNC
15 NC
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-13
Signal Descriptions
1 2 1 2
3V3 3V3 3V3 3V3
J15 J16
GPIO0 and GPIO1 GPIO2 and GPIO3
Note
Each data pin has an on-board 10KΩ pullup resistor to 3.3V.
A-14 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
6 5
4 3
2 1
4 5V 5V 5V 5V
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-15
Signal Descriptions
LEDA (green) and LEDB (yellow) are connected to the LAN91C111 controller. The
function of the LEDs is determined by registers in the controller. Typical usage would
be to monitor transmit activity and packet detection.
Pin 1
LEDA
LEDB
Pin Signal
1 Transmit +
2 Transmit -
3 Receive +
4 NC
5 NC
6 Receive -
7 NC
8 NC
A-16 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Caution
The I/O voltage on some pins of RealView Logic Tiles can be programmed by changing
resistors on the tile. Signals between RealView Logic Tiles can be altered safely if both
the sending and receiving tile use the same voltage.
However, all signals from the tile mounted on the expansion headers and the
Versatile/PB926EJ-S must use 3.3V I/O levels.
All signals from the Versatile/PB926EJ-S to the tile use 3.3V I/O levels. The 5V supply
on the headers is to power voltage converters that might be present on the expansion tile.
HDRX (J9) signals on page A-18, HDRY (J12) signals on page A-22, and HDRZ (J8)
signals on page A-26 list the signals on each header pin. See Appendix F RealView
Logic Tile and the ARM LT-XC2V4000+ RealView Logic Tile User Guide for more
information on RealView Logic Tile signals.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-17
Signal Descriptions
Note
The tile signal names refer to the signal present on the upper side of a RealView Logic
Tile. That is, the headers on the Versatile/PB926EJ-S correspond to the upper headers
of a tile. The naming convention simplifies designs that might mount on top of either
the Versatile/PB926EJ-S or a RealView Logic Tile.
Tile Tile
Platform signal Pin Pin Platform signal
signal signal
A-18 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Tile Tile
Platform signal Pin Pin Platform signal
signal signal
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-19
Signal Descriptions
Tile Tile
Platform signal Pin Pin Platform signal
signal signal
A-20 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Tile Tile
Platform signal Pin Pin Platform signal
signal signal
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-21
Signal Descriptions
Tile Tile
Platform signal Pin Pin Platform signal
signal signal
Table A-11 describes the signals on the HDRY (J12) pins. The tile signal names refer
to the signal present on the upper side of a RealView Logic Tile.
Tile
Platform signal Tile signal Pin Pin Platform signal
signal
A-22 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Tile
Platform signal Tile signal Pin Pin Platform signal
signal
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-23
Signal Descriptions
Tile
Platform signal Tile signal Pin Pin Platform signal
signal
A-24 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Tile
Platform signal Tile signal Pin Pin Platform signal
signal
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-25
Signal Descriptions
Tile
Platform signal Tile signal Pin Pin Platform signal
signal
A.12.3 HDRZ
The tile signal names refer to the signal present on the upper side of a RealView Logic
Tile. The HDRZ plug and socket have slightly different pinouts.
Platform signal Tile signal Pin Pin Tile signal Platform signal
A-26 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Platform signal Tile signal Pin Pin Tile signal Platform signal
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-27
Signal Descriptions
Platform signal Tile signal Pin Pin Tile signal Platform signal
A-28 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Platform signal Tile signal Pin Pin Tile signal Platform signal
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-29
Signal Descriptions
Platform signal Tile signal Pin Pin Tile signal Platform signal
A-30 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Platform signal Tile signal Pin Pin Tile signal Platform signal
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-31
Signal Descriptions
Platform signal Tile signal Pin Pin Tile signal Platform signal
A-32 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-33
Signal Descriptions
TP6 GLOBALCLK Global clock (the default source is XTALCLKDRV from the FPGA)
A-34 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
TP18 nSIROUT0 IrDA out 0 from UART0 in the ARM926EJ-S Development Chip
(IrDA interface logic is not provided on the board)
A.13.2 JTAG
Figure A-16 on page A-36 shows the pinout of the JTAG connector J31 and Table 3-25
on page 3-100 provides a description of the JTAG and related signals. All JTAG active
HIGH input signals have pull-up resistors (DGBRQ is active LOW and has a pull-down
resistor).
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-35
Signal Descriptions
Note
The term JTAG equipment refers to any hardware that can drive the JTAG signals to
devices in the scan chain. Typically this is RealView ICE or Multi-ICE, although
hardware from other suppliers can also be used to debug ARM processors.
1 2
3V3 3V3
nTRST GND
TDI GND
TMS GND
TCK GND
RTCK GND
TDO GND
nSRST GND
DBGRQ GND
DBGACK GND
19 20
Figure A-17 shows the signals on the USB debug connector J30. USBDP and USBDM
are the positive and negative USB data signals.
GND 4 3 USBDP
VCC 1 2 USBDM
A-36 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
Table A-14 lists the pinout of the trace connector J14. The Mictor connector is shown
in Figure A-19 on page A-38.
GND 5 6 TRACECLK
DBGRQ 7 8 DBGACK
nSRST 9 10 EXTTRIG
TDO 11 12 3V3
RTCK 13 14 3V3
TCK 15 16 TRACEPKT7
TMS 17 18 TRACEPKT6
TDI 19 20 TRACEPKT5
nTRST 21 22 TRACEPKT4
TRACEPKT15 23 24 TRACEPKT3
TRACEPKT14 25 26 TRACEPKT2
TRACEPKT13 27 28 TRACEPKT1
TRACEPKT12 29 30 TRACEPKT0
TRACEPKT11 31 32 PIPESTAT3
TRACEPKT10 33 34 PIPESTAT2
TRACEPKT9 35 36 PIPESTAT1
TRACEPKT8 37 38 PIPESTAT0
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-37
Signal Descriptions
Figure A-18 shows the signals on the embedded logic analyzer connector J33. Use an
embedded logic analyzer to debug FPGA designs and software at the same time. For
more information, see the documentation supplied with your analyzer. (The ChipScope
product is described on the Xilinx web site at www.xilinx.com.)
2 3V3
3 4 ILA_TMS
SSP connector
5 6 ILATCK 10K
7 8 ILA_TDO
9 10 ILATDI
11 12 NC
13 14 NC
An AHB bus monitor, or logic analyzer, can be connected to the AHB monitor port on
the Versatile/PB926EJ-S using a high-density AMP Mictor connector J17. The
connector carries 33 signals and 1 clock or qualifier. Figure A-19 shows a connector and
the identification of pin 1. Table A-15 on page A-39 lists the pinout of the connector.
Note
Agilent (formerly HP) and Tektronix label these connectors differently, but the
assignments of signals to physical pins is appropriate for both systems and pin 1 is
always in the same place. The figure is labelled according to the Agilent pin assignment.
2 38
1 37
A-38 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Signal Descriptions
AHBMONITOR32 5 6 AHBMONCLK0
AHBMONITOR31 7 8 AHBMONITOR15
AHBMONITOR30 9 10 AHBMONITOR14
AHBMONITOR29 11 12 AHBMONITOR13
AHBMONITOR28 13 14 AHBMONITOR12
AHBMONITOR27 15 16 AHBMONITOR11
AHBMONITOR26 17 18 AHBMONITOR10
AHBMONITOR25 19 20 AHBMONITOR9
AHBMONITOR24 21 22 AHBMONITOR8
AHBMONITOR23 23 24 AHBMONITOR7
AHBMONITOR22 25 26 AHBMONITOR6
AHBMONITOR21 27 28 AHBMONITOR5
AHBMONITOR20 29 30 AHBMONITOR4
AHBMONITOR19 31 32 AHBMONITOR3
AHBMONITOR18 33 34 AHBMONITOR2
AHBMONITOR17 35 36 AHBMONITOR1
AHBMONITOR16 37 38 AHBMONITOR0
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. A-39
Signal Descriptions
The FPGA debug connector contains address and decode signals that the FPGA
generates to communicate with the USB and Ethernet controllers. Table A-16 lists the
pinout of the FPGA debug connector. The Mictor connector is shown in Figure A-19 on
page A-38.
ETHWnR 5 6 ETHnLDEV
ETHnRDYRTN 7 8 ETHARDY
USBnRESET 9 10 ETHnDATACS
ETHnSRDY 11 12 ETHAEN
USBDACK0 13 14 ETHnADS
USBEOT0 15 16 ETHnCYCLE
ETHA15 17 18 USBnCS
ETHA14 19 20 USBnWR
ETHA13 21 22 USBnRD
USBETHA6 29 30 F2LSPARE4
USBETHA5 31 32 F2LSPARE3
USBETHA4 33 34 F2LSPARE2
USBETHA3 35 36 F2LSPARE1
USBETHA2 37 38 F2LSPARE0
A-40 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Appendix B
Specifications
This appendix contains the specification for the Versatile/PB926EJ-S. It contains the
following sections:
• Electrical specification on page B-2
• Clock rate restrictions on page B-5
• Mechanical details on page B-10.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. B-1
Specifications
DC IN DC input voltage 9 15 V
B-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Specifications
Powered from DC IN
Table B-2 shows the current requirements at room temperature and nominal voltage
powered from the DC IN connector. These measurements include the current drawn by
Multi-ICE, approximately 160mA at 3.3V.
DC IN DC IN
System
typical max
Standalone 0.7A 3A
Table B-3 shows the current requirements if the board is powered from terminal
connector J34 or the PCI bus. The maximum value refers to loading by additional
RealView Logic Tiles or the custom implementations of the CLCD interface.
a. For example, the LT-XC2V4000+ RealView Logic Tile draws 0.5A from the 3.3V supply.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. B-3
Specifications
Table B-4 lists the maximum current load that can be placed on the supply voltage rails.
System 3.3V 5V 5V
Use Table B-4 together with Table B-2 on page B-3 or Table B-3 on page B-3 to
calculate how much current capacity is available from the voltage rails for external loads
such as RealView Logic Tiles or CLCD displays.
B-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Specifications
Caution
The ICS307 programmable oscillators OSC0, OSC1, OSC2, OSC3, and OSC4 can be
programmed to deliver very high clock signals (200MHZ). The only ARM926EJ-S
Development Chip clock input that can function at this frequency is PLLCLKEXT.
Also, the settings for VCO divider, output divider, and output select values are
interrelated and must be set correctly. Some combinations of settings do not result in
stable operation. For more information on the ICS clock generator and a frequency
calculator, see the ICS web site at www.icst.com.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. B-5
Specifications
Maximum
Function Signal Description
frequency
CPU core CPUCLK This internal clock is normally generated from the PLL by multiplying up 216MHz
the XTALCLKEXT frequency. The ARM926EJ-S Development Chip
can, however, be configured to use PLLCLKEXT as CPUCLK.
SDRAM MPMCCLK This clock, together with the delay settings in the MPMC, determines the 75MHz
access time for the dynamic memory.
Internal HCLK This is an internal clock generated from CPUCLK and the HCLK 75MHz
AMBA bus divider.
External HCLKEXT This internal clock is generated from HCLK and the HCLKEXT divider. 43MHz
AMBA bus It clocks the output part of the AMBA bridges in synchronous mode. This
clock is at the same frequency as XTALCLKEXT.
If you are clocking the AHB bridges in asynchronous mode, the same
frequency restriction applies to the HCLKM1, HCLKM2, and HCLKS
signals.
MBX MBXCLK This is an internal clock generated from HCLK and the MBX clock 75MHz
divider.
The maximum frequency for MBXCLK is limited by the SDRAM
memory devices.
Flash SMCLK This clock is generated from HCLK and the SMC clock divider. It is used 54MHz
memory to time accesses to static memory.
B-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Specifications
Table B-6 lists the timing for the AHB buses. (The bus clock frequency is typically
35MHz for a tcyc of 28.5ns).
AHB M1 outputs in async mode (HADDR, HSELx, HWRITE, HCLKM1 18ns 4ns - -
HTRANS[1:0], HSIZE[2:0], HBURST[2:0], and write data)
AHB M1 inputs in async mode (HREADY, HRESP, HLOCK, HCLKM1 - - 17ns 4.5ns
and read data)
AHB M2 outputs in async mode (HADDR, HSELx, HWRITE, HCLKM2 18ns 4ns - -
HSIZE[2:0], HBURST[2:0], and write data)
AHB M2 inputs in async mode (HREADY, HRESP, HLOCK, HCLKM2 - - 17ns 4.5ns
and read data)
AHB S outputs in async mode (HREADY, HRESP, HLOCK, HCLKS 18ns 4ns - -
and read data)
AHB S inputs in async mode (HADDR, HSELx, HWRITE, HCLKS - - 17ns 4.5ns
HTRANS[1:0], HSIZE[2:0], HBURST[2:0], and write data)
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. B-7
Specifications
Table B-7 shows the memory timing. For more detail on timing and example
waveforms, see the ARM PrimeCell Static Memory Controller (PL093) Technical
Reference Manual and the ARM PrimeCell Multiport Memory Controller (GX175)
Technical Reference Manual.)
SSMC inputs in asynchronous mode (SMDATA[31:0] for read, SMCLK - - 5ns 1ns
SMWAIT, and CANCELSMWAIT)
SSMC inputs in synchronous mode (SMDATA[31:0] for read, SMFBCLK - - 5ns 1ns
SMWAIT, and CANCELSMWAIT)
Note
The SMFBCLK delay from SMCLK must be less than 1.5ns.
B-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Specifications
Table B-8 shows the peripheral and controller timing. For more detail on timing and
example waveforms, see the relevant Technical Reference Manual for the module.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. B-9
Specifications
B-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Appendix C
CLCD Display and Adaptor Board
This appendix describes the external CLCD adaptor board and display. It contains the
following sections:
• About the CLCD display and adaptor board on page C-2
• Installing the CLCD display on page C-6
• LCD power control on page C-7
• Touchscreen controller interface on page C-11
• Connectors on page C-15
• Mechanical layout on page C-19.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-1
CLCD Display and Adaptor Board
Epson
Sharp Sharp Sharp
Six touchscreen
Socket for CLCD inverter touchscreen
pushbuttons connector Sanyo
Sanyo inverter
(on top) (on top) connector connector connector
touchscreen
connector
Sanyo
CLCD
connector
Prototype
CLCD
connector
DIP
switch
The design of the interface board enables you to use to choose the CLCD display that
is appropriate for your application. The CLCD displays and touchscreens supported by
the interface board are:
• Sanyo 3.8 inch QVGA color TFT with touchscreen and fluorescent backlight
• Sharp 8.4 inch VGA color TFT with touchscreen and fluorescent backlight
• Epson 2.2 inch 176x220 pixel color TFT with LED backlight.
C-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
Six pushbutton switches are mounted on the interface board below the 2.2 or 3.8 inch
display. The state of the switches can be read from the touchscreen controller interface.
The 2.2 and 3.8 inch CLCD displays and the adaptor board are mounted in a small
enclosure as shown in Figure C-2.
The 8.4 inch display is mounted into a large enclosure that has two connectors: one for
a keypad and one for the Versatile/PB926EJ-S. (See Figure C-3 on page C-4.)
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-3
CLCD Display and Adaptor Board
The 2.2 and 3.8 inch CLCD displays are mounted on the top side of the adaptor board
as shown in Figure C-4 on page C-5.
C-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
Sanyo CLCD
connector
Epson CLCD
connector
S5
S3 S4 S7 S8
S6 Connector for cable to
Versatile/PB926EJ-S
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-5
CLCD Display and Adaptor Board
1. Connect one end of the CLCD expansion cable to the CLCD adaptor board.
2. Connect the other end of the cable to the Versatile/PB926EJ-S CLCD expansion
connector on the enclosure.
C-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
C.2.1 Configuration
The CLCD adaptor board contains factory-installed links that identify the type of
display. The display matching the identification links settings are listed in Table C-1.
The value of the bits CLCDID[4:0] in the SYS_CLCD register can be read from
software to determine the display in use with the board.
Backlight
LCD_ID[4:0] Manufacturer Touchscreen Display
inverter
b00000 Sanyo TDK CXA-0341 Part of display 3.8 inch QVGA Color TFT
TM38QV67A02A
b00010 Epson LED backlight None 2.2 inch 176x220 Color TFT
L2F50113T00
The LCD adaptor board accommodates a wide range of LCDs. Displays can require
from 1 to 4 power supplies that can either be turned on/off simultaneously or need to be
switched on/off in a certain order. System control register SYS_CLCD and the CLCD
PrimeCell system register control power switching. The voltage supplies on the board
are:
Vin This is permanently on and is not switched. This provides power to the
board (nominal 12V) for the backlight converter.
SWITCHED_FIXED
The supply is generated from the 1.8V, 3.3V or 5V supply. It can be
enabled by PWR3V5VSWITCH in SYS_CLCD or permanently
enabled by link 13.
SWITCHED_CLPWR
This supply is generated from 5V. It can be enabled by the CLPOWER
signal in the CLCD PrimeCell control register or permanently enabled by
link 15.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-7
CLCD Display and Adaptor Board
SWITCHED_VDD_NEG
This –5V to –28V supply is generated from 5V. It can be enabled by
VDDNEGSWITCH in SYS_CLCD or permanently enabled by link 14.
SWITCHED_VDD_POS
This 11V to 28V supply is generated from 5V. It can be controlled by the
touchscreen D/A converter or manually with a pot. It can be enabled by
VDDPOSSWITCH in SYS_CLCD or permanently enabled by link 11.
This supply is used to generate the STN bias voltage.
INV_IO This is the voltage to the interface logic on the prototype board. Link 2
selects the level as 5V or 3.3V.
Note
The I/O signals to the CLCD adaptor board pass through tri-state buffers. The buffers
must be powered from the same IO voltage as that required by the CLCD. This enables
the translation of the IO signals from the 3V3 signal levels present on the
Versatile/PB926EJ-S. The buffers are enabled by LCDIOON in SYS_CLCD.
Figure C-6 on page C-10 shows the block diagram of the adaptor board power-control
circuitry.
C-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
Table C-2 shows the power configuration for the three displays. For additional
information on configuring the CLCD displays, see the selftest code provided on the
CD.
FIXED_SWITCH 1.8V 5V 5V
INV_IO 5V 3.3V 5V
Caution
The links for power control are set during manufacture. Do not modify the links unless
you are producing a new custom display board.
Use connector J4 to supply power to an inverter for a backlight. The backlight pins VIN
are provide a nominal 12V supply. The backlight inverter must consume less than 5W.
The I/O voltage level INV_IO is also present on J4. INV_IO can be link selected to be
5V or 3.3V.
In addition to voltage and ground pins, the connector also supplies the brightness
adjustment voltage (0 to INV_IO voltage). The brightness is adjusted by a variable
resistor, VR4, located near J4.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-9
CLCD Display and Adaptor Board
Switch
voltage
S2
GND LCD_UP_DOWN
Link 16
Link 3 LCD_IO_VDD
Link 15
CLPOWER
Power SWITCHED_VDD_NEG
VDD NEG
VDDNEGSWITCH
Link 14
Power SWITCHED_VDD_POS
VDD POS
VDDPOSSWITCH
Link 11
J10 Sharp
connector
J8 Sanyo
DACOUT
TSx
Touch screen
controller J13
AUX/Batt/keypad
connector
LCD ID resistor
LCD_ID[4:0]
links
Sanyo inverter
Sharp inverter
Link 2 INV_IO
J4 Inverter
connector
prototype
J12
BRIGHTNESS
J9
VR4
VIN
C-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
The Selftest program supplied on the CD demonstrates how to communicate with the
touchscreen controller. The program uses the interface code to plot the touchscreen X
and Y coordinates on the LCD or VGA screen.
Connectors J8 and J10 are used for the standard touchscreens provided with the CLCD
assembly. Prototyping connector J3 enables the use of other resistive touchscreens, see
Touchscreen prototyping connector on page C-17.
Figure C-7 on page C-12 shows the touchscreen interface. Table C-3 lists the
touchscreen control signals. The signals to the touchscreen are routed to connector J13.
R[4:1] and C[4:1] Row and column scan signals for a keyboard. The expansion
board switches S3 to S8 currently use eight positions on the
scan matrix, but additional switches can be fitted using the AD
and keypad connector J13.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-11
CLCD Display and Adaptor Board
J10
J3
J8
controller X_NEG
TSnSS
Y_NEG
TSSCLK
Interface socket
TSnDAV VBAT[2:1]
TSnKPADIRQ AUX[2:1]
Power C1
control C2
VDD POS C3
C4
User switches
The connection between the resistive elements of the touchscreen and J3, J8, or J10 is
shown in Figure C-8. When the pen is down, the two resistive elements touch and form
a four-resistor network. Measuring the voltages at the two dividers indicates the X and
Y positions.
X_POS
Connector
Y_POS
X_NEG
Y_NEG
Touch screen
resistive sheets
C-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
The LCD Touch Screen Controller Interface (TSCI) is based on a TSC2200 PDA
analogue interface circuit. Use the ARM926EJ-S Development Chip SSP interface to
configure and read the touch screen. For information on the touch screen registers, see
the TSC2200 data sheet.
The TSC2200 also incorporates a sixteen key keypad interface and two 12bit analogue
inputs that are available through the LCD expansion header J13. With the 3.8 inch
Sanyo and 2.2 inch Epson build options, six keypad push buttons are mounted on the
LCD board.
The SSP interface is controlled by the SSP PrimeCell and the SSP TSCI chip select is
enabled through SYS_CLCD TSnSS signal. Configuration of the SSP to TSCI interface
requires the data format, phase, size, and clock to be set correctly. Example
configuration code is given in the selftest (TSCI) software on the CD, a code fragment
from this is shown in Example C-1.
// Set serial clock rate (/3), Phase (SPH), Format (MOT), data size (16bit)
*SSPCR0 = SSPCR0_SCR_DFLT | SSPCR0_SPH | SSPCR0_FRF_MOT | SSPCR0_DSS_16;
// Clock prescale register (/8), with SCR gives 0.78MHz SCLK: 24MHz / 8*(1+3)
*SSPCPSR = SSPCPSR_DFLT;
The TSC2200 TSCI controller registers must be configured through the SSP interface
to enable correct touch screen operation.
After the TSCI is configured, conversion of touch screen X/Y values is fully automated
by the TSCI controller and the application code simply reads the converted values. Use
either the pen down flag in the touch screen controller interface or SIC interrupt 8 to
detect the current pen state. The pseudo code in Example C-2 on page C-14 shows the
sequence for configuring and reading the TSCI interface.
Read and write functions are used in the selftest code to transfer data to and from the
TSCI registers TSCI_RTSC and TSCI_WTSC. The selftest example configures the
TSCI for 12bit operation and 16 data averages with minimum precharge and sense
times. This gives high accuracy and fast reading of the current pen position.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-13
CLCD Display and Adaptor Board
Note
The selftest example provided on the CD uses a simple polled system to determine pen
down and timer events.
The pseudo code in Example C-2 is recommended for OS ports as they typically require
interrupt-driven device drivers.
C-14 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
C.4 Connectors
This section describes the connectors present on the CLCD adaptor board. For details
of the connectors present on the Versatile/PB926EJ-S, see Appendix A Signal
Descriptions.
The signals on the CLCD interface connector J2 are shown in Table C-4.
1 B0 2 B2 35 B1 36 B3
3 B4 4 B6 37 B5 38 B7
5 G0 6 G2 39 G1 40 G3
7 G4 8 G6 41 G5 42 G7
9 R0 10 R2 43 R1 44 R3
11 R4 12 R6 45 R5 46 R7
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-15
CLCD Display and Adaptor Board
The signals on the LCD prototyping connector J1 are shown in Table C-5.
BUF_CLLP 1 2 BUF_G2
GND 3 4 BUF_G3
CLCP0 5 6 GND
GND 7 8 BUF_G4
BUF_CLFP 9 10 BUF_G5
GND 11 12 GND
BUF_CLAC 13 14 BUF_G6
GND 15 16 BUF_G7
BUF_CLLE 17 18 GND
GND 19 20 BUF_R0
BUF_B0 21 22 BUF_R1
BUF_B1 23 24 GND
GND 25 26 BUF_R2
BUF_B2 27 28 BUF_R3
BUF_B3 29 30 GND
GND 31 32 BUF_R4
BUF_B4 33 34 BUF_R5
BUF_B5 35 36 GND
GND 37 38 BUF_R6
BUF_B6 39 40 BUF_R7
BUF_B7 41 42 SWITCHED_FIXED
C-16 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
BUF_G1 47 48 SWITCHED_VDD_POS
SWITCHED_CLPWR 49 50 SWITCHED_VDD_NEG
The signals on the touchscreen prototyping connector J3 are shown in Table C-6.
GND 1 2 GND
X_POS 3 4 GND
Y_NEG 5 6 GND
X_NEG 7 8 GND
Y_POS 9 10 GND
The signals on the inverter prototyping connector J4 are shown in Table C-7.
VIN 1 2 VIN
VIN 3 4 VIN
GND 5 6 GND
BRIGHTNESS 7 8 GND
GND 9 10 INV_IO
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-17
CLCD Display and Adaptor Board
The signals on the connector J13 are shown in Table C-7 on page C-17.
This connector enables the connection of an external keypad (R[4:1] are the keypad row
scan output signals and C[4:1] are the column detect input signals). There are also
connections to the analog to digital converter inputs on the CLCD adaptor board
(AUX[2:1] and VBAT[2:1]).
3V3 1 20 3V3
AUX1 2 19 GND
AUX2 3 18 GND
VBAT1 4 17 GND
VBAT2 5 16 GND
R1 6 15 C1
R2 7 14 C2
R3 8 13 C3
R4 9 12 C4
GND 10 11 GND
C-18 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
CLCD Display and Adaptor Board
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. C-19
CLCD Display and Adaptor Board
C-20 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Appendix D
PCI Backplane and Enclosure
This appendix describes the PCI backplane and enclosure. It contains the following
sections:
• Connecting the Versatile/PB926EJ-S to the PCI enclosure on page D-2
• Backplane hardware on page D-6
• Connectors on page D-10.
For details on configuring the PCI controller and PCI expansion cards, see PCI
controller on page 4-74.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. D-1
PCI Backplane and Enclosure
2. Connect Multi-ICE to the board, or use the USB debug port. See Connecting
JTAG debugging equipment on page 2-6.
Note
The JTAG connection on the Versatile/PB926EJ-S does not connect to the PCI
backplane. Use the Versatile/PB926EJ-S JTAG for debugging applications.
There is also a JTAG socket on the PCI backplane. Only use this connector if you
are reprogramming the PAL on the PCI backplane.
3. Set the configuration switches on the PCI backplane. See Setting the backplane
configuration switches on page D-4.
• For CLCD displays, connect the CLCD expansion board cable to the
Versatile/PB926EJ-S and if necessary, connect the display interface cable
from the expansion board to the CLCD display. See Appendix C CLCD
Display and Adaptor Board.
5. Slide the Versatile/PB926EJ-S into the PCI connector on the side of the enclosure.
Figure D-1 on page D-3 illustrates an Versatile/PB926EJ-S mounted in the PCI
backplane in the supplied enclosure.
D-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
PCI Backplane and Enclosure
7. Execute the initialization code to setup the PCI address-mapping registers (see
PCI controller on page 4-74)
Figure D-1 Installing the platform board into the PCI enclosure
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. D-3
PCI Backplane and Enclosure
There are four control switches on the PCI backplane board as shown in Figure D-3 on
page D-6. The switches are arranged into two switch blocks, SW1 and SW2.
SW1-1 SW1-1 positions are labeled Manual and Auto and select between
manual or automatic clock selection:
• In Manual position, the clock is determined by the settings of the
manual clock select switch SW1-2.
• In Auto position, the clock rate is determined by the capabilities of
the PCI cards installed. The default rate is 33MHz. If however all
PCI cards are capable of functioning at 66MHz, the clock rate will
automatically be increased to 66MHz.
SW1-2 SW1-2 positions are labeled Man1 and Man2 and determine the clock
rate when SW1-1 is in the Manual position. Man1 selects low frequency
(10MHz) and Man2 selects high frequency (50MHz).
Switches SW2-1 and SW2-2 control the PCI backplane JTAG scan chain:
SW2-1 Switch positions for SW2-1 are labeled omitPLD and incPLD and omits
or includes the PLD on the PCI backplane from the PCI scan chain.
SW2-2 Switch positions for SW2-2 are labeled omitPCI and incPCI and omit or
include the PCI sockets in the PCI scan chain. If a PCI card is not present
in a socket, the socket is bypassed by an automatic switch.
If a PCI card does not support JTAG, place a jumper across the TDI and
TDO signals for that card or place insulating tape over the nPRSNT pins
on the socket.
The JTAG scan chain on the Versatile/PB926EJ-S does not extend to the
PCI backplane.
There are also two connectors on the board that can be connected to external switches:
J6 This connector is paralleled with SW3 and permits control of the power
from a front-panel switch.
Note
Front panel switches are not provided as part of the PCI enclosure.
D-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
PCI Backplane and Enclosure
Figure D-2 shows two Versatile/PB926EJ-S boards and a VGA controller connected to
the PCI backplane. The PCI controller in the top Versatile/PB926EJ-S is operating as a
PCI bus slave and the PCI controller in the bottom Versatile/PB926EJ-S is operating as
a PCI bus master. The VGA card is also operating as a slave.
PCI
FPGA
slave
ARM926EJ-S
Dev. Chip
translation
Address
PCI_SMAP[2:0]
AHB HADDRS
master
slave
port AHB PCI control
PCI
PCI controller registers
Versatile/PB926EJ-S
PCI bus
PCI
VGA card slave
PCI
ARM926EJ-S master
Dev. Chip
translation
Address
M2
port
PCI control
PCI controller
PCI
registers
FPGA
Versatile/PB926EJ-S
Note
You can only plug the Versatile/PB926EJ-S into a PC PCI motherboard that uses 64-bit
sockets (3.3V signal levels).
You can, however, use either 32 or 64-bit PCI expansion cards in the PCI enclosure.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. D-5
PCI Backplane and Enclosure
91mm
46mm 10mm
10mm
TP2
TP3
J5 JTAG ICE
34mm
J4 Mictor
20.3mm 18.3mm
TP4
50.6mm
LED 16 2
SW2
DIP
LED 15 1
LED 14
LED 7 2
SW1
DIP
LED 6
LED 5 1
171mm
155mm
LED 2
LED 1
Slot C
Slot A
Slot B
ATX power connector
LED 13
LED 12
LED 11
LED 10
SW4
reset J7
SW3
power J6
TP1
LED 9
6mm
20mm
The PCI backplane mechanical layout complies to PCI Specification v2.3 for a two slot
short card system board.
D-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
PCI Backplane and Enclosure
The switches, indicators, and test points for the PCI backplane are listed in Table D-1,
Table D-2 on page D-8, and Table D-3 on page D-8.
14 PCI_nPRSNT1A and This LED illuminates to indicate PCI card present and
PCI_nPRSNT2A enabled in slot A.
15 PCI_nPRSNT1B and This LED illuminates to indicate PCI card present and
PCI_nPRSNT2B enabled in slot B.
16 PCI_nPRSNT1C and This LED illuminates to indicate PCI card present and
PCI_nPRSNT2C enabled in slot C. (This is the slot for the
Versatile/PB926EJ-S.)
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. D-7
PCI Backplane and Enclosure
SW2-1 nINCPLD Omits (ON) or includes (OFF) the PLD in the scan
chain.
SW2-2 TESTnEN Omits (ON) or includes (OFF) the PCI sockets in the
scan chain.
D-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
PCI Backplane and Enclosure
Note
The JTAG chain on the PCI expansion board is independent of the JTAG chain on the
Versatile/PB926EJ-S.
TDO
TCK
TMS
3V3
3V3 SW2-2
SW2-1 TESTnEN
nINCPLD
TDI
PCI A
PCI B
PCI_nPRSNT1A
PCI_nPRSNT2A
PCI_nPRSNT1B
PCI_nPRSNT2B
PCI_nPRSNT1C
PCI_nPRSNT2C
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. D-9
PCI Backplane and Enclosure
D.3 Connectors
This section describes the connectors present on the PCI backplane.
The power connector is a standard ATX style connector as used in PCs. The pinout for
the connector is listed in Table D-5.
3V3 1 11 3V3
3V3 2 12 –12V
GND 3 13 GND
5V 4 14 nPSON
GND 5 15 GND
5V 6 16 GND
GND 7 17 GND
PWOK 8 18 NC
ATX5VSB 9 19 5V
12V 10 20 5V
D-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
PCI Backplane and Enclosure
Figure D-5 and Table D-6 show the pinout of the Mictor connector J4. You can use this
connector to monitor PCI signals on the backplane.
Note
Agilent (formerly HP) and Tektronix label these connectors differently, but the
assignments of signals to physical pins is appropriate for both systems and pin 1 is
always in the same place.
2 38
1 37
No connect 1 2 No connect
GND 3 4 No connect
PCI_CLKE 5 6 No connect
PCI_nIRDY 7 8 No connect
PCI_nTDRY 9 10 No connect
PCI_nINTD 11 12 No connect
PCI_nINTC 13 14 SYSTEM_nRESET
PCI_nINTB 15 16 PCI_PAR64
PCI_nINTA 17 18 PCI_nSERR
PCI_nGNTC 19 20 PCI_nPERR
PCI_nGNTB 21 22 PCI_nACK64
PCI_nGNTA 23 24 PCI_nREQ64
PCI_nREQC 25 26 PCI_M66EN
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. D-11
PCI Backplane and Enclosure
PCI_nREQB 27 28 PCI_nRST
PCI_nREQA 29 30 PCI_nSTOP
SPARE4 31 32 PCI_nDEVSEL
SPARE3 33 34 PCI_nFRAME
SPARE2 35 36 PCI_nLOCK
SPARE1 37 38 PCI_PAR
1 2
3V3 3V3
PCI_nTRST GND
TDI GND
TMS GND
TCK GND
NC GND
TDO GND
NC GND
NC GND
NC GND
19 20
D-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Appendix E
Memory Expansion Boards
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-1
Memory Expansion Boards
• There are five chip select signals available on the static expansion board. Each of
these can select 64MB of SRAM.
• There are 3 chip select signals available on the dynamic expansion board. Each of
these can select 128MB of SDRAM.
The block diagrams for typical memory boards are shown in Figure E-1 and Figure E-2
on page E-3.
Note
Figure E-1 and Figure E-2 on page E-3 are examples only. Different expansion boards
might have different features. For example, the links selecting which chip select to use
might be omitted.
See the documentation provided with your memory board for details on signals and link
options.
DQ[31:0]
Expansion connector J13
SBSCL
SBSDA E2PROM
E-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
SMDATA[31:0]
Expansion connector
3V3
CSWIDTH1
CSWIDTH0
CSWIDTH
select link
GND
SBSCL
SBSDA E2PROM
You can operate the Versatile/PB926EJ-S without a memory expansion board because
it has 2MB of SSRAM, 128MB SDRAM, 64MB NOR flash, and 64MB NAND flash
permanently fitted.
You can use the expansion boards, however, to prototype or develop memory devices
that are not available on the Versatile/PB926EJ-S.
The E2PROM on the memory board can be read from the Versatile/PB926EJ-S to
identify the type of memory on the board and how it is configured. This information can
be used by the application or operating system to initialize the memory space.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-3
Memory Expansion Boards
The memory width on the memory board is encoded into the CSWIDTH[1:0] signals
as shown in Table E-1.
CSWIDTH[1:0] Width
00 8 bit
01 16 bit
10 32 bit (default)
11 No memory present
Note
Additional configuration information is present in the E2PROM on the expansion
board, see EEPROM contents on page E-6.
E-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-5
Memory Expansion Boards
See Serial bus interface on page 4-86 for details on the serial bus interface.
Both memory Expansion EEPROMs are 256 bytes in size and have a similar structure:
Each chip select information block contains details about the memory devices accessed
with the corresponding chip select signal. The organization of a chip select information
block is listed in table Table E-2.
Address
Function Value
offset
Memory Type 0x0 0x0= Reserved0x1= Static Disk On Chip0x2= Static NOR flash0x3= Static
SRAM0x4–0x80 = Reserved0x81 = Single Data Rate SDRAM0x82 = Sync Flash
0x83–0xFE = Reserved
0xFF = Not fitted.
Access time 0x02 Two bytes containing the access time (tACC) decoded as a binary number of 100ps.
Location 2 contains the LSB and location 3 contains the MSB. For example, a flash
device with 120ns access is 1200 * 0.1ns. The decimal value is 1200 and the hex value
is 0x04B0, therefore location 2 contains 0xb0 and location 3 contains 0x04.
Size 0x04 Four bytes containing the size of the memory in bytes location 4 is the LSB and location
7 is MSB.
Device string 0x10–0x2F Null terminated string of up to 32 characters (31 characters + null character) containing
the manufacturer name and part number.
E-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
The base address of the information block is determined by the device chip select used.
0x00
EXPnCS DYCS1
0x30
CS4 DYCS2
0x60
CS5 DYCS3
0x90
The contents of a typical static memory expansion EEPROM with devices on EXPnCS
and CS4 is listed in Table E-3. Unused chip select blocks are filled with 0xFF.
Address
Contents Contents
offset
0x01 EXPnCS memory width 0x12 - 32 bit chip select width, 16-bit device memory width
0x02 EXPnCS access time in 0.1ns (LSB) 0xb0 - LSB (of 1200 which 1200 * 0.1ns = 120ns access
time)
0x03 EXPnCS access time in 0.1ns (MSB) 0x04 - MSB (of 1200 which 1200 * 0.1ns = 120ns access
time)
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-7
Memory Expansion Boards
Address
Contents Contents
offset
0x07 EXPnCS memory size in bytes (MSB) 0x04 (0x04000000 Bytes = 64MBytes)
0x32 CS4 access time in 0.1ps (LSB) 0x26 - LSB (of 550 which 550 * 0.1ns = 55ns access time)
0x33 CS4 access time in 0.1ps (MSB) 0x02 - MSB (of 550 which 550 * 0.1ns = 55ns access time)
0x37 CS4 memory size in bytes (MSB) 0x20 (0x00200000 Bytes = 2MBytes)
E-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
Address
Contents Contents
offset
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-9
Memory Expansion Boards
0x01 DYCS1 memory width 0x12 - 32 bit chip select width, 16-bit device memory width
0x02 DYCS1 access time in 0.1ps (LSB) 0x4B - LSB (of 75 which 75 * 0.1ns = 7.5ns access time)
0x07 DYCS1 memory size in bytes (MSB) 0x08 (0x08000000 Bytes = 64MBytes)
0x32 DYCS2 access time in 0.1ps (LSB) 0x4b - LSB (of 75 which 75 * 0.1ns = 7.5ns access time)
0x37 DYCS2 memory size in bytes (MSB) 0x08 (0x08000000 Bytes = 64MBytes)
E-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
0xFF Checksum Byte The LSB of the sum of bytes 0x00 to 0xFE
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-11
Memory Expansion Boards
The static and dynamic memory expansion boards use 120-way Samtec connectors as
shown in Figure E-5. The connector pinout for the dynamic memory board is shown in
Table E-5. The connector pinout for the static memory board is shown in Table E-7 on
page E-18.
Note
The numbering of pins on the connectors is for the connectors as viewed from below.
Table E-5 SDR, Single data rate dynamic memory connector signals
1 DATA[0] 2 3V3
3 DATA[1] 4 3V3
5 DATA[2] 6 3V3
7 DATA[3] 8 3V3
9 DATA[4] 10 VDDIOa
E-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
Table E-5 SDR, Single data rate dynamic memory connector signals (continued)
11 DATA[5] 12 VDDIOa
13 DATA[6] 14 VDDIOa
15 DATA[7] 16 VDDIOa
17 DATA[8] 18 1V8
19 DATA[9] 20 1V8
21 DATA[10] 22 1V8
23 DATA[11] 24 1V8
25 DATA[12] 26 NC
33 DATA[16] 34 5V
35 DATA[17] 36 5V
37 DATA[18] 38 5V
39 DATA[19] 40 5V
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-13
Memory Expansion Boards
Table E-5 SDR, Single data rate dynamic memory connector signals (continued)
65 ADDR[0] 66 nRESET
67 ADDR[1] 68 nBOARDPOR
69 ADDR[2] 70 NC
71 ADDR[3] 72 NC
73 ADDR[4] 74 NC
75 ADDR[5] 76 NC
77 ADDR[6] 78 NC
79 ADDR[7] 80 NC
81 ADDR[8] 82 NC
83 ADDR[9] 84 NC
85 ADDR[10] 86 NC
87 ADDR[11] 88 NC
89 ADDR[12] 90 NC
91 ADDR[13] 92 NC
93 ADDR[14] 94 NC
E-14 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
Table E-5 SDR, Single data rate dynamic memory connector signals (continued)
113 nDYCS[2], SDRAM chip select 114 nRPOUT, SyncFlash reset power
down
115 nDYCS[3], SDRAM chip select 116 RPVHHOUT, Voltage control for
Micro SyncFlash reset signal
Table E-6 DDR, Double data rate dynamic memory connector signals
1 DATA[0] 2 3V3
3 DATA[1] 4 3V3
5 DATA[2] 6 3V3
7 DATA[3] 8 3V3
9 DATA[4] 10 VDDIOa
11 DATA[5] 12 VDDIOa
13 DATA[6] 14 VDDIOa
15 DATA[7] 16 VDDIOa
17 DATA[8] 18 1V8
19 DATA[9] 20 1V8
21 DATA[10] 22 1V8
23 DATA[11] 24 1V8
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-15
Memory Expansion Boards
Table E-6 DDR, Double data rate dynamic memory connector signals (continued)
25 DATA[12] 26 NC
33 DATA[16] 34 5V
35 DATA[17] 36 5V
37 DATA[18] 38 5V
39 VREFb 40 5V
45 DATA[21] 46 VREFb
59 DATA[27] 60 VREFb
69 ADDR[0] 70 VREFb
E-16 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
Table E-6 DDR, Double data rate dynamic memory connector signals (continued)
71 ADDR[1] 72 VREFb
73 ADDR[2] 74 NC
75 VREFb 76 NC
77 ADDR[3] 78 NC
79 ADDR[4] 80 NC
81 ADDR[5] 82 VREFb
83 VREFa 84 VREFb
85 ADDR[6] 86 VREFb
87 ADDR[7] 88 NC
89 VREFb 90 NC
91 VREFb 92 NC
93 ADDR[8] 94 VREFb
95 ADDR[9] 96 NC
97 ADDR[10] 98 NC
99 ADDR[11] 100 NC
113 DQM[3], data mask input 114 nRPOUT, SyncFlash reset power
down
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-17
Memory Expansion Boards
Table E-6 DDR, Double data rate dynamic memory connector signals (continued)
a. VDDIO is the I/O voltage to host. This is not routed through on stackable boards.
b. VREF is the reference voltage for use with SSTL signalling to the host.
1 DATA[0] 2 3V3
3 DATA[1] 4 3V3
5 DATA[2] 6 3V3
7 DATA[3] 8 3V3
9 DATA[4] 10 VDDIOa
11 DATA[5] 12 VDDIOa
13 DATA[6] 14 VDDIOa
15 DATA[7] 16 VDDIOa
17 DATA[8] 18 1V8
19 DATA[9] 20 1V8
21 DATA[10] 22 1V8
23 DATA[11] 24 1V8
25 DATA[12] 26 NC
E-18 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
33 DATA[16] 34 5V
35 DATA[17] 36 5V
37 DATA[18] 38 5V
39 DATA[19] 40 5V
65 ADDR[0] 66 nRESET
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-19
Memory Expansion Boards
79 ADDR[7] 80 nCS[4]
81 ADDR[8] 82 nCS[3]
83 ADDR[9] 84 nCS[2]
85 ADDR[10] 86 nCS[1]
95 ADDR[15] 96 nCS[0]
E-20 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Memory Expansion Boards
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. E-21
Memory Expansion Boards
45.00mm
Pin 1
1.0mm
42.00mm
2mm
Samtec QTH-060-02-F-D-A
(40mm x 7.11mm)
Figure E-7 shows the static memory expansion board (viewed from above).
45.00mm
0.37mm
Pin 1
42.00mm
2mm
Samtec QSH-060-01-F-D-A
(41.27mm x 7.1mm)
E-22 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Appendix F
RealView Logic Tile
This appendix describes the signals present on the RealView Logic Tile expansion
headers and give the steps required to install a RealView Logic Tile on the
Versatile/PB926EJ-S. It contains the following sections:
• About the RealView Logic Tile on page F-2
• Fitting a RealView Logic Tile on page F-3
• Header connectors on page F-4.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. F-1
RealView Logic Tile
Clocks
JTAG
DMA
SIC
HDRZ
AHB M2 address
AHB S address
AHB M2 data
AHB S data
AHB M2 bus control
Versatile Logic Tile AHB S bus control
GPIO expansion
HDRX
HDRY
CLCD
connectors
Clocks
UARTs 0,1and 2
AHB monitor
SCI
ETM
SSP
Versatile/PB926EJ-S
Note
If you connect a RealView Logic Tile, the design in the tile FPGA must implement logic
to handle the AHB bus signals (see AHB buses used by the FPGA and RealView Logic
Tiles on page F-11).
F-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
RealView Logic Tile
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. F-3
RealView Logic Tile
There are three headers on the top and bottom of the tile. The HDRX and HDRY
headers are 180-way and the HDRZ connectors are 300-way.
Caution
The FPGA signals on a RealView Logic Tile and the Versatile/PB926EJ-S are fully
programmable. Ensure that there are no clashes between the signals on the tiles or with
the signals from the Versatile/PB926EJ-S.
The FPGA can be damaged if several pins configured as outputs are connected together
and attempt to output different logic levels.
Figure F-3 shows the pin numbers and power-blade usage of the HDRX, HDRY, and
HDRZ headers on the upper side of the tile. See RealView Logic Tile header connectors
on page A-17 for details of the signals on the Versatile/PB926EJ-S header connectors.
F-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
RealView Logic Tile
F.3.1 JTAG
The JTAG signals for the FPGA on the RealView Logic Tile are routed through the
headers to the tile at the top of the stack and from there back down through the tile.
There is not a JTAG connector on the RealView Logic Tile. Use the JTAG or USB debug
connector on the Versatile/PB926EJ-S.
Use the JTAG interface to program the configuration flash in the RealView Logic Tile
or to directly load the RealView Logic Tile FPGA image. For more information on
JTAG signals, see JTAG and USB debug port support on page 3-97.
All HDRX, HDRY, and HDRZ connector signals on the Versatile/PB926EJ-S are fixed
at 3.3V I/O signalling level.
Caution
The RealView Logic Tile mounted on the Versatile/PB926EJ-S must use the default
3.3V signal levels.
The signals from the UART0, UART1, UART2, SSP, and SCI connectors to the
ARM926EJ-S Development Chip can be isolated by pulling the nDRVINENx signals
LOW. This enables logic in the RealView Logic Tile to drive the signals instead of
external devices on the connectors (see Figure F-4 on page F-6).
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. F-5
RealView Logic Tile
UART0
Buffer
UART0
UART1
UART1
nDRVINEN1 en
ARM926EJ-S Dev. Chip
SSP
SSP
Buffer
SCI0
SCI0
UART2
UART2
nDRVINEN0
en
GPIO
GPIO
I/O connectors
UART0
UART1
SSP
SCI0
UART2
The Versatile/PB926EJ-S can receive the global clock or transmit the global clock to all
of the boards in the RealView Logic Tile stack. Table F-1 on page F-8 lists the RealView
Logic Tile clocks. Also, the clock multiplexor can select clock signals from the
RealView Logic Tiles as the source for the M1, M2, and S clocks.
The CLK_GLOBAL signal is present on all RealView Logic Tiles. The signal goes to
the CLK_GLOBAL_IN input of the FPGAs on the tiles.
F-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
RealView Logic Tile
Caution
If the tile signal CLK_GLOBAL_OUT_nEN is LOW, the RealView Logic Tile drives
the CLK_GLOBAL signal. Ensure that nGLOBALCLKEN (signal Z50 on the
RealView Logic Tile) is driven HIGH to disable the clock driver on the
Versatile/PB926EJ-S:
OSCCLK0 from OSC0 on the Versatile/PB926EJ-S is the default reference clock for
XTALCLKDRV. XTALCLKDRV is normally used as the source for the Logic Tile
CLK_GLOBAL signal and for the Versatile/PB926EJ-S GLOBALCLK, external
AHB bridge clocks, and the PLL reference CPUCLK signals.
The M1, M2, and S clocks for the FPGA and the development chip are selected by the
multiplexing circuitry described in Operating the AHB bridges in asynchronous mode
on page 3-46.
Note
Some of the standard RealView Logic Tile clocks, CLK_NEG_DN_IN for example,
are not used.
Also some clocks that are inputs to the bus clock multiplexors, HCLKM1L2F for
example, are not normally clock outputs on the RealView Logic Tile.
Ensure that your RealView Logic Tile configuration is compatible with the clock
sources you are using on the Versatile/PB926EJ-S. See RealView Logic Tile clocks on
page 3-54 for more information on clock selection and routing.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. F-7
RealView Logic Tile
nGLOBALCLKEN Z50 To VPB If driven HIGH by the RealView Logic Tile, this
signal disables the local source for GLOBALCLK
on the Versatile/PB926EJ-S and allows the
RealView Logic Tile to supply GLOBALCLK.
The signal is normally pulled LOW by a resistor to
ground within the FPGA. The state of
nGLOBALCLKEN can be read from the
HCLKCTL[0] bit in the SYS_CONDATA1 register
(see Configuration registers SYS_CFGDATAx on
page 4-25).
NC CLK_NEG_DN_IN - -
NC CLK_POS_DN_IN - -
NC CLK_UP_THRU - -
NC CLK_IN_PLUS1 - -
NC CLK_IN_PLUS2 - -
NC CLK_DN_THRU - -
HCLKM1L2F XU128 From tile RealView Logic Tile clock to multiplexor that
provides M1 clock for the FPGA.
HCLKM2L2F XU129 From tile RealView Logic Tile clock to multiplexor that
provides M2 clock for the FPGA.
F-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
RealView Logic Tile
HCLKSL2F XU130 From tile RealView Logic Tile clock to multiplexor that
provides S clock for the FPGA.
HCLKM1L2S XU131 From tile RealView Logic Tile clock to multiplexor that
provides M1 clock for the development chip.
HCLKM2L2S XU132 From tile RealView Logic Tile clock to multiplexor that
provides M2 clock for the development chip.
HCLKSL2S XU133 From tile RealView Logic Tile clock to multiplexor that
provides S clock for the development chip.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. F-9
RealView Logic Tile
GLOBALCLK XTALCLKEXT
XTALCLKDRV ARM
HCLKCTRL0 926EJ-S
Dev.
nGLOBALCLKEN
Chip
ICS307 control
Logic Tile
SMCLK0
HCLKM1
HCLKM2
CLK_OUT_PLUS1 Z50
HCLKS
SMCLK1
CLK_OUT_PLUS2
NC
CLK_DN_THRU
Clock generators and crystals
NC HCLKx_X2S
CLK_NEG_DN_IN CLK_GLOBAL
NC HCLKM1_L2S
CLK_POS_DN_IN XU131
NC HCLKM2_L2S
FPGA CLK_IN_PLUS1 XU132
NC HCLKS_L2S
CLK_IN_PLUS2 XU133
AHBMONCLK1
HCLKM1F2L XU93
CLK_POS_UP_OUT HCLKx_X2F
HCLKM2F2L
ZU217 HCLKM1_L2F
HCLKSF2L XU128 Clock
CLK_NEG_UP_OUT HCLKM2_L2F
XU129 select
HCLKS_L2F
XU130 circuit
HCLKxF2S
HCLKxF2F
HCLKCTRL[4:1]
HCLKSF
HCLKM1F
HCLKM2F
F-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
RealView Logic Tile
F.3.5 AHB buses used by the FPGA and RealView Logic Tiles
AHB S, AHB M1 and AHB M2 are connected to both the FPGA and to the RealView
Logic Tile stack. However, the user-implemented system in the tile must co-operate
with the system implemented within the Versatile/PB926EJ-S FPGA when using some
of these buses.
AHB M1
The Versatile/PB926EJ-S FPGA does not contain any slaves attached to the AHB M1
bus. The ARM926EJ-S Development Chip memory map assigns the top 2GB of address
space (0x80000000–0xFFFFFFFF) to this bus, so a RealView Logic Tile can contain
user-supplied slaves that occupy any of this space. The RealView Logic Tile FPGA
must give a response to all transfers that are generated on the AHB M1 bus, even those
to addresses in the range 0x00000000–0x7FFFFFFF. The Versatile/PB926EJ-S never
generates these addresses on the AHB M1 bus. A separate tile master might, however,
generate accesses to this region.
It is normal to direct any unwanted transfers to a "default" slave that issues an AHB
ERROR response to any active transfers, but a simple zero wait-state OKAY response
would be sufficient to ensure that a system functions correctly. (This is analogous to an
Integrator Logic Module being responsible for all of the 256MB allocated to the Logic
Module, even if the user-supplied peripherals occupy only a small address space).
If there is not a RealView Logic Tile fitted, pull-up and pull-down resistors on the
Versatile/PB926EJ-S ensure that all AHB M1 transfers receive a zero-wait state OK
response.
AHB M2
These addresses can be used for expansion slaves within a RealView Logic Tile. If a
RealView Logic Tile contains multiple expansion AHB slaves on AHB M2 then it must
also include a multiplexor to combine these slave outputs. The final stage of
multiplexing to combine with the Versatile/PB926EJ-S slave outputs must be done with
tristates in the RealView Logic Tile FPGA and Versatile/PB926EJ-S FPGA. (This
combination of multiplexing and tristates is identical to that used in Integrator
Modules).
It is recommended to use AHB M1 (not AHB M2) for expansion slaves in a RealView
Logic Tile. The large address space will permit simpler decoding which will allow the
bus to run faster. Avoiding the AHB M2 bus will make development simpler because
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. F-11
RealView Logic Tile
design errors will not stop the Versatile/PB926EJ-S peripherals from working. The
RealView Logic Tile FPGA must respond to all transfers in the range
0x1400000–0x1F000000. These addresses could be directed to a default slave as described
in AHB M1 on page F-11 or to a simple zero-wait state OKAY response. The HRESP
and HREADY outputs must be tristated if other addresses are selected. If there is not a
RealView Logic Tile fitted, a default slave in the Versatile/PB926EJ-S FPGA is enabled
and accesses to this range receive a simple zero-wait state OKAY response.
AHB S
The PCI bridge in Versatile/PB926EJ-S FPGA contains an AHB master that can drive
the AHB S port of the ARM926EJ-S Development Chip. If a RealView Logic Tile
implements another expansion master then it also must add an arbiter for this AHB. This
arbiter takes HBUSREQ from the PCI master in the FPGA and drives HGRANT back
to that master. If the RealView Logic Tile does not contain any expansion AHB masters
then it should drive HGRANT permanently to 1. There is a pullup resistor that does this
when no LT is present. If a RealView Logic Tile contains multiple expansion AHB
masters then it must also include a multiplexor to combine these master outputs. The
final stage of multiplexing to combine with the PCI master outputs must be done with
tristates in the RealView Logic Tile FPGA and Versatile FPGAs (This combination of
muxing and tristates is identical to that used in Integrator Modules).
Figure F-6 on page F-13 shows a RealView Logic Tile that has a single master and
several slaves.
F-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
RealView Logic Tile
S S S
AHB M1
HLOCKM1
Master
Slave
HGRANTM1
1 M1
HREADYM1
0 Arbiter
HRESPM1 M1
Slaves
HLOCKM2
HGRANTM2 M2
HREADYM2 1 Arbiter
Master
1
Slave
HRESPM2
1 M2
AHB M2 Decoder
M2 Default Slave
S M2
0
Decoder nTILEDET Versatile
S Logic Tile
1 00 1 0 1 0 1
ARM926EJ-S
Dev. Chip
1 0
PCI
BUSREQ
GRANT
interface FPGA
PCI connector
AHB S
HMASTLOCK
Slave
0
HREADYS
1
HSELS S
1
Decoder
Figure F-6 Bus signals for RealView Logic Tile and FPGA
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. F-13
RealView Logic Tile
F.3.6 Reset
A user design in a RealView Logic Tile can reset the Versatile/PB926EJ-S by driving
the nSRST signal LOW. This has the same effect as pushing the reset button and forces
the reset controller to the level specified by the SYS_RESETCTRL register. nSRST is
synchronized by the reset controller and can be driven from any clock source. It must,
however, be driven active for a minimum of 84ns (two cycles of 24MHz) to ensure that
it is sampled by the reset controller. In order to avoid a deadlock condition, the user
design must stop driving the nSRST signal after nRESET is asserted.
nSRST is active low and open-drain. It is shared with the JTAG interface and must not
be driven to HIGH state. A resistor on the Versatile/PB926EJ-S pulls the signal HIGH.
The RealView Logic Tile also uses the nPORESET signal to generate a local
D_nTRST pulse.
The GLOBAL_DONE signal is held LOW until the FPGA on the RealView Logic Tile
has finished configuration. The system is held in reset until this signal goes HIGH.
F-14 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Appendix G
Configuring the USB Debug Connection
When you install the RealView® ICE Micro Edition software that is provided with
RVDS version 2.1 or higher, various features are added to the RealView® Debugger.
This appendix explains how to use these additional features to configure the
Versatile/PB926EJ-S USB debug port connection, and how to connect RealView
Debugger to the Versatile/PB926EJ-S. It contains the following sections:
• Installing the RealView ICE Micro Edition driver on page G-2
• Changes to RealView Debugger on page G-5
• Using the USB debug port to connect RealView Debugger on page G-6
• Using the Debug tab of the RealView Debugger Register pane on page G-10.
Note
This chapter assumes that you are familiar with how to use RealView Debugger to
connect to a target, and to configure a connection. For details, refer to the RealView
Debugger documentation suite (see the RealView Debugger v1.7 Target Configuration
Guide) and the RealView ICE User Guide.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. G-1
Configuring the USB Debug Connection
The installation process varies depending on the operating system you are using. See
the following sections:
• Installing the RealView ICE Micro Edition driver on Windows 98SE
• Installing the RealView ICE Micro Edition driver on Windows 2000 on page G-3
• Installing the RealView ICE Micro Edition driver on Windows XP Professional on
page G-4.
The basic components of RVDS 2.1 (or higher) and the RVI-ME component of RVD
1.7 (or higher) must already be present on your workstation before you begin
configuring the USB debug port software. To install the RVDS software:
1. See the installation instructions provided with RVDS for details on installing that
product.
2. After you have installed RVDS using the standard installation procedure, rerun
the RVDS installation, but select Custom installation instead of Typical
installation.
3. From the displayed list of items that can be installed, select only the RVI-ME
software and click OK.
G.1.2 Installing the RealView ICE Micro Edition driver on Windows 98SE
2. Connect a USB cable between the USB debug port and your computer. The Add
New Hardware Wizard is launched, and tells you that Windows has found the
RealView ICE Micro Edition device.
3. Click Next. Select Search for the best driver for your device.
G-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Configuring the USB Debug Connection
4. Click Next. Specify where you want Windows to search for the driver files:
a. Select Specify a location.
b. Click the Browse... button and navigate to the installation directory you
selected for the RVI-ME software in Installing the RealView Developer
Suite on page G-2.
c. Click OK.
5. Click Next. The Add New Hardware Wizard locates the driver.
G.1.3 Installing the RealView ICE Micro Edition driver on Windows 2000
2. Connect a USB cable between the USB debug port and your computer. The Found
New Hardware Wizard is launched, and displays a welcome message.
3. Click Next. The Install Hardware Device Drivers window is opened. Select
Search for a suitable driver for my device.
4. Click Next. The Locate Driver Files window is opened. Specify where you want
Windows to search for the driver files:
a. Select Specify a location.
b. Click the Browse... button and navigate to the installation directory you
selected for the RVI-ME software in Installing the RealView Developer
Suite on page G-2.
c. Click OK.
6. Click Next. The Completing the Found New Hardware Wizard window is
opened.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. G-3
Configuring the USB Debug Connection
G.1.4 Installing the RealView ICE Micro Edition driver on Windows XP Professional
2. Connect a USB cable between the USB debug port and your computer. The Add
New Hardware Wizard is launched, and displays a welcome message.
3. Click Next. Specify how you want Windows to find the required files:
• Select Install from a list of specific locations and check Search for the
best driver in these locations.
• Click the Browse... button and navigate to the installation directory you
selected for the RVI-ME software in Installing the RealView Developer
Suite on page G-2.
• Click OK.
4. Click Next. A message is displayed informing you that the device you are
installing has not passed Windows Logo testing to verify its compatibility with
Windows XP. Click Continue Anyway.
G-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Configuring the USB Debug Connection
• New tabs in the Register pane of the Code window, in addition to the Core tab
that is present for all targets. The additional tabs include:
— a CP15 tab that displays and sets the values of registers in coprocessor 15
(the System Control coprocessor)
— a Cache Operations tab that you can use to perform operations on the
cache for the target
— a TLB Operations tab that you can use to perform operations on the
translation look-aside buffer (TLB) for the target
— a Debug tab that controls various internal debugger settings, many of which
are specific to the USB debug port.
The CP15, Cache Operations, and TLB Operations tabs control features of the
target hardware. These features are described in the ARM926EJ-S Technical
Reference Manual.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. G-5
Configuring the USB Debug Connection
Note
The USB debug port on the Versatile/PB926EJ-S does not support simultaneous
multiple-core debug (for example, multiple cores present in external RealView Logic
Tiles).
G.3.1 Configuration
2. Connect a USB cable between the PC and the USB debug port on the
Versatile/PB926EJ-S.
G-6 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Configuring the USB Debug Connection
Note
If the there is not a VPB926EJ-S USB entry in the Connection Control window,
the RVI-ME software is not installed. Close the RealView Debugger and install
the software (see Installing the RealView ICE Micro Edition driver on page G-2).
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. G-7
Configuring the USB Debug Connection
Figure G-6 Error shown when the USB debug port is not functioning
6. You can change connection properties by selecting controls in the Name column.
Note
The default values for the connection do not typically require changing.
G-8 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Configuring the USB Debug Connection
7. Close the Connection Properties window and return to the Code window in the
RealView Debugger.
You can now use the RealView Debugger to download programs to the
Versatile/PB926EJ-S and debug them.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. G-9
Configuring the USB Debug Connection
G.4 Using the Debug tab of the RealView Debugger Register pane
When you install the RealView ICE Micro Edition software and connect to a
Versatile/PB926EJ-S, a Debug tab is added to the Register pane of the RealView
Debugger Code window. This controls various internal debugger registers, many of
which are specific to using the USB debug port. To use this tab, you must first connect
RealView Debugger to your Versatile/PB926EJ-S, as described in Using the USB debug
port to connect RealView Debugger on page G-6. A typical setting window is shown in
Figure G-8.
G-10 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Configuring the USB Debug Connection
The Global Properties area of the Debug tab contains settings that control the behavior
of the USB debug port when it resets the target hardware. (See Table G-1.)
nTRST 0x1
Fake 0x3
TRUE 0x1
Stopped 0x1
TRUE 0x1
TRUE 0x1
Adaptive 0x1
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. G-11
Configuring the USB Debug Connection
The settings in the Device Properties area of the Debug tab of the RealView Debugger
register pane control the device that you are connected to. (See Table G-2.)
TRUE 0x1
TRUE 0x1
None 0x1
Watchpoint 0x2
Breakpoint 0x3
a. You must configure the Code Sequence… settings in the Debug tab before caching has been
enabled. If you cannot halt the target before its caches are enabled, you must instead configure
these settings before connecting (as described in Configuration on page G-6).
b. You must configure the Bypass Mem Protection in Debug setting in the Debug tab before
memory protection has been enabled. If you cannot halt the target before its memory protection
is enabled, you must instead configure these settings before connecting (as described in
Configuration on page G-6).
c. The Bypass Mem Protection in Debug setting does not take effect until the next time that you
enter debug state.
G-12 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Configuring the USB Debug Connection
The settings in the Semihosting Properties area of the Debug tab in the RealView
Debugger Register pane are the same as those used for other debug targets. For details
of these settings, see the RealView Debugger User Guide.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. G-13
Configuring the USB Debug Connection
G-14 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Index
The items in this index are listed in alphabetical order, with symbols and numerics appearing at the end. The
references given are to page numbers.
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. Index-1
Index
Index-2 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B
Index
TCM 1-4 R S
timing B-8
MOVE RealView Debugger G-5 SCI
coprocessor 4-69 RealView Logic Tile F-2 interface 4-88
MPMC connectors F-4 Serial bus
controller 4-71 signals A-17 inteface 3-81
Register interface 4-86
MPMC 4-71 Setup
P PCI 4-75 configuration switch 2-3
primary interrupt 4-58 standalone system 2-2
PCI secondary interrupt 4-62 Signals
configuration 4-79 serial bus 4-86 AACI 3-59, A-7
configuring D-2 static memory 4-92 AHB monitor A-38
connectors D-10 status 4-18 bus F-12
controller 4-74 system control 4-18 character LCD 3-61
interface 3-80 SYS_BOOTCS 4-36 CLCD adaptor C-15
JTAG D-9 SYS_CFGDATAx 4-25 CLCDC 3-65, A-10
limitations 4-83 SYS_CLCD 4-34 clock 3-41
register 4-32 SYS_CLCDSER 4-35 DEVCHIP REMAP 3-27
registers 4-75 SYS_DMAPSRx 4-38 DMA 3-67
switches D-4 SYS_FLAGx 4-30 Ethernet 3-70, A-16
Peripheral SYS_FLASH 4-33 FPGA A-40
timing B-9 SYS_ID 4-22 FPGA_REMAP 3-27
Power SYS_LED 4-23 GPIO 3-73, A-14
CLCD 4-34, 4-35 SYS_LOCK 4-24 HCLKCTRL 3-54
CLCD adaptor board C-7 SYS_MCI 4-33 JTAG 3-99, A-35, D-9
connecting 2-11 SYS_MISC KMI A-15
control 3-34 Configuration MCI 3-77
PCI D-3 control register 4-37 memory configuration 4-9
Smart Card 3-84 SYS_NVFLAGx 4-30 MMC A-8
PrimeCell SYS_OSCRESETx 4-39 nPBRESET 3-22
AACI 3-58, 4-42 SYS_OSCx 4-23 nPBSDCREFCONFIG 3-9
CLCDC 3-63, 4-43, 4-47, 4-48 SYS_PCICTL 4-32 nSRST 3-22
DMAC 4-52 SYS_RESETCTL 4-31 nSYSPOR 3-22
GPIO 4-56 SYS_SW 4-22 primary interrupt 4-59
interrupt controller 4-57 SYS_TEST_OSCx 4-40 P_nRST 3-22
KMI 4-67 SYS_100HZ 4-25 RealView Logic Tile A-17, F-2, F-5
MCI 3-77, 4-70 SYS_24MHZ 4-37 reset 3-27
MPMC 4-71 Reset SD card A-8
RTC 4-85 clocks 4-39 secondary interrupt 4-62
SCI 4-88 controller 3-22 serial bus 3-81
Smart Card 3-82 level 3-24, 4-18 Smart Card 3-84, A-3
SSMC 4-91 logic 3-23 SSP A-2
SSP 3-85, 4-89 memory alias 3-27 test A-33
System controller 4-95 RealView Logic Tile F-14 touchscreen C-12
Timers 4-96 register 4-31 Trace A-37
UART 4-97 timing 3-33 UART 3-91, A-5
Watchdog 4-101 RTC USB 3-93, A-6
controller 4-85 USB debug A-36
ARM DUI 0224B Copyright © 2003-2004 ARM Limited. All rights reserved. Index-3
Index
T
TCM 1-4
Test
points A-34
signals and connectors A-33
Timers
interface 4-96
Touchscreen
configuration C-13
interface C-11
signals C-12
Trace
configuraton 2-8
signals A-37
support 3-105
U
UART
interface 3-89, 4-97
USB
interface 3-93, 4-99
signals A-6
USB debug
port 2-7
RealView Debugger G-6
Index-4 Copyright © 2003-2004 ARM Limited. All rights reserved. ARM DUI 0224B