참조2 : ARM architectural Reference Manual(Dave Jaggar저)
# TLB의 캐싱 대상
(1) 가상 주소
(2) 접근 권한
# ARM MMU 페이징 방식
(1) 섹션 방식 (1 Level 테이블만 사용)
- 1MB 단위 매핑
(2) 페이징 방식 (1/2 Level 테이블 모두 사용)
- large page (Fine) : 64KB (16KB 서브페이지 확장 가능)
- small page (Coarse) : 4KB (1KB 서브페이지 확장 가능)
# ARM 페이징 테이블 구조
(1) 1 Level 테이블
(2) 2 Level 테이블
# MMU 사용시 주의할 점
(1) 메모리 영역을 재 매핑한 후에는 TLB를 갱신하여야 충돌이 없다.
# 관련 레지스터
(1) TTBR
- 1레벨 테이블의 베이스를 가리킴
- 14 ~ 31 비트만이 사용됨. 나머지는 0이어야 함.
- 16KB 단위로 정렬되어야 함
#
Coarse page table : Large/Small
Fine page table : Large/Small/Tiny
#
arm v4 와 v7 간에 페이징 구조가 많이 차이 나게 됨
#
메인 : STM32F207ZCT6(arm cortex-m3, v7)
비젼 : NEXELL NXP2120(arm1176, v6)
# nexell nxp2120 features
CPU
ARM1176 @ 700/800hz w/ 16Kbyte I-Cache, 16Kbyte D-Cache per core
VFP(Vector float-point Processor) per core
ARM1176 @ 700/800hz w/ 16Kbyte I-Cache, 16Kbyte D-Cache per core
VFP(Vector float-point Processor) per core
System Controller
8 channels DMA, Interrupt Controller
Clock & Power management for Normal, Idle, Stop and suspend to RAM (Deep Sleep)
4 channels Timer/Watchdog Timer
RTC
Memory/Storage Controller
System Memory : Supports LPDDR2 and DDR2
SRAM, ROM and NOR flash controller
SLC/MLC NAND Flash Controller w/ up to 24bit ECC
Supports SD/MMC/eMMC controller
D1 Multi-format video codec
D1 Multi-format video decoder & encoder
3D Graphic
Enhanced 3D graphic processor
Supports OpenGL|ES 1.1
Display Controller & Video Post-processor
Supports display up to devices 1280x1024@60hz
Supports 24bit RGB, i80 I/F and LVDS
Supports 2D De-interlace, Fine video scalar and Color space converter
Video Input Processor
Supports x2 8bit BT656/601 format
Connectivity
Supports 2x USB 2.0 Host and USB 2.0 Device
Peripherals
2x UART, SPI, PPM, 2x I2C, 2x PWM, I2S, SPDIF Rx
AES-128 Decryption Hardware
4x 12bit general purpose ADC
Package
14x14mm body size, 0.8mm pitch, 232FBGA
# arm 프로세서 권한 모드 (6개 특권/1개 일반)
1. System
2. FIQ
3. IRQ
4. Supervisor
5. Abort
6. Undefined
7. User
# 오탈자
23p : 특권모드에서 특권모드로 다시 진입하는 경우에는 SPSR을 범용 레지스터에 복사하여 저장한다.
Clock & Power management for Normal, Idle, Stop and suspend to RAM (Deep Sleep)
4 channels Timer/Watchdog Timer
RTC
Memory/Storage Controller
System Memory : Supports LPDDR2 and DDR2
SRAM, ROM and NOR flash controller
SLC/MLC NAND Flash Controller w/ up to 24bit ECC
Supports SD/MMC/eMMC controller
D1 Multi-format video codec
D1 Multi-format video decoder & encoder
3D Graphic
Enhanced 3D graphic processor
Supports OpenGL|ES 1.1
Display Controller & Video Post-processor
Supports display up to devices 1280x1024@60hz
Supports 24bit RGB, i80 I/F and LVDS
Supports 2D De-interlace, Fine video scalar and Color space converter
Video Input Processor
Supports x2 8bit BT656/601 format
Connectivity
Supports 2x USB 2.0 Host and USB 2.0 Device
Peripherals
2x UART, SPI, PPM, 2x I2C, 2x PWM, I2S, SPDIF Rx
AES-128 Decryption Hardware
4x 12bit general purpose ADC
Package
14x14mm body size, 0.8mm pitch, 232FBGA
# arm 프로세서 권한 모드 (6개 특권/1개 일반)
1. System
2. FIQ
3. IRQ
4. Supervisor
5. Abort
6. Undefined
7. User
# 오탈자
23p : 특권모드에서 특권모드로 다시 진입하는 경우에는 SPSR을 범용 레지스터에 복사하여 저장한다.
댓글 없음:
댓글 쓰기