SlideShare a Scribd company logo
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 261
Presentation START
Multicore and AUTOSAR
Hansang Lee
Automotive Software Engineering
13th May 2019
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 262
Contents
▪ Background Knowledge
· What is AUTOSAR ?
· Why AUTOSAR ?
· AUTOSAR Architecture
▪ AUTOSAR-compliant Multicore-systems
· AUTOSAR Architecture with Multi-core
· Why Multi-core is needed ?
· Speedup with Multi-core
· Pros and Cons
▪ Memory Management
· Memory Stack
· Shared Buffer
▪ Scheduling Concept
· Partitioned/Global Scheduling
Multicore and AUTOSAR
▪ Background Knowledge
▪ AUTOSAR-compliant Multicore-systems
▪ Memory Management
▪ Scheduling Concept
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 263
Background Knowledge
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 264
What is AUTOSAR? [1] [2]
AUTomotive Open System ARchitecture is a worldwide development partnership of automotive
interested parties founded in 2003. As the automotive electronics
share is being drastically grown up over the past couple decades,
so several automotive industries such as, Bosch, Daimler and
BMW etc. established a development partnership to solve
their facing challenges efficiently and economically.
Nowadays, AUTOSAR is widely used in Europe as the well-
established standard for automobiles. In addition to this, it has
recently been extending its area to Asia(Korea, China, Japan)
and even USA.
▪ The challenges,
> E/E Complexity is growing up fast.
> Software Quantity is exploding.
> Many different hardware platforms are used.
> Development processes and data formats are not
harmonized.
▪ The main objective,
“To improve the quality of software and reduce the cost by re-use”
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 265
Why AUTOSAR? [3]
▪ Software is highly “hardware dependent”
▪ Complexing development process
▪ Not economical
▪ Software is largely “hardware independent”
▪ Simplified development process
▪ High Flexibility and Reusability of software
Introduction
of AUTOSAR
Application Layer
AUTOSAR Runtime Environment
Hardware
AUTOSAR Basic Software
With AUTOSAR
Application Software
Hardware
Without AUTOSAR
Standardized
AUTOSAR
infrastructure
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 266
AUTOSAR Architecture [4] ● Application Layer
software-components which
constitute the simplest form of an
application with certain
functionality. ASW is equivalent to
an application in PCs or devices.
● Runtime Environment
Acts as a middleware between the
application layer and lower layers.
Basically, it manages the inter- and
intra-ECU communication.
● Basic Software Layer
It can be defined as standardized
software module offering various
services. It provides the
infrastructural functionality on
an ECU. BSW is equivalent to the
operating system and drivers in
PCs.
● Hardware
Microcontroller / ECU Hardware
Communication Bus
Gateway
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 267
AUTOSAR-compliant Multicore Systems
Multicore and AUTOSAR
▪ Background Knowledge
▪ AUTOSAR-compliant Multicore-systems
▪ Memory Management
▪ Scheduling Concept
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 268
AUTOSAR Architecture with Multi-core [3]
MCU/ECU Hardware
CPU Core IICPU Core I
Software
Component I
AUTOSAR Runtime Environment
MCU Abstraction Layer
Service Layer
ECU Abstraction Layer
MCU Abstraction Layer
Service Layer
ECU Abstraction Layer
Software
Component II
Software
Component III
Software
Component IV
Operating System
05/13/2019 / 269
Why Multi-core is needed? [2]
1975-1985 1985-1995 1995-2005 2005-2015
The Growing Number of “Automotive Software”
• Automotive Industries, under Heavy Development-
“ Infotainment ”
“ Vehicle Automation ”
• High Performance Requirements of ECUs
• Increasing Performance by increasing Clock Rate
is obsolete
Forschungsseminar Informatik
Multicore and AUTOSAR
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2610
Speedup with Multi-core [6] [10]
1
2
3
4
5
6
7
1 2 4 8
Speedup(howmanytimesfaster?)
Number of Processors (Cores)
Gustafson’s Law 90%
80%
70%
60%
50%
40%
30%
20%
10%
Ideal Linear Speedup
Amdahl’s Law
Linear Speedup in reality
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2611
Pros and Cons [5] [7]
Pros
“ Workload/Calculation Distribution ”
“ More Computational Resources ”
“ Reduction of Hardware Costs ”
“ Flexibility of Task Allocation ”
Cons
“ Suitable Software Architecture ”
“ Algorithms for Parallel Computing ”
“ Safety ”
“ Weak Predictability ”
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2612
Memory Management
Multicore and AUTOSAR
▪ Background Knowledge
▪ AUTOSAR-compliant Multicore-systems
▪ Memory Management
▪ Scheduling Concept
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2613
Memory Stack [12] [13]
Services Layer
Non-Volatile Memory Manager
(NVM)
ECU Abstraction Layer
Memory Interface (MemIf)
(Memory Abstraction Interface)
MCU Abstraction Layer
Flash Driver
(Fls)
EEPROM Driver
(Eep)
Memory Stack Model
MemoryHardwareAbstractionNVRAMManagerMemoryDrivers
Flash EEPROM
Emulation (Fee)
EEPROM
Abstraction (Ea)
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2614
Memory Stack [12] [13]
In AUTOSAR layered-architecture, Memory Stack is
“ A collection of Software Modules and Device Drivers ”
Services Layer
ECU Abstraction Layer
Memory Interface (MemIf)
(Memory Abstraction Interface)
Flash EEPROM
Emulation (Fee)
EEPROM
Abstraction (Ea)
MCU Abstraction Layer
Flash Driver
(Fls)
EEPROM Driver
(Eep)
Memory Stack Model
MemoryHardwareAbstractionNVRAMManagerMemoryDrivers
Non-Volatile Memory Manager
(NVM)
● Non-Volatile Memory Manager ensures,
“ Data Storage ”
“ Maintenance of Non-Volatile Data ”
“ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ”
● Memory Interface ensures that,
“ NVM is independent of the driver interface layers of Fee and Eep ”
● EEPROM Abstraction and EEPROM Driver provide,
“ Services for Reading/Writing/Erasing Data to/from an EERPROM ”
● Flash EEPROM Emulation provides NVM with,
“ Virtual Addressing Scheme, Segmentation ”
“ Virtually unlimited number of Erase Cycles ”
● Flash Driver provides,
“ Initialization of Flash Memory ”
“ Services for Reading/Writing to/from Flash Memory ”
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2615
Memory Stack [12] [13]
In AUTOSAR layered-architecture, Memory Stack is
“ A collection of Software Modules and Device Drivers ”
Services Layer
Non-Volatile Memory Manager
(NVM)
ECU Abstraction Layer
Memory Interface (MemIf)
(Memory Abstraction Interface)
MCU Abstraction Layer
Flash Driver
(Fls)
EEPROM Driver
(Eep)
Memory Stack Model
MemoryHardwareAbstractionNVRAMManagerMemoryDrivers
Flash EEPROM
Emulation (Fee)
EEPROM
Abstraction (Ea)
● Non-Volatile Memory Manager ensures,
“ Data Storage ”
“ Maintenance of Non-Volatile Data ”
“ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ”
● Memory Interface ensures that,
“ NVM is independent of the driver interface layers of Fee and Eep ”
● EEPROM Abstraction and EEPROM Driver provide,
“ Services for Reading/Writing/Erasing Data to/from an EERPROM ”
● Flash EEPROM Emulation provides NVM with,
“ Virtual Addressing Scheme, Segmentation ”
“ Virtually unlimited number of Erase Cycles ”
● Flash Driver provides,
“ Initialization of Flash Memory ”
“ Services for Reading/Writing to/from Flash Memory ”
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2616
Memory Stack [12] [13]
In AUTOSAR layered-architecture, Memory Stack is
“ A collection of Software Modules and Device Drivers ”
Services Layer
Non-Volatile Memory Manager
(NVM)
ECU Abstraction Layer
Memory Interface (MemIf)
(Memory Abstraction Interface)
Flash EEPROM
Emulation (Fee)
EEPROM
Abstraction (Ea)
MCU Abstraction Layer
Flash Driver
(Fls)
EEPROM Driver
(Eep)
Memory Stack Model
MemoryHardwareAbstractionNVRAMManagerMemoryDrivers
● Memory Interface ensures that,
“ NVM is independent of the driver interface layers of Fee and Eep ”
● EEPROM Abstraction and EEPROM Driver provide,
“ Services for Reading/Writing/Erasing Data to/from an EERPROM ”
● Flash EEPROM Emulation provides NVM with,
“ Virtual Addressing Scheme, Segmentation ”
“ Virtually unlimited number of Erase Cycles ”
● Flash Driver provides,
“ Initialization of Flash Memory ”
“ Services for Reading/Writing to/from Flash Memory ”
● Non-Volatile Memory Manager ensures,
“ Data Storage ”
“ Maintenance of Non-Volatile Data ”
“ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ”
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2617
Memory Stack [12] [13]
In AUTOSAR layered-architecture, Memory Stack is
“ A collection of Software Modules and Device Drivers ”
Services Layer
Non-Volatile Memory Manager
(NVM)
ECU Abstraction Layer
Memory Interface (MemIf)
(Memory Abstraction Interface)
Flash EEPROM
Emulation (Fee)
EEPROM
Abstraction (Ea)
MCU Abstraction Layer
Flash Driver
(Fls)
EEPROM Driver
(Eep)
Memory Stack Model
MemoryHardwareAbstractionNVRAMManagerMemoryDrivers
● Memory Interface ensures that,
“ NVM is independent of the driver interface layers of Fee and Eep ”
● EEPROM Abstraction and EEPROM Driver provide,
“ Services for Reading/Writing/Erasing Data to/from an EERPROM ”
● Flash EEPROM Emulation provides NVM with,
“ Virtual Addressing Scheme, Segmentation ”
“ Virtually unlimited number of Erase Cycles ”
● Flash Driver provides,
“ Initialization of Flash Memory ”
“ Services for Reading/Writing to/from Flash Memory ”
● Non-Volatile Memory Manager ensures,
“ Data Storage ”
“ Maintenance of Non-Volatile Data ”
“ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ”
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2618
Memory Stack [12] [13]
In AUTOSAR layered-architecture, Memory Stack is
“ A collection of Software Modules and Device Drivers ”
Services Layer
Non-Volatile Memory Manager
(NVM)
ECU Abstraction Layer
Memory Interface (MemIf)
(Memory Abstraction Interface)
Flash EEPROM
Emulation (Fee)
EEPROM
Abstraction (Ea)
MCU Abstraction Layer
Flash Driver
(Fls)
EEPROM Driver
(Eep)
Memory Stack Model
MemoryHardwareAbstractionNVRAMManagerMemoryDrivers
● Memory Interface ensures that,
“ NVM is independent of the driver interface layers of Fee and Eep ”
● EEPROM Abstraction and EEPROM Driver provide,
“ Services for Reading/Writing/Erasing Data to/from an EERPROM ”
● Flash EEPROM Emulation provides NVM with,
“ Virtual Addressing Scheme, Segmentation ”
“ Virtually unlimited number of Erase Cycles ”
● Flash Driver provides,
“ Initialization of Flash Memory ”
“ Services for Reading/Writing to/from Flash Memory ”
● Non-Volatile Memory Manager ensures,
“ Data Storage ”
“ Maintenance of Non-Volatile Data ”
“ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ”
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2619
Shared Buffers [9]
Invocation of the same service on the different cores with a shared data buffer
Access to “Shared Buffers” must be protected
against “Concurrent Access”
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2620
Shared Buffers without Protection
Core0
Service X
Memory
Core1
Service X
Shared Buffer
Variable : desiredTemperature”
The expected value of
the shared buffer is 10,
but the result is 20
[Same Code]
if (desiredTemperature == 0)
desiredTemperature += 10;
[Same Code]
if (desiredTemperature == 0)
desiredTemperature += 10;
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2621
Scheduling Concept
Multicore and AUTOSAR
▪ Background Knowledge
▪ AUTOSAR-compliant Multicore-systems
▪ Memory Management
▪ Scheduling Concept
Forschungsseminar Informatik
Multicore and AUTOSAR
05/13/2019 / 2622
Partitioned/Global Scheduling
Two type of “Scheduling Concepts” for “Task Allocation”
● Partitioned Scheduling
“ Once a task has been allocated to a core, it cannot migrate to another one ”
“ This scheduling frameworks basically exists for single-core systems ”
● Global Scheduling
“ Tasks are allowed to fully migrate between different cores ”
“ Global Queue ”
“ Task Scheduler ”
Task6
Task5
Task4
Task3
Task2
… …
CORE 0
CORE 1
When the tasks get ready to execute
Task Scheduler decides which core any task
can/should be allocated to.
Task1
Task2
Global Queue
Forschungsseminar Informatik
Multicore and AUTOSAR
References I
Wikipedia; AUTOSAR;
“https://en.wikipedia.org/wiki/AUTOSAR”, Last edited on 7 April 2019;
[Online]
[1]
Юрий Сорокин; Introduction to AUTOSAR;
“https://www.youtube.com/watch?v=s_FY0ujP2rA&list=PLh-MKr4shv01vAj59u0b8qrDCUGjIeEzZ&index=6”, 22 Dec 2017;
[Online Video]
[2]
EBAutomotiveSoftware; AUTOSAR 4.0 - A first glance;
“https://www.youtube.com/watch?v=gDAvlw-FYZY&list=PLh-MKr4shv01vAj59u0b8qrDCUGjIeEzZ&index=7”, 24 Oct 2011;
[Online Video]
[3]
Embitel; Decoding the “Component Concept” of the Application Layer in AUTOSAR;
“https://www.embitel.com/blog/embedded-blog/decoding-the-component-concept-of-the-application-layer-in-autosar”, 9 May 2018;
[Online]
[4]
Simon Widlund, Anton Annenkov; Migrating a Single-core AUTOSAR Application to a Multi-core Platform: Challenges, Strategies and Recommendations;
“http://publications.lib.chalmers.se/records/fulltext/250043/250043.pdf”, 2017;
[Master Thesis]
[5]
Wikipedia; Gustafson's law
“https://en.wikipedia.org/wiki/Gustafson%27s_law”, Last edited on 21 February 2019
[Online]
[6]
BMW Car IT GmbH; Multicore on AUTOSAR – from the idea to series production
“http://www.bmw-carit.de/projects/multicore-on-autosar.php”;
[Online]
[7]
AUTOSAR Documentation; Technical Overview V2.2.1 R3.0 Rev 0001;
“https://www.autosar.org/fileadmin/user_upload/standards/classic/3-0/AUTOSAR_TechnicalOverview.pdf”;
[Documentation]
[8]
05/13/2019 / 2623
Forschungsseminar Informatik
Multicore and AUTOSAR
References II
AUTOSAR Documentation; Guide to Multi-Core Systems V1.1.0 R4.1 Rev3;
“https://www.autosar.org/fileadmin/user_upload/standards/classic/4-1/AUTOSAR_EXP_MultiCoreGuide.pdf”;
[Documentation]
[9]
Wikipedia; Amdahl’s Law;
“https://en.wikipedia.org/wiki/Amdahl%27s_law”,
[Online]
[10]
AUTOSAR Documentation; Specification of Flash EEPROM Emulation V2.0.0 R4.0 Rev3
“https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_SWS_FlashEEPROMEmulation.pdf”,
[Online]
[11]
05/13/2019 / 2624
Forschungsseminar Informatik
Multicore and AUTOSAR
Presentation END
05/13/2019 / 2625
Forschungsseminar Informatik
Multicore and AUTOSAR
Questions & Answers
05/13/2019 / 2626

