EMBEDDED ELECTRONIC DEVICE AND FIRMWARE UPDATING METHOD THEREOF
First Claim
1. A firmware updating method applied to an embedded electronic device including a first storage unit and a second storage unit, the second storage unit including a profile partition, a data partition and a system partition, the system partition at least storing a firmware of the embedded electronic device, the method comprising:
- downloading a firmware package into the first storage unit, the firmware package including a setup information file and a plurality of firmware code files;
writing the setup information file and the firmware code files to the profile partition and the data partition, respectively; and
restarting the embedded electronic device and executing a boot loader in the system partition to execute a firmware writing operation, the firmware writing operation comprising;
sequentially reading the firmware code files from the data partition and writing the firmware code files into the system partition according to the setup information file in the profile partition; and
updating a write-in progress in the profile partition upon completion of writing of each of the firmware code files, such that after the embedded electronic device is restarted after an interruption of power supply, the boot loader continues to write the rest of the firmware code files into the system partition according to the write-in progress.
1 Assignment
0 Petitions
Accused Products
Abstract
An embedded electronic device and a firmware updating method thereof are provided. The embedded electronic device includes a first storage unit and a second storage unit with a profile partition, a data partition and a system partition. In the method, a firmware package with a setup information file and a plurality of firmware code files is first downloaded into the first storage unit. The setup information file and the firmware code files are written in the profile partition and the data partition, respectively. The embedded electronic device is re-started, and a boot loader in the system partition is executed to sequentially read each firmware code file from the data partition for writing in the system partition. A write-in progress in the profile partition is updated upon completion of writing of each firmware code file.
-
Citations
20 Claims
-
1. A firmware updating method applied to an embedded electronic device including a first storage unit and a second storage unit, the second storage unit including a profile partition, a data partition and a system partition, the system partition at least storing a firmware of the embedded electronic device, the method comprising:
-
downloading a firmware package into the first storage unit, the firmware package including a setup information file and a plurality of firmware code files; writing the setup information file and the firmware code files to the profile partition and the data partition, respectively; and restarting the embedded electronic device and executing a boot loader in the system partition to execute a firmware writing operation, the firmware writing operation comprising; sequentially reading the firmware code files from the data partition and writing the firmware code files into the system partition according to the setup information file in the profile partition; and updating a write-in progress in the profile partition upon completion of writing of each of the firmware code files, such that after the embedded electronic device is restarted after an interruption of power supply, the boot loader continues to write the rest of the firmware code files into the system partition according to the write-in progress. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An embedded electronic device comprising:
-
a first storage unit for storing a loaded firmware package including a setup information file and a plurality of firmware code files; a second storage unit comprising a profile partition, a data partition and a system partition, the system partition at least storing a firmware of the embedded electronic device; a processing unit coupled to the first storage unit and the second storage unit, wherein the processing unit is used for downloading a firmware package into the first storage unit, accessing the setup information file and the firmware code files so as to write the same to the profile partition and the data partition, respectively; and
executing a boot loader in the system partition to execute a firmware writing operation if the embedded electronic device is restarted, the firmware writing operation comprising;sequentially reading the firmware code files from the data partition and writing the firmware code files into the system partition according to the setup information file in the profile partition; and updating a write-in progress in the profile partition upon completion of writing of each of the firmware code files, such that after the embedded electronic device is restarted after an interruption of power supply, the boot loader continues to write the rest of the firmware code files into the system partition according to the write-in progress. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification