当前位置:网站首页>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
边栏推荐
- [Galaxy Kirin V10] [desktop] printer
- 1. Circular nesting and understanding of lists
- Write a program to define an array with 10 int elements, and take its position in the array as the initial value of each element.
- Dynamic memory management
- Jemeter script recording
- MPLS: multi protocol label switching
- [Galaxy Kirin V10] [desktop] build NFS to realize disk sharing
- /*The rewriter outputs the contents of the IA array. It is required that the type defined by typedef cannot be used in the outer loop*/
- Summary of automated testing framework
- On binary tree (C language)
猜你喜欢

Summary of several job scheduling problems

JMeter Foundation

Network connection (III) functions and similarities and differences of hubs, switches and routers, routing tables and tables in switches, why do you need address translation and packet filtering?

Rhsca day 11 operation

Learning XML DOM -- a typical model for parsing XML documents

Unittest+airtest+beatiulreport combine the three to make a beautiful test report
![[Galaxy Kirin V10] [server] iSCSI deployment](/img/60/13f43dc584c0768965d60811768948.jpg)
[Galaxy Kirin V10] [server] iSCSI deployment

Hidden C2 tunnel -- use of icmpsh of ICMP

Introduction to extensible system architecture
![[machine] [server] Taishan 200](/img/e5/69a1a4ca04814a033a77d3cb4601b3.jpg)
[machine] [server] Taishan 200
随机推荐
1. Circular nesting and understanding of lists
system design
C language structure to realize simple address book
F12 clear the cookies of the corresponding web address
Si vous ne connaissez pas ces quatre modes de mise en cache, vous osez dire que vous connaissez la mise en cache?
Strings and characters
Idea SSH channel configuration
Evolution from monomer architecture to microservice architecture
[Galaxy Kirin V10] [server] grub default password
Rhcsa operation
Send a request using paste raw text
Architecture introduction
From programmers to large-scale distributed architects, where are you (2)
Rhsca day 11 operation
First article
[Galaxy Kirin V10] [desktop] login system flash back
How do microservices aggregate API documents? This wave of show~
Network connection (III) functions and similarities and differences of hubs, switches and routers, routing tables and tables in switches, why do you need address translation and packet filtering?
Day06 list job
XMIND installation