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

A method for MCU online upgrading

A data and firmware technology, applied in the field of MCU online upgrade, can solve problems such as MCU upgrade failure, incomplete data, and increased MCU upgrade time, so as to reduce time and improve efficiency

Inactive Publication Date: 2019-01-18
JIANGSU HENGBAO INTELLIGENT SYST TECH CO LTD
View PDF24 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this case, on the one hand, once the data needs to be re-downloaded after an unexpected power failure, the MCU upgrade time will be increased, thereby reducing the efficiency of the MCU online upgrade; The data is incomplete. If the incomplete data is copied to the program running area for upgrade, the MCU upgrade will still fail

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
  • A method for MCU online upgrading
  • A method for MCU online upgrading
  • A method for MCU online upgrading

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0023] The MCU online upgrade is to upgrade the firmware of the MCU online, and the MCU online upgrade is initiated on the data platform (that is, the online upgrade platform). The APP program (referred to as firmware) running in the APP running area of ​​the MCU downloads new firmware data according to the upgrade request initiated by the data platform. The APP program caches the downloaded new firmware data in the new firmware data cache area of ​​the MCU, and the new firmware data cache area of ​​the MCU is used to cache data (this ar...

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 the technical field of electronic equipment, in particular to a method for MCU online upgrading, comprising the following steps: judging whether the process of downloading newfirmware data last time is interrupted; If yes, sending the breakpoint information and the received data information when the last download process is interrupted to the data platform; receiving continuous downloading data sent by data platform. In that MCU online upgrade method provided by the embodiment of the present application, by continue transferring from breakpoint, in particular by writing data length values and verifying the results of new firmware data operations written, in case an exception occurs, When downloading is carried out again, the following new firmware data is continuously downloaded from the interrupt without re-downloading the existing new firmware data, so that the MCU can be upgraded normally after power-on or reset, the time cost caused by re-downloading is avoided, and the efficiency of online upgrading of the MCU is improved.

Description

technical field [0001] The present application relates to the technical field of electronic equipment, and in particular to a method for online upgrading of an MCU. Background technique [0002] In the process of MCU online upgrade, unexpected power failure may occur. Using the power failure protection strategy can ensure that once a power failure occurs during the online upgrade process, the MCU can be upgraded normally after power-on or reset. [0003] The current power-off protection strategy in the prior art is usually that after the MCU is powered on or reset again, the data needs to be downloaded again, or the downloaded data in the storage area is copied to the program running area for upgrading. However, in this case, on the one hand, once the data needs to be re-downloaded after an unexpected power failure, the MCU upgrade time will be increased, thereby reducing the efficiency of the MCU online upgrade; The data is incomplete. If the incomplete data is copied to t...

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): G06F8/65
CPCG06F8/65
Inventor 许荣均崔静燕
Owner JIANGSU HENGBAO INTELLIGENT SYST TECH CO LTD
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