CPC G06F 3/061 (2013.01) [G06F 3/0655 (2013.01); G06F 3/0679 (2013.01); G06F 8/65 (2013.01)] | 12 Claims |
1. An electronic device comprising:
a storage device including a memory and a memory controller configured to control the memory; and
a processor operatively coupled to the storage device,
wherein the processor is configured to:
identify a version of firmware for driving the memory controller, while the processor is set in a first status for providing an input/output request to the storage device,
when the version of firmware identified requires updating, set a status of the processor from the first status to a second status for stopping providing an additional input/output request to the storage device in addition to the input/output request,
while the processor is set in the second status:
in response to determining that the storage device has not completed an input/output operation corresponding to the input/output request that is provided by the processor in the first status, within a specified time, set the status of the processor from the second status to the first status so that the processor resumes providing the additional input/output request to the storage device,
in response to determining that the storage device has completed the input/output operation corresponding to the input/output request that is provided by the processor in the first status, within the specified time, transmit updated firmware to the storage device so that the storage device installs the updated firmware,
activate the updated firmware by resetting the storage device instead of restarting and/or rebooting the electronic device, based on completion of installation of the updated firmware in the storage device, and
set the status of the processor from the second status to the first status based on activation of the updated firmware,
wherein the restarting and/or rebooting of the electronic device includes a series of operations of supplying power to the electronic device after turning off supplying power to the electronic device, and
wherein the resetting the storage device includes continuously supplying the power to the electronic device without turning off supplying power to the electronic device.
|