CN102479548A - Data writing method and writing device of electrically erasable programmable read-only memory - Google Patents

Data writing method and writing device of electrically erasable programmable read-only memory Download PDF

Info

Publication number
CN102479548A
CN102479548A CN2010105567852A CN201010556785A CN102479548A CN 102479548 A CN102479548 A CN 102479548A CN 2010105567852 A CN2010105567852 A CN 2010105567852A CN 201010556785 A CN201010556785 A CN 201010556785A CN 102479548 A CN102479548 A CN 102479548A
Authority
CN
China
Prior art keywords
writing
system voltage
voltage
operating means
pin
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
CN2010105567852A
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.)
Unigrand Ltd
Original Assignee
Unigrand 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 Unigrand Ltd filed Critical Unigrand Ltd
Priority to CN2010105567852A priority Critical patent/CN102479548A/en
Publication of CN102479548A publication Critical patent/CN102479548A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

The invention relates to a data writing method and writing device of an electrically erasable programmable read-only memory. The method is implemented in coordination with an operating device. The operating device comprises the electrically erasable programmable read-only memory with a writing prevention pin, wherein the writing prevention pin is loaded with a writing prevention voltage; when the writing prevention voltage is higher than the system voltage, the operating device is in a writing prevention mode; and when the writing prevention voltage is lower than the system voltage, the operating device is in a writing mode. The method comprises the following steps: (a) electrically connecting the writing device with the operating device; (b) boosting the system voltage to be a new system voltage so that the writing prevention voltage of the operating device is lower than the boosted system voltage and the operating device is in the writing mode; and (c) writing updating data to the operating device. The data writing method and writing device provided by the invention have the advantages that: updating data can be automatically written by a simple operation of connecting the writing device with the operating device, thus the current complicated program data updating flow is simplified.

Description

