Memory test system and method

A technology of memory testing and memory, applied in software testing/debugging, etc., can solve problems such as operating system crashes

CN104346275AInactive Publication Date: 2015-02-11HONG FU JIN PRECISION IND (SHENZHEN) CO LTD +1
6 Cites 7 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2015-02-11
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a memory test system and a memory test method which are applied to a computer which comprises a memory and an operation system. The method comprises the following steps: setting a jumper cap on the main board of the computer through GPIO and powering up the computer to carry out system initialization; detecting whether the level of the GPIO on the main board is low level; when the level of the GPIO is high level, mapping the virtual address used by the operation system on the first physical address of the memory; when the level of the GPIO is low level, mapping then virtual address used by the operation system on the second physical address of the memory; executing the memory test program to test the memory part which is not mapped; detecting whether the memory is completely tested; when the memory is not completely tested, changing the level of the GPIO through the changing of the jumper cap setting on the GPIO. Through the memory test system and method, the virtual address used by the operation system can be mapped to different physical memory addresses so as to integrally test the whole physical memory of the computer.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a computer component testing system and method, in particular to a memory testing system and method. Background technique

[0002] In a computer system with physical memory, whether it is in the research and development stage or the production stage, a program is required to detect the inserted physical memory to ensure that the computer system can run normally. In the actual memory test program, there is often incompleteness. For example, the test program under the Linux system often tests virtual memory. In this way, there is no way to test the memory occupied by the computer system, and test loopholes appear. In addition, there is no way to test the memory that is not detected by the computer system, thus causing the problem of memory test loopholes.

[0003] In order to test the physical memory in the computer system, even the part occupied by the operating system can be tested, a mechanism must be provided so that the op...

Examples

Embodiment Construction

[0014] refer to figure 1 Shown is a schematic diagram of the operating environment of a preferred embodiment of the memory testing system 10 of the present invention. In this embodiment, the memory test system 10 is installed and run in the computer 1, the computer 1 also includes, but not limited to, a memory 11, an operating system (OS) 12, a display 13, a memory 14 and a central processing unit 15. The memory 11 , operating system 12 , display 13 , memory 14 and CPU 15 can all exchange data with the memory testing system 10 through the system bus. The computer 1 may be a computing device such as a desktop computer (PC), a notebook computer (Notebook), a server, or a Pad device. The memory 11 can be a physical memory with a storage space of 512M, 1G or 2G.

[0015] In this embodiment, the memory test system 10 includes an initialization module 101 , a level detection module 102 , a memory test module 103 , and a level modification module 104 . The functional modules refe...