Basic software layer
At the lowest level of a smartphone, you have the hardware components, such as the processor, memory, and sensors. These components are managed by device drivers and other low-level software modules that allow them to communicate with the higher-level SWCs, such as your beloved WhatsApp or TikTok applications. In AUTOSAR, the BSW layer provides this low-level functionality, such as memory management, communication protocols, and diagnostic services, to the upper application layer, as shown in the following figure.
Figure 2.7 – BSW layers
Let’s zoom into the architecture and the different sublayers of the BSW, which is composed of three additional sublayers: the service layer, ECU abstraction layer, and microcontroller layer.
Service layer
The topmost layer is the service layer, which provides various services for the application components to use. It is the primary interface between application components and the...