The method for writing data of EEPROM and writing station
Technical field
The present invention relates to a kind of wiring method and writing station of Updating Information, particularly relate to a kind of simplification more method for writing data and the writing station of the EEPROM of new technological process.
Background technology
Consult Fig. 1, a kind of operating means 9 of the usefulness of playing (as: Wii telepilot) can electrically connect an expanding device 7, and its related application can be with reference to the explanation of the open case of No. 20070072680 patent of case before the U.S..
Operating means 9 has an EEPROM 91 and the extended interface 921 that a core circuit 90, is loaded with the required routine data 911 of operating means 9; Accordingly, expanding device 7 is also arranged in pairs or groups has the connecting interface 711 of an electric connection extended interface 921.
Aspect the side circuit connection, the pin that core circuit 90 electrically connects EEPROM 91 comprises WP (anti-writing) pin, V DDPin, GND pin, SCL (serial clock) pin and SDA (serial data) pin, SCL wherein and SDA pin are the I that is used for transmitting data 2The sequence at C interface (Series) pin.
The voltage of core circuit 90 control WP pins generally is to make that the WP pin voltage is that high levle is write content to avoid mistake, has only to confirm to write data WP pin voltage in season and transfer low level to, accomplishes to draw high after writing to be high levle again; Just be benchmark with the system voltage, anti-write (WP) is higher than system voltage then for reading/prevent WriteMode, prevents that writing (WP) is lower than system voltage then for writing pattern.
Extended interface 921 also comprises SCL, SDA, V CCAnd GND pin; But there is not the WP pin; Connecting interface 711 is identical with the pin of extended interface 921; Can provide the user to operate through the button on the expanding device 7 or other additional input interface, again with SCL and the extra instruction of SDA pin transmission, and then extended operation device 9 unexistent operating functions.
The mode of operation that known existing EEPROM (be called for short EEPROM) has usually comprises read mode and writes pattern, and its characteristics just are that available specific control voltage wipes the legacy data on the eeprom chip and write new data.
Yet; The disappearance of the data-updating method of aforementioned electric EPROM 91 is: when routine data 911 needs upgrading or renewal; Must send the new tough volume data of former factory burning back to; Or the software program that utilizes manufacturer to provide is installed in and carries out tough body renewal on the main frame, and is very complicated and not convenient in the operation.
Summary of the invention
The object of the present invention is to provide a kind of method for writing data and writing station that needs only a simple connecting moves with regard to the EEPROM of automatically updated data.
So the method for writing data of EEPROM of the present invention is to use a writing station to upgrade the routine data of an operating means.
This operating means comprises that one has an anti-EEPROM of writing pin; Should anti-write pin and be loaded with the anti-voltage of writing; Write and be an anti-WriteMode when voltage is higher than a system voltage when this is anti-, write and be one when voltage is lower than this system voltage and write pattern when this is anti-; Said method comprises the steps:
(a) this writing station electrically connects this operating means;
(b) this writing station boosts this system voltage becomes new system voltage, and the anti-voltage of writing that makes this operating means is lower than the system voltage after said the boosting and is this and writes pattern;
(c) when this writes pattern, this writing station writes one to this operating means and Updates Information.
Preferably, after this writing station of step (a) electrically connected this operating means, this writing station was detected the system voltage of this operating means, if monitor the execution in step (b) that begins behind this system voltage.
Writing station of the present invention is to cooperate to upgrade the routine data of this operating means; This writing station and an operating means electrically connect; This operating means comprises that one has an anti-EEPROM of writing pin, and this anti-pin of writing is loaded with the anti-voltage of writing, and prevents writing when this being an anti-WriteMode when voltage is higher than a system voltage; Write and be one when voltage is lower than this system voltage and write pattern when this is anti-, this writing station comprises:
One processing unit, control are coordinated each assembly running, are loaded with one and supply to write Updating Information of this operating means;
One connecting interface electrically connects this operating means, has the data pin group that this system voltage of transmission is Updated Information by this processing unit control and transmission for an energization pins and of this processing unit;
One boosting unit electrically connects this operating means, certainly this processing unit receive this system voltage and it is boosted after load on this energization pins, the anti-voltage of writing that makes this operating means is lower than the system voltage after said the boosting and is this and writes pattern.
Preferably; Said processing unit comprises that a processor and receives the switch module of this processor control; This processor has a monitoring pin and a control pin, and this processor is detected this system voltage with the monitoring pin, if monitor the system voltage that an expression has been connected with this operating means; Make this switch module boost for this boosting unit to be a new system voltage, again this new system voltage is loaded on this energization pins through this system voltage.
Preferably, the said write device also comprises a protected location, and this protected location is electrically connected between this energization pins and this switch module and comprises several diode in series, when this system voltage is too high, avoids puncturing this switch module.
Preferably, the said write device also comprises an indicating member, and this indicating member comprises several light emitting diodes, and it is to prevent that maybe this write pattern to WriteMode at present that these light emitting diodes controlled by this processing unit to be used for indication.
The method for writing data of EEPROM of the present invention and the beneficial effect of writing station are: only need a simple action; Exactly writing station is connected in operating means; Writing station will write EEPROM automatically and Update Information, and the routine data that helps to simplify present complicacy is new technological process more.
Description of drawings
Fig. 1 is a prior art system calcspar, explains that a kind of operating means can be used for electrically connecting expanding device;
Fig. 2 is a prior art system calcspar, and it is to utilize extended interface to connect an expanding device to increase operating function that description operation is installed on general modfel;
Fig. 3 is a system block diagrams, and it is to utilize extended interface to connect a writing station to Update Information that description operation is installed on the pattern of writing;
Fig. 4 is a process flow diagram, and the method for writing data of EEPROM of the present invention is described;
Fig. 5 is a circuit diagram, and the detailed components and the annexation of writing station of the present invention is described;
Fig. 6 is a sequential oscillogram, and the voltage signal of energization pins and data pin group transmission is described.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is elaborated.
In the preferred embodiment of the present invention, for the purpose of convenient explanation, introduce the general modfel (like Fig. 2) of operating means 6 earlier, the pattern that writes (like Fig. 3) when cooperating writing station 1 of the present invention to use is detailed again, explain as follows.
I. general modfel
Consult Fig. 2, operating means 6 is game hosts 81 that cooperation one is connected with a screen 82, lets the user can use operating means 6 and game host 81 to produce interaction with wireless transmission control mode and control screen 82 picture displayed.
Game host 81 comprises that a control module 810, medium read player 811, a radio receiving unit 812, and a screen connecting interface 813; Each assembly running of control module 810 controls; Medium read player 811 from external data sources; For example a CD is obtained games and is supplied control module 810 execution; Screen connecting interface 813 electrically connects screen 82, produces the picture of games whereby at screen 82, and 812 receptions of radio receiving unit are given the interaction effect of control module 810 with the control game picture from the steering order of operating means 6.
Operating means 6 has a controller 60, an EEPROM 61 (being called for short EEPROM), a sensor assembly 62, a wireless transmission unit 63, a power circuit 641, a battery 642, a key groups 65, and an extended interface 66.
Battery 642 wherein is that supply electric power converts 3.3 volts required system voltage V into for power circuit 641 CC Sensor assembly 62 and key groups 65 are the input functions as steering order; EEPROM 61 is loaded with a routine data 611 of operating means 6.
EEPROM 61 mainly comprises WP (anti-writing) pin, V DDPin, GND pin, SCL (serial clock) pin and SDA (serial data) pin; SCL and SDA pin are the I that is used for transmitting data 2The sequence at C interface (Series) pin; The anti-voltage V that writes of controller 60 control WP pins WP, under the general situation, the anti-voltage V that writes WPAccurate position a little more than system voltage V CC, write content as write protection to avoid mistake, have only when confirming to write data, can transfer low level to, accomplish to draw high again after writing and be high levle; Just with system voltage V CCBe benchmark, the anti-voltage V that writes WPBe higher than system voltage V CCThen, be lower than system voltage V for reading/prevent WriteMode CCThen, as shown in table 1 for writing pattern.
Table 1
Figure BSA00000357757000051
Extended interface 66 comprises similar aforesaid SCL, SDA, VCC and GND pin but does not have the WP pin; Mainly be to be used to electrically connect an expanding device 7; Provide the user to operate through the button on the expanding device 7 or other additional input interface; Transmit extra instruction with SCL and SDA pin again, and then increase operating means 6 unexistent operating functions.
II. write pattern
Consult Fig. 3, writing station 1 comprises a processing unit 10, a connecting interface 11, a boosting unit 12, an indicating member 13 and a protected location 14; Wherein, the method for writing data of EEPROM of the present invention just uses 1 pair of operating means 6 of writing station to write one and Updates Information 101, and Updating Information 101 can be firmware program or other related data.
Consult Fig. 4, and cooperate Fig. 3, the method for writing data of EEPROM of the present invention comprises the steps:
Step 601: writing station 1 electrically connects operating means 6.Present embodiment is the extended interface 66 corresponding connections with connecting interface 11 with the operating means 6 of writing station 1; Preferably, writing station 1 electrically connects after the operating means 6, the system voltage V of 1 pair of operating means 6 of writing station CCDetect, if monitor system voltage V CCBack beginning execution in step 602.
Step 602: with system voltage V CCBoost as the new system voltage V of operating means 6 CC', the anti-voltage V that writes of order WPBe lower than the system voltage V after boosting CC' and be the pattern of writing.
Present embodiment is the system voltage V after the boosting unit 12 by writing station 1 obtains boosting CC' after, pass to controller 60 judges whether to get into the pattern of writing as the controller 60 of operating means 6 benchmark through connecting interface 11 and extended interface 66; Originally the WP pin anti-voltage V that writes originally of EEPROM 61 of operating means 6 just WPConstant, originally with system voltage V CCBe benchmark, the anti-voltage V that writes WPBe higher than system voltage V CCThen, be lower than system voltage V for reading/prevent WriteMode CCThen for writing pattern; In case draw high system voltage V CCBenchmark become the system voltage V after boosting CC', just can let and prevent writing voltage V WPBe lower than the system voltage V after boosting CC' and become the pattern of writing.
Step 603: when writing pattern, 1 pair of operating means 6 of writing station writes one and Updates Information 101.Present embodiment is to be responsible for transmitting by the connecting interface 11 and the data pin group (SCL and SDA pin) of extended interface 66 being loaded with 101 the voltage signal 502,503 (like Fig. 6) of Updating Information.
Consult Fig. 3 again, the assembly introduction of writing station 1 is following: processing unit 10 inside are loaded with 101 also each assembly running of control coordination that Update Information; Connecting interface 11 is used to electrically connect operating means 6, has a transmission system voltage V CC Receive processing unit 10 controls and transmit the data pin group (SCL and SDA pin) that Updates Information for an energization pins VCC and of this processing unit 10; Boosting unit 12 electrically connects operating means 6 through connecting interface 11, handles unit 10 receiving system voltage V certainly CCAnd it is boosted be new system voltage V CC' after load on energization pins VCC, the system voltage V that this is new CC' be preferably system voltage V originally CCTwo to three times; Protected location 14 is electrically connected between the energization pins VCC and processing unit 10 of connecting interface 11, in new system voltage V CC' avoid when too high puncturing; Indicating member 13 comprises several light emitting diodes, and these light emitting diodes receive processing unit 10 controls to indicate at present for preventing WriteMode or writing pattern.
Consult Fig. 5; In this preferred embodiment; But processing unit 10 comprises that a processor 100 and receives the switch module 102 of processor 100 controls, has storer (figure does not show) in the processor 100 storage update data 101, and has several pins; These pins comprise a monitoring pin VCC_MON and a control pin VCC_CTRL, and monitoring pin VCC_MON is to the system voltage V of input CCDetect, switch module 102 is transistor D 1
When processor 100 monitors system voltage V with monitoring pin VCC_MON CCBe 3.3 volts, expression has been connected with operating means 6, and switch module 102 is given boosting unit 12 through 3.3 volts; Then, boosting unit 12 has a boost pressure controller, can boost to 9.5 volts to 3.3 volts; At this moment, switch module 102 is accepted the control of the control pin VCC_CTRL of processing unit 10 and is exported these 9.5 volts, and these 9.5 volts just as new system voltage V CC' and load on energization pins VCC; Protected location 14 comprises several diode in series, as drawing-in system voltage V CC' when being 9.5 volts it is reduced to 2.4 volts can avoid breakdown transistors D 1
Consult Fig. 6, and cooperate Fig. 3, when operating means 6 was not connected with writing station 1, the voltage signal of the energization pins VCC of writing station 1 and data pin group (SCL and SDA pin) was all 0 volt; When operating means 6 with after writing station 1 is connected, operating means 6 provides the energization pins VCC of 3.3 volts of electric power to writing station 1, its voltage signal 501 transfers 3.3 volts to, at this moment, data pin group (SCL and SDA pin) also produces 3.3 volts voltage signal 502,503; Then, boost via writing station 1, its voltage signal 501 transfers 9.5 volts to, and operating means 6 gets into the pattern that writes, and data pin group (SCL and SDA pin) utilizes 3.3 volts voltage signal 502,503 transmission to Update Information 101.
Can know by above explanation; The method for writing data of EEPROM of the present invention and the effect of writing station are: only need an action; Just be to use writing station 1 of the present invention to be connected in operating means 6; Writing station 1 will write operating means 6 automatically and Update Information 101, and the routine data that helps to simplify present complicacy is new technological process more, so can reach the object of the invention really.

