CN1885252A - Apparatus and method for brushing BIOS - Google Patents

Apparatus and method for brushing BIOS Download PDF

Info

Publication number
CN1885252A
CN1885252A CN 200510079340 CN200510079340A CN1885252A CN 1885252 A CN1885252 A CN 1885252A CN 200510079340 CN200510079340 CN 200510079340 CN 200510079340 A CN200510079340 A CN 200510079340A CN 1885252 A CN1885252 A CN 1885252A
Authority
CN
China
Prior art keywords
data terminal
terminal equipment
bios
brushing
applications
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510079340
Other languages
Chinese (zh)
Other versions
CN100421063C (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.)
Shenzhen Dinghai Electron Co., Ltd.
Original Assignee
Shenzhen Dingxing Digital Network Technology 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 Shenzhen Dingxing Digital Network Technology Co Ltd filed Critical Shenzhen Dingxing Digital Network Technology Co Ltd
Priority to CNB2005100793409A priority Critical patent/CN100421063C/en
Publication of CN1885252A publication Critical patent/CN1885252A/en
Application granted granted Critical
Publication of CN100421063C publication Critical patent/CN100421063C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a device for writing BIOS, which comprises: first data terminal, second data terminal, and one converter for converting the voltage, connected between the serial port of first data terminal and the serial port of EC of second data terminal, via data line. And the writing method comprises: setting GPIO port of EC used to control writing as low voltage; the superior software of first data terminal sends out operation command; the convert plate converts the voltage; the bottom software of second data terminal controls and writes based on the instructions of superior software. The invention has simple structure and high efficiency.

Description

