30-10-2014 дата публикации
Номер: US20140325496A1
Disclosed herein is an apparatus and method for upgrading firmware using a universal serial bus (USB). In the method, after setting a flag 1 in a nonvolatile memory mounted on the device, a device is booted in a download mode to download and write firmware binary data in the nonvolatile memory. Then, the device is rebooted after setting a flag 2 in the nonvolatile memory, and booted in a general mode after setting a flag 3 in the nonvolatile memory. Then, USB communication between the device and the computer is checked to determine whether the device succeeds in upgrading the firmware. Thus, even a device with no external key can conveniently upgrade the firmware, and even if power is interrupted during download of a new version of firmware binary data, next booting can be safely performed in the download mode, thereby allowing upgrade of the firmware using the USB. 1. A method of upgrading firmware using a universal serial bus (USB) , comprising:rebooting a device after setting a flag 1 in a nonvolatile memory mounted on the device;booting the device in a download mode for upgrading the firmware if the flag 1 is set, downloading firmware binary data from a computer to write the firmware binary data in the nonvolatile memory, setting a flag 2 in the nonvolatile memory, and rebooting the device;setting a flag 3 in the nonvolatile memory if the flag 2 is set, and booting the device in a general mode; anddetermining whether the firmware is successfully upgraded, by checking USB communication between the device and the computer.2. The method according to claim 1 , further comprising:allowing the device to receive a firmware upgrade signal from the computer through a USB cable,wherein the setting the flag 1 is performed after receiving the firmware upgrade signal.3. The method according to claim 1 , wherein the determining whether the firmware is successfully upgraded comprises:determining that the firmware is successfully upgraded if the USB communication between the ...
Подробнее