SlideShare une entreprise Scribd logo
1  sur  26
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

Contenu connexe

Tendances

What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStackWhat is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStackEmbitel Technologies (I) PVT LTD
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN StackAUTOSAR 403 CAN Stack
AUTOSAR 403 CAN StackRania Nabil
 
Automotive embedded systems part7 v1
Automotive embedded systems part7 v1Automotive embedded systems part7 v1
Automotive embedded systems part7 v1Keroles karam khalil
 
Automotive embedded systems part6 v2
Automotive embedded systems part6 v2Automotive embedded systems part6 v2
Automotive embedded systems part6 v2Keroles karam khalil
 
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 driversEmbitel Technologies (I) PVT LTD
 
Automotive embedded systems part5 v1
Automotive embedded systems part5 v1Automotive embedded systems part5 v1
Automotive embedded systems part5 v1Keroles karam khalil
 
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
 
Autosar basics by ARCCORE
Autosar basics by ARCCOREAutosar basics by ARCCORE
Autosar basics by ARCCOREARCCORE
 
ECU Flashing: Flash Bootloaders that Facilitate ECU Reprogramming
ECU Flashing: Flash Bootloaders that Facilitate ECU ReprogrammingECU Flashing: Flash Bootloaders that Facilitate ECU Reprogramming
ECU Flashing: Flash Bootloaders that Facilitate ECU ReprogrammingEmbitel 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'sRenesas America
 

Tendances (20)

What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStackWhat is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
What is AUTOSAR Communication Stack (ComStack)?Get introduced to CAN ComStack
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN StackAUTOSAR 403 CAN Stack
AUTOSAR 403 CAN Stack
 
AUTOSAR Memory Stcak (MemStack).
AUTOSAR Memory Stcak (MemStack). AUTOSAR Memory Stcak (MemStack).
AUTOSAR Memory Stcak (MemStack).
 
Automotive embedded systems part7 v1
Automotive embedded systems part7 v1Automotive embedded systems part7 v1
Automotive embedded systems part7 v1
 
Automotive embedded systems part6 v2
Automotive embedded systems part6 v2Automotive embedded systems part6 v2
Automotive embedded systems part6 v2
 
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
 
Automotive embedded systems part5 v1
Automotive embedded systems part5 v1Automotive embedded systems part5 v1
Automotive embedded systems part5 v1
 
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...
 
AUToSAR introduction
AUToSAR introductionAUToSAR introduction
AUToSAR introduction
 
Communication stack
Communication stackCommunication stack
Communication stack
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
 
UDS PPT
UDS PPTUDS PPT
UDS PPT
 
Flash Bootloader Development for ECU programming
Flash Bootloader Development for ECU programmingFlash Bootloader Development for ECU programming
Flash Bootloader Development for ECU programming
 
Automative basics v3
Automative basics v3Automative basics v3
Automative basics v3
 
Frequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR ServicesFrequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR Services
 
What is AUTOSAR Development Partnership
What is AUTOSAR Development PartnershipWhat is AUTOSAR Development Partnership
What is AUTOSAR Development Partnership
 
Autosar basics by ARCCORE
Autosar basics by ARCCOREAutosar basics by ARCCORE
Autosar basics by ARCCORE
 
ECU Flashing: Flash Bootloaders that Facilitate ECU Reprogramming
ECU Flashing: Flash Bootloaders that Facilitate ECU ReprogrammingECU Flashing: Flash Bootloaders that Facilitate ECU Reprogramming
ECU Flashing: Flash Bootloaders that Facilitate ECU Reprogramming
 
Thesis Presentation
Thesis PresentationThesis Presentation
Thesis Presentation
 
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
 

Similaire à 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 ApplicationsCenk 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
 
Ficha Tecnica EMC VNX5400
Ficha Tecnica EMC VNX5400Ficha Tecnica EMC VNX5400
Ficha Tecnica EMC VNX5400RaGaZoMe
 
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 Notes24x7house
 
