Method and device for updating firmware

A technology for firmware and execution of instructions, applied in the electronic field, can solve problems such as waste of resources, save resources, avoid conflicts, and improve security.

Active Publication Date: 2015-04-01
XIAOMI TECH (WUHAN) CO LTD +1
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When upgrading multiple firmwares, it is easy to cause waste of resources if the firmware is upgraded separately for multiple firmwares

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 and device for updating firmware
  • Method and device for updating firmware
  • Method and device for updating firmware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0052] figure 1 It is a flow chart of a method for upgrading firmware according to an exemplary embodiment, and the method for upgrading firmware can be applied to smart devices (for example: smart sockets, smart TVs, smart air conditioners, etc.), such as figure 1 As shown, the method for upgrading firmware includes the following steps S101 to S103:

[0053] In step S101, when it is determine...

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 and device for updating a firmware. The method and the device are used for improving the safety in the firmware updating process. The method comprises the following steps that when the firmware of a first chip needs to be updated, a first partition, used for downloading the firmware of a second chip, in a flash memory of the second chip is identified; the new firmware of the first chip is downloaded into the first region; the new firmware of the first chip is copied to an effective region in the first chip from the first partition. The technical scheme disclosed by the invention has the advantages that the conflict occurring during the simultaneous updating on the firmware of a plurality of chips can be avoided, the safety during the updating on the firmware of the chips is improved, the adoption of additional control logics in the updating process is avoided, and resources of intelligent equipment are saved.

Description

technical field [0001] The present disclosure relates to the field of electronic technology, and in particular to a method and device for upgrading firmware. Background technique [0002] The firmware upgrade refers to refreshing the embedded firmware of the embedded Micro Control Unit (MCU), so as to improve the functions of the smart device and enhance the stability of the smart device. In more complex smart devices, there will be multiple MCU or MCU-like chips and non-MCU chips that need to upgrade the firmware. Non-MCU chips such as Wireless Fidelity (WIFI) chips, Bluetooth chips, etc. . When upgrading multiple firmwares, if the multiple firmwares are individually upgraded, resources are likely to be wasted. Contents of the invention [0003] In order to overcome the problems existing in related technologies, the embodiments of the present disclosure provide a method and device for upgrading firmware, so as to improve security during the firmware upgrading process. ...

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): G06F9/445
CPCG06F8/65G06F9/5077G06F8/654G06F9/445G06F12/02G06F12/0246
Inventor 孟德国刘鑫侯恩星
Owner XIAOMI TECH (WUHAN) 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