CN100592257C - System for loading starting procedure for mainboard startup through different interface and the method - Google Patents

System for loading starting procedure for mainboard startup through different interface and the method Download PDF

Info

Publication number
CN100592257C
CN100592257C CN200610172077A CN200610172077A CN100592257C CN 100592257 C CN100592257 C CN 100592257C CN 200610172077 A CN200610172077 A CN 200610172077A CN 200610172077 A CN200610172077 A CN 200610172077A CN 100592257 C CN100592257 C CN 100592257C
Authority
CN
China
Prior art keywords
mentioned
mainboard
routine
interface
starter gear
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.)
Active
Application number
CN200610172077A
Other languages
Chinese (zh)
Other versions
CN101211268A (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.)
Micro Star International Co Ltd
Original Assignee
Micro Star International 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 Micro Star International Co Ltd filed Critical Micro Star International Co Ltd
Priority to CN200610172077A priority Critical patent/CN100592257C/en
Publication of CN101211268A publication Critical patent/CN101211268A/en
Application granted granted Critical
Publication of CN100592257C publication Critical patent/CN100592257C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a system for loading a starting procedure to start up a motherboard through different interfaces and a method thereof. A detecting circuit is arranged on the motherboard; whenthe motherboard starts up, if the detecting circuit detects that an actuating mechanism is communicated to the motherboard, a processing circuit on a control motherboard switches a first interface which is preinstalled for receiving the starting procedure into a second interface which is communicated with the actuating mechanism; and then the starting procedure transferred by actuating mechanismis received by the second interface, so as to enable the motherboard to automatically switch the interface to receive starting procedure for starting up.

Description