The device and method of brushing BIOS
[technical field]
The present invention relates to a kind of device and method of brushing BIOS, refer in particular to a kind of device and method that utilizes the serial ports brushing BIOS on the EC (embedded controller) that is used on the notebook computer.
[technical background]
In the early development process of notebook computer, need often BIOS to be write with a brush dipped in Chinese ink, and prior art all adopts cd-rom recorder or emulator to the instrument that BIOS writes with a brush dipped in Chinese ink.Higher because of the cost of cd-rom recorder or emulator, so notebook computer exploitation producer can not buy many for each Developmental Engineer is equipped with, thereby the PHP will copy the file of need burning, be copied to cd-rom recorder or emulator.The Developmental Engineer can run into problem undoubtedly like this: xcopy repeatedly, brushing BIOS repeatedly, sometimes even plug BIOS chip, programming repeatedly that will be repeatedly, the efficient and the cost of influence exploitation so greatly.In addition, the cost of cd-rom recorder is also very high, and the more higher higher and less stable of emulator price of efficient can't really improve development efficiency effectively and reduce cost of development.
And in above-mentioned writing with a brush dipped in Chinese ink in the method, if the BIOS chip has been welded on the circuit board and has been assembled into machine, if machine broke down and can not normally move this moment, certainly will following problem can occur again: the slip-stick artist need open cabinet, pull down the BIOS chip from circuit board, and BIOS is write with a brush dipped in Chinese ink again.So, waste time and energy, and in unloading process, will certainly the stitch of BIOS chip be exerted an influence.
[summary of the invention]
The technical matters that institute of the present invention desire solves provides a kind of serial ports of EC in the notebook computer (embedded controller) that utilizes and carries out the device and method that BIOS writes with a brush dipped in Chinese ink, and it is simple in structure, easy to use, save cost, raise the efficiency, stable performance and easy-to-use.
The technical solution adopted in the present invention is: a kind of device of brushing BIOS, comprise first data terminal equipment, second data terminal equipment, and the switching device that voltage is changed, be connected in by data line between the serial ports on the EC of the serial ports of first data terminal equipment and second data terminal equipment.
A kind of method of brushing BIOS may further comprise the steps:
Step 1, putting the GPIO mouth that of EC is used to write with a brush dipped in Chinese ink control is low level;
Step 2 is sent operational order by upper layer software (applications) on first data terminal equipment;
Step 3, card extender is changed voltage;
Step 4 is controlled by bottom software on second data terminal equipment, and operation is write with a brush dipped in Chinese ink in the instruction that upper layer software (applications) sends over.
The technique effect that the present invention reached is: the present invention utilizes the existing resource of notebook computer--and the last serial ports of-EC carries out the signal transmission, the device and method that only increases by a voltage conversion device and BIOS is write with a brush dipped in Chinese ink, simple in structure, easy to use, write with a brush dipped in Chinese ink efficient and improve.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the structured flowchart of the device and method of brushing BIOS of the present invention.
Fig. 2 is the flow chart of steps of the device and method of brushing BIOS of the present invention.
[embodiment]
Brushing BIOS device of the present invention mainly comprises a card extender 12, is the switching device that voltage is changed, and it is connected between the serial ports of target machine and terminating machine, utilizes serial ports to carry out communication and connects, and realizes writing with a brush dipped in Chinese ink BIOS.Concrete connection side's block diagram as shown in Figure 1, serial ports (COM) termination from data terminal equipment 10 (terminating machine) goes out the data communication line, be connected in then on the card extender 12, card extender 12 is connected on the serial ports controller of data terminal equipment 14 (target machine) again, also promptly links to each other with the serial ports of EC (embedded controller).The present invention also need utilize software to realize, on data terminal equipment 10 upper procedure is installed, and installs the control program of writing with a brush dipped in Chinese ink of the present invention on EC, communication between EC and the BIOS chip utilizes the control of EC, thereby realizes writing with a brush dipped in Chinese ink of BIOS.
The present invention is in order to realize utilizing the function of serial ports brushing BIOS, a little special designs on software and hardware, have all been done, promptly be to have increased a voltage card extender 12 on the hardware, hardware is responsible for making that rs 232 serial interface signal can efficient communication on the rs 232 serial interface signal on the EC chip and terminating machine on the target machine notebook computer.Design on software promptly is to treat that the bottom software of the target machine of brushing BIOS is used for control hardware and writes with a brush dipped in Chinese ink with being responsible for and communicate by letter with terminating machine, and hardware is specifically implemented, and both complement each other.The terminating machine upper layer software (applications) provides a close friend's interface for users operation and finishes and the communicating by letter of target machine bottom, and it is quick to be easy to use, and this function is finished in triplicity jointly.Software section, terminating machine upper layer software (applications) adopt message mechanism to receive user's request, comprise Read, Write, Erase, Fast flash; Handshake, Load File, COM Setting; Make every effort to realize close friend user's action pane flexibly, and stability and high efficiency ground and bottom communication.The target machine bottom software will switch to the EC chip CRISIS MODE, and under this pattern, the MPU of EC chip is write with a brush dipped in Chinese ink module and monopolizes, and can improve the efficient and the reliability of running software so greatly.Write with a brush dipped in Chinese ink module and be responsible for the demand on receiving terminal machine upper strata, realize correlation function is specifically finished in the reading and writing of BIOS chip, the control of wiping.
The present invention also connects two GPIO mouths from the EC chip, and an interface is realized writing with a brush dipped in Chinese ink gauge tap, and an interface is the RESET of EC chip.
During concrete operations, the GPIO mouth that is used to write with a brush dipped in Chinese ink control that needs to deploy at first outside EC is a low level, then bottom software can switch to EC recovery pattern (CRISIS MODE), so that receive the order of upper layer software (applications), and hardware controlled, after being positioned at upper layer software (applications) on the data terminal equipment and sending operational order, the transmission by communication channel, and the voltage transitions of card extender, EC promptly utilizes the control of bottom software, can write with a brush dipped in Chinese ink operation by the instruction that upper layer software (applications) sends over.
In software operation, system judges earlier whether the input block is full, and after the playback buffer district was full, system received designator, different according to different command execution again functions;
The terminating machine upper layer software (applications) adopts message mechanism to receive user's request, comprises Handshake, Read, Write, Erase etc.
At first, upper layer software (applications) can send (Handshake) order of shaking hands, and then postbacks a character after EC receives to the display device of data terminal equipment, shows and shake hands successfully that next two machine communications success can carry out following each operation:
Read (Read) when order when upper layer software (applications) sends, process flow diagram as shown in Figure 2 as can be known, EC postbacks and reads to receive orders, EC judges whether receiver address is successful, up to reading receiver address success, EC postbacks a character, shows successfully to receive and read instruction, at this moment, begin from the BIOS chip reading of data and pass to terminal by serial ports, EC also judges whether to have passed, if passed, then postback one and transmit successful order, do not continue to transmit if passed to return;
, wipes upper layer software (applications) (Erase) order when sending, then postbacking one after EC receives wipes and receives orders, and judge further whether receiver address is successful, up to judging the receiver address success, just begin to wipe, and by default for once wiping the size of 4K, next continue to carry out and wipe;
Write (Write) order when upper layer software (applications) sends, then postback one after EC receives and write and receive orders, and further judge whether success of receiver address, up to judging the receiver address success, postback a character, show successfully and receive, begin data are write in the BIOS chip this moment, write fashionable, EC can carry out a judgement of whether having write, and writes if do not write then continued, and writes successfully order if write then postbacked one, next, carry out other command operation or stop to write with a brush dipped in Chinese ink.

