CN111913754A - Automatic starting method suitable for domestic CPU computer - Google Patents

Automatic starting method suitable for domestic CPU computer Download PDF

Info

Publication number
CN111913754A
CN111913754A CN202010799089.8A CN202010799089A CN111913754A CN 111913754 A CN111913754 A CN 111913754A CN 202010799089 A CN202010799089 A CN 202010799089A CN 111913754 A CN111913754 A CN 111913754A
Authority
CN
China
Prior art keywords
power
starting
cpld
circuit
chip
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
Application number
CN202010799089.8A
Other languages
Chinese (zh)
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.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
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 Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN202010799089.8A priority Critical patent/CN111913754A/en
Publication of CN111913754A publication Critical patent/CN111913754A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an automatic starting method suitable for a domestic CPU computer, relating to the technical field of starting; the automatic starting circuit comprises a timing starting circuit and a power-on starting circuit, wherein the timing starting circuit configures timing starting information for an RTC chip through a BIOS, the RTC chip sends a corresponding interrupt signal to a CPLD according to the timing starting information, the CPLD controls the timing starting operation, the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, the CPLD automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on, and corresponding operation is executed according to corresponding information setting.

Description

Automatic starting method suitable for domestic CPU computer
Technical Field
The invention discloses an automatic starting method, relates to the technical field of starting, and particularly relates to an automatic starting method suitable for a domestic CPU computer.
Background
The automatic start-up of a computer motherboard is a common requirement, and mainly includes two functions of power-on automatic start-up and timing start-up. For a domestic platform, the auto-on function needs an additional hardware circuit to be realized. However, no method which is low in cost and suitable for realizing the automatic starting function on the domestic Feiteng and Shenwei processor mainboard exists at present.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an automatic starting method suitable for a domestic CPU computer, and the specific scheme provided by the invention is as follows:
an automatic start-up method for domestic CPU computer features that an automatic start-up circuit is used to control the automatic start-up, which includes a timing start-up circuit and a power-on start-up circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
The automatic starting method suitable for the domestic CPU computer is characterized in that the RTC chip is configured through the BIOS:
starting up the computer at regular time every day, generating an interrupt signal at a specified time to control the CPLD to start up the computer,
starting up the computer at regular time every month, specifically starting up the computer for time, generating an interrupt signal at a specified time, and controlling the CPLD to start up the computer;
and turning off the RTC and turning off the function of generating the interrupt signal by the RTC chip.
The BIOS configures the EEPROM chip in the automatic starting method suitable for the domestic CPU computer:
setting a power-on starting mode, including starting after power-on, shutting down after power-on and recovering to a state before power-off after power-on,
and controlling the CPLD to execute corresponding operation according to the corresponding power-on starting mode.
A domestic CPU computer is controlled by an automatic start-up circuit to automatically start up, the automatic start-up circuit comprises a timing start-up circuit and a power-on start-up circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
The RTC chip is configured in the domestic CPU computer through the BIOS:
starting up the computer at regular time every day, generating an interrupt signal at a specified time to control the CPLD to start up the computer,
starting up the computer at regular time every month, specifically starting up the computer for time, generating an interrupt signal at a specified time, and controlling the CPLD to start up the computer;
and turning off the RTC and turning off the function of generating the interrupt signal by the RTC chip.
The BIOS in the domestic CPU computer configures the EEPROM chip:
setting a power-on starting mode, including starting after power-on, shutting down after power-on and recovering to a state before power-off after power-on,
and controlling the CPLD to execute corresponding operation according to the corresponding power-on starting mode.
An automatic start-up circuit suitable for domestic CPU computer comprises a timing start-up circuit and a power-on start-up circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
In the automatic starting circuit suitable for the domestic CPU computer, a two-to-one analog switch is connected between an RTC chip and a CPLD in a timing starting circuit, the RTC chip is connected with a level conversion chip through the two-to-one analog switch and then connected with a processor, the processor is connected with a BIOS,
the two-switch one-analog switch is connected between the EEPROM chip and the CPLD in the power-on startup circuit, the EEPROM chip is connected with the level conversion chip through the two-switch one-analog switch and then connected with the processor, and the processor is connected with the BIOS.
The invention has the advantages that:
the invention provides an automatic starting method suitable for a domestic CPU computer, which is suitable for realizing an automatic starting function on a domestic Feiteng and Shenwei processor mainboard.
Drawings
FIG. 1 is a schematic diagram of the circuit connection of the present invention.
Detailed Description
The RTC (real time clock) driver, which can be found in drivers/char/RTC. It is a device separate from the system timer for setting the system clock, providing an alarm or a periodic timer.
An EEPROM (Electrically Erasable Programmable Read-Only Memory), a charged Erasable Programmable Read-Only Memory and a Memory chip without data loss after power failure.
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
The invention provides an automatic starting method suitable for a domestic CPU computer, which controls automatic starting through an automatic starting circuit, wherein the automatic starting circuit comprises a timing starting circuit and a power-on starting circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
The circuit using the method of the invention reuses chips required by the domestic processor platform, has simple circuit, low cost and high reliability, and has good popularization and use values.
In application, the description of the embodiment of the present invention is performed by taking a DS1339 as an example of an RTC chip and an AT24C02 or compatible model as an example of an EEPROM chip. By using the method, the RTC chip and the EEPROM chip can be connected to the CPLD through the two-switch-one analog switch, and are connected to the level conversion chip through the two-switch-one analog switch, and then are connected to the domestic processor, and are configured through the BIOS firmware connected with the domestic processor.
In an embodiment of the present invention, a process of configuring an RTC chip by a BIOS is specifically described, a current time can be displayed in a BIOS graphical interface menu to provide configuration modification, the BIOS menu has a timing boot setting, and the specific configuration is as follows:
a turns off the RTC wakeup,
the implementation mode is as follows: the DS1339 is configured by I2C1, the interrupt function INTCN of DS1339 is turned off,
b, starting up regularly every day, setting the starting up time (hours and minutes),
the implementation mode is as follows: the I2C1 is used for configuring the Alarm function of the DS1339, and an interrupt is generated at a specified time to control the CPLD to start.
c is started regularly every month, the starting time (date, hour, minute) can be set,
the implementation mode is as follows: the I2C1 is used for configuring the Alarm function of the DS1339, and an interrupt is generated at a specified time to control the CPLD to start.
After power on, the BIOS should clear the interrupt flags A1F, A2F of DS 1339.
Correspondingly, the two-switch one-switch analog switch is controlled according to the on-off state, the two-switch one-switch analog switch is switched to the processor in the on-off state, the two-switch one-switch analog switch is switched to the CPLD in the off state, the SQW/INT pin of the DS1339 is detected to have a falling edge (ALARM interrupt), and the signal is switched on if the SQW/INT pin is in the on-off state, and the signal is ignored if.
In another embodiment of the present invention, a process of configuring an EEPROM chip by a BIOS is specifically described, and configuration modification can be provided by displaying a current time in a BIOS graphical interface menu, specifically configured as follows:
setting a power-on starting mode: a, starting up after power-on, b, shutting down after power-on, c, recovering to the state before power-off after power-on,
the implementation mode is as follows: the I2C1 is connected with 1 EEPROM (AT24C02 or compatible model), data is written according to the format of table 1, and the data is read by the CPLD when the power is on next time.
TABLE 1
Figure BDA0002626724510000051
The invention also provides a domestic CPU computer, which controls automatic start-up through an automatic start-up circuit, wherein the automatic start-up circuit comprises a timing start-up circuit and a power-on start-up circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
Because the information interaction, execution process and other contents between the units in the computer are based on the same concept as the method embodiment of the present invention, specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again.
The invention also provides an automatic starting circuit suitable for the domestic CPU computer, which comprises a timing starting circuit and a power-on starting circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
When the circuit of the present invention is applied specifically, the contents of information interaction, execution process, etc. between the units are based on the same concept as the method embodiment of the present invention, and the specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (8)