Can load start-up routine to start the system and the method thereof of mainboard by distinct interface
Technical field
A kind of system and method thereof that starts mainboard is meant that especially a kind of distinct interface that can detect automatically loads start-up routine to start the system and the method thereof of mainboard.
Background technology
Substantially exporting/go into system (BIOS) is one section program code, usually be stored in the EEPROM (Electrically Erasable Programmable Read Only Memo) (EEPROM) or flash memory (Flash) of mainboard, when mainboard will start, central processing unit (CPU) can be loaded into it basic output/go in the system and carry out, and makes each peripherals be carried out work.
If export/go into system's damage substantially, then mainboard just can't load complete basic output/go into system to start, and for this reason, has manufacturer to research and develop the technology that system was exported/went in automatic renewal substantially, make when exporting/going into system's damage substantially, can repair automatically by mainboard.At present common method be will backup basic output/go into system to be stored in the same mainboard, when the damage of normally used basic output/go into system, load the basic output of backup/go into system, and then cover normally used basic output/go into system with basic output/the go into system of backup, thereby realize the effect of repairing automatically, but but need to increase extra storage space like this and increase cost.So, the basic output that the manufacturer that also has will back up/go into system to be stored in the outside storage medium, when the damage of the basic output in the mainboard/go into system, the external device (ED) that stores the basic output of backup/go into system can be connected with mainboard, make mainboard load the basic output of backup/go into system and start mainboard, as No. 087117360 patent case of Taiwan patent.Manufacturer can use the mode as No. 093128050 patent of Taiwan patent in addition, use the backup of being stored in the temporary exterior storage medium of storer to export/go into system substantially, and upgrade basic output on the mainboard/go into system to be temporary in ROM-BIOS in the storer, make mainboard can load basic output after the renewal/go into system to start.
But, along with the processing speed of central processing unit is more and more faster, the speed that peripherals on the mainboard transmits data also needs more and more higher, therefore constantly there is new interface to be used to connect central processing unit and peripherals, the speed that makes data transmit is caught up with the processing speed of central processing unit as much as possible, but such situation can allow two kinds of above-mentioned backup method generation problems, reason is that the storer of basic output/the go into system on the external device (ED) that is used to back up and the storage mainboard all uses and will exports/go into system substantially with a kind of interface and send central processing unit to and carry out, therefore the backup method of above-mentioned use external device (ED) just is used, in case the employed interface of storer of basic output on the mainboard of the external device (ED) of backup and storage/go into system is not simultaneously, mainboard can because can't change into automatically load by different interface export substantially/go into system and cause the situation that can't start, so at present switch (switch) or wire jumper (jumper) can be set on mainboard, allow the user switch to be used for loading basic output/the go into interface of system, such mode is for the user that major part is unfamiliar with computing machine and inconvenient.
Therefore, how to provide the function of the start-up routine in a kind of automatic loading distinct interface, become user and manufacturer and wish the problem that solves.
Summary of the invention
In view of above problem, the object of the present invention is to provide and a kind ofly can load start-up routine to start the system and the method thereof of mainboard by distinct interface, whether be electrically connected the interface of the reception start-up routine that automaticallyes switch by detection starter gear and mainboard, do not need the extra start-up routine that just can load distinct interface of setting like this, thereby solve the problem that prior art is mentioned.
For achieving the above object, the present invention can be made of System and method for two aspects, disclosed in this inventionly a kind ofly can load start-up routine to start the system of mainboard by distinct interface, it is characterized in that, said system comprises: (1) starter gear, and it is used to transmit second start-up routine; And (2) mainboard, it comprises: connector, and it is used to be electrically connected above-mentioned starter gear; Storer, it is used to store first start-up routine; Testing circuit, it is used for judging whether above-mentioned mainboard is electrically connected with above-mentioned starter gear when mainboard starts, when judging that above-mentioned mainboard is not electrically connected with above-mentioned starter gear, transmit first control signal, and when judging that above-mentioned mainboard is electrically connected with above-mentioned starter gear, transmit second control signal; And treatment circuit, it is used to receive above-mentioned first control signal and above-mentioned second control signal, when receiving first control signal, receive above-mentioned first start-up routine with default serial peripheral interface, when receiving second control signal, above-mentioned treatment circuit will switch the low pin number interface of use and receive above-mentioned second start-up routine, and above-mentioned mainboard can be started according to above-mentioned first start-up routine or above-mentioned second start-up routine that above-mentioned treatment circuit receives.Disclosed in this inventionly a kind ofly can load start-up routine to start the method for mainboard by distinct interface, be applied to have on the mainboard of storer, it is characterized in that said method comprises the following step: (1) above-mentioned mainboard preestablishes and receives first start-up routine of being stored in the above-mentioned storer with serial peripheral interface and start; And (2) are when above-mentioned mainboard starts, judge whether above-mentioned mainboard is electrically connected to starter gear, when confirming that above-mentioned starter gear is electrically connected to above-mentioned mainboard, it is the second zero control signal that the power supply of described mainboard can form voltage by above-mentioned starter gear, and described second control signal is sent to the treatment circuit of described mainboard, and the employed interface of South Bridge chip group of the treatment circuit of described mainboard switched to low pin number interface, receive second start-up routine of being stored in the above-mentioned starter gear with described low pin number interface and start; And when confirming that above-mentioned starter gear is not electrically connected to above-mentioned mainboard, voltage on the described power supply can directly be sent to described treatment circuit as first control signal, and the employed interface of described South Bridge chip group switched to above-mentioned serial peripheral interface, receive above-mentioned first start-up routine of being stored in the above-mentioned storer with above-mentioned serial peripheral interface and start.
Below in conjunction with specific embodiment and accompanying drawing thereof, the present invention is described in further detail.
Description of drawings
Figure 1A be the present invention relates to can load start-up routine to start the system chart of mainboard by distinct interface.
Figure 1B be the present invention relates to can load start-up routine to start another system chart of mainboard by distinct interface.
Fig. 2 be the present invention relates to can load start-up routine to start the method flow diagram of mainboard by distinct interface.
Fig. 3 is that the interface that the embodiment of the invention relates to is selected corresponding tables.
Fig. 4 is the detection mode synoptic diagram of the testing circuit that relates to of embodiments of the invention.
Embodiment
Following elder generation can load start-up routine by distinct interface and with the system chart that starts mainboard system works of the present invention is described with what Figure 1A promptly the present invention relates to.As shown in the figure, system of the present invention contains mainboard 100 and starter gear 101, and mainboard 100 comprises storer 110, connector 120, testing circuit 130 and treatment circuit 140, includes storage medium 190 in the starter gear 101.Wherein, required first start-up routine when storer 110 is used to store mainboard 100 startings, and transmit first start-up routine to treatment circuit 140; Connector 120 is to be used to provide mainboard 100 to be electrically connected the bindiny mechanism of starter gear 101; Whether testing circuit 130 is used for detecting starter gear 101 when mainboard 100 startings and is electrically connected with connector 120, if starter gear 101 is not electrically connected with connector 120, then transmit first and control signal to treatment circuit 140, if connector 120 is electrically connected with starter gear 101, then transmits second and control signal to treatment circuit 140; Treatment circuit 140 includes first interface and second interface, first interface uses first bus 150 to be electrically connected with storer 110, second interface uses second bus 160 to be electrically connected with connector 120, it preestablishes and uses first start-up routine of being stored in the first interface reception memorizer 110, first control signal and second control signal that reception is transmitted by testing circuit 130, when receiving first control signal, use predefined first interface to receive first start-up routine, when receiving second control signal, switch the default value that receives start-up routine, change into by second interface and receive second start-up routine that sends by starter gear 101, and load first start-up routine or second start-up routine that is received, mainboard 100 can be started by first start-up routine or second start-up routine; Storage medium 190 is used to store second start-up routine.
Then work system of the present invention and method are described, and can load start-up routine to start the method flow diagram of mainboard by distinct interface with reference to what Fig. 2 promptly the present invention relates to simultaneously with an embodiment.In the present embodiment, first interface and second interface are respectively with serial peripheral interface (Serial PeripheralInterface; SPI) with low pin number (Low Pin Count; LPC) interface is an example, but first interface that the present invention relates to and second interface is as limit, and other connects (Peripheral Component Interconnect as peripherals; PCI) interface that uses of the peripherals of computing machine such as interface all can use in the present invention, because second interface be FWH/hang down the pin number interface in the present embodiment, connector 120 is corresponding slot.First start-up routine of present embodiment and second start-up routine are example with basic output/go into system, storer 110 is an example with flash memory (Flash) simultaneously, but the present invention is not as limit, the storer of other program storage code also can be the storer that the present invention relates to, for example EEPROM (Electrically Erasable Programmable Read Only Memo) (ElectricallyErasable Programmable Read-Only Memory; EEPROM) etc.In addition, treatment circuit 140 just comprises the treatment circuit of South Bridge chip group (chipset) and central processing unit in the present embodiment for starting the main circuit of mainboard.
Carry out first start-up routine, promptly in mainboard 100 of the present invention, can set the testing circuit 130 default serial peripheral interface of using when dispatching from the factory and receive first start-up routine (step 210) that flash memory 110 is stored, just when the power switch on the mainboard 100 is pressed by the user and is started, testing circuit 130 can judge that whether starter gear 101 is electrically connected (step 220) by connecting line with connector 110 (slot) on the mainboard 100, if starting first start-up routine of mainboard is not at present damaged, then the user does not need to use second start-up routine in the starter gear 101 to start mainboard, therefore starter gear 101 can not be electrically connected with mainboard 100, that is to say, testing circuit 130 will judge that starter gear 101 is not electrically connected to mainboard 100, so testing circuit 130 will transmit default selection signal " 01 " to the South Bridge chip group in the treatment circuit 140, select shown in the corresponding tables 300 as the interface of Fig. 3, the South Bridge chip group is after receiving the selection signal of " 01 ", use serial peripheral interface reception flash memory 110 is sent to first start-up routine (step 230) on first bus 150, and when receiving first start-up routine, transmit first start-up routine to treatment circuit 140, treatment circuit 140 can be after receiving first start-up routine, the program code that loads and carry out first start-up routine starts mainboard 100 (step 250), thereby finishes the common start-up course of mainboard 100.
After loading in treatment circuit 140 and carrying out first start-up routine, mainboard 100 can't start normally, then the user can use connecting line that starter gear 101 is connected to slot 120 on the mainboard 100, thereby make starter gear 101 be electrically connected to mainboard 100, and press power switch mainboard 101 is restarted.
When mainboard 100 restarts, testing circuit 130 can judge that discovery starter gear 101 is electrically connected (step 220) with mainboard 100, the selection signal that therefore can transmit " 11 " is to the South Bridge chip group in the treatment circuit 140, as shown in Figure 3, after selection signal that testing circuit 130 transmits " 11 " is to the South Bridge chip group, the South Bridge chip group can be used FWH/low pin number interface to receive by starter gear 101 and send to second start-up routine on second bus 160, that is to say, the interface that treatment circuit 140 will receive start-up routine switches to FWH/low pin number interface (step 240) by default serial peripheral interface, then carries out second start-up routine by central processing unit and starts mainboard 100.So, the present invention promptly can solve the problem that the start-up routine of the distinct interface that prior art relates to can't load automatically.
Illustrate that then testing circuit 130 judges the method whether starter gear 101 is electrically connected with mainboard 100, as shown in Figure 4, when starter gear 101 was not connected to connector 120, the voltage on the power supply 131 can directly be sent in the treatment circuit 140, and this voltage is first control signal; When starter gear 101 is connected to connector 120, the first stitch 101a of starter gear 101 and the second stitch 101b can be electrically connected with the 3rd stitch 130a and the 4th stitch 130b of testing circuit 130 respectively, if the first stitch 101a links to each other with the second stitch 101b, and because the 4th stitch 130b ground connection, so first stitch 101a, the second stitch 101b, the 3rd stitch 130a and the equal ground connection of the 4th stitch 130b, therefore, the voltage that sends on the power supply 131 will pass through the 3rd stitch 130a in regular turn, the second stitch 101b, the first stitch 101a and the 4th stitch 130b, so be sent to the voltage of treatment circuit 140 is zero, and this is second control signal.The mode whether the detection starter gear that the present invention relates to is electrically connected with mainboard is not exceeded in the above described manner, and other can detect starter gear and all can use in invention with the mode whether mainboard is electrically connected.
In addition, above-mentioned starter gear 101 can not stored second start-up routine, whether want control processing circuit 140 to receive second start-up routine and only be used to provide testing circuit 130 to detect, promptly shown in Figure 1B, originally being arranged at storage medium 190 on the starter gear 101 can change into and being arranged on the memory storage 102, be electrically connected to starter gear 101 via memory storage 102, starter gear 101 just can read second start-up routine from memory storage 102 like this, and be sent to mainboard 100, make mainboard 100 be used second start-up routine to start shooting.

