摘要 |
PURPOSE: A software upgrade method and network device is provided to restart to upgrade a software by using a network device in a case that there occurs a hang-up or a latch-up at the network device or an abrupt power-off before the software is normally upgraded. CONSTITUTION: The device comprises a monitoring module(100), the first memory(108), the second memory(109), a controller(106), and a decoder(105). The monitoring module(100) monitors a hang-up or a latch-up while a software is being upgraded. The first memory(108) stores a software needed for operating the network device. The second memory(109) stores data transmitted over a network. The controller(106) stores the data, downloaded via the network, at the second memory(109), and stores the old version of the software at a vacant space of the first memory(108) before the old version of the software is upgraded with the data stored at the second memory(109). The decoder selects a memory device between the first and the second memory(108, 109) and sets an address at the selected memory device for upgrading the software according to the monitoring result.
|