More Related Content

What's hot

Autosar basics by ARCCORE
Autosar basics by ARCCOREAutosar basics by ARCCORE
Autosar basics by ARCCORE
ARCCORE
 
Understanding Flash Bootloader Software and Automotive ECU Reprogramming
Understanding Flash Bootloader Software and Automotive ECU ReprogrammingUnderstanding Flash Bootloader Software and Automotive ECU Reprogramming
Understanding Flash Bootloader Software and Automotive ECU Reprogramming
Embitel Technologies (I) PVT LTD
 
Automative basics v3
Automative basics v3Automative basics v3
Automative basics v3
Keroles karam khalil
 
Diagnostic in Adaptive AUTOSAR
Diagnostic in Adaptive AUTOSARDiagnostic in Adaptive AUTOSAR
Diagnostic in Adaptive AUTOSAR
Bernhard Wagner
 
Automotive embedded systems part8 v1
Automotive embedded systems part8 v1Automotive embedded systems part8 v1
Automotive embedded systems part8 v1
Keroles karam khalil
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
Embitel Technologies (I) PVT LTD
 
Automotive embedded systems part5 v1
Automotive embedded systems part5 v1Automotive embedded systems part5 v1
Automotive embedded systems part5 v1
Keroles karam khalil
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN StackAUTOSAR 403 CAN Stack
AUTOSAR 403 CAN Stack
Rania Nabil
 
