Presentation by Hansang Lee
Automotive Software Engineering
Technical University of Chemnitz
13th May 2019
This presentation is mainly about,
- Basic Knowledge of AUTOSAR
- Task Scheduling Concepts on AUTOSAR with Multicore Supporing
This one is for the community of AUTOSAR developers. Our AUTOSAR development team explains what are the different software modules of a Communication Stack (ComStack). Also, learn about the software modules of CAN based Communication Stack in AUTOSAR
Memory Stack (MemStack) provides basic memory management services to the upper Application layer and to the Basic Software Modules (BSW) of the AUTOSAR layered architecture.
https://www.embitel.com/product-engineering-2/automotive/autosar/
This one is for the community of AUTOSAR developers. Our AUTOSAR development team explains what are the different software modules of a Communication Stack (ComStack). Also, learn about the software modules of CAN based Communication Stack in AUTOSAR
Memory Stack (MemStack) provides basic memory management services to the upper Application layer and to the Basic Software Modules (BSW) of the AUTOSAR layered architecture.
https://www.embitel.com/product-engineering-2/automotive/autosar/
An Automotive Control Unit should always be ported with updated version of the software and security patches. Learn how a Flash Bootloader software plays an important role and understand the step-by-step process of ECU re-programming. https://www.embitel.com/blog/embedded-blog/what-is-flash-bootloader-and-nuances-of-an-automotive-ecu-re-programming
In this AUTOSAR layered architecture, Communication Stack or ComStack facilitates communication. Hence ComStack can be defined as a software stack that provides communication services to the Basic Software Modules and Application Layer or Application Software.
https://www.embitel.com/product-engineering-2/automotive/autosar/
This presentation is about AUTOSAR CAN stack. it provides an overview about:
- Included modules
- How modules communicate with each other
- Transmission and reception of frames
- changing network states
please let me know in the comments if you have any enhancements or feedback.
An overview of the communication stack within the classical AUTOSAR
- AUTOSAR Static architecture
- Communication stack
- CAN stack
- PDU-ROUTER
LINKS:
---------
https://www.autosar.org/
AUTOSAR Memory Stack (MemStack) provides memory management services to the upper Application layer and to the Basic Software Modules (BSW) of the AUTOSAR layered architecture.Learn about the different software modules and device drivers of the AUTOSAR MemStack
UDS Vehicle Diagnostics: This blog encourages you comprehend the AUTOSAR software standard consistence for car applications. Here we share with you the points of interest of the usage of UDS based Vehicle Diagnostics in AUTOSAR Base Software module.
AUTOSAR compliant automotive software development is the new norms. From MCAL driver development to AUTOSAR migration and testing, the FAQ gives a lot of answers.
https://www.embitel.com/product-engineering-2/automotive/autosar/
AUTOSAR Migration would enable the Automotive Supplier to leverage following benefits of well-defined layered software architecture of AUTOSAR 4.0. Design and development of AUTOSAR MCAL components for migration to the new hardware platform
Flash Bootloader Solutions For ECU Re-Programming: Embitel is expertise in providing solutions and services for Flash bootloader development and ECU re-programming in automotive industry.
Learn about the fundamentals of the MCAL layer from our AUTOSAR team.
Know more about the various device drivers and the layered architecture of the AUTOSAR MCAL. And get the details about how the Microcontroller Abstraction Layer (MCAL) works
KWP2000 versus UDS: Keyword Protocol 2000 and Unified Diagnostic Services are the two most mainstream symptomatic guidelines inside the car business. A true examination between the two guidelines - KWP 2000 and UDS, can be useful in distinguishing the perfect indicative administration for your car utilize case.
https://www.embitel.com/blog/embedded-blog/kwp-2000-and-uds-protocols-for-vehicle-diagnostics-an-analysis-and-comparison
How to Apply Functional Safety to Autosar ECU'sRenesas America
Here's a walkthrough on how you can apply functional safety to Autostar ECU's. These functional safety features apply to ISO26262, AUTOSAR, and MICROSAR. We map out safety requirements, monitoring approaches, and a couple different interface scenarios. Finally we will finish up with E2E protection.
An Automotive Control Unit should always be ported with updated version of the software and security patches. Learn how a Flash Bootloader software plays an important role and understand the step-by-step process of ECU re-programming. https://www.embitel.com/blog/embedded-blog/what-is-flash-bootloader-and-nuances-of-an-automotive-ecu-re-programming
In this AUTOSAR layered architecture, Communication Stack or ComStack facilitates communication. Hence ComStack can be defined as a software stack that provides communication services to the Basic Software Modules and Application Layer or Application Software.
https://www.embitel.com/product-engineering-2/automotive/autosar/
This presentation is about AUTOSAR CAN stack. it provides an overview about:
- Included modules
- How modules communicate with each other
- Transmission and reception of frames
- changing network states
please let me know in the comments if you have any enhancements or feedback.
An overview of the communication stack within the classical AUTOSAR
- AUTOSAR Static architecture
- Communication stack
- CAN stack
- PDU-ROUTER
LINKS:
---------
https://www.autosar.org/
AUTOSAR Memory Stack (MemStack) provides memory management services to the upper Application layer and to the Basic Software Modules (BSW) of the AUTOSAR layered architecture.Learn about the different software modules and device drivers of the AUTOSAR MemStack
UDS Vehicle Diagnostics: This blog encourages you comprehend the AUTOSAR software standard consistence for car applications. Here we share with you the points of interest of the usage of UDS based Vehicle Diagnostics in AUTOSAR Base Software module.
AUTOSAR compliant automotive software development is the new norms. From MCAL driver development to AUTOSAR migration and testing, the FAQ gives a lot of answers.
https://www.embitel.com/product-engineering-2/automotive/autosar/
AUTOSAR Migration would enable the Automotive Supplier to leverage following benefits of well-defined layered software architecture of AUTOSAR 4.0. Design and development of AUTOSAR MCAL components for migration to the new hardware platform
Flash Bootloader Solutions For ECU Re-Programming: Embitel is expertise in providing solutions and services for Flash bootloader development and ECU re-programming in automotive industry.
Learn about the fundamentals of the MCAL layer from our AUTOSAR team.
Know more about the various device drivers and the layered architecture of the AUTOSAR MCAL. And get the details about how the Microcontroller Abstraction Layer (MCAL) works
KWP2000 versus UDS: Keyword Protocol 2000 and Unified Diagnostic Services are the two most mainstream symptomatic guidelines inside the car business. A true examination between the two guidelines - KWP 2000 and UDS, can be useful in distinguishing the perfect indicative administration for your car utilize case.
https://www.embitel.com/blog/embedded-blog/kwp-2000-and-uds-protocols-for-vehicle-diagnostics-an-analysis-and-comparison
How to Apply Functional Safety to Autosar ECU'sRenesas America
Here's a walkthrough on how you can apply functional safety to Autostar ECU's. These functional safety features apply to ISO26262, AUTOSAR, and MICROSAR. We map out safety requirements, monitoring approaches, and a couple different interface scenarios. Finally we will finish up with E2E protection.
AUTOSAR, which stands for AUTomotive Open System Architecture, is a partnership at a global scale between Automotive OEMs, Tier-I suppliers, semiconductor vendors, embedded hardware design houses and embedded software engineering service providers.
https://www.embitel.com/product-engineering-2/automotive/autosar/
esigned for maximum uptime, Oracle’s SPARC M7-8 Server is coengineered with Oracle software and delivers the highest performance in mission-critical infrastructures while reducing the risks of deploying enterprise workloads.
With the football season in full swing, the baseball season heading into the playoffs, and the hockey season just starting, it is time to raid the refrigerator for snacks, head for the most comfortable chair in the family room, and settle in for a full day of viewing sports. Unfortunately, it is not always easy to turn on the myriad number of devices required to watch a game broadcast over cable, on that wide-screen hi-def TV, with the wrap-around sound from the latest audio system available. There is the re-mote for the cable system; there is a remote for the TV; there is one for the satellite dish; there is anoth-er for the sound system. There are so many remote controls on the coffee table that there is hardly room for the snacks! What you need is a universal remote; a single, simplified command center that can control all of the hi-tech equipment in the family room. Unfortunately, even that universal remote will not do the job for any device released after the remote was manufactured. What is required is a universal remote with a learning capability to take the complexity out of turning on the TV, one than can reprogram itself from the remote that comes with every new device.
This is a paper was written by David Reine, an IT analyst for The Clipper Group, and highlights IBM’s SAN Volume Controller new features, capabilities and benefits. These new capabilities were announced on October 20, 2009 If you have a heterogeneous storage architecture in your data center that is under-utilized and costing the enterprise on the bottom line, IBM SVC 5 may be the solution that you have
Webinar on Latency and throughput computation of automotive EE networkDeepak Shankar
This solution enables Architects to conduct trade-off on early planning, system sizing and network topology planning. This is part one in a three series that covers systems engineering exploration of Automotive EE Systems. technologies studied in this session include FlexRay, CAN, CAn_FD, TSN. Ethernet, ECU, Brake System, power Supply electronics, Li-Ion Batteries, ADAS and AUTOSAR.
Read to learn what Mule Runtime Fabric (RTF) and Anypoint RTF are, how you can leverage these integration engines, the best adoption strategies, and the right way to conduct the risk-cost-benefit analysis for your business.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2023/10/updating-the-edge-ml-development-process-a-presentation-from-samsara/
Jim Steele, Vice President of Embedded Software at Samsara, presents the “Updating the Edge ML Development Process” tutorial at the May 2023 Embedded Vision Summit.
Samsara (NYSE:IOT) is focused on digitizing the world of operations. The company helps customers across many industries—including food and beverage, utilities and energy, field services and government—get information about their physical operations into the cloud, so they can operate more safely, efficiently and sustainably. Samsara’s sensors collect billions of data points per day and on-device processing is instrumental to its success. The company is constantly developing, improving and deploying ML models at the edge.
Samsara has found that the traditional development process—where ML scientists create models and hand them off to firmware engineers for embedded implementation—is slow and often produces difficult-to-resolve differences between the original model and the embedded implementation. In this talk, Steele presents an alternative development process that his company has adopted with good results. In this process, firmware engineers develop a general framework that ML scientists use to design, develop and deploy their models. This enables quick iterations and fewer confounding bugs.
Comprehensive program for Agricultural Finance, the Automotive Sector, and Empowerment . We will define the full scope and provide a detailed two-week plan for identifying strategic partners in each area within Limpopo, including target areas.:
1. Agricultural : Supporting Primary and Secondary Agriculture
• Scope: Provide support solutions to enhance agricultural productivity and sustainability.
• Target Areas: Polokwane, Tzaneen, Thohoyandou, Makhado, and Giyani.
2. Automotive Sector: Partnerships with Mechanics and Panel Beater Shops
• Scope: Develop collaborations with automotive service providers to improve service quality and business operations.
• Target Areas: Polokwane, Lephalale, Mokopane, Phalaborwa, and Bela-Bela.
3. Empowerment : Focusing on Women Empowerment
• Scope: Provide business support support and training to women-owned businesses, promoting economic inclusion.
• Target Areas: Polokwane, Thohoyandou, Musina, Burgersfort, and Louis Trichardt.
We will also prioritize Industrial Economic Zone areas and their priorities.
Sign up on https://profilesmes.online/welcome/
To be eligible:
1. You must have a registered business and operate in Limpopo
2. Generate revenue
3. Sectors : Agriculture ( primary and secondary) and Automative
Women and Youth are encouraged to apply even if you don't fall in those sectors.
What Exactly Is The Common Rail Direct Injection System & How Does It WorkMotor Cars International
Learn about Common Rail Direct Injection (CRDi) - the revolutionary technology that has made diesel engines more efficient. Explore its workings, advantages like enhanced fuel efficiency and increased power output, along with drawbacks such as complexity and higher initial cost. Compare CRDi with traditional diesel engines and discover why it's the preferred choice for modern engines.
Things to remember while upgrading the brakes of your carjennifermiller8137
Upgrading the brakes of your car? Keep these things in mind before doing so. Additionally, start using an OBD 2 GPS tracker so that you never miss a vehicle maintenance appointment. On top of this, a car GPS tracker will also let you master good driving habits that will let you increase the operational life of your car’s brakes.
Symptoms like intermittent starting and key recognition errors signal potential problems with your Mercedes’ EIS. Use diagnostic steps like error code checks and spare key tests. Professional diagnosis and solutions like EIS replacement ensure safe driving. Consult a qualified technician for accurate diagnosis and repair.
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs AttentionBertini's German Motors
IBS monitors and manages your BMW’s battery performance. If it malfunctions, you will have to deal with an array of electrical issues in your vehicle. Recognize warning signs like dimming headlights, frequent battery replacements, and electrical malfunctions to address potential IBS issues promptly.
Why Is Your BMW X3 Hood Not Responding To Release CommandsDart Auto
Experiencing difficulty opening your BMW X3's hood? This guide explores potential issues like mechanical obstruction, hood release mechanism failure, electrical problems, and emergency release malfunctions. Troubleshooting tips include basic checks, clearing obstructions, applying pressure, and using the emergency release.
𝘼𝙣𝙩𝙞𝙦𝙪𝙚 𝙋𝙡𝙖𝙨𝙩𝙞𝙘 𝙏𝙧𝙖𝙙𝙚𝙧𝙨 𝙞𝙨 𝙫𝙚𝙧𝙮 𝙛𝙖𝙢𝙤𝙪𝙨 𝙛𝙤𝙧 𝙢𝙖𝙣𝙪𝙛𝙖𝙘𝙩𝙪𝙧𝙞𝙣𝙜 𝙩𝙝𝙚𝙞𝙧 𝙥𝙧𝙤𝙙𝙪𝙘𝙩𝙨. 𝙒𝙚 𝙝𝙖𝙫𝙚 𝙖𝙡𝙡 𝙩𝙝𝙚 𝙥𝙡𝙖𝙨𝙩𝙞𝙘 𝙜𝙧𝙖𝙣𝙪𝙡𝙚𝙨 𝙪𝙨𝙚𝙙 𝙞𝙣 𝙖𝙪𝙩𝙤𝙢𝙤𝙩𝙞𝙫𝙚 𝙖𝙣𝙙 𝙖𝙪𝙩𝙤 𝙥𝙖𝙧𝙩𝙨 𝙖𝙣𝙙 𝙖𝙡𝙡 𝙩𝙝𝙚 𝙛𝙖𝙢𝙤𝙪𝙨 𝙘𝙤𝙢𝙥𝙖𝙣𝙞𝙚𝙨 𝙗𝙪𝙮 𝙩𝙝𝙚 𝙜𝙧𝙖𝙣𝙪𝙡𝙚𝙨 𝙛𝙧𝙤𝙢 𝙪𝙨.
Over the 10 years, we have gained a strong foothold in the market due to our range's high quality, competitive prices, and time-lined delivery schedules.
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Hyundai Motor Group
What’s the force behind Hyundai Motor Group's EV performance and quality?
Maximized driving performance and quick charging time through high-density battery pack and fast charging technology and applicable to various vehicle types!
Discover more about Hyundai Motor Group’s EV platform ‘E-GMP’!
Ever been troubled by the blinking sign and didn’t know what to do?
Here’s a handy guide to dashboard symbols so that you’ll never be confused again!
Save them for later and save the trouble!
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...Autohaus Service and Sales
Learn what "PARKTRONIC Inoperative, See Owner's Manual" means for your Mercedes-Benz. This message indicates a malfunction in the parking assistance system, potentially due to sensor issues or electrical faults. Prompt attention is crucial to ensure safety and functionality. Follow steps outlined for diagnosis and repair in the owner's manual.
In this presentation, we have discussed a very important feature of BMW X5 cars… the Comfort Access. Things that can significantly limit its functionality. And things that you can try to restore the functionality of such a convenient feature of your vehicle.
"Trans Failsafe Prog" on your BMW X5 indicates potential transmission issues requiring immediate action. This safety feature activates in response to abnormalities like low fluid levels, leaks, faulty sensors, electrical or mechanical failures, and overheating.
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 ”
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;
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