In-vehicle Ethernet Emulation Test Solution
With the wide application of autonomous driving, connected cars and intelligent systems, the number and complexity of in-vehicle electronic components and sensors are continuously increasing. To meet these more complex requirements, in-vehicle Ethernet enters the automotive network as a new type of in-vehicle network and plays an increasingly important role.
This article mainly introduces the basic functions of Ethernet in TSMaster, in-vehicle Ethernet related devices, and the in-vehicle Ethernet solution based on TSMaster.It helps you realize high-speed and efficient data transmission in the in-vehicle network and meet the demand for low latency and high bandwidth in the in-vehicle system.
I. Basic Ethernet Functions in TSMaster
TSSocket stack
TSSocket stack is independently developed by TOSUN, independent of the TCP/IP stack that comes with the operating system, with the following characteristics:
- Each individual Ethernet hardware interface can be individually configured with a separate TCP/IP stack
- Does not automatically send windows/Linux OS platform related Ethernet messages
TSSocket API
The TSSocket stack also provides secondary development of the TSSocket API to match the development of TOSUN Ethernet hardware devices, as well as upward support for SOME/IP, DDS and other Ethernet applications.
Message information display, recording, playback
TSMaster can display message information display, recording and playback of various Ethernet protocols.
SOME/IP
- SOME/IP: Basic Functions
- Support for importing AUTOSAR ARXML files
- Serialization/deserialization based on ARXML messages
- Supports automatic generation of simulation participants and multi-participant simulation
- Support for automatic generation of data types and database symbolic variables
- Support for small program programming interfaces
- VLAN support
- SOME/IP: generating information
- Support for AUTOSAR CP and AP ARXML files
- Generate type data from ARXML for user programming in C applets
- Generate serialization information according to ARXML, implement data serialization/deserialization functions
- Automatic generation of simulation code for participants in the file, which can be run directly
- Automatic generation of participants' adversary simulation code for SOME/IP rapid environment setup and testing
- SOME/IP: user variables
User variables generated by TSMaster Ethernet-SOME/IP are directly interfaced with modules such as panels/images for fast access to serialization results. - SOME/IP: emulation mode
- Simulation mode supports simultaneous generation of adversary participants for fast simulation modeling
- Supports modification of basic information (e.g. IP/MAC, etc.) and emulation to avoid the inconvenience of modifying ARXML
- SOME/IP: Simulation testing
- Simulation code (C/C++) for participants and pairs in ARXML, which can be run directly, and users can write their own business logic based on the generated code.
- Cooperate with other modules: Use signal value and other modules to realize the modification of service type data, panel management of service variables, convenient data interaction and input, and cooperate with graphic program and other functions to realize SOME/IP test function.
II. TOSUN in-vehicle Ethernet hardware tools
TE1021
1 x 100/1000Base-T1 to 100/1000Base-Tx interface
- Matching cable with D-SUB9 Automotive Ethernet connector and RJ-45 crystal header connector is provided for easy connection between ECU and PC with Automotive Ethernet interface
- Master or slave mode can be selected at the push of a button, and Ethernet data will be converted losslessly between Car Ethernet and 100/1000Base-TX Ethernet communications
- Data transmission is full duplex in both directions. Mode configuration can be done simply by completing the DIP switch
TE1051
1-channel car Ethernet to USB interface
- It can be used by itself or with TOSUN series Ethernet converters (TE1021/TE1105) to realize the functions of real-time observation of message information and recording of message information in TSMaster software.
- The simulation, analysis and testing of Ethernet data can be realized by TSMaster software, as well as DoIP, SOMEIP and other functions.
TE1105
5-Channel Truck Mounted Ethernet Switch
- Supports IEEE 802.1q (VLAN) mode, MAC filtering during mirroring, IEEE802.1Qav AVB traffic shaping, and IEEE802.1Qatime scheduling.
- A dial code allows you to switch between master or slave mode, and Ethernet data will be converted losslessly between Car Ethernet and 100/1000Base-TX Ethernet communications.
TC1054Pro
Multi-Channel In-vehicle Ethernet/CAN FD/LIN Bus Test Equipment
- The TC1054Pro is a 4-channel in-vehicle Ethernet, 4-channel CAN FD, and 2-channel LIN-to-USB/Gigabit/10Gigabit Ethernet test set.
- Connect to PC via 10Gb Ethernet or 1000Base-T or USB3.0 interface, and realize network analysis, simulation, testing, verification, and DoIP, SOME/IP functions through TSMaster software.
Three,DoIP Flashing Zero Code Development Program
TSMaster UDS diagnostic function not only supports CAN/CANFD, LIN, but also supports Ethernet DoIP diagnostic brushing function. TSMaster can complete the diagnostic process development with less code or even zero code, which can quickly open up the diagnostic link and technical realization of R&D, production line and after-sales. The main functions of TSMaster's DoIP zero-code development are as follows.
Transport Layer Configuration
Transport layer parameter configuration is included:
- Type of diagnostic equipment
- transport layer channel
- IP address and port of the device under test
- Tester IP address and port
- Request ID and Answer Logic ID
- Function Logic ID
Service Layer Configuration
Diagnose service layer routing activation:
- You can choose to execute the route activation command automatically after connecting to the DUT
- Set TCP initialization activation timeout
- Activation type support default, WWH-OBD, ISO/SAE retention, centralized security
- Support for OEM specific types and sending specific messages
seed key
SeedKey supports loading DLLs based on C++ and C#, VB.NET. SeedKey source code also supports internal export of DLL format files. Use Seed&KeyTester for fast algorithmic verification of seed keys.
Basic diagnostic services
Basic diagnostic configuration:
- Create multiple diagnostic services
- Modification of service requests and responses
- Diagnostic Parameter System Variable Analysis
- Diagnostic service registers system variables for external automation calls
- Composite Diagnostic Service Download File
- Customized CRC Checksum Algorithm
- Support for encrypted files, signature files or enterprise customized file data formats
File Download Configuration
File download support:
- hex/bin/s19/mot/serc/vdf and vendor customizations
- The number of bytes for the start address and data length can be modified.
- Custom CRC checksum algorithm import and modification
- Download File Viewer
Automated Diagnostic Processes
Automatic diagnostic process: support for multiple groups of processes, diagnostic services mouse point-and-click configuration, flashing the process of one-key execution, diagnostic system variables externally invoked.
Example of DoIP diagnostic brushing
DoIP diagnostic flashing process visualization, service layer message information parsing, and raw Ethernet message viewing and logging.
DoIP Diagnostic flashing Automation - COM Component
TSMaster has built-in message analysis, diagnostics, calibration, and system variable data in one unit, making it easy to analyze the data synchronously. Automated diagnostics can also be realized through COM component calls.
Contact Us
For more automotive test solutions, please contact us by private message or email, TOSUN will be happy to provide you with customized solutions.
Official website:www.tosunai.com
Mailbox:Emails: sales@tosunai.cn