Communication stack
Communication stackCommunication stack
Communication stack
Medhat HUSSAIN
 
What is AUTOSAR Memory Stack | Software modules and device drivers
What is AUTOSAR Memory Stack | Software modules and device driversWhat is AUTOSAR Memory Stack | Software modules and device drivers
What is AUTOSAR Memory Stack | Software modules and device drivers
Embitel Technologies (I) PVT LTD
 
UDS: Vehicle Diagnostics in AUTOSAR Software Architecture
UDS: Vehicle Diagnostics in AUTOSAR Software Architecture UDS: Vehicle Diagnostics in AUTOSAR Software Architecture
UDS: Vehicle Diagnostics in AUTOSAR Software Architecture
Embitel Technologies (I) PVT LTD
 
Frequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR ServicesFrequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR Services
Embitel Technologies (I) PVT LTD
 
Automotive embedded systems part6 v1
Automotive embedded systems part6 v1Automotive embedded systems part6 v1
Automotive embedded systems part6 v1
Keroles karam khalil
 
Autosar MCAL (Microcontroller Abstraction Layer)
Autosar MCAL (Microcontroller Abstraction Layer)Autosar MCAL (Microcontroller Abstraction Layer)
Autosar MCAL (Microcontroller Abstraction Layer)
Embitel Technologies (I) PVT LTD
 
