{"id":17148,"date":"2025-02-20T12:25:21","date_gmt":"2025-02-20T04:25:21","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=17148"},"modified":"2025-02-20T12:25:27","modified_gmt":"2025-02-20T04:25:27","slug":"tsmaster-autosar-e2e-user-guide","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/en\/tsmaster-autosar-e2e-user-guide\/","title":{"rendered":"Sharing | TSMaster AUTOSAR E2E User's Guide"},"content":{"rendered":"
In an in-vehicle network, information exchange usually involves communication between multiple Electronic Control Units (ECUs). For safety-related signals such as speed, gear, vehicle\/power mode, etc., data integrity and reliability are of paramount importance. tsmaster has developed the AUTOSAR E2E emulation module for users to realize end-to-end data protection, ensuring that data is not tampered with, lost or corrupted during transmission. This article focuses on the instructions for using TSMaster AUTOSAR E2E.<\/p>
KEYWORDS in this article: TSMaster.AUTOSAR, E2E<\/strong><\/em><\/strong><\/em><\/p> Some of the styles and symbols used in this article can be found in the following table descriptions.<\/p> TSMaster has developed an AUTOSAR E2E emulation module for users. Based on the AUTOSAR E2E mechanism and the configuration information inputted by the user, the emulation module realizes the protection and detection of data, and shows whether the sent E2E information and received E2E information are correct or not through the UI interface. It mainly contains the following functions:<\/p> AUTOSAR E2E emulation module currently only supports CAN, CAN FD, SOME\/IP, and will continue to add LIN, FlexRay, Ethernet.<\/p> The AUTOSAR E2E simulation module contains two main functional areas.<\/p> 3.1 Network composition<\/strong><\/p> The network composition mainly displays the E2E information from the loaded ARXML in a tree structure, in the form of networks\/nodes\/messages\/signal groups\/signals.<\/p> Network - Message - Signal Value - Signal\", \"Type\", \"Configuration Name\", \"Configuration Type\" are present in the network composition \".<\/p> network-newsletter-signal-value-signal.<\/strong><\/p> Type:<\/strong><\/p> Configuration Name:<\/strong><\/p> Configuration type:<\/strong><\/p> 3.2 Information<\/strong><\/p> The main contents of \"Information\" are the Profile algorithm information corresponding to the selected SignalGroup, as well as the E2E transmit and receive parity information.<\/p> The form description is as follows:<\/p> This section is about building and analyzing the TSMaster AUTOSAR E2E project.<\/p> 4.1 TSMaster AUTOSAR E2E Project Construction<\/strong><\/p> The database used by the TSMaster software in this paper is a temporary database and only demonstrates the implementation and detection of AUTOSAR E2E.<\/p> 4.1.1 Importing the database<\/strong><\/p> TSMaster has several ways of importing databases (dbc\\ldf\\ARXML\\xml):<\/p> \u25b2 Drag and drop the database file to the TSMaster software, it can be loaded to the corresponding bus type channel 1 by default, and then in the TSMaster software, you can modify the database to bind to the specified channel, the operation is shown in the following figure:<\/p> \u25b2 In TSMaster, click [Analysis] -> [Databases] -> select the corresponding bus -> right-click the corresponding channel to add a database, as shown in the following figure:<\/p> <\/p> After the above operation, the data has been successfully added to the TSMaster software.<\/p> 4.1.2 <\/strong>View AUTOSAR E2E information<\/strong><\/p> In TSMaster, click [Simulation] -> [AUTOSAR E2E] as shown below:<\/p> 4.1.3 Enabling AUTOSAR E2E<\/strong><\/p> To enable AUTOSAR E2E, simply activate the corresponding node in the RBS simulation to automatically enable the AUTOSAR E2E implementation and detection mechanism:<\/p> In TSMaster, click [Simulation] -> [CAN RBS Simulation] as shown below:<\/p> 4.1.4 Verifying E2E Messages<\/strong><\/p> After the previous operations in this subsection are complete, start the measurement, turn on the RBS emulation, and you can see the telegrams being sent in the Bus Information window. This is shown in the following figure:<\/p> In the message information interface, you can see that the CRC signal and RC signal are changing in real time, but users do not know whether the E2E information is correct or not in this interface. At this time, go back to AUTOSAR E2E Viewer and check the corresponding E2E SignalGroup to see whether the E2E information is correct or not, the green color indicates correct, red color indicates error, and black color indicates that the SignalGroup information is not detected. As shown in the figure below:<\/p> E2E Detection Status:<\/p> 4.2 E2E Fault Injection<\/strong><\/p> In TSMaster, a series of fault injection functions are provided for users to use to perform fault injection test, the current types of fault injection provided are as follows:<\/p> 4.2.1 CRC Fault Injection<\/strong><\/p> To implement CRC fault injection, you need to set the CRC value in the C script or Python script of TSMaster.<\/p> The sample C script code is shown below:<\/p> 4.2.2 RC Fault Injection<\/strong><\/p> To implement RC fault injection, you need to set the RC value in the C script or Python script of TSMaster.<\/p> The sample C script code is shown below:<\/p> 5.1 can_rbs_fault_inject_handle_on_autosar_crc_event<\/strong><\/p> 5.2 <\/strong>can_rbs_fault_inject_handle_on_autosar_rc_event<\/strong><\/p>Description of symbols<\/strong><\/h2>
<\/figure><\/div>
<\/figure><\/div>
Functional Overview<\/strong><\/h2>
Windows Forms<\/strong><\/h2>
<\/figure><\/div>
<\/figure><\/div>
<\/figure><\/div>
<\/figure><\/div>
<\/figure><\/div>
typical example<\/strong><\/strong><\/h2>
<\/figcaption><\/figure><\/div>
<\/figcaption><\/figure><\/div>
<\/figcaption><\/figure><\/div>
<\/figcaption><\/figure><\/div>
<\/figcaption><\/figure><\/div><\/figure><\/div>
<\/figure><\/div>
<\/figure><\/div>
API<\/strong><\/strong><\/strong><\/h2>
<\/figure><\/div>
<\/figure>
Tip:<\/strong>
1. Software download:
Click on the software download link below to download and install directly, beta version is recommended:
2. Software upgrades:
You can check for upgrades to the latest version within the software, provided that your computer has an Internet connection.
Note: TOSUN Technical Support Email:support@tosunai.cn<\/a>We welcome inquiries! (Company and contact information must be indicated)<\/strong><\/pre>\n\n