Claims (6)

1. the method for writing data of an EEPROM; Be to use a writing station to upgrade the routine data of an operating means; This operating means comprises that one has an anti-EEPROM of writing pin; Should anti-write pin and be loaded with the anti-voltage of writing, and write and be an anti-WriteMode when voltage is higher than a system voltage, and write and be one when voltage is lower than this system voltage and write pattern when this is anti-when this is anti-; It is characterized in that: said method comprises the steps:
(a) this writing station electrically connects this operating means;
(b) this writing station boosts this system voltage becomes new system voltage, and the anti-voltage of writing that makes this operating means is lower than the system voltage after said the boosting and is this and writes pattern;
(c) when this writes pattern, this writing station writes one to this operating means and Updates Information.
2. the method for writing data of EEPROM according to claim 1; It is characterized in that: after this writing station of step (a) electrically connects this operating means; This writing station is detected the system voltage of this operating means, if monitor the execution in step (b) that begins behind this system voltage.
3. writing station; Be to cooperate with an operating means to electrically connect; This operating means comprises that one has an anti-EEPROM of writing pin, and this anti-pin of writing is loaded with the anti-voltage of writing, and prevents writing when this being an anti-WriteMode when voltage is higher than a system voltage; Write and be one when voltage is lower than this system voltage and write pattern when this is anti-, this writing station comprises:
One processing unit, control are coordinated each assembly running, are loaded with one and supply to write Updating Information of this operating means;
One connecting interface electrically connects this operating means, has the data pin group that this system voltage of transmission is Updated Information by this processing unit control and transmission for an energization pins and of this processing unit;
One boosting unit electrically connects this operating means, certainly this processing unit receive this system voltage and it is boosted after load on this energization pins, the anti-voltage of writing that makes this operating means is lower than the system voltage after said the boosting and is this and writes pattern.
4. writing station according to claim 3; It is characterized in that: said processing unit comprises that a processor and receives the switch module of this processor control; This processor has a monitoring pin and a control pin; This processor is detected this system voltage with the monitoring pin; If monitor the system voltage that an expression has been connected with this operating means, making this switch module boost to this boosting unit through this system voltage is a new system voltage, again this new system voltage is loaded on this energization pins.
5. according to claim 3 or 4 described writing stations; It is characterized in that: the said write device also comprises a protected location; This protected location is electrically connected between this energization pins and this switch module and comprises several diode in series, when this system voltage is too high, avoids puncturing this switch module.
6. according to claim 3 or 4 described writing stations; It is characterized in that: the said write device also comprises an indicating member; This indicating member comprises several light emitting diodes, and it is to prevent that maybe this write pattern to WriteMode at present that these light emitting diodes controlled by this processing unit to be used for indication.
CN2010105567852A 2010-11-24 2010-11-24 Data writing method and writing device of electrically erasable programmable read-only memory Pending CN102479548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105567852A CN102479548A (en) 2010-11-24 2010-11-24 Data writing method and writing device of electrically erasable programmable read-only memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105567852A CN102479548A (en) 2010-11-24 2010-11-24 Data writing method and writing device of electrically erasable programmable read-only memory

