AUTOSAR Classic Platform — AUTOSAR의 Control 도메인용 플랫폼으로, Layered Architecture + Component-Based Architecture의 하이브리드 구조다. Application Layer는 Component 기반으로, Application 아래 인프라(BSW)는 Layered 기반으로 설계된다. 기반 OS는 VDX를 확장한 AUTOSAR OS.
4개 계층 구조
각 계층은 아래 계층의 세부를 추상화해 상위로 노출한다. Application은 RTE만 보고 개발하면 하드웨어·통신 세부를 몰라도 된다. Reusability와 Portability가 핵심 설계 목표.
Application Layer — Component 기반
Application Layer는 SW-Component(SW-C)의 집합으로 구성된다. SW-C 간 통신은 RTE 가 중개하며, 상세는 해당 페이지 참고.
RTE (Runtime Environment)
Virtual Functional Bus(VFB)의 ECU-specific 구현체. Application과 BSW의 경계에서 SW-C 간 통신, 이벤트 라우팅, Runnable 활성화를 담당한다. 상세는 AUTOSAR RTE.
BSW 3-Sub-Layer
Services Layer
OS 위에서 동작하는 표준 서비스 모듈 집합.
- System Services — OS, 진단 등
- Memory Services — Non-Volatile data 관리 스택 (AUTOSAR Memory Stack). Services Layer에는 NvM만 존재. 하위는 MemIf + Ea/Fee (ECU Abstraction) + Eep/Fls (MCAL)
- Crypto Services — 암복호화, 키 관리
- Communication Services — 통신 스택 상위 (AUTOSAR Communication Stack). CAN/LIN/FlexRay/Ethernet 공통 + bus-specific 모듈. COM·PduR·CanTp·Generic NM Interface·DCM·CanSM/ComM/BswM 등.
- Off-board Communication Services — V2X, DoIP 등
ECU Abstraction Layer
ECU 보드 레벨의 추상화. 같은 μC라도 보드가 바뀌면 이 계층이 갱신된다. 6 sub-module(Onboard Device / Memory HW / Crypto HW / Communication HW / I/O HW / Wireless Communication HW Abstraction) 및 External Driver 소속 판정은 ECU Abstraction Layer 참고. 특히 signal 경로 추상화는 IO Hardware Abstraction.
Microcontroller Abstraction Layer (MCAL)
μC 세부 추상화 + 표준 드라이버. 상세는 MCAL.
- Microcontroller Drivers, Memory Drivers, Crypto Drivers
- Wireless/Communication Drivers
- I/O Drivers — PORT, DIO, ADC, ICU, OCU, PWM
Complex Drivers
AUTOSAR 표준이 커버하지 못하는 장치를 위한 계층. ECU 특화 디바이스 (예: ignition, fuel injection) 처럼 μC가 직접 지원하지 않는 기능은 표준 MCAL로 표현되지 않는다. Complex Driver는 BSW의 어느 sub-layer든 가로질러 HW에 직접 접근할 수 있다.
트레이드오프: 비표준이므로 portability를 해친다. 다른 ECU로 이식 시 Complex Driver는 재구현 대상.