Method and device for upgrading firmware

The invention relates to a method and device for upgrading firmware, pertaining to the technical field of computers. The method comprises following steps: backuping an upgrade version into a third partition of flash memory storing different versions of firmware when the upgrade version for a current...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG TANGZHENG, TIAN JINGYI, HUANG YUYU, ZHANG DONGHAO, YE HUALIN, LIU XINYANG
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a method and device for upgrading firmware, pertaining to the technical field of computers. The method comprises following steps: backuping an upgrade version into a third partition of flash memory storing different versions of firmware when the upgrade version for a current version is stored in memory under detection when the current version for firmware in a second partition of flash memory operates; setting a specified identification position of a fourth partition of flash memory as an upgrade state; restarting an electronic device and operating a first partition of flash memory; writing upgrade version into the second partition when the specified identification position of the fourth partition is detected in the upgrade state; and operating an upgrade version of the second partition. The method and device for upgrading firmware have following beneficial effects: the upgrade version for firmware is backuped in the third partition of flash memory such that backuped firmware can be acquired from the third partition after the upgrade version runs failed; and reliability of upgrade is improved by avoiding the fact that the electronic device fails to normally operate due to upgrade failure of firmware.