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

Method for renewing monitoring program, application and subsequent renewing application at same time

A technology of application program and monitoring program, which is applied in the direction of program control device, response error generation, program loading/starting, etc., and can solve the problem of long time consumption of monitoring program and application program burning, affecting production efficiency, and long application program update time, etc. problem, to achieve the effect of reducing the steps of program burning, improving burning efficiency, and high update efficiency

Active Publication Date: 2016-06-15
HUIZHOU BNET TECH CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] (1) The steps of program update are cumbersome. It is necessary to burn the monitoring program with the PE programmer first, and then update the application program through the CAN bus, and the sequence cannot be changed, which increases the number of stations in the production process and affects production efficiency;
[0004] (2) In the production process, it takes a long time to update the application program through the CAN bus. For example, it takes about 3 to 4 minutes to update the application program of the main control board (BCU) of a battery management system, and the application program of the slave control board (BMU) It takes about 2 to 3 minutes to update the application program, and the application program update time is long. Therefore, the burning of the monitoring program and application program takes a long time and the production efficiency is low.

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 renewing monitoring program, application and subsequent renewing application at same time
  • Method for renewing monitoring program, application and subsequent renewing application at same time
  • Method for renewing monitoring program, application and subsequent renewing application at same time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] Embodiment 1 provides a method for simultaneously updating the monitoring program and the application program through the PE burner, refer to figure 1 , the method for simultaneously updating the monitoring program and the application program through the PE burner comprises the following steps:

[0070] S1 allocates a fixed Flash address space and RAM address space for the monitoring program;

[0071] S2 allocates a Flash address space and a RAM address space that do not overlap with the monitor program address space for the application program;

[0072] S3 merges the monitoring program with the application program into a merged program;

[0073] S4 burns the combined program through the PE burner.

[0074] The present invention allocates different Flash address spaces and RAM address spaces for the monitoring program and the application program in advance, and after the monitoring program and the application program are merged into a merged program, burning is carrie...

Embodiment 2

[0076] Embodiment 2 provides a method for simultaneously updating the monitoring program and the application program through the PE burner, which is an improvement on the basis of Embodiment 1. The method for simultaneously updating the monitoring program and the application program by the PE burner comprises the following steps:

[0077] S1 allocates fixed Flash address space and RAM address space for the monitoring program.

[0078] S2 allocates a Flash address space and a RAM address space that do not overlap with the monitor program address space for the application program. refer to figure 2 , the Flash address space and the RAM address space of the application program do not coincide with the Flash address space and the RAM address space of the monitoring program.

[0079] S3 merges the monitor program with the application program into a merged program. The step S3 of merging the monitoring program and the application program into a combined program is specifically: ...

Embodiment 3

[0126] Embodiment 3 provides a method of updating the application program after burning the application program through the method of simultaneously updating the monitoring program and the application program, refer to Figure 8 The method of updating the application program updates the application program through CAN, and the process is as follows:

[0127] a1 enters the reset procedure;

[0128] a2 judges whether to enter the application program, if so, execute step a3, otherwise execute step a5;

[0129] a3 set IVBR=0xEB;

[0130] a4 jumps to the Startup function (application code segment) of the application program;

[0131] a5 enters the main function of the monitoring program (bootloader code segment);

[0132] a6 enters the update process according to the firmware update communication protocol;

[0133] a7 judges whether the update is successful, if the update is successful, then execute step a8, otherwise execute step a9;

[0134] a8 writes the effective flag bit ...

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 renewing a monitoring program, an application and a subsequent renewing application at the same time. The method includes the following steps that S1, a fixed Flash address space and a fixed RAM address space are distributed to the monitoring program; S2, a Flash address space and an RAM address space which do not coincide with the address space of the monitoring program are distributed to the application; S3, the monitoring program and the application program are combined into a combined program; S4, writing is conducted on the combined program through a PE writer. After the monitoring program and the application are combined into the combined program, writing is conducted through the PE writer, the program writing step in the production process is omitted, the program writing efficiency is improved, the subsequent renewing application is directly renewed through a CAN, the application renewing efficiency is high, and operation is easy and convenient.

Description

technical field [0001] The present invention relates to the technical field of battery management systems, in particular to a method for simultaneously updating a monitoring program and an application program and subsequently updating an application program. Background technique [0002] In the pre-production testing process of the battery management system (BMS, BATTERYMANAGEMENTSYSTEM), in order to meet the online update program requirements, it is necessary to burn the monitoring program with a PE programmer before production and shipment, and then update the application online through the CAN bus program. When this method has a large amount of program code, the following defects are very obvious: [0003] (1) The steps of program update are cumbersome. It is necessary to burn the monitoring program with a PE programmer first, and then update the application program through the CAN bus, and the sequence cannot be changed, which increases the number of stations in the pro...

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
IPC IPC(8): G06F9/445G06F11/08
CPCG06F8/65G06F11/08
Inventor 徐文赋任素云
Owner HUIZHOU BNET TECH CO LTD