CN116107802A - Automatic clearing CMOS control method and automatic clearing CMOS circuit - Google Patents
Automatic clearing CMOS control method and automatic clearing CMOS circuit Download PDFInfo
- Publication number
- CN116107802A CN116107802A CN202211437280.3A CN202211437280A CN116107802A CN 116107802 A CN116107802 A CN 116107802A CN 202211437280 A CN202211437280 A CN 202211437280A CN 116107802 A CN116107802 A CN 116107802A
- Authority
- CN
- China
- Prior art keywords
- processor
- cmos
- bios
- power supply
- circuit
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
本发明公开一种自动清除CMOS控制方法及自动清除CMOS电路,该自动清除CMOS控制方法包括:步骤S100、获取处理器输出的诊断信号;步骤S200、在根据诊断信号确定处理器的BIOS异常时,触发所述处理器进行清除CMOS处理。本发明可以解决现有的清除CMOS方案实用性差的问题。
The invention discloses a control method for automatically clearing CMOS and an automatic CMOS circuit. The control method for automatically clearing CMOS includes: step S100, acquiring a diagnostic signal output by a processor; step S200, when determining that the BIOS of the processor is abnormal according to the diagnostic signal, triggering the processor to clear CMOS. The invention can solve the problem of poor practicability of the existing CMOS clearing scheme.
Description
技术领域technical field
本发明涉及处理器技术领域,特别涉及一种自动清除CMOS控制方法及自动清除CMOS电路。The invention relates to the technical field of processors, in particular to an automatic clearing CMOS control method and an automatic clearing CMOS circuit.
背景技术Background technique
随着科技的进步,工控行业通常会配备控制设备对作业设备进行控制,然而大部分工控场合,受控于成本限制,无法给每台控制设备配UPS电源,导致异常掉电场景的存在,或者,大部份工控场景都是直接采用拉闸下电。而Intel平台的CPU,在异常掉电的情况下,有概率会出现CMOS数据异常导致无法开机的情况,进而导致设备概率性无法开机,设备无法开机则意味着产线停线,这无疑极大地影响了用户的收益。现有的清除CMOS方案通常是在面板上引出CMOS复位按键,在出问题时,人为去断电,拆电池,再去清CMOS,整个过程十分麻烦。另一种清除CMOS方案则是在上下电过程中,不管CMOS数据是否异常,直接清除CMOS,然而这会导致每次开机系统时间都会丢失,且开机时间都会变长。With the advancement of technology, the industrial control industry is usually equipped with control equipment to control the operating equipment. However, most industrial control occasions are limited by cost and cannot be equipped with UPS power supply for each control equipment, resulting in the existence of abnormal power-off scenarios, or , Most of the industrial control scenarios are directly powered off by pulling the switch. On the other hand, the CPU on the Intel platform, in the case of an abnormal power failure, may have abnormal CMOS data and cannot be turned on, which may cause the device to fail to start. affect the user's income. The existing solution for clearing CMOS is usually to draw a CMOS reset button on the panel. When something goes wrong, it is very troublesome to manually cut off the power, remove the battery, and then clear the CMOS. Another solution for clearing CMOS is to clear CMOS directly during the power-on and power-off process, regardless of whether the CMOS data is abnormal.
发明内容Contents of the invention
本发明的主要目的是提出一种自动清除CMOS控制方法,旨在解决现有的清除CMOS方案实用性差的问题。The main purpose of the present invention is to propose a control method for automatically clearing CMOS, aiming at solving the problem of poor practicability of the existing schemes for clearing CMOS.
为实现上述目的,本发明提出的自动清除CMOS控制方法,包括:In order to achieve the above object, the automatic clearing CMOS control method proposed by the present invention includes:
步骤S100、获取处理器输出的诊断信号;Step S100, acquiring a diagnostic signal output by the processor;
步骤S200、在根据诊断信号确定处理器的BIOS异常时,触发所述处理器进行清除CMOS处理。Step S200, when it is determined according to the diagnostic signal that the BIOS of the processor is abnormal, triggering the processor to clear the CMOS.
可选地,所述步骤S200具体包括:Optionally, the step S200 specifically includes:
步骤S211、在处理器的BIOS异常时,输出复位信号至处理器,以使处理器进行复位处理,并重新获取处理器输出的诊断信号;Step S211, when the BIOS of the processor is abnormal, output a reset signal to the processor, so that the processor performs reset processing, and reacquires the diagnostic signal output by the processor;
步骤S212、在所述处理器的BIOS仍处于异常状态时,触发所述处理器进行清除CMOS处理。Step S212 , when the BIOS of the processor is still in an abnormal state, trigger the processor to clear CMOS.
可选地,所述步骤S200具体包括:Optionally, the step S200 specifically includes:
步骤S213、在处理器的BIOS异常时,输出复位信号至处理器,以使处理器进行复位处理,并重新获取处理器输出的诊断信号;Step S213, when the BIOS of the processor is abnormal, output a reset signal to the processor, so that the processor performs reset processing, and reacquires the diagnostic signal output by the processor;
在所述处理器的BIOS仍处于异常状态时,重复执行步骤S213直至处理器的BIOS正常或达到预设次数;When the BIOS of the processor is still in an abnormal state, repeat step S213 until the BIOS of the processor is normal or reaches a preset number of times;
在所述处理器的BIOS在重复执行步骤S213达到预设次数后仍处于异常状态时,触发所述处理器进行清除CMOS处理。When the BIOS of the processor is still in an abnormal state after repeatedly executing step S213 for a preset number of times, the processor is triggered to clear the CMOS.
可选地,所述步骤S200之前还包括:Optionally, before the step S200, it also includes:
在根据诊断信号确定处理器的BIOS异常时,控制供电电源停止为处理器供电。When it is determined that the BIOS of the processor is abnormal according to the diagnosis signal, the power supply is controlled to stop supplying power to the processor.
本发明还提出一种自动清除CMOS电路,包括:The present invention also proposes an automatic clearing CMOS circuit, comprising:
清除CMOS电路,所述清除CMOS电路的输出端与处理器的CMOS复位端连接,所述清除CMOS电路用于在接收到清除CMOS信号时,输出CMOS复位信号至处理器,以驱动处理器进行清除CMOS处理;Clearing the CMOS circuit, the output end of the clearing CMOS circuit is connected to the CMOS reset terminal of the processor, and the clearing CMOS circuit is used to output the CMOS reset signal to the processor when receiving the clearing CMOS signal, so as to drive the processor to clear CMOS processing;
控制器,所述控制器的接收端与处理器的BIOS端连接,所述控制器的第一控制端与所述清除CMOS电路的受控端连接,所述控制器用于执行自动清除CMOS控制程序,以实现上述的自动清除CMOS控制方法。A controller, the receiving end of the controller is connected to the BIOS end of the processor, the first control end of the controller is connected to the controlled end of the clearing CMOS circuit, and the controller is used to execute the automatic clearing CMOS control program , so as to realize the above-mentioned automatic clearing CMOS control method.
可选地,所述控制器的信号输出端与处理器的复位端连接,所述控制器还用于根据处理器输出的诊断信号,判断处理器的BIOS工作状态,并在处理器BIOS异常时,输出复位信号至处理器,以使处理器进行复位处理。Optionally, the signal output terminal of the controller is connected to the reset terminal of the processor, and the controller is also used for judging the BIOS working state of the processor according to the diagnostic signal output by the processor, and when the BIOS of the processor is abnormal, , outputting a reset signal to the processor, so that the processor performs reset processing.
可选地,所述自动清除CMOS电路还包括:Optionally, the automatic clearing CMOS circuit also includes:
处理器供电电路,所述处理器供电电路的输入端与供电电源连接,所述处理器供电电路的输出端与处理器的供电端连接,所述处理器供电电路的受控端与所述控制器的第二控制端连接,所述处理器供电电路用于在导通时,控制供电电源与处理器电连接,以使供电电源为处理器供电;A processor power supply circuit, the input end of the processor power supply circuit is connected to the power supply, the output end of the processor power supply circuit is connected to the power supply end of the processor, the controlled end of the processor power supply circuit is connected to the control connected to the second control terminal of the processor, and the processor power supply circuit is used to control the electrical connection between the power supply and the processor when it is turned on, so that the power supply supplies power to the processor;
所述控制器还用于根据处理器输出的诊断信号,判断处理器的BIOS工作状态,并在处理器BIOS异常时,控制所述处理器供电电路关断,以使供电电源停止为处理器供电。The controller is also used to judge the BIOS working state of the processor according to the diagnostic signal output by the processor, and control the power supply circuit of the processor to shut down when the BIOS of the processor is abnormal, so that the power supply stops supplying power to the processor .
可选地,所述自动清除CMOS电路还包括:Optionally, the automatic clearing CMOS circuit also includes:
时钟电路,所述时钟电路与处理器电连接,所述时钟电路用于输出时钟信号至处理器,以使处理器进行时钟校准处理。A clock circuit, the clock circuit is electrically connected to the processor, and the clock circuit is used to output a clock signal to the processor, so that the processor performs clock calibration processing.
可选地,所述自动清除CMOS电路还包括:Optionally, the automatic clearing CMOS circuit also includes:
清除CMOS供电电路,所述清除CMOS供电电路的输入端与供电电源连接,所述清除CMOS供电电路的输出端与所述清除CMOS电路的供电端连接,所述清除CMOS供电电路的受控端与所述控制器的第三控制端连接,所述清除CMOS供电电路用于在导通时,控制供电电源与清除CMOS电路电连接,以使供电电源为清除CMOS电路供电;Clear the CMOS power supply circuit, the input end of the clear CMOS power supply circuit is connected to the power supply, the output end of the clear CMOS power supply circuit is connected to the power supply end of the clear CMOS circuit, the controlled end of the clear CMOS power supply circuit is connected to the The third control terminal of the controller is connected, and the clearing CMOS power supply circuit is used to control the electrical connection between the power supply and the clearing CMOS circuit when it is turned on, so that the power supply supplies power to the clearing CMOS circuit;
所述控制器还用于根据处理器输出的诊断信号,判断处理器的BIOS工作状态,并在处理器BIOS异常时,控制所述清除CMOS供电电路关断,以使供电电源停止为清除CMOS供电电路供电。The controller is also used to judge the BIOS working state of the processor according to the diagnostic signal output by the processor, and when the BIOS of the processor is abnormal, control the clearing CMOS power supply circuit to shut down, so that the power supply stops supplying power for clearing the CMOS circuit powered.
可选地,所述自动清除CMOS电路还包括:Optionally, the automatic clearing CMOS circuit also includes:
SuperIO模块,所述SuperIO模块的接收端与处理器的BIOS端连接,所述SuperIO模块的发送端与所述控制器的接收端连接,所述SuperIO模块用于将处理器输出的诊断信号进行解析处理后输出至所述控制器。SuperIO module, the receiving end of the SuperIO module is connected to the BIOS end of the processor, the sending end of the SuperIO module is connected to the receiving end of the controller, and the SuperIO module is used to analyze the diagnostic signal output by the processor output to the controller after processing.
本发明技术方案中,在处理器上电启动时,处理器内会进行BIOS自检,并输出对应的诊断信号,通过获取处理器输出的诊断信号,即可根据诊断信号确定处理器BIOS的诊断结果,并根据诊断结果判断处理器BIOS是否正常。当判定处理器BIOS异常时,则可以认为此时的处理器需要进行清除CMOS处理,或者在未接收到处理器输出的诊断信号时,则可以认为处理器的自检功能异常,此时也需要进行清除CMOS处理。因此,可以在判定处理器BIOS异常,或者在未接收到处理器输出的诊断信号时,输出CMOS复位信号至处理器,以触发处理器进行清除CMOS处理。本发明技术方案可实现软件自动检测及自动控制处理器清除CMOS的功能,具有稳定地判断机制,能够避免设备因CMOS数据异常而导致无法开机,减少了人工排查及手动清除CMOS的成本,提高了处理器的运行稳定性,进而提高了工控设备的稳定性和安全性,解决了现有的清除CMOS方案实用性差的问题。In the technical solution of the present invention, when the processor is powered on and started, the processor will perform a BIOS self-check and output a corresponding diagnostic signal, and by obtaining the diagnostic signal output by the processor, the diagnosis of the processor BIOS can be determined according to the diagnostic signal. Result, and judge whether the processor BIOS is normal according to the diagnosis result. When it is determined that the processor BIOS is abnormal, it can be considered that the processor needs to clear the CMOS at this time, or when the diagnostic signal output by the processor is not received, it can be considered that the self-test function of the processor is abnormal. Perform clear CMOS processing. Therefore, when it is determined that the BIOS of the processor is abnormal, or when the diagnostic signal output by the processor is not received, a CMOS reset signal may be output to the processor, so as to trigger the processor to clear the CMOS. The technical scheme of the present invention can realize the function of software automatic detection and automatic control processor clearing CMOS, has a stable judgment mechanism, can prevent the device from being unable to start due to abnormal CMOS data, reduces the cost of manual investigation and manual clearing of CMOS, and improves The operation stability of the processor improves the stability and safety of the industrial control equipment, and solves the problem of poor practicability of the existing CMOS clearing scheme.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to the structures shown in these drawings without creative effort.
图1为本发明自动清除CMOS控制方法一实施例的流程示意图;Fig. 1 is the schematic flow chart of an embodiment of the automatic clearing CMOS control method of the present invention;
图2为本发明自动清除CMOS控制方法又一实施例的流程示意图;Fig. 2 is a schematic flow chart of another embodiment of the automatic clearing CMOS control method of the present invention;
图3为本发明自动清除CMOS控制方法另一实施例的流程示意图;3 is a schematic flow diagram of another embodiment of the automatic clearing CMOS control method of the present invention;
图4为本发明自动清除CMOS控制方法再一实施例的流程示意图;4 is a schematic flow chart of another embodiment of the automatic clearing CMOS control method of the present invention;
图5为本发明自动清除CMOS电路一实施例的电路结构示意图;Fig. 5 is the schematic diagram of the circuit structure of an embodiment of the automatic clearing CMOS circuit of the present invention;
图6为本发明自动清除CMOS电路一实施例的电路结构示意图。FIG. 6 is a schematic circuit structure diagram of an embodiment of the automatic clearing CMOS circuit of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
需要说明,若本发明实施例中有涉及方向性指示(诸如上、下、左、右、前、后……),则该方向性指示仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that if there is a directional indication (such as up, down, left, right, front, back...) in the embodiment of the present invention, the directional indication is only used to explain the position in a certain posture (as shown in the accompanying drawing). If the specific posture changes, the directional indication will also change accordingly.
另外,若本发明实施例中有涉及“第一”、“第二”等的描述,则该“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In addition, if there are descriptions involving "first", "second" and so on in the embodiments of the present invention, the descriptions of "first", "second" and so on are only for descriptive purposes, and should not be interpreted as indicating or implying Its relative importance or implicitly indicates the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In addition, the technical solutions of the various embodiments can be combined with each other, but it must be based on the realization of those skilled in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of technical solutions does not exist , nor within the scope of protection required by the present invention.
随着科技的进步,工控行业通常会配备控制设备对作业设备进行控制,然而大部分工控场合,受控于成本限制,无法给每台控制设备配UPS电源,导致异常掉电场景的存在,或者,大部份工控场景都是直接采用拉闸下电。而Intel平台的CPU,在异常掉电的情况下,有概率会出现CMOS数据异常导致无法开机的情况,进而导致设备概率性无法开机,设备无法开机则意味着产线停线,这无疑极大地影响了用户的收益。现有的清除CMOS方案通常是在面板上引出CMOS复位按键,在出问题时,人为去断电,拆电池,再去清CMOS,整个过程十分麻烦。另一种清除CMOS方案则是在上下电过程中,不管CMOS数据是否异常,直接清除CMOS,然而这会导致每次开机系统时间都会丢失,且开机时间都会变长。With the advancement of technology, the industrial control industry is usually equipped with control equipment to control the operating equipment. However, most industrial control occasions are limited by cost and cannot be equipped with UPS power supply for each control equipment, resulting in the existence of abnormal power-off scenarios, or , Most of the industrial control scenarios are directly powered off by pulling the switch. On the other hand, the CPU on the Intel platform, in the case of an abnormal power failure, may have abnormal CMOS data and cannot be turned on, which may cause the device to fail to start. affect the user's income. The existing solution for clearing CMOS is usually to draw a CMOS reset button on the panel. When something goes wrong, it is very troublesome to manually cut off the power, remove the battery, and then clear the CMOS. Another solution for clearing CMOS is to clear CMOS directly during the power-on and power-off process, regardless of whether the CMOS data is abnormal.
为解决上述问题,本发明提出一种自动清除CMOS控制方法,应用于自动清除CMOS电路中,所述自动清除CMOS电路包括清除CMOS电路,所述清除CMOS电路的输出端与处理器的CMOS复位端连接,参照图1至图3,在一实施例中,自动清除CMOS控制方法包括以下步骤:In order to solve the above problem, the present invention proposes a kind of automatic clearing CMOS control method, is applied in automatic clearing CMOS circuit, described automatic clearing CMOS circuit comprises clearing CMOS circuit, the output terminal of described clearing CMOS circuit and the CMOS reset terminal of processor Connection, with reference to Fig. 1 to Fig. 3, in one embodiment, automatically clearing CMOS control method comprises the following steps:
步骤S100、获取处理器输出的诊断信号;Step S100, acquiring a diagnostic signal output by the processor;
步骤S200、在根据诊断信号确定处理器的BIOS异常时,触发所述处理器进行清除CMOS处理。Step S200, when it is determined according to the diagnostic signal that the BIOS of the processor is abnormal, triggering the processor to clear the CMOS.
在本实施例中,可以设置有控制器,用于控制处理器及清除CMOS电路的主控芯片,例如MCU、CPLD、DSP(Digital Signal Process,数字信号处理芯片)、FPGA(FieldProgrammable Gate Array,可编程逻辑门阵列芯片)等,用于控制清除CMOS电路输出CMOS复位信号至处理器,以驱动处理器进行清除CMOS处理。In this embodiment, a controller can be provided to control the processor and clear the main control chip of the CMOS circuit, such as MCU, CPLD, DSP (Digital Signal Process, digital signal processing chip), FPGA (Field Programmable Gate Array, which can programming logic gate array chip), etc., for controlling the clearing CMOS circuit to output a CMOS reset signal to the processor, so as to drive the processor to perform clearing CMOS processing.
控制器可以通过ESPI总线或LPC总线与CPU处理器连接,用于解码并通过解析后的诊断码判断处理器的BIOS是否正常,若处理器BIOS异常,则可以认为此时的处理器需要进行清除CMOS处理。当通过诊断码判断处理器BIOS异常,或者未接收到处理器输出的诊断信号时,则输出CMOS复位信号至处理器,以触发处理器进行清除CMOS处理,从而实现控制处理器清除CMOS的功能。CMOS复位信号可以是控制器直接发送至处理器的,也可以是通过额外设置的电路,基于控制器的控制发送CMOS复位信号至处理器。The controller can be connected to the CPU processor through the ESPI bus or LPC bus to decode and judge whether the BIOS of the processor is normal through the analyzed diagnostic code. If the BIOS of the processor is abnormal, it can be considered that the processor needs to be cleared at this time. CMOS processing. When it is judged by the diagnostic code that the processor BIOS is abnormal, or the diagnostic signal output by the processor is not received, a CMOS reset signal is output to the processor to trigger the processor to clear the CMOS, thereby realizing the function of controlling the processor to clear the CMOS. The CMOS reset signal may be directly sent by the controller to the processor, or may be sent to the processor through an additional circuit based on the control of the controller.
本发明技术方案中,在处理器上电启动时,处理器内会进行BIOS自检,并输出对应的诊断信号,通过获取处理器输出的诊断信号,即可根据诊断信号确定处理器BIOS的诊断结果,并根据诊断结果判断处理器BIOS是否正常。当判定处理器BIOS异常时,则可以认为此时的处理器需要进行清除CMOS处理,或者在未接收到处理器输出的诊断信号时,则可以认为处理器的自检功能异常,也即处理器BIOS异常,需要进行清除CMOS处理。因此,可以在判定处理器BIOS异常,或者在未接收到处理器输出的诊断信号时,输出CMOS复位信号至处理器,以触发处理器进行清除CMOS处理。本发明技术方案可实现软件自动检测及自动控制处理器清除CMOS的功能,具有稳定地判断机制,能够避免设备因CMOS数据异常而导致无法开机,减少了人工排查及手动清除CMOS的成本,提高了处理器的运行稳定性,进而提高了工控设备的稳定性和安全性。In the technical solution of the present invention, when the processor is powered on and started, the processor will perform a BIOS self-check and output a corresponding diagnostic signal, and by obtaining the diagnostic signal output by the processor, the diagnosis of the processor BIOS can be determined according to the diagnostic signal. Result, and judge whether the processor BIOS is normal according to the diagnosis result. When it is determined that the processor BIOS is abnormal, it can be considered that the processor needs to clear the CMOS processing at this time, or when the diagnostic signal output by the processor is not received, it can be considered that the self-test function of the processor is abnormal, that is, the processor The BIOS is abnormal, and the CMOS needs to be cleared. Therefore, when it is determined that the BIOS of the processor is abnormal, or when the diagnostic signal output by the processor is not received, a CMOS reset signal may be output to the processor, so as to trigger the processor to clear the CMOS. The technical scheme of the present invention can realize the function of software automatic detection and automatic control processor clearing CMOS, has a stable judgment mechanism, can prevent the device from being unable to start due to abnormal CMOS data, reduces the cost of manual investigation and manual clearing of CMOS, and improves The operation stability of the processor improves the stability and security of industrial control equipment.
参照图1至图3,在一实施例中,所述步骤S200具体包括:1 to 3, in an embodiment, the step S200 specifically includes:
步骤S211、在处理器的BIOS异常时,输出复位信号至处理器,以使处理器进行复位处理,并重新获取处理器输出的诊断信号;Step S211, when the BIOS of the processor is abnormal, output a reset signal to the processor, so that the processor performs reset processing, and reacquires the diagnostic signal output by the processor;
步骤S212、在所述处理器的BIOS仍处于异常状态时,触发所述处理器进行清除CMOS处理。Step S212 , when the BIOS of the processor is still in an abnormal state, trigger the processor to clear CMOS.
在本实施例中,还能够在处理器的BIOS异常时,先输出复位信号至处理器,使得处理器进行复位处理,也即控制处理器进行重启。可以理解的是,当处理器重启时,处理器会进入自检模式,处理器内的BIOS会通过读取CMOSRAM中的内容识别硬件配置,并对其进行自检和初始化,并输出对应的诊断信号。因此,可以利用BIOS的自检功能,控制处理器重启,使得处理器进行自检和初始化,并根据BIOS输出的诊断信号判断处理器是否恢复正常。当处理器重启后BIOS仍处于异常状态或未接收到诊断信号,则输出CMOS复位信号至处理器,以触发处理器进行清除CMOS处理。In this embodiment, when the BIOS of the processor is abnormal, a reset signal can be output to the processor first, so that the processor performs reset processing, that is, controls the processor to restart. It is understandable that when the processor is restarted, the processor will enter the self-test mode, and the BIOS in the processor will recognize the hardware configuration by reading the contents of the CMOSRAM, perform self-test and initialization on it, and output the corresponding diagnosis Signal. Therefore, the self-test function of the BIOS can be used to control the processor to restart, so that the processor can perform self-test and initialization, and judge whether the processor returns to normal according to the diagnostic signal output by the BIOS. When the BIOS is still in an abnormal state or does not receive a diagnostic signal after the processor is restarted, a CMOS reset signal is output to the processor to trigger the processor to clear the CMOS.
可选地,所述步骤S200具体包括:Optionally, the step S200 specifically includes:
步骤S213、在处理器的BIOS异常时,输出复位信号至处理器,以使处理器进行复位处理,并重新获取处理器输出的诊断信号;Step S213, when the BIOS of the processor is abnormal, output a reset signal to the processor, so that the processor performs reset processing, and reacquires the diagnostic signal output by the processor;
步骤S214、在所述处理器的BIOS仍处于异常状态时,重复执行步骤S213直至处理器的BIOS正常或达到预设次数;Step S214, when the BIOS of the processor is still in an abnormal state, repeat step S213 until the BIOS of the processor is normal or reaches a preset number of times;
步骤S215、在所述处理器的BIOS在重复执行步骤S213达到预设次数后仍处于异常状态时,触发所述处理器进行清除CMOS处理。Step S215 , when the BIOS of the processor is still in an abnormal state after repeating step S213 for a preset number of times, triggering the processor to clear CMOS.
在本实施例中,当处理器重启后BIOS仍处于异常状态或未接收到诊断信号,则会再次输出复位信号至处理器,使得处理器再次进行复位处理,若处理器再次重启后BIOS依旧处于异常状态或未接收到诊断信号,则继续输出复位信号控制处理器重启直至处理器恢复正常或者达到预设次数。可以根据实际应用情况设置所需的预设次数,使得在重启处理器达到预设次数后,再输出CMOS复位信号至处理器,以触发处理器进行清除CMOS处理。In this embodiment, when the BIOS is still in an abnormal state or does not receive a diagnostic signal after the processor restarts, it will output a reset signal to the processor again, so that the processor performs reset processing again. If the BIOS is still in the In an abnormal state or no diagnostic signal is received, continue to output a reset signal to control the processor to restart until the processor returns to normal or reaches the preset number of times. The required preset number of times can be set according to actual application conditions, so that after the processor is restarted for the preset number of times, a CMOS reset signal is output to the processor to trigger the processor to perform CMOS clearing processing.
本发明技术方案中,利用BIOS的自检功能,在处理器出现异常时,先控制处理器进行重启,并在重启预设次数后处理器仍处于异常状态时才进行清除CMOS的操作,增加了有效的容错判断机制,具有稳定地判断机制,能够避免设备因CMOS数据异常而导致无法开机,减少了人工排查及手动清除CMOS的成本,提高了处理器的运行稳定性,进而提高了工控设备的稳定性和安全性。In the technical solution of the present invention, the self-checking function of BIOS is used to control the processor to restart when the processor is abnormal, and the operation of clearing the CMOS is performed when the processor is still in an abnormal state after restarting the preset number of times, which increases the The effective fault-tolerant judgment mechanism has a stable judgment mechanism, which can prevent the device from being unable to boot due to abnormal CMOS data, reduce the cost of manual investigation and manual clearing of CMOS, improve the operation stability of the processor, and further improve the reliability of industrial control equipment. Stability and security.
参照图1至图3,在一实施例中,所述步骤S200之前还包括:Referring to FIGS. 1 to 3 , in an embodiment, before the step S200, it also includes:
步骤S201、在根据诊断信号确定处理器的BIOS异常时,控制供电电源停止为处理器供电。Step S201, when it is determined according to the diagnostic signal that the BIOS of the processor is abnormal, control the power supply to stop supplying power to the processor.
可以理解的是,在系统上电的时候直接控制处理器进行清除CMOS的操作不满足intel上电规范,存在风险,容易对处理器及设备造成损坏,进而影响处理器及设备的使用寿命。因此,在本实施例中,在控制处理器进行清除CMOS的操作之前,先控制供电电源停止为处理器供电,使得处理器掉电后再控制处理器进行清除CMOS的操作。如此,在对处理器进行断电后再进行清除CMOS的操作,能够避免带电清除CMOS的风险,实现无风险清CMOS,提高了处理器及设备的安全性。It is understandable that the operation of directly controlling the processor to clear the CMOS when the system is powered on does not meet the Intel power-on specification, and there is a risk that it is easy to cause damage to the processor and equipment, which in turn affects the service life of the processor and equipment. Therefore, in this embodiment, before the processor is controlled to clear the CMOS, the power supply is controlled to stop supplying power to the processor, so that the processor is powered off and then the processor is controlled to clear the CMOS. In this way, the operation of clearing the CMOS after powering off the processor can avoid the risk of clearing the CMOS with power on, realize risk-free clearing of the CMOS, and improve the safety of the processor and the device.
本发明还提出一种自动清除CMOS电路,包括:The present invention also proposes an automatic clearing CMOS circuit, comprising:
清除CMOS电路,所述清除CMOS电路的输出端与处理器的CMOS复位端连接,所述清除CMOS电路用于在接收到清除CMOS信号时,输出CMOS复位信号至处理器,以驱动处理器进行清除CMOS处理;Clearing the CMOS circuit, the output end of the clearing CMOS circuit is connected to the CMOS reset terminal of the processor, and the clearing CMOS circuit is used to output the CMOS reset signal to the processor when receiving the clearing CMOS signal, so as to drive the processor to clear CMOS processing;
控制器,所述控制器的接收端与处理器的BIOS端连接,所述控制器的第一控制端与所述清除CMOS电路的受控端连接,所述控制器用于执行自动清除CMOS控制程序,以实现上述的自动清除CMOS控制方法。A controller, the receiving end of the controller is connected to the BIOS end of the processor, the first control end of the controller is connected to the controlled end of the clearing CMOS circuit, and the controller is used to execute the automatic clearing CMOS control program , so as to realize the above-mentioned automatic clearing CMOS control method.
在本实施例中,控制器可以选用MCU、CPLD、DSP(Digital Signal Process,数字信号处理芯片)、FPGA(Field Programmable Gate Array,可编程逻辑门阵列芯片)等,用于控制清除CMOS电路输出CMOS复位信号至处理器,以驱动处理器进行清除CMOS处理。控制器可以通过ESPI总线或LPC总线与CPU处理器连接,用于解码并通过解析后的诊断码判断BIOS的工作状态,若通过诊断码判断处理器BIOS异常,或未接收到诊断码时,则控制清除CMOS电路输出CMOS复位信号至处理器,使得处理器进行清除CMOS的操作,从而实现控制处理器清除CMOS的功能。In this embodiment, the controller can select MCU, CPLD, DSP (Digital Signal Process, digital signal processing chip), FPGA (Field Programmable Gate Array, programmable logic gate array chip), etc., to control and clear the CMOS circuit output CMOS A reset signal is sent to the processor to drive the processor to clear the CMOS. The controller can be connected to the CPU processor through the ESPI bus or LPC bus for decoding and judging the working status of the BIOS through the analyzed diagnostic code. The circuit for controlling and clearing CMOS outputs a CMOS reset signal to the processor, so that the processor performs an operation of clearing the CMOS, thereby realizing the function of controlling the processor to clear the CMOS.
参照图5,图5为清除CMOS电路一实施例的电路结构示意图,处理器的两个CMOS复位端RTC_RST_IN及SRTC_RST_IN通过二极管连在了一起,以确保两个复位端能够同时被拉低,第一开关管Q1的一端与两个二极管的阴极连接,另一端则与控制器第一控制端VRTC_CMOS连接。当控制器根据处理器输出的诊断信号判断处理器的BIOS异常时,输出低电平至清除CMOS电路5s后再输出高电平,当输出低电平至清除CMOS电路时,使得第一开关管Q1导通,从而将处理器的两个CMOS复位端拉低,使得处理器进行清除CMOS的操作,从而实现控制处理器清除CMOS的功能。此外,电路前端的5V0A需早于3V3A上电,确保电池没电时,整个CMOS时序可以满足CPU要求,正常上电后,由VRTC_CORE供电,第一开关管Q1确保了系统掉电后只有电池供电时漏电流最小化,从而保证电池供电寿命。同时,通过设置清除CMOS电路,能够将处理器与控制器通过二极管及开关管隔离开来,避免控制器与处理器直接连接而造成的干扰或误操作,提高了系统稳定性及安全性。Referring to FIG. 5, FIG. 5 is a schematic diagram of a circuit structure of an embodiment of a clear CMOS circuit. The two CMOS reset terminals RTC_RST_IN and SRTC_RST_IN of the processor are connected together through diodes to ensure that the two reset terminals can be pulled low at the same time. One end of the switch tube Q1 is connected to the cathodes of the two diodes, and the other end is connected to the first control terminal VRTC_CMOS of the controller. When the controller judges that the BIOS of the processor is abnormal according to the diagnostic signal output by the processor, it outputs a low level to clear the CMOS circuit for 5s and then outputs a high level. When the output is low to clear the CMOS circuit, the first switch tube Q1 is turned on, thereby pulling down the two CMOS reset terminals of the processor, so that the processor performs an operation of clearing the CMOS, thereby realizing the function of controlling the processor to clear the CMOS. In addition, the 5V0A at the front end of the circuit needs to be powered on earlier than the 3V3A to ensure that when the battery is out of power, the entire CMOS sequence can meet the CPU requirements. After normal power-on, it is powered by VRTC_CORE, and the first switch tube Q1 ensures that only the battery is powered after the system is powered off. Leakage current is minimized to ensure battery life. At the same time, by setting and clearing the CMOS circuit, the processor and the controller can be isolated through diodes and switch tubes, avoiding interference or misoperation caused by the direct connection between the controller and the processor, and improving system stability and safety.
本发明技术方案中,通过设置控制器获取处理器输出的诊断信号,实现对处理器BIOS工作状态的检测,并能够根据处理器BIOS的工作状态,判断处理器是否需要进行清除CMOS的操作,以在处理器BIOS异常时,控制清除CMOS电路驱动处理器进行清除CMOS的操作。本发明技术方案可实现软件自动检测及自动控制处理器清除CMOS的功能,具有稳定地判断机制,能够避免设备因CMOS数据异常而导致无法开机,减少了人工排查及手动清除CMOS的成本,提高了处理器的运行稳定性,进而提高了工控设备的稳定性和安全性。In the technical solution of the present invention, by setting the controller to obtain the diagnostic signal output by the processor, the detection of the working state of the processor BIOS can be realized, and it can be judged whether the processor needs to perform the operation of clearing the CMOS according to the working state of the processor BIOS, so as to When the processor BIOS is abnormal, the control clearing CMOS circuit drives the processor to clear the CMOS. The technical scheme of the present invention can realize the function of software automatic detection and automatic control processor clearing CMOS, has a stable judgment mechanism, can prevent the device from being unable to start due to abnormal CMOS data, reduces the cost of manual investigation and manual clearing of CMOS, and improves The operation stability of the processor improves the stability and security of industrial control equipment.
参照图6,在一实施例中,所述控制器的信号输出端与处理器的复位端连接,所述控制器还用于根据处理器输出的诊断信号,判断处理器的BIOS工作状态,并在处理器BIOS异常时,输出复位信号至处理器,以使处理器进行复位处理。Referring to Fig. 6, in one embodiment, the signal output terminal of the controller is connected to the reset terminal of the processor, and the controller is also used for judging the BIOS working state of the processor according to the diagnostic signal output by the processor, and When the processor BIOS is abnormal, a reset signal is output to the processor, so that the processor performs reset processing.
在本实施例中,将控制器的信号输出端CPU_RST与处理器的复位端连接,还能够在处理器的BIOS异常时,先输出复位信号至处理器,使得处理器进行复位处理,也即控制处理器进行重启。可以理解的是,当处理器重启时,处理器会进入自检模式,处理器内的BIOS会通过读取CMOSRAM中的内容识别硬件配置,并对其进行自检和初始化,并输出对应的诊断信号。因此,可以利用BIOS的自检功能,控制处理器重启,使得处理器进行自检和初始化,并根据BIOS输出的诊断信号判断处理器是否恢复正常。当处理器重启预设次数后BIOS仍处于异常状态或未接收到诊断信号,则控制清除CMOS电路输出CMOS复位信号至处理器,以驱动处理器进行清除CMOS处理。In this embodiment, the signal output terminal CPU_RST of the controller is connected to the reset terminal of the processor, and when the BIOS of the processor is abnormal, the reset signal is first output to the processor, so that the processor performs reset processing, that is, control Processor restarts. It is understandable that when the processor is restarted, the processor will enter the self-test mode, and the BIOS in the processor will recognize the hardware configuration by reading the contents of the CMOSRAM, perform self-test and initialization on it, and output the corresponding diagnosis Signal. Therefore, the self-test function of the BIOS can be used to control the processor to restart, so that the processor can perform self-test and initialization, and judge whether the processor returns to normal according to the diagnostic signal output by the BIOS. When the BIOS is still in an abnormal state or does not receive a diagnostic signal after restarting the processor for a preset number of times, the control clearing CMOS circuit outputs a CMOS reset signal to the processor to drive the processor to clear the CMOS.
本发明技术方案中,利用BIOS的自检功能,在处理器出现异常时,先控制处理器进行重启,并在重启预设次数后处理器仍处于异常状态时才进行清除CMOS的操作,增加了有效的容错判断机制,具有稳定地判断机制,能够避免设备因CMOS数据异常而导致无法开机,减少了人工排查及手动清除CMOS的成本,提高了处理器的运行稳定性,进而提高了工控设备的稳定性和安全性。In the technical solution of the present invention, the self-checking function of BIOS is used to control the processor to restart when the processor is abnormal, and the operation of clearing the CMOS is performed when the processor is still in an abnormal state after restarting the preset number of times, which increases the The effective fault-tolerant judgment mechanism has a stable judgment mechanism, which can prevent the device from being unable to boot due to abnormal CMOS data, reduce the cost of manual investigation and manual clearing of CMOS, improve the operation stability of the processor, and further improve the reliability of industrial control equipment. Stability and security.
参照图6,在一实施例中,所述自动清除CMOS电路还包括:Referring to Figure 6, in one embodiment, the automatic clearing CMOS circuit also includes:
处理器供电电路,所述处理器供电电路的输入端与供电电源连接,所述处理器供电电路的输出端与处理器的供电端连接,所述处理器供电电路的受控端与所述控制器的第二控制端连接,所述处理器供电电路用于在导通时,控制供电电源与处理器电连接,以使供电电源为处理器供电;A processor power supply circuit, the input end of the processor power supply circuit is connected to the power supply, the output end of the processor power supply circuit is connected to the power supply end of the processor, the controlled end of the processor power supply circuit is connected to the control connected to the second control terminal of the processor, and the processor power supply circuit is used to control the electrical connection between the power supply and the processor when it is turned on, so that the power supply supplies power to the processor;
所述控制器还用于根据处理器输出的诊断信号,判断处理器的BIOS工作状态,并在处理器BIOS异常时,控制所述处理器供电电路关断,以使供电电源停止为处理器供电。The controller is also used to judge the BIOS working state of the processor according to the diagnostic signal output by the processor, and control the power supply circuit of the processor to shut down when the BIOS of the processor is abnormal, so that the power supply stops supplying power to the processor .
参照图6,图6为自动清除CMOS电路一实施例的电路结构示意图,处理器供电电路由第二开关管Q2及第三开关管Q3组成,当控制器根据处理器输出的诊断信号,判断处理器的BIOS异常时,则输出高电平的信号控制第二开关管Q2导通,从而控制第三开关管Q3关断,使得供电电源与处理器断开电连接,从而使得处理器掉点。可以理解的是,控制器需单独供电,确保处理器的最小系统掉电后处理器还能正常工作,处理器掉电后控制器则控制清除CMOS电路驱动处理器进行清除CMOS处理。如此,在对处理器进行断电后再进行清除CMOS的操作,能够避免带电清除CMOS的风险,实现无风险清CMOS,提高了处理器及设备的安全性。Referring to Fig. 6, Fig. 6 is a schematic diagram of the circuit structure of an embodiment of the automatic clearing CMOS circuit. The processor power supply circuit is composed of the second switching tube Q2 and the third switching tube Q3. When the BIOS of the processor is abnormal, a high-level signal is output to control the second switching tube Q2 to turn on, thereby controlling the third switching tube Q3 to turn off, so that the power supply is electrically disconnected from the processor, thereby causing the processor to drop. It can be understood that the controller needs to be powered separately to ensure that the processor can still work normally after the processor is powered off. After the processor is powered off, the controller controls the clearing CMOS circuit to drive the processor to clear the CMOS. In this way, the operation of clearing the CMOS after powering off the processor can avoid the risk of clearing the CMOS with power on, realize risk-free clearing of the CMOS, and improve the safety of the processor and the device.
参照图6,在一实施例中,所述自动清除CMOS电路还包括:Referring to Figure 6, in one embodiment, the automatic clearing CMOS circuit also includes:
时钟电路,所述时钟电路与处理器电连接,所述时钟电路用于输出时钟信号至处理器,以使处理器进行时钟校准处理。A clock circuit, the clock circuit is electrically connected to the processor, and the clock circuit is used to output a clock signal to the processor, so that the processor performs clock calibration processing.
可以理解的是,处理器在重启或清除CMOS后开机时,系统时间容易丢失,因此,在本实施例中,还设有外部时钟电路与处理器电连接,时钟电路可以选用RTC时钟芯片来实现。当处理器重新上电开机或完成清除CMOS的操作后,处理器会比较系统RTC时间和外挂RTC时钟电路的时间差值是否在要求范围之内,若系统RTC时间和外挂RTC时钟电路的时间差值大于预设的范围,则将外部RTC时间写入到系统RTC时间中,对系统RTC时间进行校准。It can be understood that when the processor is restarted or powered on after clearing the CMOS, the system time is easily lost. Therefore, in this embodiment, an external clock circuit is also provided to be electrically connected to the processor. The clock circuit can be realized by using an RTC clock chip. . When the processor is powered on again or clears the CMOS, the processor will compare whether the time difference between the system RTC time and the external RTC clock circuit is within the required range. If the time difference between the system RTC time and the external RTC clock circuit is If the value is greater than the preset range, write the external RTC time into the system RTC time to calibrate the system RTC time.
参照图6,在一实施例中,所述自动清除CMOS电路还包括:Referring to Figure 6, in one embodiment, the automatic clearing CMOS circuit also includes:
清除CMOS供电电路,所述清除CMOS供电电路的输入端与供电电源连接,所述清除CMOS供电电路的输出端与所述清除CMOS电路的供电端连接,所述清除CMOS供电电路的受控端与所述控制器的第三控制端连接,所述清除CMOS供电电路用于在导通时,控制供电电源与清除CMOS电路电连接,以使供电电源为清除CMOS电路供电;Clear the CMOS power supply circuit, the input end of the clear CMOS power supply circuit is connected to the power supply, the output end of the clear CMOS power supply circuit is connected to the power supply end of the clear CMOS circuit, the controlled end of the clear CMOS power supply circuit is connected to the The third control terminal of the controller is connected, and the clearing CMOS power supply circuit is used to control the electrical connection between the power supply and the clearing CMOS circuit when it is turned on, so that the power supply supplies power to the clearing CMOS circuit;
所述控制器还用于根据处理器输出的诊断信号,判断处理器的BIOS工作状态,并在处理器BIOS异常时,控制所述清除CMOS供电电路关断,以使供电电源停止为清除CMOS供电电路供电。The controller is also used to judge the BIOS working state of the processor according to the diagnostic signal output by the processor, and when the BIOS of the processor is abnormal, control the clearing CMOS power supply circuit to shut down, so that the power supply stops supplying power for clearing the CMOS circuit powered.
参照图6,图6为自动清除CMOS电路一实施例的电路结构示意图,清除CMOS供电电路由第四开关管Q4、第四二极管D4及第五二极管D5组成,其中VRTC为电池输出的供电电压,3V3A为12V的供电电源转化后的供电电压。当控制器根据处理器输出的诊断信号,判断处理器的BIOS异常时,则输出控制信控制第四开关管Q4关断,从而使得供电电源与清除CMOS电路断开电连接,从而使得清除CMOS电路能够被控制器输出的低电平信号迅速拉低,从而拉低处理器的两个CMOS复位引脚,使得处理器进行清除CMOS操作。可以理解的是,清除CMOS供电电路和处理器供电电路为处理器最小系统的供电。Referring to FIG. 6, FIG. 6 is a schematic diagram of the circuit structure of an embodiment of the automatic clearing CMOS circuit. The clearing CMOS power supply circuit is composed of the fourth switching tube Q4, the fourth diode D4 and the fifth diode D5, wherein VRTC is the battery output The power supply voltage, 3V3A is the power supply voltage converted from the 12V power supply. When the controller judges that the BIOS of the processor is abnormal according to the diagnostic signal output by the processor, it outputs a control signal to control the fourth switching tube Q4 to turn off, so that the power supply is electrically disconnected from the clearing CMOS circuit, thereby clearing the CMOS circuit It can be quickly pulled low by the low-level signal output by the controller, thereby pulling down the two CMOS reset pins of the processor, so that the processor performs a CMOS clearing operation. It can be understood that the clear CMOS power supply circuit and the processor power supply circuit provide power for the minimum system of the processor.
可选地,所述自动清除CMOS电路还包括:Optionally, the automatic clearing CMOS circuit also includes:
SuperIO模块,所述SuperIO模块的接收端与处理器的BIOS端连接,所述SuperIO模块的发送端与所述控制器的接收端连接,所述SuperIO模块用于将处理器输出的诊断信号进行解析处理后输出至所述控制器。SuperIO module, the receiving end of the SuperIO module is connected to the BIOS end of the processor, the sending end of the SuperIO module is connected to the receiving end of the controller, and the SuperIO module is used to analyze the diagnostic signal output by the processor output to the controller after processing.
在本实施例中,SuperIO模块通过ESPI总线或LPC总线与处理器相连接,用于解码判断处理器BIOS输出的诊断信号,解码出来的诊断码信息则通过UART总线发送给控制器,使得控制器根据接收到的诊断码判断处理器BIOS是否正常,进而决定是否控制处理器进行复位或清除CMOS的操作。In this embodiment, the SuperIO module is connected to the processor through the ESPI bus or the LPC bus, and is used to decode and judge the diagnostic signal output by the processor BIOS, and the decoded diagnostic code information is sent to the controller through the UART bus, so that the controller Judging whether the processor BIOS is normal according to the received diagnostic code, and then deciding whether to control the processor to reset or clear the CMOS.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是在本发明的发明构思下,利用本发明说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本发明的专利保护范围内。The above is only a preferred embodiment of the present invention, and does not therefore limit the patent scope of the present invention. Under the inventive concept of the present invention, the equivalent structural transformation made by using the description of the present invention and the contents of the accompanying drawings, or direct/indirect use All other relevant technical fields are included in the patent protection scope of the present invention.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211437280.3A CN116107802A (en) | 2022-11-15 | 2022-11-15 | Automatic clearing CMOS control method and automatic clearing CMOS circuit |
| PCT/CN2023/105763 WO2024103802A1 (en) | 2022-11-15 | 2023-07-04 | Automatic cmos clearing control method and automatic cmos clearing circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211437280.3A CN116107802A (en) | 2022-11-15 | 2022-11-15 | Automatic clearing CMOS control method and automatic clearing CMOS circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116107802A true CN116107802A (en) | 2023-05-12 |
Family
ID=86266469
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211437280.3A Pending CN116107802A (en) | 2022-11-15 | 2022-11-15 | Automatic clearing CMOS control method and automatic clearing CMOS circuit |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116107802A (en) |
| WO (1) | WO2024103802A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024103802A1 (en) * | 2022-11-15 | 2024-05-23 | 深圳市汇川技术股份有限公司 | Automatic cmos clearing control method and automatic cmos clearing circuit |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030236928A1 (en) * | 2002-06-21 | 2003-12-25 | Jung-An Wang | Detection circuit and method for clearing BIOS configuration memory |
| CN102221864A (en) * | 2010-04-15 | 2011-10-19 | 研祥智能科技股份有限公司 | Computer, and computer startup management system and method thereof |
| CN104536551A (en) * | 2014-11-18 | 2015-04-22 | 合肥联宝信息技术有限公司 | Method and device for clearing away information on complementary metal oxide semiconductor (CMOS) |
| CN113703557A (en) * | 2020-05-21 | 2021-11-26 | 杭州海康威视数字技术股份有限公司 | Method for clearing CMOS information, electronic equipment and clearing chip |
| CN114527857A (en) * | 2022-02-15 | 2022-05-24 | 深圳市航顺芯片技术研发有限公司 | Multi-core system resetting method, device and equipment and readable storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20020067144A (en) * | 2001-02-15 | 2002-08-22 | 삼성전자 주식회사 | Apparatus and method for reset confirmation of computer system |
| CN110262647B (en) * | 2019-06-27 | 2021-05-25 | 无锡睿勤科技有限公司 | CMOS data clearing circuit and computer equipment |
| CN116107802A (en) * | 2022-11-15 | 2023-05-12 | 深圳市汇川技术股份有限公司 | Automatic clearing CMOS control method and automatic clearing CMOS circuit |
-
2022
- 2022-11-15 CN CN202211437280.3A patent/CN116107802A/en active Pending
-
2023
- 2023-07-04 WO PCT/CN2023/105763 patent/WO2024103802A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030236928A1 (en) * | 2002-06-21 | 2003-12-25 | Jung-An Wang | Detection circuit and method for clearing BIOS configuration memory |
| CN102221864A (en) * | 2010-04-15 | 2011-10-19 | 研祥智能科技股份有限公司 | Computer, and computer startup management system and method thereof |
| CN104536551A (en) * | 2014-11-18 | 2015-04-22 | 合肥联宝信息技术有限公司 | Method and device for clearing away information on complementary metal oxide semiconductor (CMOS) |
| CN113703557A (en) * | 2020-05-21 | 2021-11-26 | 杭州海康威视数字技术股份有限公司 | Method for clearing CMOS information, electronic equipment and clearing chip |
| CN114527857A (en) * | 2022-02-15 | 2022-05-24 | 深圳市航顺芯片技术研发有限公司 | Multi-core system resetting method, device and equipment and readable storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024103802A1 (en) * | 2022-11-15 | 2024-05-23 | 深圳市汇川技术股份有限公司 | Automatic cmos clearing control method and automatic cmos clearing circuit |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2024103802A1 (en) | 2024-05-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8874886B2 (en) | Executing soft reset for intelligent terminal in abnormal instruction state and hard reset for intelligent terminal in dead halt state | |
| US8055889B2 (en) | BIOS management device and method for managing BIOS setting value | |
| US8060786B2 (en) | Method for recovering basic input output system and computer device thereof | |
| CN104777888A (en) | Reduced energy consumption in a computer system through software and hardware coordinated control of multiple power supplies | |
| CN116107802A (en) | Automatic clearing CMOS control method and automatic clearing CMOS circuit | |
| US20130138939A1 (en) | Method for processing booting errors | |
| US8495353B2 (en) | Method and circuit for resetting register | |
| CN120256224A (en) | Server fault location system and method | |
| TWI704448B (en) | Power supply unit control method | |
| KR20090037223A (en) | System and method for performing self-diagnosis after shutdown and booting method using it | |
| CN103136064B (en) | Boot Error Handling Method | |
| CN102193609B (en) | Setting method and electronic device of power lock | |
| CN108073481B (en) | Server system capable of providing hardware operation information and processing method thereof | |
| US10921875B2 (en) | Computer system, operational method for a microcontroller, and computer program product | |
| CN117406699B (en) | MCU power-on self-checking circuit, chip and electronic equipment | |
| KR101180164B1 (en) | Method and apparatus for controlling reset according to power state | |
| CN218974815U (en) | Ultrasonic diagnosis system and shutdown control circuit thereof | |
| CN113687998B (en) | Control method to eliminate abnormal operation of management engine | |
| CN119987511B (en) | Cold reset method, system, electronic device and storage medium | |
| TWI734357B (en) | Mainboard and assisting test method of thereof | |
| TW201604676A (en) | Computer system and method for fast reboot of the computer system | |
| JP6417489B2 (en) | Battery-powered electronics | |
| JPH06314211A (en) | Diagnostic method for electronic equipment with power saving function | |
| CN120085893A (en) | Voltage regulation firmware upgrade method, server, electronic device and storage medium | |
| CN119377009A (en) | A method, device, equipment and readable storage medium for restarting a smart cockpit vehicle |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |