B.1.5. Cortex-A8 peripheral register mapping

Table B.2 shows the peripheral register mapping for the Cortex-A8 model (see Figure B.1). The functional peripherals are PIC, RTC, three Timers, and two UARTs. These peripherals are described in the following sections. All other peripherals are represented by a basic register array in the memory map.

To access the peripheral registers, select the corresponding tab in the Registers pane.

Table B.2. Cortex-A8 peripheral register mapping

AddressPeripheral
0x10000040 - 0x1000007FCIC (Core Module Interrupt Controller)
0x13000000 - 0x13FFFFFFTimers
0x14000000 - 0x14FFFFFFPIC (Primary Interrupt Controller)
0x15000000 - 0x15FFFFFFRTC (Real Time Clock)
0x16000000 - 0x16FFFFFFUART0
0x17000000 - 0x17FFFFFFUART1
0x18000000 - 0x18FFFFFFPS/2 Keyboard
0x19000000 - 0x19FFFFFFPS/2 Mouse
0x1A000000 - 0x1AFFFFFFLED/Alphanumeric/DIP Switches
0x1C000000 - 0x1CFFFFFFMMC
0x1D000000 - 0x1DFFFFFFAdvanced Audio CODEC
0x1E000000 - 0x1EFFFFFFTSCI (Smart Card Interface)
0xC0000000 - 0xC0FFFFFFCP_LCD
0xC8000000 - 0xC8FFFFFFEthernet (SCMC 91C111)
0xC9000000 - 0xC9FFFFFFCP_GPIO
0xCA000000 - 0xCAFFFFFFSIC (Secondary Interrupt Controller)
0xCB000000 - 0xCBFFFFFFCP_control

Primary Interrupt Controller

Table B.3 shows the PIC registers of the Cortex-A8 model.

Table B.3. Cortex-A8 PIC registers

OffsetRegister
0x00PIC_IRQ_STATUS
0x04PIC_IRQ_RAWSTAT
0x08PIC_IRQ_ENABLE
0x10PIC_INT_SOFTSET
0x14PIC_INT_SOFTCLR
0x20PIC_FIQ_STATUS
0x24PIC_FIQ_RAWSTAT
0x28PIC_FIQ_ENABLE

Real Time Clock (PL030)

Table B.4 shows the RTC registers of the Cortex-A8 model.

Table B.4. Cortex-A8 RTC registers

OffsetRegister
0x000RTC_DR
0x004RTC_MR
0x008RTC_STAT
0x00CRTC_CLR
0x010RTC_CR
0xFE0RTC_PeriphIDO
0xFE4RTC_PeriphID1
0xFE8RTC_PeriphID2
0xFECRTC_PeriphID3
0xFF0RTC_PCellIDO
0xFF4RTC_PCellID1
0xFF8RTC_PCellID2
0xFFCRTC_PCellID3

Timers

Table B.5 shows the Timer registers of the Cortex-A8 model.

Table B.5. Cortex-A8 Timer registers

OffsetRegister
0x000Timer0Load
0x018Timer0BGLoad
0x004Timer0Value
0x008Timer0Control
0x00CTimer0IntClr
0x010Timer0RIS
0x014Timer0MIS
0x100Timer1Load
0x118Timer1BGLoad
0x104Timer1Value
0x108Timer1Control
0x10CTimer1IntClr
0x110Timer1RIS
0x114Timer1MIS
0x200Timer2Load
0x218Timer2BGLoad
0x204Timer2Value
0x208Timer2Control
0x20CTimer2IntClr
0x210Timer2RIS
0x214Timer2MIS
0xFE0Timer_PeriphIDO
0xFE4Timer_PeriphID1
0xFE8Timer_PeriphID2
0xFECTimer_PeriphID3
0xFF0Timer_PCellIDO
0xFF4Timer_PCellID1
0xFF8Timer_PCellID2
0xFFCTimer_PCellID3

The three timers count down by only one tick for each instruction executed. The timers are mapped to the same memory locations as the timers on the Integrator™/CP development board.

Note

The Timer_PCellID and Timer_PeripID registers are not supported, but this does not affect the operation of the peripheral because it conforms to the ARM Generic Peripheral specification for Timers.

UART

Table B.6 shows the UART0 and UART1 registers of the Cortex-A8 model.

Table B.6. Cortex-A8 UART registers

OffsetRegister
0x000UARTDR
0x004UARTRSR_ECR
0x018UARTFR
0x020UARTILPR
0x024UARTIBRD
0x028UARTFBRD
0x02CUARTLCR_H
0x030UARTCR
0x034UARTIFLS
0x038UARTIMSC
0x03CUARTRIS
0x040UARTMIS
0x044UARTICR
0x048UARTDMACR
0xFE0UARTPeriphID0
0xFE4UARTPeriphID1
0xFE8UARTPeriphID2
0xFECUARTPeriphID3
0xFF0UARTPCellID0
0xFF4UARTPCellID1
0xFF8UARTPCellID2
0xFFCUARTPCellID3

The Cortex-A8 models two serial ports that can be used for I/O. These are modeled through telnet windows, which open automatically on the first read/write operation from the UART after it has been initialized.

The serial ports are mapped to the same memory locations as the UARTs on the Integrator/CP development board.

Note

The default behavior for the telnet protocol is line mode. This means that characters typed into the telnet window are not seen in the model until you press Enter. To change this behavior type the telnet escape character, usually Ctrl-], and then enter the mode character. Doing this might disable local echo of the characters entered in the telnet window.

Interrupts

Table B.7 shows the supported interrupts for the Cortex-A8 model.

Table B.7. Cortex-A8 interrupts

InterruptPeripheral
1UART0
2UART1
5Timer0
6Timer1
7Timer2
8RTC (Real Time Clock)

See also

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0182I
Non-Confidential