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
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
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:
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".
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.
Figure 5: Create a task and transfer process test report
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:
-
The upgrade process is simple and efficient
-
Transmit upgrade packages more efficiently
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
- Popular Resources
- Popular amplifiers
- Dual-partition software over-the-air download upgrade technology for vehicle ECU based on real-time operating system_Zhou Heng
- Lightweight FPGA-based IDS-ECU architecture for automotive CAN networks
- Dual Radar: A Dual 4D Radar Multimodal Dataset for Autonomous Driving
- Real-time driver monitoring system via modal and viewpoint analysis
- "Cross-chip" quantum entanglement helps build more powerful quantum computing capabilities
- Why is the vehicle operating system (Vehicle OS) becoming more and more important?
- Car Sensors - A detailed explanation of LiDAR
- Simple differences between automotive (ultrasonic, millimeter wave, laser) radars
- Comprehensive knowledge about automobile circuits
- Introduction of domestic automotive-grade bipolar latch Hall chip CHA44X
- Infineon Technologies and Magneti Marelli to Drive Regional Control Unit Innovation with AURIX™ TC4x MCU Family
- Power of E-band millimeter-wave radar
- Hardware design of power supply system for automobile controller
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- [ST NUCLEO-G071RB Review] + Errors in program migration and operation
- How to disable ADC interrupt separately in stm32f030
- Developing Lighting Control Solutions with Bluetooth Mesh and Qorvo QPG6100
- What is standing wave? What is matching? What is standing wave ratio?
- FAQ_ How to broadcast Chinese Bluetooth name
- 51 MCU seeking guidance
- MSP430 internal 10-bit ADC analog-to-digital conversion and sending via serial port
- Introduction to Web Bluetooth Tools SiCom
- Capacitor testing methods and experience
- What are the techniques for designing transistor amplifier circuits?