Autosar-software-component_0hg.pptx
Autosar-software-component_0hg.pptxAutosar-software-component_0hg.pptx
Autosar-software-component_0hg.pptx
fallleaf1104
 
Flash Bootloader Development for ECU programming
Flash Bootloader Development for ECU programmingFlash Bootloader Development for ECU programming
Flash Bootloader Development for ECU programming
Embitel Technologies (I) PVT LTD
 
What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR MCAL? Learn about the software module architecture and device...What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR MCAL? Learn about the software module architecture and device...
Embitel Technologies (I) PVT LTD
 
Adaptive AUTOSAR - The New AUTOSAR Architecture
Adaptive AUTOSAR - The New AUTOSAR ArchitectureAdaptive AUTOSAR - The New AUTOSAR Architecture
Adaptive AUTOSAR - The New AUTOSAR Architecture
AdaCore
 
KWP 2000 and UDS Protocols | Analysis & Comparison
KWP 2000 and UDS Protocols | Analysis & ComparisonKWP 2000 and UDS Protocols | Analysis & Comparison
KWP 2000 and UDS Protocols | Analysis & Comparison
Embitel Technologies (I) PVT LTD
 
How to Apply Functional Safety to Autosar ECU's
How to Apply Functional Safety to Autosar ECU'sHow to Apply Functional Safety to Autosar ECU's
How to Apply Functional Safety to Autosar ECU's
Renesas America
 

What's hot (20)

Autosar basics by ARCCORE
Autosar basics by ARCCOREAutosar basics by ARCCORE
Autosar basics by ARCCORE
 
Understanding Flash Bootloader Software and Automotive ECU Reprogramming
Understanding Flash Bootloader Software and Automotive ECU ReprogrammingUnderstanding Flash Bootloader Software and Automotive ECU Reprogramming
Understanding Flash Bootloader Software and Automotive ECU Reprogramming
 
Automative basics v3
Automative basics v3Automative basics v3
Automative basics v3
 
Diagnostic in Adaptive AUTOSAR
Diagnostic in Adaptive AUTOSARDiagnostic in Adaptive AUTOSAR
Diagnostic in Adaptive AUTOSAR
 
Automotive embedded systems part8 v1
Automotive embedded systems part8 v1Automotive embedded systems part8 v1
Automotive embedded systems part8 v1
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
 
Automotive embedded systems part5 v1
Automotive embedded systems part5 v1Automotive embedded systems part5 v1
Automotive embedded systems part5 v1
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN StackAUTOSAR 403 CAN Stack
AUTOSAR 403 CAN Stack
 
Communication stack
Communication stackCommunication stack
Communication stack
 
What is AUTOSAR Memory Stack | Software modules and device drivers
What is AUTOSAR Memory Stack | Software modules and device driversWhat is AUTOSAR Memory Stack | Software modules and device drivers
What is AUTOSAR Memory Stack | Software modules and device drivers
 
UDS: Vehicle Diagnostics in AUTOSAR Software Architecture
UDS: Vehicle Diagnostics in AUTOSAR Software Architecture UDS: Vehicle Diagnostics in AUTOSAR Software Architecture
UDS: Vehicle Diagnostics in AUTOSAR Software Architecture
 
Frequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR ServicesFrequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR Services
 
Automotive embedded systems part6 v1
Automotive embedded systems part6 v1Automotive embedded systems part6 v1
Automotive embedded systems part6 v1
 
Autosar MCAL (Microcontroller Abstraction Layer)
Autosar MCAL (Microcontroller Abstraction Layer)Autosar MCAL (Microcontroller Abstraction Layer)
Autosar MCAL (Microcontroller Abstraction Layer)
 
Autosar-software-component_0hg.pptx
Autosar-software-component_0hg.pptxAutosar-software-component_0hg.pptx
Autosar-software-component_0hg.pptx
 
Flash Bootloader Development for ECU programming
Flash Bootloader Development for ECU programmingFlash Bootloader Development for ECU programming
Flash Bootloader Development for ECU programming
 
What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR MCAL? Learn about the software module architecture and device...What is AUTOSAR MCAL? Learn about the software module architecture and device...
What is AUTOSAR MCAL? Learn about the software module architecture and device...
 
Adaptive AUTOSAR - The New AUTOSAR Architecture
Adaptive AUTOSAR - The New AUTOSAR ArchitectureAdaptive AUTOSAR - The New AUTOSAR Architecture
Adaptive AUTOSAR - The New AUTOSAR Architecture
 