Claims (6)

1. one kind can load start-up routine to start the method for mainboard by distinct interface, is applied to have on the mainboard of storer, it is characterized in that said method comprises the following step:
(1) above-mentioned mainboard preestablishes and receives first start-up routine of being stored in the above-mentioned storer with serial peripheral interface and start; And
(2) when above-mentioned mainboard starts, judge whether above-mentioned mainboard is electrically connected to starter gear, when confirming that above-mentioned starter gear is electrically connected to above-mentioned mainboard, it is the second zero control signal that the power supply of described mainboard can form voltage by above-mentioned starter gear, and described second control signal is sent to the treatment circuit of described mainboard, and the employed interface of South Bridge chip group of described treatment circuit switched to low pin number interface, receive second start-up routine of being stored in the above-mentioned starter gear with described low pin number interface and start; And when confirming that above-mentioned starter gear is not electrically connected to above-mentioned mainboard, voltage on the described power supply can directly be sent to described treatment circuit as first control signal, and the employed interface of described South Bridge chip group switched to above-mentioned serial peripheral interface, receive above-mentioned first start-up routine of being stored in the above-mentioned storer with above-mentioned serial peripheral interface and start.
2. one kind can load start-up routine to start the system of mainboard by distinct interface, it is characterized in that said system comprises:
(1) starter gear, it is used to transmit second start-up routine; And
(2) mainboard, it comprises: connector, it is used to be electrically connected above-mentioned starter gear; Storer, it is used to store first start-up routine; Testing circuit, it is used for judging whether above-mentioned mainboard is electrically connected with above-mentioned starter gear when mainboard starts, when judging that above-mentioned mainboard is not electrically connected with above-mentioned starter gear, transmit first control signal, and when judging that above-mentioned mainboard is electrically connected with above-mentioned starter gear, transmit second control signal; And treatment circuit, it is used to receive above-mentioned first control signal and above-mentioned second control signal, when receiving first control signal, receive above-mentioned first start-up routine with default serial peripheral interface, when receiving second control signal, above-mentioned treatment circuit will switch the low pin number interface of use and receive above-mentioned second start-up routine, and above-mentioned mainboard can be started according to above-mentioned first start-up routine or above-mentioned second start-up routine that above-mentioned treatment circuit receives.
3. as claimed in claim 2ly can load start-up routine to start the system of mainboard, it is characterized in that above-mentioned second start-up routine is stored in the above-mentioned starter gear by distinct interface.
4. as claimed in claim 2ly can load start-up routine to start the system of mainboard by distinct interface, it is characterized in that, above-mentioned starter gear also comprises storage medium, above-mentioned storage medium is used to store above-mentioned second start-up routine, and be electrically connected with above-mentioned starter gear, make above-mentioned starter gear can read above-mentioned second start-up routine and be sent on the above-mentioned mainboard.
5. as claimed in claim 2ly can load start-up routine to start the system of mainboard, it is characterized in that above-mentioned storer is a flash memory by distinct interface.
6. as claimed in claim 2ly can load start-up routine to start the system of mainboard, it is characterized in that above-mentioned storer is an EEPROM (Electrically Erasable Programmable Read Only Memo) by distinct interface.
CN200610172077A 2006-12-29 2006-12-29 System for loading starting procedure for mainboard startup through different interface and the method Active CN100592257C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610172077A CN100592257C (en) 2006-12-29 2006-12-29 System for loading starting procedure for mainboard startup through different interface and the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610172077A CN100592257C (en) 2006-12-29 2006-12-29 System for loading starting procedure for mainboard startup through different interface and the method

