Method and system for flashing ECU (Electronic Control Unit) of automobile

A control unit and automotive electronics technology, applied in the automotive field, can solve the problems of waste of resources, repeated development of program upgrade equipment, special flashing files, etc.

Inactive Publication Date: 2020-02-21
HOZON NEW ENERGY AUTOMOBILE CO LTD
View PDF1 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] As the vehicle technology becomes more and more complex, the vehicle ECU has more and more development functions. During development and normal use, it is often necessary to upgrade the program to improve or upgrade functions, especially in the future OTA technology. For a single ECU due to its functions and Because of the architecture, the flashing files are special, or multiple files need to be upgraded when upgrading the program. Without a unified flashing specification, each ECU supplier flashes in its own way, resulting in the need for multiple developments for program upgrades , resulting in a waste of resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for flashing ECU (Electronic Control Unit) of automobile
  • Method and system for flashing ECU (Electronic Control Unit) of automobile
  • Method and system for flashing ECU (Electronic Control Unit) of automobile

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] A method for flashing ECU of automobile electronic control unit, such as figure 1 , 2 Shown, including steps:

[0043] S11. Obtain the diagnostic session control service of the application programming session, and make the ECU start the Bootloader program;

[0044] S12. Secure access to the programming session;

[0045] S13. After safe access, determine whether the memory driver is stored in the non-volatile storage unit of the ECU, if not, execute the memory driver download and generate download data;

[0046] S14. Check whether the download data is complete, and if so, perform step S15;

[0047] S15. Receive the downloaded data, erase the memory data in the non-volatile storage unit of the ECU, and set the application program as invalid, and then continue to execute the memory-driven download until the download of all program data is completed;

[0048] S16. Check whether all the completed program data is complete, and if so, execute step S17; all the completed program data are ...

Embodiment 2

[0080] A system for flashing the ECU of an automobile electronic control unit, such as figure 2 Shown, including:

[0081] The obtaining module 11 is used to obtain the diagnostic session control service of the application programming session and make the ECU start the Bootloader program;

[0082] The secure access module 12 is used to perform secure access to the programming session;

[0083] The driver download module 13 is used to determine whether the memory driver is stored in the non-volatile storage unit of the ECU after secure access, if not, execute the memory driver download and generate download data;

[0084] The first check programming integrity module 14 is the same as checking whether the downloaded data is integrity;

[0085] The erase memory module 15 is used to receive the downloaded data, erase the memory data in the non-volatile storage unit of the ECU, and set the application program to be invalid, and then continue to execute the memory-driven download until all p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for flashing an ECU, wherein the method comprises the following steps: acquiring a diagnosis session control service of an application programming session, so that anECU starts a Bootloader program; performing security access on the programming session; judging whether the memory driver is stored in a nonvolatile storage unit of the ECU, if not, executing downloading of the memory driver, and generating downloading data; checking whether the downloaded data is complete, if yes, receiving the downloaded data, erasing the memory data in the nonvolatile storage unit of the ECU, setting the application program to be invalid, and then continuing to execute memory drive downloading until downloading of all program data is completed; checking whether all the completed program data is complete, and if yes, reprogramming all the completed program data; triggering an ECU (Electronic Control Unit) to check the dependence of reprogramming through a diagnostic apparatus, and if the ECU is checked to be correct, receiving the written reprogramming data by the application program; and running the application program, and sending a reset service request to the ECUwhich currently executes flashing after receiving the flashing request of the ECU.

Description

Technical field [0001] The invention relates to the technical field of automobiles, and in particular to a method and system for brushing and writing an ECU of an automobile electronic control unit. Background technique [0002] The basic principle of ECU data flashing is: the external data flashing tool sends data information to the ECU via the ECU communication network (mostly K-line and CAN bus) to realize the management and update of ECU data. [0003] ECU data flashing is also called ECU flashing and car computer board flashing. There are three main applications: one is data packaging when the engine / car is off the assembly line, the second is ECU update and maintenance in the car repair station, and the third is the application of engine modification. The engine ECU manages the program and data separately during software design, and they are separated in the Flash physical space of the microcontroller. ECU data can be divided into multiple data areas according to the differe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65
CPCG06F8/65
Inventor 刘奎李川奚叶飞于波
Owner HOZON NEW ENERGY AUTOMOBILE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products