1. An automatic start-up method for domestic CPU computer features that an automatic start-up circuit is used to control the automatic start-up, which includes a timing start-up circuit and a power-on start-up circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
2. The automatic boot method for domestic CPU computers as claimed in claim 1, wherein the RTC chip is configured by the BIOS with:
starting up the computer at regular time every day, generating an interrupt signal at a specified time to control the CPLD to start up the computer,
starting up the computer at regular time every month, specifically starting up the computer for time, generating an interrupt signal at a specified time, and controlling the CPLD to start up the computer;
and turning off the RTC and turning off the function of generating the interrupt signal by the RTC chip.
3. The automatic boot method for domestic CPU computer as claimed in claim 1 or 2, wherein the BIOS configures the EEPROM chip:
setting a power-on starting mode, including starting after power-on, shutting down after power-on and recovering to a state before power-off after power-on,
and controlling the CPLD to execute corresponding operation according to the corresponding power-on starting mode.
4. A domestic CPU computer features that an automatic start-up circuit is used to control the automatic start-up, which includes a timing start-up circuit and a power-on start-up circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
5. A domestic CPU computer as claimed in claim 4 wherein the RTC chip is configured by BIOS with:
starting up the computer at regular time every day, generating an interrupt signal at a specified time to control the CPLD to start up the computer,
starting up the computer at regular time every month, specifically starting up the computer for time, generating an interrupt signal at a specified time, and controlling the CPLD to start up the computer;
and turning off the RTC and turning off the function of generating the interrupt signal by the RTC chip.
6. A domestic CPU computer as claimed in claim 4 or 5 wherein the BIOS configures to the EEPROM chip:
setting a power-on starting mode, including starting after power-on, shutting down after power-on and recovering to a state before power-off after power-on,
and controlling the CPLD to execute corresponding operation according to the corresponding power-on starting mode.
7. An automatic starting circuit suitable for a domestic CPU computer is characterized by comprising a timing starting circuit and a power-on starting circuit,
wherein, the timing startup circuit configures timing startup information for the RTC chip through the BIOS, the RTC chip sends corresponding interrupt signals to the CPLD according to the timing startup information, the CPLD controls the timing startup operation,
the power-on starting circuit configures power-on automatic starting related information for the EEPROM chip through the BIOS, automatically reads the power-on automatic starting related information in the EEPROM chip after each power-on through the CPLD, and executes corresponding operation according to corresponding information setting.
8. The automatic boot circuit for domestic CPU computer as claimed in claim 7, wherein the timing boot circuit comprises a two-to-one analog switch connected between the RTC chip and the CPLD, the RTC chip connected to the level shifter chip via the two-to-one analog switch and connected to the processor, the processor connected to the BIOS,
the two-switch one-analog switch is connected between the EEPROM chip and the CPLD in the power-on startup circuit, the EEPROM chip is connected with the level conversion chip through the two-switch one-analog switch and then connected with the processor, and the processor is connected with the BIOS.
CN202010799089.8A 2020-08-11 2020-08-11 Automatic starting method suitable for domestic CPU computer Pending CN111913754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010799089.8A CN111913754A (en) 2020-08-11 2020-08-11 Automatic starting method suitable for domestic CPU computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010799089.8A CN111913754A (en) 2020-08-11 2020-08-11 Automatic starting method suitable for domestic CPU computer

