Introduction to an upgrade test solution for domain controllers

Publisher:gamma13Latest update time:2024-06-24 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Preface

Traditional automotive ECUs use diagnostic flashing to implement software updates, and the data volume is relatively small, generally ranging from tens of KB to tens of MB. As the new four modernizations of automobiles continue to advance, the architecture of the domain controller or central computer on the car has evolved into an MPU/SOC+MCU solution, and the data volume for MPU/SOC software upgrades is often hundreds of MB or even several GB. Using DoIP plus diagnostic services (0x34, 0x36) to transmit upgrade package data is a cumbersome process and has low bandwidth utilization. Sending 36 services through DoIP requires waiting for the response of the transport layer, namely TCP ACK, and then waiting for DoIP's 0x8002 message (the simplified version does not use 0x8002). Finally, you must wait for the controller's diagnostic affirmative response before continuing to send data. Therefore, for upgrade packages with large data volumes, various manufacturers have adopted a variety of new methods to implement domain controller software upgrades.


Based on the existing experience, Shanghai Beihui Information introduces a new software upgrade technology and testing solution that abandons the traditional solution. This solution is based on the combination of "a protocol supporting SOA + traditional IT transmission protocol". Hereinafter referred to as "SOA protocol" and "IT protocol".


Domain Controller Upgrade Process Overview


pYYBAGLnc7qAJTLEAAB1BrftXlY726.png

Figure 1 Upgrade process diagram


As shown in the figure above, the upgrade of slave node domain control is initiated by the master node, and this process is mainly carried out in the car. The master node first establishes an upgrade task for the slave node through the "SOA protocol", then sends the upgrade package to the slave node through the "IT protocol", and controls the upgrade process through the "SOA protocol" at the same time; compared with the use of diagnostic services to achieve upgrades, this process is simple and efficient, and can quickly achieve the purpose of upgrading the software.


Test case composition

The upgrade test for slave nodes is mainly divided into the following parts: 1. Forward process test; 2. State jump test; 3. Fault code test; 4. Scenario test


poYBAGLnc9KAR1k7AADGLQi6F_w129.png


pYYBAGLnc9qAOVgOAAJKAqH03bw198.png

Figure 2 Part of the test case


Main environment for domain controller upgrade testing

Beihui mainly uses Vector's CANoe+VN56xx to develop test cases and execute tests. With the addition of basic peripherals such as programmable power supply, the test environment can be quickly built. The schematic diagram is shown below:


pYYBAGLnc-qASKk9AAB991fY7j0109.png

Figure 3 Schematic diagram of the test environment


In the test script, CANoe is used to simulate the main node, mainly implementing the functions of the two modules "SOA Protocol" and "IT Protocol"; 1. Simulate CANoe as the main node and send "SOA Protocol" requests to DUT to control the upgrade process; 2. Simulate CANoe as the "IT Protocol" Server. After receiving the "IT Protocol" request from DUT, it sends the upgrade package to DUT through the "IT Protocol".


poYBAGLnc_iAHhqTAABE9Ee1ZDQ243.png

Figure 4 Test script diagram

Domain controller upgrade test instance


Data transmission process

After the CANoe simulation master node establishes an upgrade task for the slave node, the slave node sends the "IT protocol" to request the upgrade package path. The simulation master node responds to the upgrade package path, and the slave node sends the "IT protocol" to obtain the upgrade package. The simulation master node uses the "IT protocol" to send the upgrade package. During the transmission process, the SOA protocol can be used to periodically read the transmission progress. After waiting for the transmission to complete, the simulation master node sends an installation request and periodically reads the installation progress during the installation process. The following is an example of a test report and test data.


poYBAGLndCCACAE8AAWjLssaYOI639.png

Figure 5: Create a task and transfer process test report


poYBAGLndCuAVbhJAAIAe5w0_SQ740.png

Figure 6 Installation upgrade package test report


Summarize

This article introduces an emerging technology solution for domain controller upgrade, which has been widely accepted and adopted in the field of automotive electronics. Compared with using diagnostic services to achieve upgrades, this solution has the following two main advantages:


  1. The upgrade process is simple and efficient

  2. Transmit upgrade packages more efficiently


Reference address:Introduction to an upgrade test solution for domain controllers

Previous article:Talk about Smart Charging Technology
Next article:Guoxin Sichen | Dixin Technology 16-bit 8-channel SAR analog-to-digital converter GAD7689 (replaces AD7689) for lithium battery components

Recommended ReadingLatest update time:2024-11-23 07:22

Sectigo Releases Embedded Firewall to Protect Automotive ECUs with IoT Certification
According to a July 2019 Consumer Watchdog report, by 2022, more than two-thirds of new cars in the United States will have safety-critical systems connected online, exposing vehicle infotainment, GPS navigation, and other functional systems to deadly hacker attacks. To this end, Sectigo developed Sectigo Embedded Fir
[Automotive Electronics]
Sectigo Releases Embedded Firewall to Protect Automotive ECUs with IoT Certification
What do the high and low level signals of the ECU mean?
The so-called level refers to the logarithm of the ratio of two powers or voltages. Sometimes it can also be used to express the logarithm of the ratio of two currents. The unit of level is decibel, dB. Commonly used levels are power levels and voltage levels, which can be divided into absolute levels and
[Embedded]
What do the high and low level signals of the ECU mean?
Infineon Technologies Launches Semper™ Secure Solution
On June 17, the acquisition of Cypress Semiconductor Corp. helped Infineon Technologies Company enhance its storage technology capabilities. Infineon recently announced the launch of Semper Secure, further expanding its highly recognized Semper NOR flash memory series. Based on the powerful intelligent storage archite
[Automotive Electronics]
Infineon Technologies Launches Semper™ Secure Solution
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号