Electronic apparatus and test method
10235862 ยท 2019-03-19
Assignee
Inventors
Cpc classification
G01R31/3646
PHYSICS
G01R31/3647
PHYSICS
G01R31/385
PHYSICS
International classification
G01R31/36
PHYSICS
Abstract
An electronic apparatus includes a motherboard, a random access memory, a motherboard battery and a processing unit. The random access memory is disposed on the motherboard. The motherboard battery is disposed on the motherboard and electrically coupled to the random access memory to supply electrical power to the random access memory. The processing unit is disposed on the motherboard and electrically coupled to the random access memory. The processing unit is configured to write a test value into an idle address register of the random access memory and further to check whether the idle address register maintains the test value. When the idle address register maintains the test value, the processing unit determines that the motherboard battery functions normally. When the idle address register reverts to an initial value, the processing unit determines that the motherboard battery malfunctions.
Claims
1. A method for testing a motherboard battery of an electronic apparatus, the method comprising: writing a test value into an idle address register of a random access memory of the electronic apparatus, wherein the motherboard battery is used to supply electrical power to the random access memory; checking whether the idle address register maintains the test value; when the idle address register maintains the test value, determining that the motherboard battery functions normally and outputting a message indicating that the motherboard battery functions normally; and when the idle address register reverts to an initial value, determining that the motherboard battery malfunctions.
2. The method according to claim 1, wherein the message indicating that the motherboard battery functions normally is an image message or a sound message.
3. The method according to claim 1, wherein when the idle address register reverts to the initial value, outputting a message indicating that the motherboard battery malfunctions.
4. The method according to claim 3, wherein the message indicating that the motherboard battery malfunctions is an image message or a sound message.
5. An electronic apparatus, comprising: a motherboard; a random access memory disposed on the motherboard; a motherboard battery disposed on the motherboard and electrically coupled to the random access memory to supply electrical power to the random access memory; a processing unit disposed on the motherboard and electrically coupled to the random access memory, wherein the processing unit is configured to write a test value into an idle address register of the random access memory and further to check whether the idle address register maintains the test value; and a display electrically coupled to the processing unit, wherein when the idle address register maintains the test value, the processing unit determines that the motherboard battery functions normally and controls the display to output an image message indicating that the motherboard battery functions normally; and wherein when the idle address register reverts to an initial value, the processing unit determines that the motherboard battery malfunctions.
6. The electronic apparatus according to claim 5, further comprising: a display electrically coupled to the processing unit, wherein when the idle address register reverts to the initial value, the processing unit controls the display to output an image message indicating that the motherboard battery malfunctions.
7. The electronic apparatus according to claim 5, further comprising: a speaker electrically coupled to the processing unit, wherein when the idle address register maintains the test value, the processing unit controls the speaker to output a prompt sound indicating that the motherboard battery functions normally.
8. The electronic apparatus according to claim 5, further comprising: a speaker electrically coupled to the processing unit, wherein when the idle address register reverts to the initial value, the processing unit controls the speaker to output a prompt sound indicating that the motherboard battery malfunctions.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
DETAILED DESCRIPTION
(4) Specific embodiments of the present invention are further described in detail below with reference to the accompanying drawings, however, the embodiments described are not intended to limit the present invention and it is not intended for the description of operation to limit the order of implementation. Moreover, any device with equivalent functions that is produced from a structure formed by a recombination of elements shall fall within the scope of the present invention.
(5) In the specification, when a unit is referred to connected or coupled, it means electrically connected or electrically coupled. Terms of connected and coupled may also represent interactions between two of more units.
(6) Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which example embodiments belong. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
(7) Reference is made to
(8) In one embodiment, the random access memory 20 is a complementary metal oxide semiconductor random access memory (CMOS RAM) which is co-installed with a basic input/output system (BIOS) in a computer. The CMOS RAM can store a setting (such as a user login data or a system environmental setting) of the BIOS of the electronic apparatus 100. It should be noted that the random access memory 120 is a volatile memory. That is, When the random access memory 120 has no power, all the data stored in the random access memory 120 will disappear. Hence, the random access memory 120 has to be electrically coupled to the motherboard battery 130, so as to maintain the power supply for the random access memory 120. Even though the electronic apparatus 100 is shut down or turned off, as long as the motherboard battery 130 provides the power normally, the random access memory 120 can keep maintaining its data.
(9) In this example, because the random access memory 120 is the CMOS RAM of the computer and stores the setting of the BIOS, when the random access memory 120 fails to keep the data due to power off, the electronic apparatus 100 cannot work normally. Accordingly, the motherboard battery 130 is required to be tested so as to ensure to function normally and has enough electrical power. Besides when a transmission path of the electrical power between the motherboard battery 130 and the random access memory 120 malfunctions, the random access memory 120 cannot receive constant power supply, thus causing the data stored in the random access memory 120 to disappear.
(10) Reference is made to
(11) Specifically, the test method 200 includes steps S210, S220 S230, S240, S242, S250 and S252. In step S210 in a manufacturing process of the random access memory 120 of the electronic apparatus 100, a test value is written into an idle address register of the random access memory 120 which is not occupied or used.
(12) For example, refer to the schematic diagrams of a memory data area 300 of the random access memory 120 according to an embodiment of this disclosure depicted in
(13) In the embodiment of
(14) In step S230, if the processing unit 140 determines that the idle address register C1 fails to maintain the test value x but reverts to the initial value 00 (i.e., reverts to the data of
(15) Back to step S230, if the processing unit 140 determines that the idle address register C1 still maintain the test value x, it represents that the motherboard battery 130 functions normally and the data of the idle address register C1 does not disappear. Then, the test method 200 enters step S250 to determine that the motherboard battery 130 functions normally and further outputs a text, picture or video message via the display 150 of the electronic apparatus 100 or outputs a prompt sound via the speaker 160 of the electronic apparatus 100 to indicate that the motherboard battery 130 functions normally in step S252.
(16) It should be noted that the prompt message indicating that the motherboard battery 130 functions normally or malfunctions is not limited to outputting via the display 150 or the speaker 160, any corresponding change mechanism triggered according to a test result can be an alternate way.
(17) With the aforementioned electronic apparatus 100 and the test method 200, the motherboard battery 130 no longer needs be tested by a manual operation with a multimeter. The system itself can show the condition of the motherboard battery 130. Accordingly, factors of misjudgment or negligence in operation which may occur in manual testing can be eliminated. Moreover, since the electronic apparatus 100 can self-test and auto display test results, labor costs can be saved and the testing process can be more precise and faster.