Publications (2)

Publication Number Publication Date
CN101211268A CN101211268A (en) 2008-07-02
CN100592257C true CN100592257C (en) 2010-02-24

Family

ID=39611324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610172077A Active CN100592257C (en) 2006-12-29 2006-12-29 System for loading starting procedure for mainboard startup through different interface and the method

Country Status (1)

Country Link
CN (1) CN100592257C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930373B (en) * 2009-06-19 2013-08-07 中兴通讯股份有限公司 Method and device for starting system on chip
CN107358928B (en) * 2017-08-21 2022-12-23 武汉精测电子集团股份有限公司 Ultrahigh resolution graphics signal generator and starting and upgrading method thereof
CN110118925B (en) * 2019-05-21 2021-08-06 威创集团股份有限公司 Core board testing method and system
CN114637544B (en) * 2022-05-18 2022-08-12 深圳市华曦达科技股份有限公司 Intelligent terminal start control method and device and start switching device
CN114647500A (en) * 2022-05-23 2022-06-21 深圳市华曦达科技股份有限公司 Intelligent terminal start control method and device and USB equipment

Also Published As

Publication number Publication date
CN101211268A (en) 2008-07-02

Similar Documents

Publication Publication Date Title
US8458524B2 (en) Firmware recovery system and method
JP5065297B2 (en) Method of booting host device from MMC / SD device, host device bootable from MMC / SD device, and MMC / SD device capable of booting host device
US7908417B2 (en) Motherboard system, storage device for booting up thereof and connector
CN101330399A (en) Method for upgrading built-in equipment
CN102081562A (en) Equipment diagnosis method and system
CN100592257C (en) System for loading starting procedure for mainboard startup through different interface and the method
US7966486B2 (en) Computer system with dual basic input output system and operation method thereof
CN101853173A (en) Software upgrading method and device of programmable logic device of distributed system
GB2463809A (en) Peripheral device operation method, peripheral device and host
CN103593281A (en) Test system and test method
US20090210690A1 (en) Method of updating basic input output system and module and computer system implementing the same
CN109800032A (en) BOOTROM multicore loading method and device
CN114443544B (en) I2C module-based master-slave mode switching method and device
CN101515236B (en) Restoring method and update module for basic input/output system and computer system
CN107544804A (en) The startup method and device of embedded system terminal development mode
CN100524245C (en) Method for monitoring input/output port data
US8700826B2 (en) Controller, computer system and control method thereof
CN101727329B (en) Mainboard system, storage device for starting same and connector
CN214586871U (en) Communication adapter device
CN115129384A (en) Electronic equipment and running method of starting program of electronic equipment
CN112667544A (en) Method, device, system and medium for controlling mainboard slot enabling
US20060155978A1 (en) Method for initialising programmable systems
CN117492800B (en) Method for upgrading firmware through usb
CN102253907B (en) Super input-output module, computer system and control method thereof
CN113672536B (en) Data storage system, storage module and data storage method

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