E2E (End-To-End) is a safety module proposed by AUTOSAR for the functional safety standard ISO26262. It is a data protection protocol/ mechanism designed to prevent faults (HW/SW) that may exist in the communication link for safety-related data. It is applicable to various network structures: CAN, CANFD, FlexRay, Ethernet, etc.
The testing of E2E mainly includes communication testing between SWCs (Software Components). However, according to the current market situation, with the increasing complexity of the AUTOSAR architecture, the design and implementation of E2E testing have become more complex, and the creation and management of test cases have become more challenging. Despite designing numerous test cases, it may still not cover all boundary conditions and potential errors, leading to some issues going unnoticed during actual use. The testing workload for the hundreds or thousands of E2E messages, along with the corresponding DTC (Diagnostic Trouble Codes) tests, is substantial and consumes a significant amount of human resources.
To address these issues, Shanghai ZC Technology Co., Ltd. provides comprehensive E2E testing services, which can effectively improve customers' E2E testing efficiency and reduce the costs associated with E2E testing.
E2E testing primarily focuses on communication testing between SWCs (Software Components), with different testing strategies formulated based on various CRC (Cyclic Redundancy Check) verification methods. This includes, but is not limited to:
Ø The use of DataID (Data Identifier)
Ø Changes in Counter values
Ø The calculation rules for CRC
Ø Testing of related DTCs (Diagnostic Trouble Codes)
Test Bench Architecture
ZC possesses a complete set of E2E testing equipment, which can effectively support the conduct of E2E testing.
测试设备 Test Equipment | |||
序号 No. | 设备种类 Equipment Type | 设备名称 Equipment Name | 设备要求 Equipment Requirements |
No.1 | 电源 Power Supply | 程控电源 Programmable Power Supply | 至少2路, 0 – 32V,分辨率,10mv/1mA,精度0.2% At least 2 channels, 0 – 32V, resolution of 10mV/1mA, accuracy of 0.2% |
No.2 | Can通信设备 CAN Communication Equipment | VN1640 | NA |
No.3 | 调试器 Debugger | Lauterbach | 软件版本:TRACE32 PowerView for TriCore Software Version: TRACE32 PowerView for TriCore |
Vector CANoe series tools, version Canoe12.0
For example, with ID: 0xDBC0040, using E2E - Profile05 as an example.
Step 1:Calculate the CRC value of the data, with an initial value of 0xFFFF.
Step 2: Calculate the CRC value of LowID in DataID, with the initial value being the value calculated in the first step: 0x50CF.
Step 3: Calculate the CRC value of HighID in DataID, with the initial value being the value calculated in the first step: 0x5479.
Final CRC value obtained: 0x50 0x73
According to the AUTOSAR_CP_SWS2ETransformer specification and the testing requirements of customer E2E, design test cases and complete test reports using equivalence classes, boundary values, and other methods to ensure bidirectional traceability and consistency.
Click to download the product manual