목록AUTOSAR (7)
Nnnnnnnnn
AUTOSAR OS AUTOSAR OS is an extension to the OSEK OS specification. An AUTOSAR OS includes all the features of OSEK OS and adds some new functionality which is divided into four Scalability Classes as follows: Scalability Class 1 includes OSEK OS plus:- Schedule Tables- Software Counter Interface- Stack Monitoring Scalability Class 2 includes Scalability Class 1 plus:- Schedule Table Synchroniza..
AUTOSA OS Priority based kernel for embbeded applicaitons. e.g. POSIX, OSE, VxWorks, OSEK, QNK OS의 큰 네가지 특징은 process 관리, memory관리, device관리, file 관리이다. Micro-kernel은 process 관리 영역이고, Task와 Interrupt 관리라고 할 수 있다. Process, Task, Thread Process는 예를 들어, windows에서 엑셀과 워드를 실행했을 때 같은 엑셀을 또 실행할 수 있다. 이는 memory에 두 copy가 실행된 것이다. copy에 대해 코드는 서로 같을지라도 data는 별도이다. 즉 메모리는 공유하지 않는다. 그래서 동기화에 문제가 없고 별도의 addre..
Communication Specifications Communicaton은 크게 두가지로 나눌 수 있다. Sender-Receiver 방식과 Client-Server 방식이다. Sender-Receiver는 다시 implicit과 explicit 방식으로 나뉜다. explict은 polling과 interrupt(Event)로 나뉘며 interrupt는 blocking(API)과 non blocking(API)으로 나뉜다. polling 은 데이터를 받았을 때 계속 체크하여, 받을 시 RE가 구동된다. interrupt는 데이터가 도착했을 때에 event를 발생시킨다. 만약 event가 없을 시, RE가 데이터를 읽으러가서 port에 만약 데이터가 없다면, 정보가 올때까지 기다린다. 이를 blockin..
RTE & Internal behavior 각 컴포넌트 에는 IB라는 것이 있다. IB안에 실질적으로 코드가 있다. IB 모델은 이 내부코드(내부동작)가 어떻게 동작하는 지에 대한 방식을 모델 형태로 기술한 것이다. 이것에 따라 RTE API와 Event가 결정된다. 각 컴포넌트들은 서로 직접 interaction하는 것이 아니라, 자신과 연결된 port하고만 interaction하여, 서로 port끼리 interaction이 가능하게 되어 정보를 주고받을 수 있다. port는 실질적으로 RTE에 위치해있다. IB에서 규정을 해주면, RTE API대로 A 컴포넌트의 내부코딩이 이루어진다. RTE port도 그 규정대로 구성되어, 서로 interaction이 가능한 것이다. 컴포넌트들 중, paramete..
MDE MDE(Model Driven Engineering) is a set of well defined practices based on tools that use at the same time metamodeling and model transformaitons, to achieve some automated goals in the production, maintenance or operation of software intensive systems. Model Transformaions의 기본적인 전제 조건은 meta model, 즉 규칙을 공유하는 것이다. 만약 사용하고 있는 ETAS Tool과 다른 Tool을 이용한다고 해도, 서로 호환이 가능하다. Transformation rules는 XML..
Layerd SW Architecture 가장 많이 쓰이는 SW Architecture의 하나인 Layered SW Architecture를 살펴보면, 제일 윗 단 Application Layer부터 순서대로 AUTOSAR Runtime Environment(RTE), Service Layer, ECU Abstraction Layer, Microcontroller Abstraction Layer(MCAL), Microcontroller이다. Application Layer은 Application Software Components(SW-C)이다. 상위층은 아래층에 대해 dependent하지만, 아래층은 윗층에 dependent 하지않다. Service Layer가 아래층인 ECU Abstraction과 ..
AUTOSAR AUTOSAR 개요 Automotive Open System Architecture - An open standardized software architecture for the automotive industry. 자동차 ECU에 내장되는 SW의 표준 체계로서 SW의 표준 구조 및 표준 개발 방법론을 규정하는 체계이다. 2000년대 초반부터 유럽의 주요 자동차 벤더들이 중심이 되어 개발이 시작되었으며 현재는 Version 4.2 Spec 까지 공개되어 있다. 모든 기기적인 동력장치로만 움직였던 것이, 사람의 동작으로 발생된 전자신호가 ECU로 전달되는 형태로 바뀐 것이다. 향후 유럽의 자동차 업계는 ISO26262(기능 안전 표준)와 함께 AUTOSAR 의 적용이 선택이 아닌 필수가 될 ..