KWP 2000 and UDS Protocols | Analysis & Comparison
KWP 2000 and UDS Protocols | Analysis & ComparisonKWP 2000 and UDS Protocols | Analysis & Comparison
KWP 2000 and UDS Protocols | Analysis & Comparison
 
How to Apply Functional Safety to Autosar ECU's
How to Apply Functional Safety to Autosar ECU'sHow to Apply Functional Safety to Autosar ECU's
How to Apply Functional Safety to Autosar ECU's
 

Similar to Multicore and AUTOSAR

IRJET - Design Verification of Universal Memory Controller IP Core (UMC) usin...
IRJET - Design Verification of Universal Memory Controller IP Core (UMC) usin...IRJET - Design Verification of Universal Memory Controller IP Core (UMC) usin...
IRJET - Design Verification of Universal Memory Controller IP Core (UMC) usin...
IRJET Journal
 
Transforming Mission Critical Applications
Transforming Mission Critical ApplicationsTransforming Mission Critical Applications
Transforming Mission Critical Applications
Cenk Ersoy
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontrollerVandna Sambyal
 
What is AUTOSAR Development Partnership
What is AUTOSAR Development PartnershipWhat is AUTOSAR Development Partnership
What is AUTOSAR Development Partnership
Embitel Technologies (I) PVT LTD
 
Ficha Tecnica EMC VNX5400
Ficha Tecnica EMC VNX5400Ficha Tecnica EMC VNX5400
Ficha Tecnica EMC VNX5400
RaGaZoMe
 
VTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer NotesVTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer Notes
24x7house
 
Micro Assembler
Micro AssemblerMicro Assembler
Micro Assembler
Sanjay Kumar Chakravarti
 
NXP_SDV_RealTime software development organisation
NXP_SDV_RealTime software development organisationNXP_SDV_RealTime software development organisation
NXP_SDV_RealTime software development organisation
ssuser57b3e5
 
UNIT 1 SONCA.pptx
UNIT 1 SONCA.pptxUNIT 1 SONCA.pptx
UNIT 1 SONCA.pptx
mohan134666
 
fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...
fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...
fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...
Sindhu Mani
 
Oracle Sparc M7-8 Servers
Oracle Sparc M7-8 ServersOracle Sparc M7-8 Servers
Oracle Sparc M7-8 Servers
Ilham Amir
 
Srm suite technical presentation nrm - tim piqueur
Srm suite technical presentation   nrm - tim piqueurSrm suite technical presentation   nrm - tim piqueur
Srm suite technical presentation nrm - tim piqueur
EMC Nederland
 
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage UtilizationIBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM India Smarter Computing
 
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage UtilizationIBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM India Smarter Computing
 
Security a SPARC M7 CPU
Security a SPARC M7 CPUSecurity a SPARC M7 CPU
Security a SPARC M7 CPU
MarketingArrowECS_CZ
 
Webinar on Latency and throughput computation of automotive EE network
Webinar on Latency and throughput computation of automotive EE networkWebinar on Latency and throughput computation of automotive EE network
Webinar on Latency and throughput computation of automotive EE network
Deepak Shankar
 
What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain.
What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain. What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain.
What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain.
Kellton Tech Solutions Ltd
 
Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad
 Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad
Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad
Marketing Donalba
 
“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara
Edge AI and Vision Alliance
 

Similar to Multicore and AUTOSAR (20)

IRJET - Design Verification of Universal Memory Controller IP Core (UMC) usin...
IRJET - Design Verification of Universal Memory Controller IP Core (UMC) usin...IRJET - Design Verification of Universal Memory Controller IP Core (UMC) usin...
IRJET - Design Verification of Universal Memory Controller IP Core (UMC) usin...
 
Transforming Mission Critical Applications
Transforming Mission Critical ApplicationsTransforming Mission Critical Applications
Transforming Mission Critical Applications
 
Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
What is AUTOSAR Development Partnership
What is AUTOSAR Development PartnershipWhat is AUTOSAR Development Partnership
What is AUTOSAR Development Partnership
 
Ficha Tecnica EMC VNX5400
Ficha Tecnica EMC VNX5400Ficha Tecnica EMC VNX5400
Ficha Tecnica EMC VNX5400
 
VTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer NotesVTU University Micro Controllers-06ES42 lecturer Notes
VTU University Micro Controllers-06ES42 lecturer Notes
 
Micro Assembler
Micro AssemblerMicro Assembler
Micro Assembler
 
NXP_SDV_RealTime software development organisation
NXP_SDV_RealTime software development organisationNXP_SDV_RealTime software development organisation
NXP_SDV_RealTime software development organisation
 
UNIT 1 SONCA.pptx
UNIT 1 SONCA.pptxUNIT 1 SONCA.pptx
UNIT 1 SONCA.pptx
 
fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...
fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...
fdocuments.in_automotive-embedded-system-development-in-autosar-56ecec1fda1bb...
 
Oracle Sparc M7-8 Servers
Oracle Sparc M7-8 ServersOracle Sparc M7-8 Servers
Oracle Sparc M7-8 Servers
 
Srm suite technical presentation nrm - tim piqueur
Srm suite technical presentation   nrm - tim piqueurSrm suite technical presentation   nrm - tim piqueur
Srm suite technical presentation nrm - tim piqueur
 
CountryFair
CountryFairCountryFair
CountryFair
 
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage UtilizationIBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
 
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage UtilizationIBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
IBM Upgrades SVC with Solid State Drives — Achieves Better Storage Utilization
 
Security a SPARC M7 CPU
Security a SPARC M7 CPUSecurity a SPARC M7 CPU
Security a SPARC M7 CPU
 
Webinar on Latency and throughput computation of automotive EE network
Webinar on Latency and throughput computation of automotive EE networkWebinar on Latency and throughput computation of automotive EE network
Webinar on Latency and throughput computation of automotive EE network
 