NXP_SDV_RealTime software development organisation
NXP_SDV_RealTime software development organisationNXP_SDV_RealTime software development organisation
NXP_SDV_RealTime software development organisationssuser57b3e5
 
UNIT 1 SONCA.pptx
UNIT 1 SONCA.pptxUNIT 1 SONCA.pptx
UNIT 1 SONCA.pptxmohan134666
 
Oracle Sparc M7-8 Servers
Oracle Sparc M7-8 ServersOracle Sparc M7-8 Servers
Oracle Sparc M7-8 ServersIlham 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 piqueurEMC 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 UtilizationIBM 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 UtilizationIBM India Smarter Computing
 
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 networkDeepak 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 seguridadMarketing 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 SamsaraEdge AI and Vision Alliance
 
Presentation v mware performance overview
Presentation   v mware performance overviewPresentation   v mware performance overview
Presentation v mware performance overviewsolarisyourep
 

Similaire à 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
 
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
 
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
 
Cc chapter # 3b
Cc   chapter # 3bCc   chapter # 3b
Cc chapter # 3b
 
Presentation v mware performance overview
Presentation   v mware performance overviewPresentation   v mware performance overview
Presentation v mware performance overview
 

Dernier

怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道2b7sppnv
 
Clean Mobility Options Program by Sarah Huang
Clean Mobility Options Program by Sarah HuangClean Mobility Options Program by Sarah Huang
Clean Mobility Options Program by Sarah HuangForth
 
TESLA CASE STUDY by Devashish Rahul Brij.pdf
TESLA CASE STUDY by Devashish Rahul Brij.pdfTESLA CASE STUDY by Devashish Rahul Brij.pdf
TESLA CASE STUDY by Devashish Rahul Brij.pdfdevashishrahulbrij
 
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...IEABODI2SnVVnGimcEAI
 
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESsriharshaganjam1
 
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道7283h7lh
 
Bizwerx Innovation & Mobility Hub by Dr. Cassandra Little
Bizwerx Innovation & Mobility Hub by Dr. Cassandra LittleBizwerx Innovation & Mobility Hub by Dr. Cassandra Little
Bizwerx Innovation & Mobility Hub by Dr. Cassandra LittleForth
 
Increasing Community Impact with Meaningful Engagement by Brytanee Brown
Increasing Community Impact with Meaningful Engagement by Brytanee BrownIncreasing Community Impact with Meaningful Engagement by Brytanee Brown
Increasing Community Impact with Meaningful Engagement by Brytanee BrownForth
 
Welcome to Auto Know University Orientation
Welcome to Auto Know University OrientationWelcome to Auto Know University Orientation
Welcome to Auto Know University Orientationxlr8sales
 

Dernier (9)

怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
 
Clean Mobility Options Program by Sarah Huang
Clean Mobility Options Program by Sarah HuangClean Mobility Options Program by Sarah Huang
Clean Mobility Options Program by Sarah Huang
 
TESLA CASE STUDY by Devashish Rahul Brij.pdf
TESLA CASE STUDY by Devashish Rahul Brij.pdfTESLA CASE STUDY by Devashish Rahul Brij.pdf
TESLA CASE STUDY by Devashish Rahul Brij.pdf
 
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
 
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
 
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
 
Bizwerx Innovation & Mobility Hub by Dr. Cassandra Little
Bizwerx Innovation & Mobility Hub by Dr. Cassandra LittleBizwerx Innovation & Mobility Hub by Dr. Cassandra Little
Bizwerx Innovation & Mobility Hub by Dr. Cassandra Little
 
Increasing Community Impact with Meaningful Engagement by Brytanee Brown
Increasing Community Impact with Meaningful Engagement by Brytanee BrownIncreasing Community Impact with Meaningful Engagement by Brytanee Brown
Increasing Community Impact with Meaningful Engagement by Brytanee Brown
 
Welcome to Auto Know University Orientation
Welcome to Auto Know University OrientationWelcome to Auto Know University Orientation
Welcome to Auto Know University Orientation
 

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