Basics-Wrapup

View on GitHub

System Services and OS Stack

Autosar architecture

here we will talk about system services specially BswM, ComM, ECUM, Autosar OS and will include Gpt, Mcu

Autosar OS

also autosar defined some extra functionalities to be more configurable

ECUM

Dependencies to other Modules

  1. MCU and rest of MCAL drivers
    • <Driver>_init Apis are called,system developer must consider order of initialization in the ECUM initialization lists
  2. peripherals with wakeup capabilities
    • peripheral must call EcuM_SetWakeupEvent upon detection of a wakeup event
  3. OS
    • EcuM starts the OS and handles all operations before that also it is responsible to shutdown the OS and how control is handled after that
  4. Schm and BswM
    • starts the scheduler of the Ecu and delegates control of generic mode management to the BswM module until shutdown occurs

now let’s talk about EcuM core configs

BswM (Basic software manager)

let’s talk about core configs for BswM a simple configuration can be done by knowing names of parts to be configured it simple but must be known for configuration process

BSWM Core Config

also we can control the mode of our module as a state transition cycle such that

Mode processing cycle

Mcu

Gpt (General Purpose Timer)