| CPC G06F 1/26 (2013.01) [G06F 1/18 (2013.01); G06F 1/3203 (2013.01); G06F 8/654 (2018.02)] | 4 Claims |

|
1. An upgrade method for a chip, applied to a micro controller unit, the micro controller unit is connected to a control board through a third inter-integrated circuit and connected to a processor of the chip through a first inter-integrated circuit, to receive operation instructions sent by the control board and the processor;
wherein the upgrade method comprises the following steps:
receiving a plurality of operation instructions sent by the control board and the processor, wherein the plurality of operation instructions include an upgrade instruction;
reading the upgrade instruction in the operation instructions, and starting a boot program in a flash of the chip, to detect integrity of an application of the chip;
if detection for the integrity of the chip is successful, jumping to the application for running; otherwise, continuing to run the boot program;
receiving the upgrade instruction; and
loading, for execution, an upgrade program of the flash to a main memory based on the upgrade instruction, receiving upgrade data from a second inter-integrated circuit connecting the micro controller unit and a power management integrated circuit unit, and completing upgrade based on the upgrade data.
|