Claims (10)

1. the device of a brushing BIOS, comprise first data terminal equipment, second data terminal equipment, it is characterized in that: it comprises a switching device that voltage is changed, and is connected in by data line between the serial ports on the EC of the serial ports of first data terminal equipment and second data terminal equipment.
2. the device of brushing BIOS as claimed in claim 1, it is characterized in that: described first data terminal equipment is desktop personal computer, handheld personal computers.
3. the device of brushing BIOS as claimed in claim 1, it is characterized in that: described second data terminal equipment is a notebook computer.
4. the device of brushing BIOS as claimed in claim 1 is characterized in that: connect two GPIO mouths on the described EC.
5. the method for a brushing BIOS is characterized in that: may further comprise the steps:
Step 1, putting the GPIO mouth that of EC is used to write with a brush dipped in Chinese ink control is low level;
Step 2 is sent operational order by upper layer software (applications) on first data terminal equipment;
Step 3, card extender is changed voltage;
Step 4 is controlled by bottom software on second data terminal equipment, writes with a brush dipped in Chinese ink operation by the instruction that upper layer software (applications) sends over.
6. the method for brushing BIOS as claimed in claim 5, it is characterized in that: the operational order that described step 2 sends over comprises Handshake, Read, Write, Erase, Fast flash.
7. the method for brushing BIOS as claimed in claim 5 is characterized in that: described step 4 is when the Handshake order of receiving upper layer software (applications), and EC postbacks on character to the first data terminal equipment.
8. the method for brushing BIOS as claimed in claim 5, it is characterized in that: described step 4 is in Read when order of receiving upper layer software (applications), and EC postbacks and receives orders, wait to read the receiver address success after, postback on character to the first data terminal equipment, begin reading of data from the BIOS chip.
9. the method for brushing BIOS as claimed in claim 5, it is characterized in that: described step 4 is in Write when order of receiving upper layer software (applications), and EC postbacks and receives orders, wait to read the receiver address success after, postback on character to the first data terminal equipment, begin data are write in the BIOS chip.
10. the method for brushing BIOS as claimed in claim 5 is characterized in that: described step 4 is when the Erase order of receiving upper layer software (applications), and EC postbacks and receives orders, wait to read the receiver address success after, begin to carry out erase command.
CNB2005100793409A 2005-06-23 2005-06-23 Apparatus and method for brushing BIOS Expired - Fee Related CN100421063C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100793409A CN100421063C (en) 2005-06-23 2005-06-23 Apparatus and method for brushing BIOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100793409A CN100421063C (en) 2005-06-23 2005-06-23 Apparatus and method for brushing BIOS

Publications (2)

Publication Number Publication Date
CN1885252A true CN1885252A (en) 2006-12-27
CN100421063C CN100421063C (en) 2008-09-24

Family

ID=37583418

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100793409A Expired - Fee Related CN100421063C (en) 2005-06-23 2005-06-23 Apparatus and method for brushing BIOS

Country Status (1)

