{"id":15897,"date":"2024-12-11T15:32:23","date_gmt":"2024-12-11T07:32:23","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=15897"},"modified":"2024-12-11T16:28:24","modified_gmt":"2024-12-11T08:28:24","slug":"tosun-in-vehicle-ethernet-emulation-test-solution","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/en\/tosun-in-vehicle-ethernet-emulation-test-solution\/","title":{"rendered":"Solutions | TOSUN In-vehicle Ethernet Emulation Test Solution"},"content":{"rendered":"
In-vehicle Ethernet Emulation Test Solution<\/strong><\/h2>\n\n
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.<\/p>\n\n
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.<\/strong>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.<\/p><\/div>
<\/div>
I. Basic Ethernet Functions in TSMaster<\/strong><\/h2>
TSSocket stack<\/strong><\/h3><\/blockquote>
TSSocket stack is independently developed by TOSUN, independent of the TCP\/IP stack that comes with the operating system, with the following characteristics:<\/p>
Each individual Ethernet hardware interface can be individually configured with a separate TCP\/IP stack<\/li>\n\n
Does not automatically send windows\/Linux OS platform related Ethernet messages<\/li><\/ol><\/figure>
TSSocket API<\/strong><\/h3><\/blockquote>
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.<\/p><\/figure>
Message information display, recording, playback<\/strong><\/strong><\/h3><\/blockquote>
TSMaster can display message information display, recording and playback of various Ethernet protocols.<\/p>
<\/figure><\/div>
SOME\/IP<\/strong><\/strong><\/h3><\/blockquote>
SOME\/IP: Basic Functions<\/strong>
Support for importing AUTOSAR ARXML files<\/li>\n\n
Serialization\/deserialization based on ARXML messages<\/li>\n\n
Supports automatic generation of simulation participants and multi-participant simulation<\/li>\n\n
Support for automatic generation of data types and database symbolic variables<\/li>\n\n
Support for small program programming interfaces<\/li>\n\n
VLAN support <\/li><\/ul><\/li>\n\n
SOME\/IP: generating information<\/strong>
Support for AUTOSAR CP and AP ARXML files<\/li>\n\n
Generate type data from ARXML for user programming in C applets<\/li>\n\n
Generate serialization information according to ARXML, implement data serialization\/deserialization functions<\/li>\n\n
Automatic generation of simulation code for participants in the file, which can be run directly<\/li>\n\n
Automatic generation of participants' adversary simulation code for SOME\/IP rapid environment setup and testing<\/li><\/ul><\/li>\n\n
SOME\/IP: user variables<\/strong> User variables generated by TSMaster Ethernet-SOME\/IP are directly interfaced with modules such as panels\/images for fast access to serialization results. <\/li>\n\n
SOME\/IP: emulation mode<\/strong>
Simulation mode supports simultaneous generation of adversary participants for fast simulation modeling<\/li>\n\n
Supports modification of basic information (e.g. IP\/MAC, etc.) and emulation to avoid the inconvenience of modifying ARXML <\/li><\/ul><\/li>\n\n
SOME\/IP: Simulation testing<\/strong>
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.<\/li>\n\n
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.<\/li><\/ul><\/li><\/ol>
<\/div>
II. TOSUN in-vehicle Ethernet hardware tools<\/strong><\/h2>
TE1021<\/strong><\/h3>\n\n
1 x 100\/1000Base-T1 to 100\/1000Base-Tx interface<\/strong><\/p><\/blockquote>
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<\/li>\n\n
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<\/li>\n\n
Data transmission is full duplex in both directions. Mode configuration can be done simply by completing the DIP switch<\/li><\/ul>