Upgrading method and device of control unit

A control unit and a technology to be upgraded, applied in the computer field, can solve problems such as low reliability, damage to the original program of the system, affecting the normal operation of the MCU, etc., and achieve the effect of easy implementation and improved reliability.

Inactive Publication Date: 2018-08-07
GUANGDONG MIDEA KITCHEN APPLIANCES MFG CO LTD +1
View PDF5 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, during the upgrade process, if there are abnormal conditions such as power failure or failure to read and write flash memory, the original program of the system will be damaged, which will affect the normal operation of the MCU.
It can be seen that this MCU upgrade method is less reliable

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
  • Upgrading method and device of control unit
  • Upgrading method and device of control unit
  • Upgrading method and device of control unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] 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 and are intended to explain the present invention and should not be construed as limiting the present invention.

[0037] The method and device for upgrading the control unit according to the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0038] In practical applications, in order to improve the control function of the MCU, it is usually necessary to upgrade the MCU. At present, the upgrade file is directly written into the application partition, and the upgrade file in the application partition is directly updated by embedding the serial communication function in the MCU startup lo...

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 provides an upgrading method and device of a control unit, wherein the method includes: receiving upgrade data of a version to be upgraded, storing the upgrade data that is received to abackup partition that is preset, reading the upgrade data from the backup partition when the upgrade data of the version to be upgraded is complete, and copying the upgrade data to an application partition to carry out version upgrading. According to the method, the upgrade data of the version to be upgraded is stored to the backup partition that is preset, the upgrade data is copied from the backup partition to the application partition to carry out version upgrading when the upgrade data is complete, an original application is never damaged if anomalies occur to the control unit upgrading process, it is avoided that writing the upgrade data directly to the application partition and overriding the original application directly with the upgrade data may lead to damage to the original application due to power-off, reading-writing flash failure and other conditions, control unit upgrading reliability is improved, and the upgrading method according to an embodiment of the invention is easy to implement.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a control unit upgrading method and device. Background technique [0002] Microcontroller Unit (MCU for short), also known as single-chip microcomputer or single-chip microcomputer, is to appropriately reduce the frequency and specifications of the central processing unit (Central Process Unit, CPU for short), and integrate memory, counter, USB, A Peripheral interfaces such as / D conversion are integrated on a single chip to form a chip-level computer, which can be controlled in different combinations for different applications. [0003] In practical applications, in order to improve the control function of the MCU, it is usually necessary to upgrade the MCU. At present, the upgrade file is mainly written into the application partition directly, and the upgrade file in the application partition is directly updated by embedding the serial port communication function in the boot...

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/65G06F11/14
CPCG06F8/65G06F11/1448
Inventor 周技锋孙涛徐超马建良王飞
Owner GUANGDONG MIDEA KITCHEN APPLIANCES MFG CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products