当前位置:网站首页>Function introduction of canbedded component
Function introduction of canbedded component
2022-07-04 10:51:00 【picoasis】
Article content reference CANbedded | Vector
Catalog
canbeded yes Vector One of the software tool chains for automotive electronics development .
canbeded It is a collection of components , Provide basic communication functions for automotive applications .
canbeded It is a reusable component provided in the form of source code , Include CAN,Driver, Interaction layer (IL), Network management (NM), Transport layer (TP), Diagnostic layer (CANdesc), Communication measurement and calibration protocol (CCP,XCP) And communication control layer (CCL) Wait for multiple modules .
canbeded The basic software of allows ECU adopt CAN Bus exchange information . As ECU Part of the software , It deals with OEM Specified and Communication related tasks .
Use CANbeddedECU Be able to effectively communicate with others in the vehicle ECU And the external maintenance tester .CANbedded Can be applied to most OEM And microcontrollers .
CANbedded Allow users to focus entirely on functional software , because CANbedded Component stack processing passes CAN Sending and receiving conform to OEM The news of .
chart :canbede Basic software component functions

The picture is from CANbedded | Vector
Realization :CANbedded Available for all applications The simple interface (API), This allows users to quickly and easily integrate into ECU In software .CAN The component sends asynchronous events through configurable callback functions ( If received CAN news 、 Bus wakeup or different error states ( Assertion )) Route to application . You can configure the generated API And the exact set of callbacks , To adapt them to the needs of specific applications .
CANDriver
CANDriver It provides a hardware independent interface for the higher software layer . This enables higher software layers to be used or reused independently of the platform .
All necessary settings , For example, the hardware accepts the parameters of the filter or bus timing register , All are configured . come from Vector Configuration tools GENy Preselections for configuring these filters and registers are provided .CAN The drive provides the following basic functions :
- CAN Initialization of the controller
- send out CAN Information
- CAN Reception of information
- Overrun and error handling ( Bus off )
- Send notification through wake-up events
IL
IL Yes OEM Specific models are available , And signal oriented operation . It is responsible for :
- Send the message according to the transmission type of the included signal ( loop 、OneEvent、IfActive etc. )
- Timeout monitoring of receiving messages and signals
- Notification of sending and receiving signals
NM
The main task of network management is to manage the network ECU The state of sleep and wakefulness . This function is provided by NM CANbedded Software component processing , This component has different variants . according to OEM requirement , Use OSEK NM、AUTOSAR NM Or others OEM specific NM Algorithm
TP
By default ,CANbedded The transmission protocol conforms to ISO 15765-2. It can also provide OEM specific TP variant , for example VWTP or MCNet.ISO 15765-2 The compliance variant is 1999 Annual variant or 2004 The annual variant provides , And different addressing methods can be used ( normal 、 Expand 、 Normal fixation 、 blend ) deliver
CCL
CCL To simplify the ECU In software CAN The driver 、IL、TP、NM And others CAN Option gateway 、J1939 and CANdesc etc. CAN Integration of software components . It manages the defined system state ( Electrify 、 start-up 、 To turn it off 、 stop it / sleep 、 normal ) And communication status ( Network request 、 Network release ).CCL Provide the following functions :
- Initialize the scanned software components
- Coordinate state transition ( Wake up and GotoSleep)
- Call periodic functions of embeddable software components , Such as timer task or status task .
- Control bus transceiver
MICROSAR OS
It is a preemptive real-time multitasking operating system , Its performance is optimized for microcontroller . According to the scalability level 1 Operating system of AUTOSAR The specification is based on OSEK/VDX standard . That's why MICROSAR. The operating system is even non AUTOSAR Environment provides another option
XCP
Calibration protocol
CANbedded J1939
Provide heavy vehicles and agricultural machinery ECU Basic communication functions between .
Expand ——CANbedded Gateway

The picture is from : Embedded software - CANbedded - Vector Informatik GmbH - foundation
CANbedded Gateway Contains complex gateway mechanisms , Used to receive all messages and signals , Then send it to another network according to the filtering and conversion rules . Users can choose from :
- Signal routing
- Message routing ( belt / Without data queue )
- TP( Transfer protocol ) route
END
边栏推荐
- system design
- [Galaxy Kirin V10] [server] failed to start the network
- Linked list operation can never change without its roots
- Recursive method to achieve full permutation (C language)
- 2022 ape circle recruitment project (software development)
- How to quickly parse XML documents through C (in fact, other languages also have corresponding interfaces or libraries to call)
- Rhcsa - day 13
- 20 minutes to learn what XML is_ XML learning notes_ What is an XML file_ Basic grammatical rules_ How to parse
- Learning XML DOM -- a typical model for parsing XML documents
- Canoe-the second simulation project-xvehicle-1 bus database design (idea)
猜你喜欢

IPv6 comprehensive experiment

Appscan installation steps
Si vous ne connaissez pas ces quatre modes de mise en cache, vous osez dire que vous connaissez la mise en cache?

How do microservices aggregate API documents? This wave of show~

Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool

Dynamic memory management

XMIND installation

Occasional pit compiled by idea

F12 clear the cookies of the corresponding web address

Rhcsa day 10 operation
随机推荐
Get the data of the top 100 headlines today with Tianxing data
BGP ---- border gateway routing protocol ----- basic experiment
Occasional pit compiled by idea
Basic function exercises
Day06 list job
Three schemes of ZK double machine room
Appscan installation error: unable to install from Net runtime security policy logout appscan solution
Using Lua to realize 99 multiplication table
TS type gymnastics: illustrating a complex advanced type
Write a program that uses pointers to set all elements of an int array to 4.18: 0.
Write a program to judge whether the two arrays are equal, and then write a similar program to compare the two vectors.
Const's constant member function after the function; Form, characteristics and use of inline function
Basic data types of MySQL
Appscan installation steps
Rhcsa operation
Design and common methods of test case documents
[Galaxy Kirin V10] [server] set time synchronization of intranet server
Deepmind proposed a Zuan AI, which specially outputs network attack language
[Galaxy Kirin V10] [server] system partition expansion
Add t more space to your computer (no need to add hard disk)