Publications (1)

Publication Number Publication Date
CN102479548A true CN102479548A (en) 2012-05-30

Family

ID=46092150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105567852A Pending CN102479548A (en) 2010-11-24 2010-11-24 Data writing method and writing device of electrically erasable programmable read-only memory

Country Status (1)

Country Link
CN (1) CN102479548A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5594686A (en) * 1995-12-29 1997-01-14 Intel Corporation Method and apparatus for protecting data stored in flash memory
US20070072680A1 (en) * 2005-08-24 2007-03-29 Nintendo Co., Ltd. Game controller and game system
CN101089997A (en) * 2006-06-12 2007-12-19 景曙光 Storage circuit
CN101154194A (en) * 2006-09-27 2008-04-02 明基电通股份有限公司 Write protection control device and control method thereof
US20100106891A1 (en) * 2008-10-29 2010-04-29 Microchip Technology Incorporated Preventing Unintended Permanent Write-Protection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5594686A (en) * 1995-12-29 1997-01-14 Intel Corporation Method and apparatus for protecting data stored in flash memory
US20070072680A1 (en) * 2005-08-24 2007-03-29 Nintendo Co., Ltd. Game controller and game system
CN101089997A (en) * 2006-06-12 2007-12-19 景曙光 Storage circuit
CN101154194A (en) * 2006-09-27 2008-04-02 明基电通股份有限公司 Write protection control device and control method thereof
US20100106891A1 (en) * 2008-10-29 2010-04-29 Microchip Technology Incorporated Preventing Unintended Permanent Write-Protection

