[go: up one dir, main page]

CN1254741C - How to switch the boot mode automatically - Google Patents

How to switch the boot mode automatically Download PDF

Info

Publication number
CN1254741C
CN1254741C CN 03153906 CN03153906A CN1254741C CN 1254741 C CN1254741 C CN 1254741C CN 03153906 CN03153906 CN 03153906 CN 03153906 A CN03153906 A CN 03153906A CN 1254741 C CN1254741 C CN 1254741C
Authority
CN
China
Prior art keywords
memory module
mode
power
memory
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.)
Expired - Fee Related
Application number
CN 03153906
Other languages
Chinese (zh)
Other versions
CN1584826A (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

The invention relates to a method for automatically switching boot modes, which is characterized in that a computer is provided with a first boot mode and a second boot mode in a basic input/output system (BIOS), wherein the first boot mode is a general boot mode, the computer is provided with a detection software which detects the characteristics of a memory module, if one memory module has errors, the detection software marks the memory module with the errors, the first boot mode is converted into the second boot mode, the second boot mode discards the marked memory module, and various parameters of the basic input/output system are stored in the memory module which can be subjected to boot operation and is not marked, so that the probability of completing a boot program is improved.

Description

自动切换开机模式的方法How to switch the boot mode automatically

技术领域technical field

本发明涉及一种电脑开机程序,特别是一种自动切换开机模式的方法。The invention relates to a computer startup program, in particular to a method for automatically switching startup modes.

背景技术Background technique

请参阅图1所示,双直列存储器模块(Dual In-line Memory Modules,简称:DIMM)1与单直列存储器模块(Single In-line Memory Modules,简称:SIMM)是含有多组存储器芯片(Memory Chip)的小型电路板。双直列存储器模块1的配置格式有72、144及168个端子(pin),所谓“双(Dual)”表示金插头的左右边接到不同的信号,其内含随机存取存储器(Random AccessMemory,简称RAM)芯片,可以说是由两个单直列存储器模型合并而成,它像单直列存储器模块一样,也可以单面或双面制造。若将双直列存储器模块1安装在一主机板上,并不需成对的添加双直列存储器模块1,可以混合配对。例如,您可以将一条64百万位元组(Mega Byte,简称:MB)的双直列存储器模块1,加装在32MB双直列存储器模块1旁边的插槽2上。双直列存储器模块1与单直列存储器模块的差异在于,前者的电路板两侧的端子,各有其独立电路,而后者两侧的端子的电路是相连在一起的,意即,双直列存储器模块1两侧的端子,各有其特殊定义,而使其提供较宽的存取路径,让它的数据传输速度较单直列存储器模块快。Please refer to Figure 1. Dual In-line Memory Modules (DIMM for short) 1 and Single In-line Memory Modules (SIMM for short) contain multiple memory chips (Memory Chip) ) small circuit board. The configuration format of the dual in-line memory module 1 has 72, 144 and 168 terminals (pins). RAM for short) chip can be said to be formed by merging two single-in-line memory models. Like a single-in-line memory module, it can also be manufactured on one or both sides. If the dual in-line memory modules 1 are installed on a motherboard, it is not necessary to add the dual in-line memory modules 1 in pairs, and they can be mixed and paired. For example, you can add a 64 Mega Byte (Mega Byte, MB for short) dual in-line memory module 1 to the slot 2 next to the 32MB dual in-line memory module 1 . The difference between the dual in-line memory module 1 and the single in-line memory module is that the terminals on both sides of the circuit board of the former have their own independent circuits, while the circuits of the terminals on both sides of the latter are connected together, that is, the dual in-line memory module The terminals on both sides of 1 have their own special definitions, so that they can provide a wider access path, so that their data transmission speed is faster than that of a single in-line memory module.

