CN1584826A - Method for automatic switching starting-up mode - Google Patents

Method for automatic switching starting-up mode Download PDF

Info

Publication number
CN1584826A
CN1584826A CN 03153906 CN03153906A CN1584826A CN 1584826 A CN1584826 A CN 1584826A CN 03153906 CN03153906 CN 03153906 CN 03153906 A CN03153906 A CN 03153906A CN 1584826 A CN1584826 A CN 1584826A
Authority
CN
China
Prior art keywords
memory
memory module
mode
power
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 03153906
Other languages
Chinese (zh)
Other versions
CN1254741C (en
Inventor
陈志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN 03153906 priority Critical patent/CN1254741C/en
Publication of CN1584826A publication Critical patent/CN1584826A/en
Application granted granted Critical
Publication of CN1254741C publication Critical patent/CN1254741C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)

Abstract

An automatic switching method of start up mode includes setting the first start up mode and the second start up mode in BIOS by computer, setting the first one in normal start up mode with detecting software for marking error storage module as if it is in start up procedure and switching the first mode to the second mode which can finish start up program without marked error storage module.

Description

The method of automatic switchover power on mode
Technical field
The present invention relates to a kind of booting computer program, particularly a kind of method of the power on mode that automaticallyes switch.
Background technology
See also shown in Figure 1, dual inline memory module (Dual In-line Memory Modules, be called for short: DIMM) 1 with single memory module in upright arrangement (Single In-line Memory Modules is called for short: SIMM) be the minitype circuit board that contains multi-bank memory chip (Memory Chip).The configuration format of dual inline memory module 1 has 72,144 and 168 terminals (pin), the left and right sides edge joint of the golden plug of so-called " two (Dual) " expression is to different signals, it includes random access memory (Random AccessMemory, be called for short RAM) chip, can be described as by two list memory models merging in upright arrangement and form, it also can the single or double manufacturing as single memory module in upright arrangement.If dual inline memory module 1 is installed on the motherboard, do not need paired interpolation dual inline memory module 1, can mix pairing.For example, you can (Mega Byte, be called for short: dual inline memory module 1 MB) be installed on the slot 2 on 32MB dual inline memory module 1 next door with one 64 megabit tuple.Dual inline memory module 1 is with the difference of single memory module in upright arrangement, the terminal of the former circuit board both sides, its independent circuits is respectively arranged, and the circuit of the terminal of latter both sides is connected together, anticipate promptly, the terminal of dual inline memory module 1 both sides respectively has it specifically defined, and make its access path that broad is provided, make its single memory module in upright arrangement of data transmission speed fast.
Dual inline memory module 1 with 168 terminals, access path to its memory chip is 64 bits (bit), and, if central processing unit (Central Processing Unit, be called for short: bus-bar CPU) (BUS) equally is the access path of 64 bits, just only need do once complete access (Access) action to storer, so a motherboard (Main Board, or title Mother Board) on, only needs a dual inline memory module 1.And also comprise the formula ROM (read-only memory) of erasing (Erasable Programmable Read-Only Memory in this dual inline memory module 1, be called for short: EPROM) for ROM-BIOS (Basic Input Output System, be called for short: BIOS) store various parameters, and, set a chipset (Chipset) and reach optimum condition according to these parameters.On high-order PC or workstation, 1 of the dual inline memory module of using is based on 200 pins, the access bus-bar of 72 bits is provided, wherein 60 nibbles are data itself, (Error Checking and Correction Code is called for short: ECC) use all the other eight bits as the error detection sign indicating number.
And ROM-BIOS is the most basic in the booting computer startup, when dispatching from the factory for motherboard, with the start various basic parameters or burning program in Flash ROM, meaning is that its basic functions is exactly the basic setting value that is used for storing computer, and the user also can set the correlation parameter of each hardware in power on mode and this computer by ROM-BIOS simultaneously.General computer is when start, and the testing that this ROM-BIOS can be started shooting (Power On Self Test) is to determine the basic configuration of each hardware of computer.For example, during general booting computer, this ROM-BIOS can be carried out three times access test to storer and (then only can be done once if be set as after the enabled, the time that can accelerate to start shooting), and then it is stored various parameters, be stored in the formula of the erasing ROM (read-only memory) of this dual inline memory module 1, make the software (as: operating system) of follow-up startup, can obtain the configuration setting of each hardware of this computer.
With present most of computer, its motherboard mostly uses Intel 815E chipset, this chipset has only the slot 2 of supporting 3 dual inline memory module I, totally 6 storage address lines (CSA#0~CSA#5), or be called thesaurus (banks), but these computers are in order to provide more flexible use-pattern, and with the 3rd slot 2 and the 4th slot 2 of its motherboard, shared storage address signal CSA#4 and CSA#5.Because such design, so in the time must using the 3rd slot 2 and the 4th slot 2 simultaneously, must only use Synchronous Dynamic Random Access Memory (the SynchronousDynamic Random Access Memory of 1 thesaurus (banks), be called for short: SDRAM), be generally the SDRAM module of single face, otherwise ROM-BIOS only can detect the 3rd memory span on the slot 2, and can't detect the 4th memory span on the slot 2.
On the other hand, if only use a dual inline memory module 1 on computer, this dual inline memory module 1 must be installed in the 1st, 2 or 3 slot 2, otherwise the stored various parameters of ROM-BIOS, can't be when booting computer, be written in the dual inline memory module 1 of these slots 3, cause computer can't finish boot program smoothly.In addition, the configuration of the 1st and 2 slot 2 is to be set to pair state, if in the 1st and 2 slot 2, when the dual inline memory of installation module 1 is all arranged, this ROM-BIOS will be 2 of the 1st and 2 slots, these dual inline memory modules 1 are carried out interleaving access, and the various parameters that ROM-BIOS is stored are stored in respectively in these dual inline memory modules 1.
But, this ROM-BIOS is before the various parameters that it is stored are written into these dual inline memory modules 1, be to carry out repeatedly access test to these dual inline memory modules 1, it needs only and once detects the dual inline memory module 1 that is installed in the 1st or 2 slot 2, after the situation of distress condition or access errors is arranged, this ROM-BIOS will can not be written into its stored various parameters in these dual inline memory modules 1 again, make this computer can't finish boot program smoothly, with puzzlement and the inconvenience that causes in the use.
Summary of the invention
Because traditional ROM-BIOS detects the dual inline memory module that the 1st or 2 slot installed, after the situation of distress condition or access errors is arranged, can't finish the shortcoming of boot program smoothly, the inventor is through the permanent research and experiment of making great efforts, and development and Design goes out the method for a kind of power on mode that automaticallyes switch of the present invention finally.
Technical matters to be solved by this invention is that a kind of method that improves the automatic switchover power on mode of finishing the boot program probability is provided.
The technical scheme of method that realizes automatic switchover power on mode of the present invention is as follows:
A kind of method of the power on mode that automaticallyes switch, it is characterized in that: in the ROM-BIOS of a computer, be provided with first power on mode and second the start mould show, wherein this first power on mode is in general power on mode, be provided with a spy software, after making this computer begin to start this ROM-BIOS, this ROM-BIOS is to handle according to the following step:
At first, this spy software is in this ROM-BIOS various parameters that it is stored, be written on the memory bank of motherboard of this computer before institute's mounted memory module, these memory module characteristics are detected, whether any mistake is arranged in order to judge these memory modules;
If it is wrong to detect these memory modules, then this spy software carries out mark to vicious memory module;
Again this first power on mode is converted to second the start mould show, and this second the start mould show read these memory modules respectively after, giving up has the memory module that is labeled;
Afterwards, various parameters are stored in the memory module that can carry out in-cycle work and not be labeled.
The method of described automatic switchover power on mode, it is characterized in that: this second start mould shows and will be stored in the memory module that can carry out in-cycle work and not be labeled in various parameters, and after finishing boot program, this second start mould shows and will read these marks again, make this second start mould show and produce a message data according to these marks, and the set control circuit of the motherboard that is sent to this computer, make the display of this computer show an error messages picture.
The method of described automatic switchover power on mode, it is characterized in that: before this second start mould is shown in and reads these memory modules, earlier these memory modules are forced to set individually independently configuration for, make these memory modules carry out access respectively separately, carry out subsequent treatment again.
The method of described automatic switchover power on mode, it is characterized in that: this computer is installed the motherboard with chipset, it is provided with one the 1st, 2,3 and 4 memory banks, and on the 1st and 2 memory banks, memory module is installed at least, and this ROM-BIOS will be handled according to the following step:
At first, this first power on mode is utilized this spy software, to the characteristic of institute's mounted memory module on the memory bank of the motherboard of this computer, detects, and to judge these memory modules whether any mistake is arranged;
If there is any one memory module wrong, then vicious memory module is carried out mark;
This first power on mode being converted to the second start mould shows again;
Afterwards, this second start mould shows the memory module that reads the 1st memory bank, judges whether it is that the memory module of the 1st memory bank is labeled;
If the memory module of the 1st memory bank is not labeled, then these memory modules are forced to set individually independently configuration for, make these memory modules carry out access respectively separately;
Give up again the memory module that is labeled is arranged;
Afterwards, the various parameters of this ROM-BIOS are stored in the memory module of the 1st memory bank that can carry out in-cycle work and not be labeled, carry out subsequent treatment again.
The method of described automatic switchover power on mode, it is characterized in that: after judging that these memory modules are without any mistake, the various parameters that this ROM-BIOS is stored with interlace mode, are written into respectively on the 1st and 2 memory banks in institute's mounted memory module;
Carry out follow-up start handling procedure again, to finish start smoothly.
The method of described automatic switchover power on mode is characterized in that: after the memory module of judging the 1st memory bank is labeled, stop boot program.
The method of described automatic switchover power on mode is characterized in that: after this computer is finished boot program, and the picture that the memory module of demonstration the 2nd memory bank has been damaged on the display of this computer.
The method of described automatic switchover power on mode is characterized in that: when judging that these memory modules do not have any mistake, then proceed follow-up start and handle.
The invention has the advantages that:
This method be provided with first power on mode and second the start mould show, wherein this first power on mode is in general power on mode, be provided with a spy software, this spy software is detected this memory module characteristic, wherein a memory module is wrong as if detecting, then this first power on mode being converted to the second start mould shows, and show that by this second start mould the various parameters with this ROM-BIOS are stored in the memory module that can carry out in-cycle work and not be labeled, use and improve the probability of finishing boot program.
For further understanding and understanding being arranged, for the embodiment conjunction with figs., be described in detail as follows now purpose of the present invention, shape, constructing apparatus feature and effect thereof:
Description of drawings
Fig. 1 is the synoptic diagram of dual inline memory module and slot thereof.
Fig. 2 is a process flow diagram of the present invention.
Embodiment
The present invention is a kind of method of the power on mode that automaticallyes switch, this method is in the ROM-BIOS of a computer, be provided with first power on mode and second the start mould show, wherein this first power on mode is in general power on mode, be provided with a spy software, this spy software is in this ROM-BIOS various parameters that it is stored, be written on the memory bank of motherboard of this computer before institute's mounted memory module, this memory module characteristic is detected, if this memory module does not have any mistake, carry out subsequent treatment again, otherwise this spy software is to vicious memory module, after carrying out mark, this first power on mode is converted to the second start mould to be shown, and this second the start mould show read these memory modules respectively after, give up the memory module that is labeled is arranged, and the various parameters of this ROM-BIOS are stored in the memory module that can carry out in-cycle work and not be labeled, so, this computer is only under all can carry out situation that the memory module of in-cycle work all damages, the situation that can't start shooting just can take place, as long as and can not take place to have memory module to damage situation about promptly can't start shooting, and then can improve the chance of finishing boot program as traditional power on mode.
In a preferred embodiment of the present invention, this second start mould shows and will be stored in the memory module that can carry out in-cycle work and not be labeled in various parameters, and after finishing boot program, this second start mould shows and will read these marks again, make this second start mould show and produce a message data according to these marks, and the set control circuit of the motherboard that is sent to this computer, make the display of this computer can show an error messages picture, this picture is to observe for the user, and as the foundation of keeping in repair this computer.In this embodiment, this second start mould is forced these memory modules to set individually independently configuration for earlier before being shown in and reading these memory modules, makes these memory modules carry out access respectively separately, carries out subsequent treatment again.
The computer that has the motherboard of Intel 815E chipset with present installation is a practical embodiments, this computer only only is installed in these memory modules in its 1st, 2 or 3 memory bank, can be written into the stored various parameters of this ROM-BIOS.In addition, if in the 1st, 2 and 3 memory banks, when all memory module being installed, this ROM-BIOS will be between the 1st and 2 memory banks, these memory modules are carried out interleaving access, and the various parameters that ROM-BIOS is stored, be stored in respectively in these memory modules, and be not stored in the memory module of the 3rd memory bank, if method of the present invention is used in the ROM-BIOS of this computer, see also shown in Figure 2ly, this ROM-BIOS will be handled according to the following step:
(201) at first, start this first power on mode;
(202) utilize this spy software, to the characteristic of institute's mounted memory module on the memory bank of the motherboard of this computer, detect, to judge these memory modules whether any mistake is arranged, if the step of carrying out (203) is arranged, otherwise according to carrying out step (211):
(203), carry out mark to vicious memory module;
(204) this first power on mode being converted to the second start mould shows;
(205) this second start mould shows the memory module that reads the 1st memory bank, judges whether it is that the memory module of the 1st memory bank is labeled, if then carry out step (206), otherwise carries out step (213);
(206) these memory modules are forced to set individually independently configuration for, make these memory modules can carry out access respectively separately;
(207) give up again the memory module that is labeled is arranged;
(208) then, the various parameters with this ROM-BIOS are stored in the memory module of the 1st memory bank that can carry out in-cycle work and not be labeled;
(209) carrying out follow-up start again handles;
(210) wait to finish start after, show the picture that the memory module of the 2nd memory bank has been damaged on the display of this computer;
(211) various parameters that this ROM-BIOS is stored with interlace mode, are written into respectively on the 1st and 2 memory banks in institute's mounted memory module;
(212) carry out follow-up start handling procedure again, to finish start smoothly;
(213) stop boot program.
By above-described step as can be known, when the memory module of this computer the 1st memory bank keeps normal condition, no matter whether the memory module of the 2nd memory bank is damaged, and this computer all can be finished boot program, so, can reduce the probability that this computer can't be started shooting.
The above only is a specific embodiment of the best of the present invention, but structural attitude of the present invention is not limited thereto, and anyly is familiar with this skill person in field of the present invention, can think easily and variation or modification, all be encompassed in the claim scope of this case.

Claims (8)

1, a kind of method of the power on mode that automaticallyes switch, it is characterized in that: in the ROM-BIOS of a computer, be provided with first power on mode and second the start mould show, wherein this first power on mode is in general power on mode, be provided with a spy software, after making this computer begin to start this ROM-BIOS, this ROM-BIOS is to handle according to the following step:
At first, this spy software is in this ROM-BIOS various parameters that it is stored, be written on the memory bank of motherboard of this computer before institute's mounted memory module, these memory module characteristics are detected, whether any mistake is arranged in order to judge these memory modules;
If it is wrong to detect these memory modules, then this spy software carries out mark to vicious memory module;
Again this first power on mode is converted to second the start mould show, and this second the start mould show read these memory modules respectively after, giving up has the memory module that is labeled;
Afterwards, various parameters are stored in the memory module that can carry out in-cycle work and not be labeled.
2, the method for automatic switchover power on mode according to claim 1, it is characterized in that: this second start mould shows and will be stored in the memory module that can carry out in-cycle work and not be labeled in various parameters, and after finishing boot program, this second start mould shows and will read these marks again, make this second start mould show and produce a message data according to these marks, and the set control circuit of the motherboard that is sent to this computer, make the display demonstration-error messages picture of this computer.
3, the method for automatic switchover power on mode according to claim 1, it is characterized in that: before this second start mould is shown in and reads these memory modules, earlier these memory modules are forced to set for individually independently configuration, make these memory modules carry out access respectively separately, carry out subsequent treatment again.
4, the method for automatic switchover power on mode according to claim 1, it is characterized in that: this computer is installed the motherboard with chipset, it is provided with one the 1st, 2,3 and 4 memory banks, and on the 1st and 2 memory banks, memory module is installed at least, and this ROM-BIOS will be handled according to the following step:
At first, this first power on mode is utilized this spy software, to the characteristic of institute's mounted memory module on the memory bank of the motherboard of this computer, detects, and to judge these memory modules whether any mistake is arranged;
If there is any one memory module wrong, then vicious memory module is carried out mark;
This first power on mode being converted to the second start mould shows again;
Afterwards, this second start mould shows the memory module that reads the 1st memory bank, judges whether it is that the memory module of the 1st memory bank is labeled;
If the memory module of the 1st memory bank is not labeled, then these memory modules are forced to set individually independently configuration for, make these memory modules carry out access respectively separately;
Give up again the memory module that is labeled is arranged;
Afterwards, the various parameters of this ROM-BIOS are stored in the memory module of the 1st memory bank that can carry out in-cycle work and not be labeled, carry out subsequent treatment again.
5, the method for automatic switchover power on mode according to claim 4, it is characterized in that: after judging that these memory modules are without any mistake, the various parameters that this ROM-BIOS is stored, with interlace mode, be written into respectively on the 1st and 2 memory banks in institute's mounted memory module;
Carry out follow-up start handling procedure again, to finish start smoothly.
6, the method for automatic switchover power on mode according to claim 4 is characterized in that: after the memory module of judging the 1st memory bank is labeled, stop boot program.
7, the method for automatic switchover power on mode according to claim 4 is characterized in that: after this computer is finished boot program, and the picture that the memory module of demonstration the 2nd memory bank has been damaged on the display of this computer.
8, the method for automatic switchover power on mode according to claim 1 is characterized in that: when judging that these memory modules do not have any mistake, then proceed follow-up start and handle.
CN 03153906 2003-08-20 2003-08-20 Method for automatic switching starting-up mode Expired - Fee Related CN1254741C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03153906 CN1254741C (en) 2003-08-20 2003-08-20 Method for automatic switching starting-up mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03153906 CN1254741C (en) 2003-08-20 2003-08-20 Method for automatic switching starting-up mode

Publications (2)

Publication Number Publication Date
CN1584826A true CN1584826A (en) 2005-02-23
CN1254741C CN1254741C (en) 2006-05-03

Family

ID=34597911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03153906 Expired - Fee Related CN1254741C (en) 2003-08-20 2003-08-20 Method for automatic switching starting-up mode

Country Status (1)

Country Link
CN (1) CN1254741C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401263C (en) * 2005-12-20 2008-07-09 英业达股份有限公司 Error checking system and method after turn-on machine
CN101206599B (en) * 2006-12-19 2011-04-06 深圳市顶星数码网络技术有限公司 Method for diagnosis and insulation of computer mainboard equipment
CN103425506A (en) * 2013-05-20 2013-12-04 华为技术有限公司 Powering off method, starting up method and communication terminal
CN105120322A (en) * 2015-08-31 2015-12-02 深圳市茁壮网络股份有限公司 Power-on method and power-on device of set top box
CN105159773A (en) * 2015-09-30 2015-12-16 联想(北京)有限公司 Information processing method and electronic equipment
CN107209671A (en) * 2015-01-21 2017-09-26 思科技术公司 The dynamic auto monitoring and control of start-up operation in computer

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401263C (en) * 2005-12-20 2008-07-09 英业达股份有限公司 Error checking system and method after turn-on machine
CN101206599B (en) * 2006-12-19 2011-04-06 深圳市顶星数码网络技术有限公司 Method for diagnosis and insulation of computer mainboard equipment
CN103425506A (en) * 2013-05-20 2013-12-04 华为技术有限公司 Powering off method, starting up method and communication terminal
US9489213B2 (en) 2013-05-20 2016-11-08 Huawei Technologies Co., Ltd. Shutdown method, startup method, and communication terminal
CN103425506B (en) * 2013-05-20 2016-12-07 华为技术有限公司 Closedown method and starting-up method and communication terminal
CN107209671A (en) * 2015-01-21 2017-09-26 思科技术公司 The dynamic auto monitoring and control of start-up operation in computer
CN105120322A (en) * 2015-08-31 2015-12-02 深圳市茁壮网络股份有限公司 Power-on method and power-on device of set top box
CN105120322B (en) * 2015-08-31 2018-07-24 深圳市茁壮网络股份有限公司 A kind of set-top-box opening method and device
CN105159773A (en) * 2015-09-30 2015-12-16 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN1254741C (en) 2006-05-03

Similar Documents

Publication Publication Date Title
CN101848000B (en) Decoding method, encoding method and starting control system
CN102135927B (en) Method and device for system booting based on NAND FLASH
CN1914598A (en) Semiconductor device and method for activating the same
CN1667755A (en) Semiconductor device with memory and method for memory test
CN1905068A (en) Non-volatile memory device having improved program speed and associated programming method
CN1933027A (en) Method and system for nand-flash identification
CN1315732A (en) Automatic test method and circuit for RAM
CN1959638A (en) Method and apparatus for memory initializing in a computer system
CN1832042A (en) Program verification for non-volatile memory
CN101078991A (en) BIOS read-write memory SPD based computer system information conservation and read method
US8250418B2 (en) Test mode for parallel load of address dependent data to enable loading of desired data backgrounds
CN1254741C (en) Method for automatic switching starting-up mode
CN1252730C (en) Storage circuit with test compression function
CN101957762A (en) Starting acceleration device, computer system with same and starting method thereof
CN103811065A (en) Non-volatile memory system
CN101187879B (en) Electronic system and data processing method thereof
CN110058973A (en) The test macro of data memory device and the test method of data memory device
CN1133174C (en) Semiconductor memory device and method of burn-in testing
CN111611112A (en) Storage and calculation integrated chip and method for improving yield of storage and calculation integrated chip
CN1719411A (en) Method of starting up computer by sequentially selecting memory module
CN1687912A (en) Method and apparatus for fast reading and writing memory data
CN1249579C (en) Loading method of computer starting preset value
CN112216333A (en) Chip testing method and device
CN1272712C (en) Method for determining delay time written into memry and its device
CN1304947C (en) Switching equipment of memory analog device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060503

Termination date: 20100820