Publications (1)

Publication Number Publication Date
CN111913754A true CN111913754A (en) 2020-11-10

Family

ID=73284783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010799089.8A Pending CN111913754A (en) 2020-08-11 2020-08-11 Automatic starting method suitable for domestic CPU computer

Country Status (1)

Country Link
CN (1) CN111913754A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114579495A (en) * 2022-05-06 2022-06-03 成都前锋信息技术股份有限公司 Implementation method of nationwide universal computer firmware based on Feiteng processor

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092565A (en) * 1999-09-16 2001-04-06 Internatl Business Mach Corp <Ibm> Computer and method for controlling power supply for the computer
CN201657158U (en) * 2010-03-15 2010-11-24 青岛海信电器股份有限公司 Automatic television turning-on circuit in response to urgent messages and television
US20170337066A1 (en) * 2016-05-20 2017-11-23 Inventec (Pudong) Technology Corporation Computer and controlling method thereof
CN108090006A (en) * 2017-12-14 2018-05-29 郑州云海信息技术有限公司 A kind of method of one key switching PCIE Switch operating modes
CN109408126A (en) * 2018-11-07 2019-03-01 郑州云海信息技术有限公司 A kind of starting-up method of multipath server, BMC and multipath server
CN109871245A (en) * 2019-03-01 2019-06-11 广州视源电子科技股份有限公司 Starting state switching method, device, equipment, system and electronic equipment
CN110489367A (en) * 2019-07-29 2019-11-22 苏州浪潮智能科技有限公司 A kind of flexible method and system deployed and be easy to CPLD management backboard
CN111176734A (en) * 2019-12-15 2020-05-19 苏州浪潮智能科技有限公司 Startup control method and equipment of server and storage medium
CN210804315U (en) * 2019-06-13 2020-06-19 深圳微步信息股份有限公司 Automatic power-on circuit and mainboard

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092565A (en) * 1999-09-16 2001-04-06 Internatl Business Mach Corp <Ibm> Computer and method for controlling power supply for the computer
CN201657158U (en) * 2010-03-15 2010-11-24 青岛海信电器股份有限公司 Automatic television turning-on circuit in response to urgent messages and television
US20170337066A1 (en) * 2016-05-20 2017-11-23 Inventec (Pudong) Technology Corporation Computer and controlling method thereof
CN108090006A (en) * 2017-12-14 2018-05-29 郑州云海信息技术有限公司 A kind of method of one key switching PCIE Switch operating modes
CN109408126A (en) * 2018-11-07 2019-03-01 郑州云海信息技术有限公司 A kind of starting-up method of multipath server, BMC and multipath server
CN109871245A (en) * 2019-03-01 2019-06-11 广州视源电子科技股份有限公司 Starting state switching method, device, equipment, system and electronic equipment
CN210804315U (en) * 2019-06-13 2020-06-19 深圳微步信息股份有限公司 Automatic power-on circuit and mainboard
CN110489367A (en) * 2019-07-29 2019-11-22 苏州浪潮智能科技有限公司 A kind of flexible method and system deployed and be easy to CPLD management backboard
CN111176734A (en) * 2019-12-15 2020-05-19 苏州浪潮智能科技有限公司 Startup control method and equipment of server and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114579495A (en) * 2022-05-06 2022-06-03 成都前锋信息技术股份有限公司 Implementation method of nationwide universal computer firmware based on Feiteng processor
CN114579495B (en) * 2022-05-06 2022-09-30 成都前锋信息技术股份有限公司 Implementation method of general computer firmware based on Feiteng processor