以168个端子的双直列存储器模块1而言,对其存储器芯片的存取路径是64位元(bit),并,若中央处理器(Central Processing Unit,简称:CPU)的总线(BUS)一样是64位元的存取路径,便只需要对存储器做一次完整存取(Access)动作,所以一个主机板(Main Board,或称Mother Board)上,只需要一个双直列存储器模块1。且该双直列存储器模块1内还包括一个可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称:EPROM)供基本输出入系统(Basic Input Output System,简称:BIOS)储存各种参数,并根据所述参数,设定一芯片组(Chipset)达到最佳状态。在高阶个人电脑或是工作站上,使用的双直列存储器模块1则以200接脚为主,提供七十二位元的存取总线,其中六十四位元为数据本身,其余八位元作为错误检测码(Error Checking and Correction Code,简称:ECC)使用。For the dual in-line memory module 1 with 168 terminals, the access path of its memory chip is 64 bits (bit), and if the bus (BUS) of the central processing unit (Central Processing Unit, referred to as: CPU) is the same It is a 64-bit access path, and only one complete access (Access) operation is required for the memory, so only one dual in-line memory module 1 is required on a main board (Main Board, or Mother Board). And the dual in-line memory module 1 also includes an Erasable Programmable Read-Only Memory (EPROM for short) for the Basic Input Output System (BIOS) to store various parameters , and according to the parameters, set a chipset (Chipset) to achieve the best state. On high-end personal computers or workstations, the dual in-line memory module 1 used is mainly based on 200 pins, providing a 72-bit access bus, of which 64 bits are the data itself, and the remaining 8 bits It is used as Error Checking and Correction Code (ECC for short).

而基本输出入系统是电脑开机启动中最基本的,为主机板出厂时,将开机的各种基本参数或程序烧录在Flash ROM中,意即其最基本的功能就是用来存储电脑的基本设定值,同时使用者也可以通过基本输出入系统来设定开机模式及该电脑中各硬件的相关参数。一般电脑在开机时,该基本输出入系统会进行开机的检测工作(Power On Self Test),以确定电脑各硬件的基本组态。譬如,一般电脑开机时,该基本输出入系统会对存储器进行三次的存取测试(若设成enabled之后则只会做一次,可加快开机的时间),然后再将其储存各种参数,储存在该双直列存储器模块1的可擦除可编程只读存储器中,令后续启动的软件(如:作业系统),可取得该电脑的各硬件的组态设定值。The basic input and output system is the most basic in the booting of the computer. When the motherboard leaves the factory, various basic parameters or programs for booting are burned in the Flash ROM, which means that its most basic function is to store the basic information of the computer. At the same time, the user can also set the boot mode and the relevant parameters of each hardware in the computer through the basic input and output system. Generally, when the computer is turned on, the basic input and output system will perform a power on self test (Power On Self Test) to determine the basic configuration of each hardware of the computer. For example, when a general computer is turned on, the basic input and output system will perform three access tests on the memory (if it is set to enabled, it will only be done once, which can speed up the boot time), and then store various parameters in it. In the erasable programmable read-only memory of the dual in-line memory module 1 , subsequent startup software (such as operating system) can obtain the configuration setting values of each hardware of the computer.