What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain.
What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain. What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain.
What’s Mule 4.3? How Does Anytime RTF Help? Our insights explain.
 
Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad
 Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad
Procesamiento multinúcleo óptimo para aplicaciones críticas de seguridad
 
“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara
 

Recently uploaded

Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs  Consulting SMEs.pptxEmpowering Limpopo Entrepreneurs  Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Precious Mvulane CA (SA),RA
 
What Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It WorkWhat Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It Work
Motor Cars International
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
4thzenzstar
 
Things to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your carThings to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your car
jennifermiller8137
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Vic Auto Collision & Repair
 
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
Bertini's German Motors
 
Why Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release CommandsWhy Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release Commands
Dart Auto
 
Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
Antique Plastic Traders
 
Ec460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdfEc460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdf
Excavator
 
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Hyundai Motor Group
 
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.docBài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
daothibichhang1
 
What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?
Hyundai Motor Group
 
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
mymwpc
 
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
Autohaus Service and Sales
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
kshamashah95
 
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptxStatistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
coc7987515756
 
Ec330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdfEc330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdf
Excavator
 
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
ahmedendrise81
 
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out HereWhy Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Masters European & Gapanese Auto Repair
 
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
European Service Center
 

Recently uploaded (20)

Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs  Consulting SMEs.pptxEmpowering Limpopo Entrepreneurs  Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
 
What Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It WorkWhat Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It Work
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
 
Things to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your carThings to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your car
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
 
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
 
Why Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release CommandsWhy Is Your BMW X3 Hood Not Responding To Release Commands
Why Is Your BMW X3 Hood Not Responding To Release Commands
 
Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
 
Ec460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdfEc460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdf
 
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
 
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.docBài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
 
What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?
 
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
 
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
 
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptxStatistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
 
Ec330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdfEc330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdf
 
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
 
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out HereWhy Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
 
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
What Causes 'Trans Failsafe Prog' to Trigger in BMW X5
 

Multicore and AUTOSAR

  • 1. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 261 Presentation START Multicore and AUTOSAR Hansang Lee Automotive Software Engineering 13th May 2019
  • 2. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 262 Contents ▪ Background Knowledge · What is AUTOSAR ? · Why AUTOSAR ? · AUTOSAR Architecture ▪ AUTOSAR-compliant Multicore-systems · AUTOSAR Architecture with Multi-core · Why Multi-core is needed ? · Speedup with Multi-core · Pros and Cons ▪ Memory Management · Memory Stack · Shared Buffer ▪ Scheduling Concept · Partitioned/Global Scheduling
  • 3. Multicore and AUTOSAR ▪ Background Knowledge ▪ AUTOSAR-compliant Multicore-systems ▪ Memory Management ▪ Scheduling Concept Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 263 Background Knowledge
  • 4. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 264 What is AUTOSAR? [1] [2] AUTomotive Open System ARchitecture is a worldwide development partnership of automotive interested parties founded in 2003. As the automotive electronics share is being drastically grown up over the past couple decades, so several automotive industries such as, Bosch, Daimler and BMW etc. established a development partnership to solve their facing challenges efficiently and economically. Nowadays, AUTOSAR is widely used in Europe as the well- established standard for automobiles. In addition to this, it has recently been extending its area to Asia(Korea, China, Japan) and even USA. ▪ The challenges, > E/E Complexity is growing up fast. > Software Quantity is exploding. > Many different hardware platforms are used. > Development processes and data formats are not harmonized. ▪ The main objective, “To improve the quality of software and reduce the cost by re-use”
  • 5. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 265 Why AUTOSAR? [3] ▪ Software is highly “hardware dependent” ▪ Complexing development process ▪ Not economical ▪ Software is largely “hardware independent” ▪ Simplified development process ▪ High Flexibility and Reusability of software Introduction of AUTOSAR Application Layer AUTOSAR Runtime Environment Hardware AUTOSAR Basic Software With AUTOSAR Application Software Hardware Without AUTOSAR Standardized AUTOSAR infrastructure
  • 6. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 266 AUTOSAR Architecture [4] ● Application Layer software-components which constitute the simplest form of an application with certain functionality. ASW is equivalent to an application in PCs or devices. ● Runtime Environment Acts as a middleware between the application layer and lower layers. Basically, it manages the inter- and intra-ECU communication. ● Basic Software Layer It can be defined as standardized software module offering various services. It provides the infrastructural functionality on an ECU. BSW is equivalent to the operating system and drivers in PCs. ● Hardware Microcontroller / ECU Hardware Communication Bus Gateway
  • 7. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 267 AUTOSAR-compliant Multicore Systems Multicore and AUTOSAR ▪ Background Knowledge ▪ AUTOSAR-compliant Multicore-systems ▪ Memory Management ▪ Scheduling Concept
  • 8. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 268 AUTOSAR Architecture with Multi-core [3] MCU/ECU Hardware CPU Core IICPU Core I Software Component I AUTOSAR Runtime Environment MCU Abstraction Layer Service Layer ECU Abstraction Layer MCU Abstraction Layer Service Layer ECU Abstraction Layer Software Component II Software Component III Software Component IV Operating System
  • 9. 05/13/2019 / 269 Why Multi-core is needed? [2] 1975-1985 1985-1995 1995-2005 2005-2015 The Growing Number of “Automotive Software” • Automotive Industries, under Heavy Development- “ Infotainment ” “ Vehicle Automation ” • High Performance Requirements of ECUs • Increasing Performance by increasing Clock Rate is obsolete Forschungsseminar Informatik Multicore and AUTOSAR
  • 10. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2610 Speedup with Multi-core [6] [10] 1 2 3 4 5 6 7 1 2 4 8 Speedup(howmanytimesfaster?) Number of Processors (Cores) Gustafson’s Law 90% 80% 70% 60% 50% 40% 30% 20% 10% Ideal Linear Speedup Amdahl’s Law Linear Speedup in reality
  • 11. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2611 Pros and Cons [5] [7] Pros “ Workload/Calculation Distribution ” “ More Computational Resources ” “ Reduction of Hardware Costs ” “ Flexibility of Task Allocation ” Cons “ Suitable Software Architecture ” “ Algorithms for Parallel Computing ” “ Safety ” “ Weak Predictability ”
  • 12. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2612 Memory Management Multicore and AUTOSAR ▪ Background Knowledge ▪ AUTOSAR-compliant Multicore-systems ▪ Memory Management ▪ Scheduling Concept
  • 13. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2613 Memory Stack [12] [13] Services Layer Non-Volatile Memory Manager (NVM) ECU Abstraction Layer Memory Interface (MemIf) (Memory Abstraction Interface) MCU Abstraction Layer Flash Driver (Fls) EEPROM Driver (Eep) Memory Stack Model MemoryHardwareAbstractionNVRAMManagerMemoryDrivers Flash EEPROM Emulation (Fee) EEPROM Abstraction (Ea)
  • 14. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2614 Memory Stack [12] [13] In AUTOSAR layered-architecture, Memory Stack is “ A collection of Software Modules and Device Drivers ” Services Layer ECU Abstraction Layer Memory Interface (MemIf) (Memory Abstraction Interface) Flash EEPROM Emulation (Fee) EEPROM Abstraction (Ea) MCU Abstraction Layer Flash Driver (Fls) EEPROM Driver (Eep) Memory Stack Model MemoryHardwareAbstractionNVRAMManagerMemoryDrivers Non-Volatile Memory Manager (NVM) ● Non-Volatile Memory Manager ensures, “ Data Storage ” “ Maintenance of Non-Volatile Data ” “ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ” ● Memory Interface ensures that, “ NVM is independent of the driver interface layers of Fee and Eep ” ● EEPROM Abstraction and EEPROM Driver provide, “ Services for Reading/Writing/Erasing Data to/from an EERPROM ” ● Flash EEPROM Emulation provides NVM with, “ Virtual Addressing Scheme, Segmentation ” “ Virtually unlimited number of Erase Cycles ” ● Flash Driver provides, “ Initialization of Flash Memory ” “ Services for Reading/Writing to/from Flash Memory ”
  • 15. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2615 Memory Stack [12] [13] In AUTOSAR layered-architecture, Memory Stack is “ A collection of Software Modules and Device Drivers ” Services Layer Non-Volatile Memory Manager (NVM) ECU Abstraction Layer Memory Interface (MemIf) (Memory Abstraction Interface) MCU Abstraction Layer Flash Driver (Fls) EEPROM Driver (Eep) Memory Stack Model MemoryHardwareAbstractionNVRAMManagerMemoryDrivers Flash EEPROM Emulation (Fee) EEPROM Abstraction (Ea) ● Non-Volatile Memory Manager ensures, “ Data Storage ” “ Maintenance of Non-Volatile Data ” “ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ” ● Memory Interface ensures that, “ NVM is independent of the driver interface layers of Fee and Eep ” ● EEPROM Abstraction and EEPROM Driver provide, “ Services for Reading/Writing/Erasing Data to/from an EERPROM ” ● Flash EEPROM Emulation provides NVM with, “ Virtual Addressing Scheme, Segmentation ” “ Virtually unlimited number of Erase Cycles ” ● Flash Driver provides, “ Initialization of Flash Memory ” “ Services for Reading/Writing to/from Flash Memory ”
  • 16. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2616 Memory Stack [12] [13] In AUTOSAR layered-architecture, Memory Stack is “ A collection of Software Modules and Device Drivers ” Services Layer Non-Volatile Memory Manager (NVM) ECU Abstraction Layer Memory Interface (MemIf) (Memory Abstraction Interface) Flash EEPROM Emulation (Fee) EEPROM Abstraction (Ea) MCU Abstraction Layer Flash Driver (Fls) EEPROM Driver (Eep) Memory Stack Model MemoryHardwareAbstractionNVRAMManagerMemoryDrivers ● Memory Interface ensures that, “ NVM is independent of the driver interface layers of Fee and Eep ” ● EEPROM Abstraction and EEPROM Driver provide, “ Services for Reading/Writing/Erasing Data to/from an EERPROM ” ● Flash EEPROM Emulation provides NVM with, “ Virtual Addressing Scheme, Segmentation ” “ Virtually unlimited number of Erase Cycles ” ● Flash Driver provides, “ Initialization of Flash Memory ” “ Services for Reading/Writing to/from Flash Memory ” ● Non-Volatile Memory Manager ensures, “ Data Storage ” “ Maintenance of Non-Volatile Data ” “ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ”
  • 17. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2617 Memory Stack [12] [13] In AUTOSAR layered-architecture, Memory Stack is “ A collection of Software Modules and Device Drivers ” Services Layer Non-Volatile Memory Manager (NVM) ECU Abstraction Layer Memory Interface (MemIf) (Memory Abstraction Interface) Flash EEPROM Emulation (Fee) EEPROM Abstraction (Ea) MCU Abstraction Layer Flash Driver (Fls) EEPROM Driver (Eep) Memory Stack Model MemoryHardwareAbstractionNVRAMManagerMemoryDrivers ● Memory Interface ensures that, “ NVM is independent of the driver interface layers of Fee and Eep ” ● EEPROM Abstraction and EEPROM Driver provide, “ Services for Reading/Writing/Erasing Data to/from an EERPROM ” ● Flash EEPROM Emulation provides NVM with, “ Virtual Addressing Scheme, Segmentation ” “ Virtually unlimited number of Erase Cycles ” ● Flash Driver provides, “ Initialization of Flash Memory ” “ Services for Reading/Writing to/from Flash Memory ” ● Non-Volatile Memory Manager ensures, “ Data Storage ” “ Maintenance of Non-Volatile Data ” “ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ”
  • 18. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2618 Memory Stack [12] [13] In AUTOSAR layered-architecture, Memory Stack is “ A collection of Software Modules and Device Drivers ” Services Layer Non-Volatile Memory Manager (NVM) ECU Abstraction Layer Memory Interface (MemIf) (Memory Abstraction Interface) Flash EEPROM Emulation (Fee) EEPROM Abstraction (Ea) MCU Abstraction Layer Flash Driver (Fls) EEPROM Driver (Eep) Memory Stack Model MemoryHardwareAbstractionNVRAMManagerMemoryDrivers ● Memory Interface ensures that, “ NVM is independent of the driver interface layers of Fee and Eep ” ● EEPROM Abstraction and EEPROM Driver provide, “ Services for Reading/Writing/Erasing Data to/from an EERPROM ” ● Flash EEPROM Emulation provides NVM with, “ Virtual Addressing Scheme, Segmentation ” “ Virtually unlimited number of Erase Cycles ” ● Flash Driver provides, “ Initialization of Flash Memory ” “ Services for Reading/Writing to/from Flash Memory ” ● Non-Volatile Memory Manager ensures, “ Data Storage ” “ Maintenance of Non-Volatile Data ” “ Management of the Non-Volatile Data of EEPROM / FLASH EEPROM ”
  • 19. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2619 Shared Buffers [9] Invocation of the same service on the different cores with a shared data buffer Access to “Shared Buffers” must be protected against “Concurrent Access”
  • 20. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2620 Shared Buffers without Protection Core0 Service X Memory Core1 Service X Shared Buffer Variable : desiredTemperature” The expected value of the shared buffer is 10, but the result is 20 [Same Code] if (desiredTemperature == 0) desiredTemperature += 10; [Same Code] if (desiredTemperature == 0) desiredTemperature += 10;
  • 21. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2621 Scheduling Concept Multicore and AUTOSAR ▪ Background Knowledge ▪ AUTOSAR-compliant Multicore-systems ▪ Memory Management ▪ Scheduling Concept
  • 22. Forschungsseminar Informatik Multicore and AUTOSAR 05/13/2019 / 2622 Partitioned/Global Scheduling Two type of “Scheduling Concepts” for “Task Allocation” ● Partitioned Scheduling “ Once a task has been allocated to a core, it cannot migrate to another one ” “ This scheduling frameworks basically exists for single-core systems ” ● Global Scheduling “ Tasks are allowed to fully migrate between different cores ” “ Global Queue ” “ Task Scheduler ” Task6 Task5 Task4 Task3 Task2 … … CORE 0 CORE 1 When the tasks get ready to execute Task Scheduler decides which core any task can/should be allocated to. Task1 Task2 Global Queue
  • 23. Forschungsseminar Informatik Multicore and AUTOSAR References I Wikipedia; AUTOSAR; “https://en.wikipedia.org/wiki/AUTOSAR”, Last edited on 7 April 2019; [Online] [1] Юрий Сорокин; Introduction to AUTOSAR; “https://www.youtube.com/watch?v=s_FY0ujP2rA&list=PLh-MKr4shv01vAj59u0b8qrDCUGjIeEzZ&index=6”, 22 Dec 2017; [Online Video] [2] EBAutomotiveSoftware; AUTOSAR 4.0 - A first glance; “https://www.youtube.com/watch?v=gDAvlw-FYZY&list=PLh-MKr4shv01vAj59u0b8qrDCUGjIeEzZ&index=7”, 24 Oct 2011; [Online Video] [3] Embitel; Decoding the “Component Concept” of the Application Layer in AUTOSAR; “https://www.embitel.com/blog/embedded-blog/decoding-the-component-concept-of-the-application-layer-in-autosar”, 9 May 2018; [Online] [4] Simon Widlund, Anton Annenkov; Migrating a Single-core AUTOSAR Application to a Multi-core Platform: Challenges, Strategies and Recommendations; “http://publications.lib.chalmers.se/records/fulltext/250043/250043.pdf”, 2017; [Master Thesis] [5] Wikipedia; Gustafson's law “https://en.wikipedia.org/wiki/Gustafson%27s_law”, Last edited on 21 February 2019 [Online] [6] BMW Car IT GmbH; Multicore on AUTOSAR – from the idea to series production “http://www.bmw-carit.de/projects/multicore-on-autosar.php”; [Online] [7] AUTOSAR Documentation; Technical Overview V2.2.1 R3.0 Rev 0001; “https://www.autosar.org/fileadmin/user_upload/standards/classic/3-0/AUTOSAR_TechnicalOverview.pdf”; [Documentation] [8] 05/13/2019 / 2623
  • 24. Forschungsseminar Informatik Multicore and AUTOSAR References II AUTOSAR Documentation; Guide to Multi-Core Systems V1.1.0 R4.1 Rev3; “https://www.autosar.org/fileadmin/user_upload/standards/classic/4-1/AUTOSAR_EXP_MultiCoreGuide.pdf”; [Documentation] [9] Wikipedia; Amdahl’s Law; “https://en.wikipedia.org/wiki/Amdahl%27s_law”, [Online] [10] AUTOSAR Documentation; Specification of Flash EEPROM Emulation V2.0.0 R4.0 Rev3 “https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_SWS_FlashEEPROMEmulation.pdf”, [Online] [11] 05/13/2019 / 2624
  • 25. Forschungsseminar Informatik Multicore and AUTOSAR Presentation END 05/13/2019 / 2625
  • 26. Forschungsseminar Informatik Multicore and AUTOSAR Questions & Answers 05/13/2019 / 2626