1. Technical Field
The present disclosure relates to an updating device.
2. Description of Related Art
Software of an electrically erasable programmable read-only memory (EEPROM) of a network adapter card can be updated by a manufacturer of the EEPROM. Updating the software of the EEPROM requires a computer with an operating system. However, assembling the computer and setting up the operating system just for updating the EEPROM is not expedient and will waste a lot of time.
What is needed, therefore, is system and method capable of avoiding or overcoming the described limitations.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments.
Embodiments of the present disclosure are described in detail as follows, with reference to the accompanying drawings.
Referring to
The network adapter card ROM 12 and the power supply 13 are both electrically connected to the updating device 11. The network adapter card ROM 12 is an EEPROM. The power supply 13 powers the computer 10. When the power supply 13 is electrically connected to an external power supply (not shown), the power supply 13 powers the updating device 11 and the network adapter card ROM 12. The updating device 11 updates data/software of the network adapter card ROM 12 including about a network adapter card type information, manufacture names, and driving programs. The updating device 11 includes a baseboard management controller (BMC) 110.
The BMC 110 stores updated data for the network adapter card ROM 12, an identification information corresponding to the update data, and an update program for the network adapter card ROM 12. The identification information marks/tags the updated data. When the BMC 110 receives an update command, the BMC 110 captures the identity information of the network adapter card ROM 13 by applying a preset identifying mechanism. The update command can be preset in the computer 10 by users.
The BMC 110 is a controller that provides intelligent management of an intelligent platform management, and has an independent operating system. If the power supply 13 is taken directly from the external power supply, the BMC 110 runs without booting the operation system of the computer 10, and the updating device 11 can function effectively even if the power supply 13 of the computer 10 does not boot up the operating system of the computer 10.
In the present embodiment, the BMC 110 is a microchip. The BMC 110 communicates with a peripheral device by a serial peripheral interface (SPI) bus. The SPI bus includes a data input line SI, a data output line SO, a slave select line
The data input line SI, the data output line SO, the slave select line
The manner of updating the network adapter card ROM 12 is the same as for the updating of the BIOS is in a DOS-based operating system. The slave select line
Referring to
In step S1, power on the updating device 11. The power supply 13 directly powers the updating device 11.
In step S2, start BMC 110. When the updating device 11 is powered by the power supply 13, the BMC 110 begins to function automatically.
In step S3, does the network adapter card ROM 12 needs to be updated? The BMC 110 determines whether the update operation need to be operated or not by the update command preset in the computer 10 by users. If the network adapter card ROM 12 does not need to be updated, then the BMC 110 performs step S7. If the network adapter card ROM 12 does need to be updated, then the BMC 110 performs step S4.
In step S4, run the update program stored in the BMC 110 to operate an update operation, the BMC 110 is defined as a master device, and the network adapter card ROM 12 is defined as a slave device. In the present embodiment, the slave select line
In step S5, update the data stored in the network adapter card ROM 12 by the update data. Data stored in the network adapter card ROM 12 is updated by the update data stored in the BMC 110.
In step S6, update operation of the network adapter card ROM 12 completed? In the present embodiment, the BMC 110 monitors the data stored in the network adapter card ROM 12. When the slave select line
While certain embodiments have been described and exemplified above, various other embodiments will be apparent to those skilled in the art from the foregoing disclosure. The present disclosure is not limited to the particular embodiments described and exemplified, and the embodiments are capable of considerable variation and modification without departure from the scope of the appended claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 201110107303.X | Apr 2011 | CN | national |