以目前大部分电脑而言,其主机板大都使用Intel 815E芯片组,该芯片组只有支援3个双直列存储器模块1的插槽2,共6个存储地址线(CSA#0~CSA#5),或称为存储库(banks),但是所述电脑为了提供较弹性的使用方式,而将其主机板的第3个插槽2及第4个插槽2,共用存储器地址信号CSA#4与CSA#5。因为这样的设计,所以当同时须使用第3个插槽2及第4个插槽2时,必须只使用1个存储库(banks)的同步动态随机存取存储器(SynchronousDynamic Random Access Memory,简称:SDRAM),通常为单面的SDRAM模块,否则基本输出入系统只会检测到第3个插槽2上的存储器容量,而无法检测到第4个插槽2上的存储器容量。As far as most computers are concerned, most of their motherboards use the Intel 815E chipset, which only supports 3 slots 2 of dual in-line memory modules 1, and a total of 6 memory address lines (CSA#0~CSA#5) , or called memory bank (banks), but in order to provide a more flexible way of use, the computer uses the third slot 2 and the fourth slot 2 of its motherboard to share the memory address signal CSA#4 and CSA #5. Because of this design, when the third slot 2 and the fourth slot 2 must be used at the same time, only one bank of Synchronous Dynamic Random Access Memory (Synchronous Dynamic Random Access Memory, referred to as: SDRAM), usually a single-sided SDRAM module, otherwise the BIOS will only detect the memory capacity on the third slot 2, but cannot detect the memory capacity on the fourth slot 2.

另一方面,如果只使用一条双直列存储器模块1于电脑上,该双直列存储器模块1必须安装于第1、2或3个插槽2内,否则基本输出入系统所储存各种参数,将无法在电脑开机时,载入所述插槽3的双直列存储器模块1中,造成电脑会无法顺利完成开机程序。此外,第1及2个插槽2的组态是被设置为成对状态,若该第1及2个插槽2中,皆有安装双直列存储器模块1时,该基本输出入系统将在该第1及2个插槽2间,对所述双直列存储器模块1进行交叉存取,而将基本输出入系统所储存的各种参数,分别储存在所述双直列存储器模块1中。On the other hand, if only one dual-in-line memory module 1 is used on the computer, the dual-in-line memory module 1 must be installed in the first, second or third slot 2, otherwise the various parameters stored in the BIOS will be lost. When the computer is turned on, it cannot be loaded into the dual in-line memory module 1 in the slot 3, so that the computer cannot successfully complete the booting process. In addition, the configuration of the first and second slots 2 is set as a pair, if the first and second slots 2 are equipped with dual in-line memory modules 1, the BIOS will be in the Between the first and second slots 2, the dual in-line memory module 1 is interleaved, and various parameters stored in the basic I/O system are stored in the dual in-line memory module 1 respectively.

但,该基本输出入系统在将其所储存的各种参数载入所述双直列存储器模块1前,是会对所述双直列存储器模块1进行多次存取测试,其只要有一次检测到安装于第1或2个插槽2内的双直列存储器模块1,有损坏状态或存取错误的状况后,该基本输出入系统将不会再把其所储存的各种参数载入所述双直列存储器模块1中,令该电脑无法顺利完成开机程序,将造成使用上的困扰及诸多不便。However, before the BIOS loads the various parameters stored in it into the dual in-line memory module 1, it will perform multiple access tests on the dual in-line memory module 1, as long as it detects once After the dual in-line memory module 1 installed in the first or second slot 2 has a damaged state or an access error, the BIOS will no longer load its stored parameters into the In the dual in-line memory module 1, the computer cannot successfully complete the boot process, which will cause confusion and inconvenience in use.

发明内容Contents of the invention

有鉴于传统基本输出入系统检测到第1或2个插槽所安装的双直列存储器模块,有损坏状态或存取错误的状况后,将无法顺利完成开机程序的缺点,发明人经过长久努力研究与实验,终于开发设计出本发明的一种自动切换开机模式的方法。In view of the shortcomings that the traditional BIOS cannot successfully complete the boot process after detecting that the dual in-line memory module installed in the first or second slot has a damaged state or an access error, the inventor has worked hard for a long time And experiment, finally develop and design a kind of method of switching power-on mode automatically of the present invention.

本发明所要解决的技术问题是,提供一种可提高完成开机程序机率的自动切换开机模式的方法。The technical problem to be solved by the present invention is to provide a method for automatically switching the boot mode that can increase the probability of completing the boot procedure.

实现本发明的自动切换开机模式的方法的技术方案如下:The technical scheme that realizes the method for automatically switching boot modes of the present invention is as follows:

一种自动切换开机模式的方法,其特征是:在一电脑的基本输出入系统中,设有第一开机模式及第二开机模式,其中该第一开机模式是于一般开机模式中,设有一检测软件,使所述电脑开始启动该基本输出入系统后,该基本输出入系统是依照下列步骤进行处理:A method for automatically switching boot modes, characterized in that: a basic input and output system of a computer is provided with a first boot mode and a second boot mode, wherein the first boot mode is set in a normal boot mode. After detecting the software so that the computer starts to start the BIOS, the BIOS is processed according to the following steps:

首先,所述检测软件在该基本输出入系统将其所储存的各种参数载入该电脑的主机板的存储器插槽上所安装的存储器模块前,对所述存储器模块特性进行检测,用以判断所述存储器模块是否有任何错误;First, before the BIOS loads various stored parameters into the memory module installed on the memory slot of the motherboard of the computer, the detection software detects the characteristics of the memory module for determining whether the memory module has any errors;

若检测到所述存储器模块有错误,则该检测软件对有错误的存储器模块,进行标记;If it is detected that the memory module has errors, the detection software will mark the memory modules with errors;

再将所述第一开机模式转换至第二开机模式,而该第二开机模式分别读取所述存储器模块后,舍弃有被标记的存储器模块;Then switch the first boot mode to a second boot mode, and discard the marked memory modules after reading the memory modules respectively in the second boot mode;

然后,将各种参数储存在可进行开机作业且未被标记的存储器模块内。Various parameters are then stored in an unmarked memory module that can be powered on.

所述的自动切换开机模式的方法,其特征是:所述第二开机模式将在各种参数储存在可进行开机作业且未被标记的存储器模块,并完成开机程序后,该第二开机模式将再读取所述标记,使得该第二开机模式根据所述标记产生一信息数据,并传送到该电脑的主机板所设的控制电路,令该电脑的显示器显示—错误信息画面。The method for automatically switching boot modes is characterized in that: the second boot mode will store various parameters in a memory module that can perform boot operations and is not marked, and after the boot procedure is completed, the second boot mode will The mark will be read again, so that the second power-on mode will generate an information data according to the mark, and send it to the control circuit set on the motherboard of the computer, so that the display of the computer will display an error message screen.

所述的自动切换开机模式的方法,其特征是:所述第二开机模式在读取所述存储器模块前,先将所述存储器模块强制设定成个别独立的组态,令所述存储器模块分别单独进行存取,再进行后续处理。The method for automatically switching the boot mode is characterized in that: before the second boot mode reads the memory module, the memory module is forcibly set to an individual independent configuration, so that the memory module Separate access and subsequent processing.

所述的自动切换开机模式的方法,其特征是:所述电脑安装具有芯片组的主机板,其设有一第一、二、三及四存储器插槽,且至少在第一及二存储器插槽上安装有存储器模块,而所述基本输出入系统将依照下列步骤进行处理:The method for automatically switching boot modes is characterized in that: the computer is equipped with a motherboard with a chipset, which is provided with a first, second, third and fourth memory slots, and at least the first and second memory slots A memory module is installed on the system, and the BIOS will be processed according to the following steps:

首先,所述第一开机模式利用所述检测软件,对该电脑的主机板的存储器插槽上所安装的存储器模块的特性,进行检测,以判断所述存储器模块是否有任何错误;First, the first boot mode uses the detection software to detect the characteristics of the memory module installed on the memory slot of the motherboard of the computer to determine whether the memory module has any errors;

若有任何一个存储器模块有错误,则对有错误的存储器模块进行标记;If any memory module has an error, then mark the memory module with error;

再将该第一开机模式转换至第二开机模式;Then switch the first boot mode to the second boot mode;

然后,该第二开机模式读取第一存储器插槽的存储器模块,判断是否是第一存储器插槽的存储器模块被标记;Then, the second boot mode reads the memory module of the first memory slot, and judges whether the memory module of the first memory slot is marked;

若第一存储器插槽的存储器模块未被标记,则将所述存储器模块强制设定成个别独立的组态,令所述存储器模块分别单独进行存取;If the memory module of the first memory slot is not marked, the memory module is forcibly set to an individual independent configuration, so that the memory module is individually accessed;

再舍弃有被标记的存储器模块;Then discard the marked memory module;

然后,将所述基本输出入系统的各种参数储存在可进行开机作业且未被标记的第一存储器插槽的存储器模块内,再进行后续处理。Then, various parameters of the basic input/output system are stored in the memory module of the unmarked first memory slot capable of booting operation, and then subsequent processing is performed.

所述的自动切换开机模式的方法,其特征是:当判断所述存储器模块没有任何错误后,将所述基本输出入系统所储存的各种参数,以交叉存取方式,分别载入该第一及二存储器插槽上所安装的存储器模块内;The method for automatically switching the boot mode is characterized in that: after judging that there is no error in the memory module, loading various parameters stored in the basic input and input system into the first Inside the memory modules installed on the first and second memory slots;

再进行后续开机处理程序,以顺利完成开机。And then carry out the follow-up boot processing procedure, so as to successfully complete the boot.

所述的自动切换开机模式的方法,其特征是:当判断出第一存储器插槽的存储器模块被标记后,停止开机程序。The method for automatically switching the boot mode is characterized in that: when it is judged that the memory module in the first memory slot is marked, the boot procedure is stopped.

所述的自动切换开机模式的方法,其特征是:所述电脑完成开机程序后,所述电脑的显示器上显示所述第二存储器插槽的存储器模块己损坏的画面。The method for automatically switching the boot mode is characterized in that: after the computer completes the boot procedure, a screen showing that the memory module of the second memory slot has been damaged is displayed on the monitor of the computer.

所述的自动切换开机模式的方法,其特征是:当判断所述存储器模块无任何错误时,则继续进行后续开机处理。The method for automatically switching the boot mode is characterized in that: when it is judged that the memory module has no errors, then proceed with subsequent boot processing.

本发明的优点在于:The advantages of the present invention are:

该方法是设有第一开机模式及第二开机模式,其中所述第一开机模式是于一般开机模式中,设有一检测软件,该检测软件对所述存储器模块特性进行检测,若检测到其中一存储器模块有错误,则将所述第一开机模式转换至第二开机模式,而由所述第二开机模式将所述基本输出入系统的各种参数储存在可进行开机作业且未被标记的存储器模块内,以提高完成开机程序的机率。The method is provided with a first boot mode and a second boot mode, wherein the first boot mode is in the normal boot mode, and a detection software is provided, and the detection software detects the characteristics of the memory module, if detected If there is an error in a memory module, the first boot mode is converted to the second boot mode, and the various parameters of the basic input and output system are stored in the boot operation and unmarked by the second boot mode. in the memory module to improve the probability of completing the boot process.

为能对本发明的目的、形状、构造装置特征及其功效,有更进一步的认识与了解,兹举实施例配合附图,详细说明如下:In order to have a further understanding and understanding of the purpose of the present invention, shape, structure, device features and effects thereof, the following examples are given in conjunction with the accompanying drawings, and detailed descriptions are as follows:

附图说明Description of drawings

图1是双直列存储器模块及其插槽的示意图;FIG. 1 is a schematic diagram of a dual in-line memory module and its slot;

图2是本发明的流程图。Fig. 2 is a flow chart of the present invention.

具体实施方式Detailed ways

本发明是一种自动切换开机模式的方法,该方法是在一电脑的基本输出入系统中,设有第一开机模式及第二开机模式,其中该第一开机模式是于一般开机模式中,设有一检测软件,该检测软件在所述基本输出入系统将其所储存的各种参数载入该电脑的主机板的存储器插槽上所安装的存储器模块前,对该存储器模块特性进行检测,若该存储器模块无任何错误,再进行后续处理,否则该检测软件对有错误的存储器模块进行标记后,将所述第一开机模式转换至第二开机模式,而该第二开机模式分别读取所述存储器模块后,舍弃被标记的存储器模块,而将所述基本输出入系统的各种参数储存在可进行开机作业且未被标记的存储器模块内,如此,该电脑仅在所有可进行开机作业的存储器模块都损坏的情形下,才会发生无法开机的情形,而不会如传统开机模式发生只要有存储器模块损坏即无法开机的情况,进而可提高完成开机程序的机会。The present invention is a method for automatically switching boot modes. The method is to set a first boot mode and a second boot mode in a basic input/output system of a computer, wherein the first boot mode is in the normal boot mode, A detection software is provided, and the detection software detects the characteristics of the memory module before the various parameters stored in the basic input-output system are loaded into the memory module installed on the memory slot of the motherboard of the computer, If there is no error in the memory module, follow-up processing is performed; otherwise, after the detection software marks the memory module with errors, it converts the first power-on mode to the second power-on mode, and the second power-on mode respectively reads After the memory module, the marked memory module is discarded, and various parameters of the basic input and output system are stored in an unmarked memory module that can be started. Only when all the memory modules of the operation are damaged, the system will fail to boot, unlike the traditional boot mode where the system cannot be powered on as long as a memory module is damaged, thereby improving the chance of completing the boot process.

在本发明的一较佳实施例中,所述第二开机模式将在各种参数储存在可进行开机作业且未被标记的存储器模块,并完成开机程序后,该第二开机模式将再读取所述标记,使得该第二开机模式根据所述标记产生一信息数据,并传送到该电脑的主机板所设的控制电路,令该电脑的显示器可显示一错误信息画面,该画面是供使用者观察,并作为维修该电脑的依据。在该实施例中,所述第二开机模式在读取所述存储器模块前,先将所述存储器模块强制设定成个别独立的组态,令所述存储器模块可分别单独进行存取,再进行后续处理。In a preferred embodiment of the present invention, the second boot mode will be read again after various parameters are stored in an unmarked memory module that can perform boot operations and the boot procedure is completed. Get the mark, so that the second power-on mode generates a piece of information data according to the mark, and send it to the control circuit set on the motherboard of the computer, so that the display of the computer can display an error message screen, which is for The user observes and serves as the basis for repairing the computer. In this embodiment, before the second power-on mode reads the memory module, the memory module is forced to be set to an individual independent configuration, so that the memory module can be accessed independently, and then Follow up.

以目前安装具有Intel 815E芯片组的主机板的电脑为实际实施例而言,该电脑仅只有被安装于其第一、二或三存储器插槽内的所述存储器模块,可被载入该基本输出入系统所储存各种参数。此外,若所述第一、二及三存储器插槽中,皆有安装有存储器模块时,所述基本输出入系统将在该第二及三存储器插槽间,对所述存储器模块进行交叉存取,并将基本输出入系统所储存的各种参数,分别储存在所述存储器模块中,而不储存在所述第三存储器插槽的存储器模块内,倘若本发明的方法运用在该电脑的基本输出入系统中,请参阅图2,该基本输出入系统将依照下列步骤进行处理:Taking a computer currently equipped with a motherboard with an Intel 815E chipset as an actual example, the computer only has the memory modules installed in its first, second or third memory slots, which can be loaded into the basic Input and output various parameters stored in the system. In addition, if memory modules are installed in the first, second and third memory slots, the BIOS will interleave memory modules between the second and third memory slots. The various parameters stored in the basic input and output system are stored in the memory module, but not stored in the memory module of the third memory slot, if the method of the present invention is applied to the computer In the basic input output system, please refer to Figure 2, the basic input output system will be processed according to the following steps:

步骤201,首先,启动所述第一开机模式;Step 201, first, start the first boot mode;

步骤202,利用所述检测软件,对该电脑的主机板的存储器插槽上所安装的存储器模块的特性进行检测,以判断所述存储器模块是否有任何错误,若有进行步骤203,否则依照进行步骤211;Step 202, using the detection software to detect the characteristics of the memory module installed on the memory slot of the motherboard of the computer, to determine whether the memory module has any errors, if there is any error, proceed to step 203, otherwise proceed to Step 211;

步骤203,对有错误的存储器模块进行标记;Step 203, marking the memory modules with errors;

步骤204,将所述第一开机模式转换至第二开机模式;Step 204, converting the first boot mode to a second boot mode;

步骤205,该第二开机模式读取第一存储器插槽的存储器模块,判断是否是第一存储器插槽的存储器模块被标记,若是则进行步骤206,否则进行步骤213;Step 205, the second boot mode reads the memory module of the first memory slot, and judges whether the memory module of the first memory slot is marked, if so, proceed to step 206, otherwise proceed to step 213;

步骤206,将所述存储器模块强制设定成个别独立的组态,令所述存储器模块可分别单独进行存取;Step 206, forcibly setting the memory modules into individual independent configurations, so that the memory modules can be accessed separately;

步骤207,再舍弃被标记的存储器模块;Step 207, discarding the marked memory module;

步骤208,然后,将所述基本输出入系统的各种参数储存在可进行开机作业且未被标记的第一存储器插槽的存储器模块内;Step 208, and then, storing various parameters of the BIOS in the memory module of the unmarked first memory slot that can be started;

步骤209,再进行后续开机处理;Step 209, and then perform subsequent boot processing;

步骤210,待完成开机后,所述电脑的显示器上显示所述第二存储器插槽的存储器模块已损坏的画面;Step 210, after the booting is completed, the display of the computer displays a picture that the memory module of the second memory slot is damaged;

步骤211,将所述基本输出入系统所储存的各种参数,以交叉存取方式,分别载入该第一及二存储器插槽上所安装的存储器模块内;Step 211, loading various parameters stored in the basic input-output system into the memory modules installed on the first and second memory slots in an interleaved manner;

步骤212,再进行后续开机处理程序,以顺利完成开机;Step 212, and then carry out the follow-up boot processing procedure to successfully complete the boot;

步骤213,停止开机程序。Step 213, stop the booting procedure.

通过上述的步骤可知,当所述电脑第一存储器插槽的存储器模块保持正常状态,无论所述第二存储器插槽的存储器模块是否损坏,该电脑都可完成开机程序,如此,将可降低该电脑无法开机的机率。Through the above steps, it can be seen that when the memory module in the first memory slot of the computer remains in a normal state, no matter whether the memory module in the second memory slot is damaged, the computer can complete the boot procedure, thus reducing the Chances of the computer not turning on.

以上所述,仅为本发明最佳的一具体实施例,但本发明的构造特征并不局限于此,任何熟悉该项技艺者在本发明领域内,可轻易思及的变化或修饰,皆涵盖在本案的权利要求范围内。The above is only the best specific embodiment of the present invention, but the structural features of the present invention are not limited thereto, and any changes or modifications that can be easily conceived by those skilled in the art within the field of the present invention are all within the scope of the claims in 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 power on mode, wherein this first power on mode is in general power on mode, be provided with one and detect software, after making described computer begin to start this ROM-BIOS, this ROM-BIOS is to handle according to the following step:
At first, described detection software is written on the memory bank of motherboard of this computer before institute's mounted memory module in this ROM-BIOS various parameters that it is stored, described memory module characteristic is detected, whether any mistake is arranged in order to judge described memory module;
If it is wrong to detect described memory module, then this detection software carries out mark to vicious memory module;
Again described first power on mode is converted to second power on mode, and after this second power on mode reads described memory module respectively, gives up the memory module that is labeled;
Then, 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: described second power on mode 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 power on mode will read described mark again, make this second power on mode produce an information data according to described mark, and the set control circuit of the motherboard that is sent to this computer, make the display demonstration-error message picture of this computer.
3, the method for automatic switchover power on mode according to claim 1, it is characterized in that: described second power on mode is before reading described memory module, earlier described memory module is forced to set for individually independently configuration, make described memory module 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: described computer is installed the motherboard with chipset, it is provided with first, second and third and four memory banks, and on first and two memory banks, memory module is installed at least, and described ROM-BIOS will be handled according to the following step:
At first, described first power on mode is utilized described detection software, and the characteristic of institute's mounted memory module on the memory bank of the motherboard of this computer is detected, and to judge described memory module whether any mistake is arranged;
If there is any one memory module wrong, then vicious memory module is carried out mark;
Again this first power on mode is converted to second power on mode;
Then, this second power on mode reads the memory module of first memory slot, judges whether it is that the memory module of first memory slot is labeled;
If the memory module of first memory slot is not labeled, then described memory module is forced to set individually independently configuration for, make described memory module carry out access respectively separately;
Give up the memory module that is labeled again;
Then, the various parameters of described ROM-BIOS are stored in the memory module of the first memory slot 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 described memory module is without any mistake, the various parameters that described ROM-BIOS is stored, with interlace mode, be written into respectively on described first and two 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 first memory slot is labeled, stop boot program.
7, the method for automatic switchover power on mode according to claim 4 is characterized in that: after described computer is finished boot program, show the picture of oneself damage of memory module of described second memory slot on the display of described computer.
8, the method for automatic switchover power on mode according to claim 1 is characterized in that: when judging that described memory module does not have any mistake, then proceed follow-up start and handle.
CN 03153906 2003-08-20 2003-08-20 How to switch the boot mode automatically 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 How to switch the boot mode automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03153906 CN1254741C (en) 2003-08-20 2003-08-20 How to switch the boot mode automatically

Publications (2)

Publication Number Publication Date
CN1584826A CN1584826A (en) 2005-02-23
CN1254741C true 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 How to switch the boot mode automatically

Country Status (1)

Country Link
CN (1) CN1254741C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401263C (en) * 2005-12-20 2008-07-09 英业达股份有限公司 Startup error checking system and method
CN101206599B (en) * 2006-12-19 2011-04-06 深圳市顶星数码网络技术有限公司 Method for diagnosis and insulation of computer mainboard equipment
CN103425506B (en) 2013-05-20 2016-12-07 华为技术有限公司 Closedown method and starting-up method and communication terminal
US9678762B2 (en) * 2015-01-21 2017-06-13 Cisco Technology, Inc. Dynamic, automated monitoring and controlling of boot operations in computers
CN105120322B (en) * 2015-08-31 2018-07-24 深圳市茁壮网络股份有限公司 A kind of set-top-box opening method and device
CN105159773B (en) * 2015-09-30 2021-06-15 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN1584826A (en) 2005-02-23

Similar Documents

Publication Publication Date Title
TWI447733B (en) Methods for calculating compensating voltage and adjusting threshold voltage and memory apparatus and controller
CN1261868C (en) Computer Quick Start Method
US8341491B2 (en) System and method for providing data integrity in a non-volatile memory system
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
WO2011063756A1 (en) Method and system for diagnosing apparatus
CN1254741C (en) How to switch the boot mode automatically
CN102237139B (en) Method for calculating compensation voltage and adjusting threshold voltage, memory device and controller
TWI665606B (en) A system and a method for testing a data storage device
CN101042654A (en) Method and apparatus for booting from a non-local execution memory
CN1252730C (en) Storage circuit with test compression function
CN101078991A (en) BIOS read-write memory SPD based computer system information conservation and read method
CN1464421A (en) Online loading process for on site programmable gate array
TWI814501B (en) Mapping table re-building method, memory storage device and memory control circuit unit
CN1164991C (en) Method for instantly raising and lowering CPU frequency
CN101187879A (en) Electronic system and its data processing method
US7162627B2 (en) Method of sequentially selecting bootable memory module for booting
CN1249579C (en) The method of loading the preset value of computer startup
CN1700662A (en) System and method for testing digital communication signal processing single board
CN1315050C (en) A method for detecting PC Card interface data line and address line
CN205721749U (en) Structure with dynamic configuration of error correction code
WO2019205453A1 (en) Blank page inspection system for flash memory related master control terminal control apparatus
CN1595372A (en) A Method of Improving BIOS Execution
CN1719411A (en) How to select bootable memory modules sequentially for booting
CN1277212C (en) Dynamic random access memory initialization setting system and method
TW576965B (en) Method for automatically switching booting mode

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