Method and device for upgrading firmware
First Claim
1. A method for upgrading firmware in a device, wherein the device includes a first chip and a second chip independent from the first chip, the first chip being a WiFi chip or a Bluetooth chip, and the second chip being a Micro Control Unit chip, the method comprising:
- when firmware used by the first chip needs to be upgraded;
identifying a first partition of a flash memory in the second chip, the first partition being a backup partition for downloading firmware used by the second chip;
downloading new firmware to be used by the first chip to the first partition of the flash memory in the second chip; and
copying the new firmware to be used by the first chip from the first partition of the flash memory in the second chip to the first chip; and
when firmware used by the second chip needs to be upgraded;
downloading new firmware to be used by the second chip to the first partition of the flash memory in the second chip;
activating the first partition to be an active partition for storing firmware used by the second chip; and
setting a second partition of the flash memory to be the backup partition.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for upgrading firmware in a device, includes: when firmware of a first chip in the device needs to be upgraded, identifying a first partition of a flash memory in a second chip in the device, the first partition being a backup partition for downloading firmware of the second chip; downloading new firmware of the first chip to the first partition of the flash memory in the second chip; and copying the new firmware of the first chip from the first partition of the flash memory in the second chip to an effective region in the first chip.
47 Citations
9 Claims
-
1. A method for upgrading firmware in a device, wherein the device includes a first chip and a second chip independent from the first chip, the first chip being a WiFi chip or a Bluetooth chip, and the second chip being a Micro Control Unit chip, the method comprising:
-
when firmware used by the first chip needs to be upgraded; identifying a first partition of a flash memory in the second chip, the first partition being a backup partition for downloading firmware used by the second chip; downloading new firmware to be used by the first chip to the first partition of the flash memory in the second chip; and copying the new firmware to be used by the first chip from the first partition of the flash memory in the second chip to the first chip; and when firmware used by the second chip needs to be upgraded; downloading new firmware to be used by the second chip to the first partition of the flash memory in the second chip; activating the first partition to be an active partition for storing firmware used by the second chip; and setting a second partition of the flash memory to be the backup partition. - View Dependent Claims (2, 3)
-
-
4. A device including a first chip and a second chip independent from the first chip, the first chip being a WiFi chip or a Bluetooth chip, and the second chip being a Micro Control Unit chip, the device comprising:
-
a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to; when firmware used by the first chip needs to be upgraded; identify a first partition of a flash memory in the second chip, the first partition being a backup partition for downloading firmware used by the second chip; download new firmware to be used by the first chip to the first partition of the flash memory in the second chip; and copy the new firmware to be used by the first chip from the first partition of the flash memory in the second chip to the first chip; and when firmware used by the second chip needs to be upgraded; download new firmware to be used by the second chip to the first partition of the flash memory in the second chip; activate the first partition to be an active partition for storing firmware used by the second chip; and set a second partition of the flash memory to be the backup partition. - View Dependent Claims (5, 6)
-
-
7. A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors of a device, cause the device to perform a method for upgrading firmware, wherein the device includes a first chip and a second chip independent from the first chip, the first chip being a WiFi chip or a Bluetooth chip, and the second chip being a Micro Control Unit chip, the method comprising:
-
when firmware used by the first chip needs to be upgraded; identifying a first partition of a flash memory in the second chip, the first partition being a backup partition for downloading firmware used by the second chip; downloading new firmware to be used by the first chip to the first partition of the flash memory in the second chip; and copying the new firmware to be used by the first chip from the first partition of the flash memory in the second chip to the first chip; and when firmware used by the second chip needs to be upgraded; downloading new firmware to be used by the second chip to the first partition of the flash memory in the second chip; activating the first partition to be an active partition for storing firmware used by the second chip; and setting a second partition of the flash memory to be the backup partition. - View Dependent Claims (8, 9)
-
Specification