Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Starting framework and method of Bootloader flashing program for vehicle control unit

A vehicle controller and program technology, which is applied in the field of start-up architecture of the vehicle controller using Bootloader to write programs, can solve problems such as low success rate, power failure, and failure to use normally, and meet the requirements of functionalization and capacity expansion. Effect with low trigger probability

Pending Publication Date: 2020-03-06
摩登汽车有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The common method of setting parameters such as CAN baud rate to fixed values ​​can no longer meet the application requirements of flexible configuration.
[0005] 2. Abnormal situations such as power failure and parameter reading failure may occur during the software program flashing, resulting in the program not being able to flash or even be used normally. The software update takes a long time and has a low success rate, which affects the experience of the automotive electronic control system.

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
  • Starting framework and method of Bootloader flashing program for vehicle control unit
  • Starting framework and method of Bootloader flashing program for vehicle control unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] S1: Vehicle controller 5 resets the system and initializes the Bootloader driver, including initialization of the microcontroller, system clock, external IO, power chip, enabling internal interrupts, bootloader driver flashing program, etc.

[0070] S2: The high effective digital input circuit outputs 3 high effective digital signals to the vehicle controller 5, the low effective digital input circuit outputs 1 low effective digital signal to the vehicle controller 5, and the PWM input circuit outputs 1 fixed frequency and duty cycle The PWM signal of the empty ratio is sent to the vehicle controller 5, and the judging module 4 judges that no external recovery is needed.

[0071] S3: The Bootloader program reads the flashing parameter storage area 11, and obtains related flashing parameters.

[0072] S4: The fault exception processing module 2 judges that there is no read fault.

[0073] S5: Enter the program flashing process, and write the flashing parameters includin...

Embodiment 2

[0076] S1: Vehicle controller 5 resets the system and initializes the Bootloader driver, including initialization of the microcontroller, system clock, external IO, power chip, enabling internal interrupts, bootloader driver flashing program, etc.

[0077] S2: The high effective digital input circuit outputs 3 high effective digital signals to the vehicle controller 5, the low effective digital input circuit outputs 2 low effective digital signals to the vehicle controller 5, and the PWM input circuit outputs 1 fixed frequency and duty cycle The PWM signal of the empty ratio is sent to the vehicle controller 5, and the judging module 4 judges that an external recovery is required.

[0078] S3: The external recovery module 3 reads the default parameter storage area 12 in the external recovery state and updates the flash parameter storage area 11, then removes the external recovery condition, and returns to step 1, the system resets, and the bootloader flash program jumps to init...

Embodiment 3

[0080] S1: Vehicle controller 5 resets the system and initializes the Bootloader driver, including initialization of the microcontroller, system clock, external IO, power chip, enabling internal interrupts, bootloader driver flashing program, etc.

[0081] S2: The high effective digital input circuit outputs 2 high effective digital signals to the vehicle controller 5, the low effective digital input circuit outputs 2 low effective digital signals to the vehicle controller 5, and the PWM input circuit outputs 1 fixed frequency and duty cycle The PWM signal of the empty ratio is sent to the vehicle controller 5, and the judging module 4 judges that no external recovery is needed.

[0082] S3: The Bootloader program reads the flashing parameter storage area 11, and obtains related flashing parameters.

[0083] S4: The fault exception processing module 2 judges that there is a read fault.

[0084] S5: Enter the fault exception processing state, the fault exception processing mod...

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 starting framework and method of a Bootloader flashing program for a vehicle control unit. The method comprises the steps: 1, performing resetting and initialization on the system of the vehicle control unit (5); 2, if external recovery is needed, executing the step 3, otherwise, executing the step 4; 3, reading a default parameter storage area (12) in the external recovery state by an external recovery module (3), writing the default parameter storage area (12) into a flashing parameter storage area (11), and returning to the step 1; 4, reading the flashing parameterstorage area by the program and obtaining flashing parameters; 5, if the fault is read, executing the step 8, otherwise, executing the step 6; 6, entering program flashing, and writing new flashing parameters at the same time; 7, skipping to a main function entry if the flash succeeds, otherwise, skipping to the step 9; step 8, entering a fault exception processing state; and 9, jumping out of the fault and jumping to initialization. According to the method, the flashing parameters can be updated during program flashing, and flexible configuration of the flashing parameters is met, and a fault tolerance function is achieved.

Description

technical field [0001] The present invention relates to a framework and a method of a software system for a vehicle controller, in particular to a framework and a method for starting a program of a Bootloader for a vehicle controller. Background technique [0002] With the development of technology, the application of intelligent electronic control equipment in automobile control system is more and more extensive. The Bootloader boot loader is the first piece of code that the embedded system executes after it is powered on. After it completes the initialization of the CPU and related hardware, it installs the operating system image or the solidified embedded application in the memory and then jumps to Go to the space where the operating system is located and start the operating system to run. Bootloader has been widely used in the startup and update of automotive electronic controllers such as vehicle controllers. [0003] Due to the rapid update of electronic equipment, th...

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/61H04L12/40
CPCG06F8/61H04L12/40H04L2012/40215H04L2012/40273
Inventor 王晓辉刘博周艳
Owner 摩登汽车有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products