Country Link
CN (1) CN100421063C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279117A (en) * 2014-07-01 2016-01-27 恩斯迈电子(深圳)有限公司 Bridge module for updating basic input output system and updating method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103376868A (en) * 2012-04-19 2013-10-30 鸿富锦精密工业(武汉)有限公司 Power adapter identification system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100480998C (en) * 1999-12-24 2009-04-22 英业达股份有限公司 Renewing method for basic output and input system through net work
TW557439B (en) * 2000-05-08 2003-10-11 Mitac Technology Corp Method for activating specific mechanism of computer
CN1178136C (en) * 2000-11-30 2004-12-01 英业达股份有限公司 Device and method for maintaining contents of BIOS chip
US7305668B2 (en) * 2002-07-31 2007-12-04 Intel Corporation Secure method to perform computer system firmware updates
CN1245682C (en) * 2002-12-13 2006-03-15 英业达股份有限公司 Computer chip data write-in device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279117A (en) * 2014-07-01 2016-01-27 恩斯迈电子(深圳)有限公司 Bridge module for updating basic input output system and updating method thereof

Also Published As

Publication number Publication date
CN100421063C (en) 2008-09-24

Similar Documents

Publication Publication Date Title
CN101553783B (en) For receiving the system and method for control command at ancillary equipment
US8799521B2 (en) System and method for receiving control commands at a peripheral device
CN101382904B (en) Method and system for implementing automatic installation of intelligent cipher key equipment
CN202956753U (en) Programming device and programming system of flash memory chip in embedded system
CN103685399A (en) Method, device and system for logging in Unix-like virtual container
CN101620538A (en) Method for automatically operating CDROM function on USB network card equipment
CN101441592A (en) Test system and method of embedded system
CN101782880B (en) Multi-computer switch, transmitter thereof with multiple hosts and setting method
US8516079B2 (en) Remote desktop control system using USB interface and method thereof
CN101159957A (en) Data terminal equipment updating, renovating method and device
CN100421063C (en) Apparatus and method for brushing BIOS
US7281246B1 (en) Method for loading user interface software
CN101470676B (en) Method for automatic management software installation and operation of USB modem
CN2869992Y (en) Switch-over circuit from high-speed interface to low-speed interface
CN1242324C (en) Method of large capacity movable memory for mobile telephone
CN101354634B (en) Memory apparatus system connecting ATA port with multiplex SATA port and control method thereof
CN110045967B (en) Serial graphical interface interaction method and device of firmware layer
CN101727296A (en) Hard disk control circuit
CN1306428C (en) High-speed program downloading system and method for mobile station in communication network
CN1275167C (en) Controller for virtual keyboard and mouse
CN213482757U (en) Mainboard and server
KR200411273Y1 (en) Network switching apparatus
CN1928834A (en) Test device and method for external device extended interface
CN216561744U (en) Handwriting screen and handwriting input device
CN1320468C (en) Radio peripheral equipment and control method capable of supporting basic input function

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
ASS Succession or assignment of patent right

Owner name: SHENZHEN DINGHAI ELECTRONICS CO., LTD.

Free format text: FORMER OWNER: SHENZHEN CITY DINGXING DIGITAL NETWORK TECHNOLOGY CO., LTD.

Effective date: 20100316

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518040 EAST 8/F, BUILDING 201, TAIRAN INDUSTRIAL PARK, CHEGONGMIAO, FUTIAN DISTRICT, SHENZHEN CITY, GUANGDONG PROVINCE TO: 518000 HOUSE 5, BUILDING B, DAXIN INDUSTRY RESIDENTIAL QUATER, TAISHANG INDUSTRIAL PARK ZONE, SHENZHEN EXPORT PROCESSING AREA, LONGGANG DISTRICT, SHENZHEN CITY, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20100316

Address after: 518000, Shenzhen Industrial Zone, industrial zone, Shenzhen export processing zone, Longgang District, Guangdong, China, five floor, new industrial district

Patentee after: Shenzhen Dinghai Electron Co., Ltd.

Address before: 518040 Guangdong city of Shenzhen province Futian District Turner Temple Tairan Industrial Park 201 East 8 Building

Patentee before: Shenzhen Dingxing Digital Network Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080924

Termination date: 20140623

EXPY Termination of patent right or utility model