In-vehicle operating system: some differences between CP and AP!

Publisher:自由漫步Latest update time:2022-09-20 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The Classic Autosar platform supports high-security and high-real-time application scenarios, so deeply embedded software functions need to be deployed and run on the classic platform; while AdapTIve Autosar supports parallel processing of big data, so high-performance computing functions need to run on the AdapTIve platform.


AUTOSAR itself is a software architecture idea or a software framework system. AUTOSAR does not directly lock the code, but only makes unified specifications for the functions, interfaces and code frameworks of each layer. This achieves the decoupling of software and hardware and enhances the portability and platform nature of the overall system.


As the code framework and functions become more unified, there is gradually no need to type code manually. At the same time, for the sake of code consistency and maintainability, the Autosar system has given birth to code tools. That is, Autosar engineers no longer need to type all the code, but can use tools to generate it.


So today we will simply list some of the differences between CP and AP!

Classic Platform AdapTIve platform
Support 8-bit, 16-bit, 32-bit microcontrollers (MCU), chip computing power is less than 1000DMIPS (flash space above 512KB is generally 1M) Supports high-performance processors (MPU) and SoCs running on 64-bit high-computing platforms. The computing power is generally higher than 20,000 DMIPS. For high-computing chips, the computing power can reach dozens or hundreds of TOPS.
Embedded language is mainly C language The programming language is C++
RTOS Real-time operating system——Based on OSEK
Developed by various AUTOSAR basic software suppliers
Compatible with real-time and non-real-time operating systems - Based on POSIX, Linux, QNX, and Android are all supported
The OS uses a fixed task scheduling configuration and executes tasks in a fixed order according to established rules. OS supports a variety of dynamic adjustment strategies, which are configured at runtime.
The task scheduling cycle can be at the us level, hard real-time system The task scheduling cycle is at the ms level, which can be a soft real-time system at best, and a non-real-time system in some cases.
ASIL-D ASIL-B
The PC pointer reads the code directly from the ROM and executes it The code needs to be loaded into RAM first, and then the program is run in RAM
All applications have one executable file (elf), MPU memory protection unit, and use domain registers for protection management Each application is a separate elf. The MMU memory management unit is more powerful than the MPU and is managed using virtual address mapping technology.
Signal-based static configuration communication mode, software development of FOA architecture (function-oriented architecture). At present, CP can also support service-based SOA architecture, but it needs to preset Ethernet interface (although SOME/IP can be integrated, it converts sender-receiver bus communication into client-server Ethernet communication) Dynamic communication methods based on services (SOME/IP, IPC, RPC) can realize software development based on service-oriented architecture (SOA) and achieve parallel processing capabilities
Configuration before compilation, fixed functions, all applications are compiled and linked into a whole binary file, which is burned for use, so the upgrade process requires overall reintegration, compilation, and burning. AP AUTOSAR is a modular framework that dynamically loads configuration from the Manifests file during runtime. It can delete/update/add a single Application, or upgrade the code of a functional cluster separately. The application software is compiled and deployed independently as an independent executable file, and the entire software system can be flexibly upgraded online.
Use step function, the step length is configurable, and time slice polling scheduling is adopted Support dynamic scheduling strategies, which can change the scheduling timing and trigger conditions during operation
For scenarios with high real-time performance, high security and low computing power, such as engine control, braking system and other traditional ECUs There are certain requirements for real-time and security, but they are not high. However, there are application scenarios with high computing power requirements, complex scenarios, and complex algorithm logic, such as domain controllers, smart cockpits, and intelligent driving domain controllers

QNX is recognized by the industry as one of the best embedded real-time operating systems on the X86 platform. It has a unique microkernel real-time platform, built on the basis of microkernel and complete address space protection, real-time, stable and reliable. It has completed the porting to PowerPC, MIPS, ARM and other kernels, and has become an embedded real-time operating system widely used in China. List important pages and add hyperlinks for quick viewing.


Reference address:In-vehicle operating system: some differences between CP and AP!

Previous article:Potential uses for the second life of batteries used in electric vehicles
Next article:High-performance magnetic sensors accelerate electric vehicle charging

Recommended ReadingLatest update time:2024-11-16 11:44

Japanese developers "complain" about App Store policies and approval process
The ongoing dispute between Apple and Epic Games has sparked complaints from Japanese game developers about Apple's App Store business model and the way it handles third-party app submissions. Bloomberg reports that some developers in the Japanese game market have become timid by the dispute and have begun to focus
[Mobile phone portable]
NXP launches driver monitoring system to enter NCAP in 2020
Recently, NXP Semiconductors officially announced its cooperation with Momenta, a Chinese autonomous driving software solution provider, to jointly develop an automotive-grade driver monitoring system (DMS). This solution will help the development of driver attention monitoring technology and will also play a key role
[Automotive Electronics]
NXP launches driver monitoring system to enter NCAP in 2020
KEILv5 STM32 program sharing method between APP and BOOTLOADER
First define the programs that need to be shared in a fixed FLASH address: #pragma arm section code=".ARM.__at_0x800F000" void Function(void) { } #pragma arm section Call the fixed address program in the Bootloader: ((void (*)(void))0x0800F001)(); **Note: STM32F105VC is used, the thumb instruction set is used, and the
[Microcontroller]
Samsung applies for Flap Leather Cover trademark: mobile phone flip leather case
     On the 3rd of this month, Samsung Electronics submitted a trademark application named "Flap Leather Cover" to the UK Intellectual Property Organization (UKIPO). The application was classified as Class 9 and described as: "Flap leather cover for mobile phones; Flap leather cover for smartphones." Based on the trad
[Mobile phone portable]
Samsung applies for Flap Leather Cover trademark: mobile phone flip leather case
Akamai discovers API vulnerability poses high risk to companies and individuals worldwide
Akamai discovers API vulnerability poses high risk to companies and individuals worldwide Akamai's latest security research explores the state of global API security; reveals attack traffic trends from 2020 to 2021 SAN FRANCISCO, Oct. 28, 2021 /PRNewswire/ -- Akamai Technologies, Inc. (Akamai), the global provider
[Internet of Things]
Akamai discovers API vulnerability poses high risk to companies and individuals worldwide
Apple is still working on a new HomePod that will combine Apple TV with a FaceTime camera
      According to Bloomberg reporter Mark Gurman, Apple is still developing a new HomePod product that combines a speaker, Apple TV functionality and a FaceTime camera.   In the Q&A section of the latest Power On newsletter, Gurman said he "100 percent" believes a new HomePod is coming and that it could become "App
[Mobile phone portable]
The era of Apple M series chips is coming
去年WWDC大会上,苹果发布说要从Intel芯片过渡到自研的apple silicon芯片。随后在2020年末的时候发布了搭载了M1芯片的MacBook Air、Mac Mini以及MacBook Pro以及2021年发布了搭载M1芯片的iMac。与此前采用的Intel芯片相比,M1芯片使得设备的性能和效率都得到了显著的提升。可见,Apple自研芯片上迈出了成功的第一步。   Some time ago, there were reports that Apple's customized Mac processor has entered mass production, and this processor is the M2
[Mobile phone portable]
Apple adds new postpartum workouts to Apple Fitness+
Apple today added a series of new postpartum workouts to Apple Fitness+ to help moms get back into their exercise routine after giving birth. Nearly a year after Apple introduced new Fitness+ workouts for pregnant women, the company today launched a series of postpartum exercises. Called "Getting Back to Health Afte
[Mobile phone portable]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号