Similar Documents

Publication Publication Date Title
TWI382346B (en) Computer system with dual bios protection mechanism and control method of the same
US7447934B2 (en) System and method for using hot plug configuration for PCI error recovery
CN201041656Y (en) CMOS cleaning circuit
US8046575B2 (en) Method for automatically restoring system configuration with a single key
US20140143477A1 (en) Computer system and data recovery method thereof
KR100280637B1 (en) Computer system capable of data update of fixed flash ROM and its control method
EP0426133B1 (en) Personal computer for disabling resume mode upon replacement of HDD
KR950001418B1 (en) Pop up control system for portable computer having setup function and popup function
CN112860298A (en) Remote BIOS (basic input output System) upgrading implementation method and system
CN111240753A (en) Loading method of bootstrap program, storage medium and embedded terminal
CN215769715U (en) Recovery device for abnormal starting
CN111913754A (en) Automatic starting method suitable for domestic CPU computer
WO2021175194A1 (en) Method for timed startup of terminal, and terminal
CN114185421A (en) Method and device for defogging and smear removal of military notebook computer screen
CN101944072A (en) Method and equipment for configuring starting mode of terminal equipment
CN112035171B (en) Factory setting restoration method and system based on UEFI firmware
JP2001117815A (en) Information processor and memory control method of information processor
US10672400B2 (en) Standby mode in electronic device, information processing system, information processing method, and program
WO2020199009A1 (en) Processing method, apparatus and device for starting apparatus, and storage medium
CN114461286A (en) Server starting method and device and readable storage medium
GB2323455A (en) Time correcting computer dongle
CN111124957B (en) USB channel switching device
EP1351149B1 (en) Data processing system and method with status indicator
CN105068835A (en) Mobile terminal and debugging information display method thereof
CN112462909A (en) Reset control method and device of all-in-one switching equipment and storage medium

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