摘要 |
The present disclosure relates to a method and device for upgrading firmware, which are used for improving the security during the upgrading process of firmware. The method comprises: when it is determined that firmware of a first chip needs to be upgraded, identifying a first sub-area in a flash memory of a second chip for downloading the firmware of the second chip; downloading new firmware of the first chip to the first sub-area; and copying the new firmware of the first chip to a valid area in the first chip from the first sub-area. The technical solution of the present disclosure can avoid the occurrence of a conflict when the firmware of a plurality of chips is simultaneously upgraded, thereby improving the security when the firmware of the chip is upgraded, avoiding employing an additional control logic during the upgrading process and saving the resources of an intelligent equipment. |