Similar Documents

Publication Publication Date Title
US7822964B2 (en) Booting apparatus for booting a computer and method therefor and computer with a booting apparatus
CN114003538B (en) Identification method of intelligent network card and intelligent network card
US11624788B2 (en) Display module test platform
CN109388345B (en) Data reading method of memory, display device and computer readable storage medium
CN104054064B (en) Flexible port configuration based on interface coupling
CN104428751A (en) Program data updating method and equipment
US20210065651A1 (en) Display device, electronic system and control method
CN103842966A (en) Electronic device
CN101739322A (en) Test device and method of embedded system
CN102446101A (en) System for mandatorily upgrading firmware and method for mandatorily upgrading firmware thereof
KR20160120105A (en) Electronic device and method for processing in the electronic device
CN209928235U (en) External equipment and system for refrigerator
US8406069B2 (en) Data writing method and writing device for an electronic erasable read only dynamic memory
CN102479548A (en) Data writing method and writing device of electrically erasable programmable read-only memory
USRE47206E1 (en) Display controller device and method for reprogramming the function of a display system
US6697058B2 (en) Device and method for repeatedly updating the function of a LCD monitor
CN108052337A (en) A kind of firmware upgrade method and device of eMMC production tools
CN211427090U (en) Micro control unit device
CN109558083B (en) Method for preventing code from being rewritten and memory
CN110047550B (en) Data storage device, memory control circuit and monitoring method thereof
CN113050969A (en) Display parameter updating method, driving chip and display device
US20160147701A1 (en) Bridge for bus-powered peripheral device power management
CN207766261U (en) Portable blue-tooth USB device based on storage and control function
JP6856884B1 (en) Information processing systems, information processing equipment and programs
CN210466365U (en) Micro control unit device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120530