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

Method for online upgrading BootLoader through single-chip microcomputer APP

A technology of single-chip microcomputer and APP program, applied in instruments, electrical digital data processing, computing and other directions, can solve problems such as affecting debugging speed, power system paralysis, low efficiency, etc., to improve debugging efficiency, efficient update and upgrade, and fast debugging speed. Effect

Pending Publication Date: 2021-07-16
力高(山东)新能源技术股份有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The battery management system is installed in the battery pack. Once there is a bug in the Bootloader program during vehicle debugging, the battery pack needs to be removed to re-update the Bootloader program through PE or JTAG. This is extremely inefficient and affects the debugging speed.
At present, there is usually only one boot address for MCU, and the bootloader program is just in the entry address area. If you simply upgrade the bootloader through the APP, once the upgrade fails due to some reasons such as unexpected power failure, the battery management system will not be able to find the entry when it is powered on again. A valid program at the address, the entire power system is paralyzed, and no further attempts to refresh

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 online upgrading BootLoader through single-chip microcomputer APP
  • Method for online upgrading BootLoader through single-chip microcomputer APP
  • Method for online upgrading BootLoader through single-chip microcomputer APP

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] Such as image 3 As shown, the microcontroller is applied to the battery management system and contains the BootLoader program and App program with UDS protocols, CAN communications, and distributed in the bootloader area and App area, where the bootloader program is used to upgrade the App program online, and the App program Used to implement the function of the battery management system, in the case, the bootloader program is assigned the flash area of ​​the microcontroller entry address, you need to use the tool PE or JTAG to download, the App program is allocated behind the bootloader zone, you need to download or upgrade via bootloader.

[0022] Since the single-chip start address is usually only one, the battery management system will enter the bootloader program before power-on, then determine if it is necessary to upgrade the app. If you don't need it, check if the App program is valid, then jump into the App program to execute the battery management system according...

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 relates to a method for online upgrading BootLoader by a single-chip microcomputer APP (application), and the method comprises the following steps: 1) adding a jump area at a program entry address of the single-chip microcomputer, setting a BootLoader jump-in address and an APP jump-in address in the jump area, setting a BootLoader area behind the jump area, and setting an APP area behind the BootLoader area; 2) after being powered on, enabling the single-chip microcomputer to enter the jump area from the program entry address, judging whether the BootLoader program is valid or not, and directly jumping into the BootLoader program if the BootLoader program is valid. According to the method for online upgrading the BootLoader through the single-chip microcomputer APP, the problem that upgrading fails due to some reasons such as accidental power failure when the BootLoader is upgraded through the APP is solved, the App can still be entered to execute the battery management function and retry to download the BootLoader program when the battery management system is powered on again, the battery pack does not need to be disassembled to take out the battery management system, and the whole vehicle debugging efficiency is improved.

Description

Technical field [0001] The present invention belongs to the field of electric vehicle battery management system, and specific methods involving a single-chip APP online upgrade Bootloader. Background technique [0002] The battery management system is mounted in the battery pack of the electric vehicle. The battery pack is a CAN communication interface. It is required to communicate to upgrade the App program, so the software of the battery management system contains two software components, one is the UDS protocol (CAN communication) The bootloader program (used to upgrade the app), and the other is the App program (used to implement the function of the battery management system); in general, the BootLoader program is allocated in the flash area of ​​the microcontroller entry address, you need to use the tool PE or JTAG Download, the App program is allocated behind the BootLoader area, you need to download or upgrade via bootloader. [0003] Because all electronic components in ...

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/654
CPCG06F8/654
Inventor 曹志勇王翰超王云姜明军孙艳刘欢沈永柏江梓贤
Owner 力高(山东)新能源技术股份有限公司