| |||
| Home > ISSM Model Configuration Reference > Cortex-A8 model configuration > 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
| Address | Peripheral |
|---|---|
0x10000040 - 0x1000007F | CIC (Core Module Interrupt Controller) |
0x13000000 - 0x13FFFFFF | Timers |
0x14000000 - 0x14FFFFFF | PIC (Primary Interrupt Controller) |
0x15000000 - 0x15FFFFFF | RTC (Real Time Clock) |
0x16000000 - 0x16FFFFFF | UART0 |
0x17000000 - 0x17FFFFFF | UART1 |
0x18000000 - 0x18FFFFFF | PS/2 Keyboard |
0x19000000 - 0x19FFFFFF | PS/2 Mouse |
0x1A000000 - 0x1AFFFFFF | LED/Alphanumeric/DIP Switches |
0x1C000000 - 0x1CFFFFFF | MMC |
0x1D000000 - 0x1DFFFFFF | Advanced Audio CODEC |
0x1E000000 - 0x1EFFFFFF | TSCI (Smart Card Interface) |
0xC0000000 - 0xC0FFFFFF | CP_LCD |
0xC8000000 - 0xC8FFFFFF | Ethernet (SCMC 91C111) |
0xC9000000 - 0xC9FFFFFF | CP_GPIO |
0xCA000000 - 0xCAFFFFFF | SIC (Secondary Interrupt Controller) |
0xCB000000 - 0xCBFFFFFF | CP_control |
Table B.3 shows the PIC registers of the Cortex-A8 model.
Table B.4 shows the RTC registers of the Cortex-A8 model.
Table B.5 shows the Timer registers of the Cortex-A8 model.
Table B.5. Cortex-A8 Timer registers
| Offset | Register |
|---|---|
0x000 | Timer0Load |
0x018 | Timer0BGLoad |
0x004 | Timer0Value |
0x008 | Timer0Control |
0x00C | Timer0IntClr |
0x010 | Timer0RIS |
0x014 | Timer0MIS |
0x100 | Timer1Load |
0x118 | Timer1BGLoad |
0x104 | Timer1Value |
0x108 | Timer1Control |
0x10C | Timer1IntClr |
0x110 | Timer1RIS |
0x114 | Timer1MIS |
0x200 | Timer2Load |
0x218 | Timer2BGLoad |
0x204 | Timer2Value |
0x208 | Timer2Control |
0x20C | Timer2IntClr |
0x210 | Timer2RIS |
0x214 | Timer2MIS |
0xFE0 | Timer_PeriphIDO |
0xFE4 | Timer_PeriphID1 |
0xFE8 | Timer_PeriphID2 |
0xFEC | Timer_PeriphID3 |
0xFF0 | Timer_PCellIDO |
0xFF4 | Timer_PCellID1 |
0xFF8 | Timer_PCellID2 |
0xFFC | Timer_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.
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.
Table B.6 shows the UART0 and UART1 registers of the Cortex-A8 model.
Table B.6. Cortex-A8 UART registers
| Offset | Register |
|---|---|
0x000 | UARTDR |
0x004 | UARTRSR_ECR |
0x018 | UARTFR |
0x020 | UARTILPR |
0x024 | UARTIBRD |
0x028 | UARTFBRD |
0x02C | UARTLCR_H |
0x030 | UARTCR |
0x034 | UARTIFLS |
0x038 | UARTIMSC |
0x03C | UARTRIS |
0x040 | UARTMIS |
0x044 | UARTICR |
0x048 | UARTDMACR |
0xFE0 | UARTPeriphID0 |
0xFE4 | UARTPeriphID1 |
0xFE8 | UARTPeriphID2 |
0xFEC | UARTPeriphID3 |
0xFF0 | UARTPCellID0 |
0xFF4 | UARTPCellID1 |
0xFF8 | UARTPCellID2 |
0xFFC | UARTPCellID3 |
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.
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.
Table B.7 shows the supported interrupts for the Cortex-A8 model.
Viewing registers in the RealView Debugger User Guide.