Professional Documents
Culture Documents
1 1
The ARM Architecture
T H E A R C H I T E C T U R E F O R T H E D I G I T A L W O R L D
TM
2
ARM Ltd
Improved
Jazelle
Halfword
4 ARM/Thumb 5TE
and signed Interworking Java bytecode 5TEJ
1 halfword /
CLZ execution
byte support
System SA-110 Saturated maths ARM9EJ-S ARM926EJ-S
2 mode
DSP multiply-
SA-1110 ARM7EJ-S ARM1026EJ-S
accumulate
instructions
3 ARM1020E SIMD Instructions
Thumb
instruction 4T Multi-processing
6
set XScale
Early ARM V6 Memory
architectures architecture (VMSA)
ARM7TDMI ARM9TDMI ARM9E-S
Unaligned data
ARM720T ARM940T ARM966E-S support ARM1136EJ-S
cpsr
spsr spsr spsr spsr spsr spsr
cpsr
spsr spsr spsr spsr spsr
N Z C V U n d e f i n e d I F T mode
f s x c
Condition code flags Interrupt Disable bits.
N = Negative result from ALU I = 1: Disables the IRQ.
Z = Zero result from ALU F = 1: Disables the FIQ.
C = ALU operation Carried out
V = ALU operation oVerflowed
T Bit
Architecture xT only
Sticky Overflow flag - Q flag T = 0: Processor in ARM state
Architecture 5TE/J only T = 1: Processor in Thumb state
Indicates if saturation has occurred
Mode bits
J bit Specify the processor mode
Architecture 5TEJ only
J = 1: Processor in Jazelle state
Interrupt
Controller
Peripherals I/O
nIRQ nFIQ
ARM
Core
8 bit ROM
ARM
TIC
Remap/
External Bus Interface Timer
Pause
ROM External
Bridge
Bus
Interface
External
RAM On-chip Interrupt
Decoder RAM Controller
AMBA ACT
Advanced Microcontroller Bus Architecture AMBA Compliance Testbench
ADK
Complete AMBA Design Kit PrimeCell
ARM’s AMBA compliant peripherals
RealView Compilation Tools (RVCT) RealView Debugger (RVD) RealView ARMulator ISS
(RVISS)
RealView ICE (RVI)
RealView Trace (RVT)
MIC TECH CENTER TM
19 19
ARM Debug Architecture
Ethernet
Debugger (+ optional
trace tools)
T H E A R C H I T E C T U R E F O R T H E D I G I T A L W O R
TM
21 L D
MIC TECH CENTER TM
22 22
MIC TECH CENTER TM
23 23
LPC2478 Memory Map
Flash Memory
0.0 GB 0x0000 0000
system Bypass 25 or
clock select External
Synchro- Ethernet 50 MHz
nizer Ethernet
Block
Internal PHY
R/C
Oscillator wdclk Watchdog Other AHB
Timer Peripherals
Perpipheral
Clock
watchdog Generator
clock select pclk APB
Peripherals
RTC
Prescaler
PCLKSELx allows
four individual clock
selections for each
peripheral
Example:
P0.2 = TXD0 (UART0 TXD)
P0.3 = RXD0 (UART0 RXD)
Other pin selects are GPIO
PINSEL0 =0x00000050