Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for vehicle control unit to read back historical version programs

A vehicle controller and historical version technology, which is applied in the field of the vehicle controller reading back the historical version program, can solve the problems of waste, complicated re-flashing of the program, and the failure of the single-chip microcomputer to run the program normally, and achieve the effect of saving labor waste.

Inactive Publication Date: 2020-10-30
天津易鼎丰动力科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the program fails to flash the program, it will cause the MCU to fail to run the program normally
Re-flashing programs caused by program flashing failures are often relatively complicated, resulting in a certain waste of flash area resources and manual waste

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 for vehicle control unit to read back historical version programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] The specific embodiments of the present invention will be described in further detail below.

[0012] In order to further understand the content, features and effects of the present invention, the following embodiments are given as examples, and detailed descriptions are as follows with accompanying drawings:

[0013] As shown in the figure, the method for the vehicle controller to read back the historical version program of the present invention includes the following steps:

[0014] The first step is to partition the flash area of ​​the single-chip microcomputer to store programs. The flash area is divided into bootloader area, application program area, and application program backup area according to program requirements.

[0015] In the second step, when there is no program flashing operation, the whole vehicle controller microcontroller runs normally, jumps to the application program area through the bootloader area, and executes the corresponding program. When there is a ...

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 a vehicle control unit to read back a historical version program. The method comprises the following steps of: 1, dividing a falsh area of a single chip microcomputer into a bootloader area, an application program area and an application program backup area; and step 2, when the single-chip microcomputer of the vehicle control unit operates normally, skipping to an application program area through a bootloader area, and executing a corresponding program; and when the program refreshing operation exists, executing the next step; 3, performing program refreshing operation on the single-chip microcomputer of the vehicle control unit, if application program refreshing succeeds, copying the content of an application program area to an application program backup area through a bootloader, and otherwise, executing the next step; and step 4, copying the content of the application program backup area to the application program area through a bootloader. By adopting the method, after the program of the single chip microcomputer of the vehicle control unit is flashed, the single chip microcomputer can normally run the program no matter whether the programis flashed successfully or unsuccessfully and after the single chip microcomputer is powered on again.

Description

Technical field [0001] The invention relates to a method for reading back a historical version program, in particular to a method for a vehicle controller to read back a historical version program. Background technique [0002] In the context of the continuous development of electric vehicles, especially after the 32-bit vehicle controller gradually enters the market, the flash area of ​​the vehicle controller microcontroller has relatively rich resources, but only stores the only version of the program. If the program fails to flash, it will cause the MCU to fail to run the program normally. Re-flashing the program caused by the failure of the program flashing is often relatively complicated, causing a certain amount of waste of flash area resources and manual waste. Summary of the invention [0003] The purpose of the present invention is to overcome the shortcomings of the prior art, and provide a method for automatically reading back historical version programs by a vehicle c...

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/654G06F8/71G06F11/14
CPCG06F8/71G06F11/1448G06F8/654
Inventor 蔡振兴赵春明周能辉李磊杜森翟世欢
Owner 天津易鼎丰动力科技有限公司