| CPC G06F 8/65 (2013.01) [G06F 1/3203 (2013.01)] | 20 Claims |

|
1. A method for upgrading a Complex Programmable Logic Device (CPLD), wherein the method is applied to a CPLD upgrading system, the CPLD upgrading system comprises a baseboard management controller, a master CPLD and a slave CPLD, the master CPLD sends a power control signal to the a controller through the slave CPLD, and an upgrade-effective signal is provided between the baseboard management controller and the slave CPLD, the method comprises:
in response to determining that the master CPLD has completed upgrade preparation, setting, by the baseboard management controller, the upgrade-effective signal to an enabled state, to make the slave CPLD lock a current power control signal, and use the current power control signal to control the controller;
controlling, by the baseboard management controller, the master CPLD to perform CPLD upgrade; and
in response to determining that the master CPLD has completed the CPLD upgrade, setting, by the baseboard management controller, the upgrade-effective signal to a disabled state, to make the slave CPLD release the current power control signal, and use the power control signal sent by the master CPLD to control the controller.
|