CN103309824A - EEPROM (electrically erasable programmable read-only memory) data universal reading and writing system - Google Patents
EEPROM (electrically erasable programmable read-only memory) data universal reading and writing system Download PDFInfo
- Publication number
- CN103309824A CN103309824A CN2012100635994A CN201210063599A CN103309824A CN 103309824 A CN103309824 A CN 103309824A CN 2012100635994 A CN2012100635994 A CN 2012100635994A CN 201210063599 A CN201210063599 A CN 201210063599A CN 103309824 A CN103309824 A CN 103309824A
- Authority
- CN
- China
- Prior art keywords
- eeprom
- data
- read
- write
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention discloses an EEPROM (electrically erasable programmable read-only memory) data universal reading and writing system, and relates to the technical field of memory reading and writing. The system comprises a data terminal and EEPROM reading and writing equipment, wherein the data terminal is used for sending reading/writing commands on an EEPROM and receiving and processing the data returned by the EEPROM, and the EEPROM reading and writing equipment is connected with the data terminal, and is used for controlling the EEPROM to carry out reading/writing operation according to the reading/writing commands and returning the data returned by the EEPROM to the data terminal. The EEPROM data universal reading and writing system realizes the in-site reading and writing on the EEPROM.
Description
Technical field
The present invention relates to the memory read/write technical field, particularly a kind of EEPROM data general-purpose read-write system.
Background technology
At present all adopted EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM (Electrically Erasable Programmable Read-Only Memory) in a lot of industrial, civilian, military electronic products, when needs obtain the data that are stored among the EEPROM, the research staff is in the action or the pcb board of product is issued the research staff by the mode of mailing often, the operation EEPROM wanted by specific emulator and specific software etc. of research staff then.Supporting after sale and improve and brought very big inconvenience product.
Summary of the invention
(1) technical matters that will solve
The technical problem to be solved in the present invention is: how to realize on-the-spot EEPROM reading and writing data.
(2) technical scheme
For solving the problems of the technologies described above, the invention provides a kind of EEPROM data general-purpose read-write system, comprising:
Data terminal, the read/write command that is used for sending EEPROM also receives and handles the data that EEPROM returns;
The EEPROM read-write equipment connects described data terminal, is used for carrying out read/write operation according to described read/write command control EEPROM, and returns the data that EEPROM returns and give described data terminal.
Wherein, described EEPROM read-write equipment comprises:
The order receiver module connects described data terminal, is used for receiving the read/write command that described data terminal sends;
The command analysis module connects described order receiver module, is used for resolving the read/write command that described data terminal sends;
The read-write control module connects described command analysis module, is used for carrying out read/write operation according to the read/write command control EEPROM after resolving;
The EEPROM receiver module connects EEPROM, is used for receiving the data that EEPROM returns;
Data transmission blocks connects described EEPROM receiver module, is used for returning the data that described EEPROM returns and gives described data terminal.
Wherein, described data terminal comprises:
Data read-write module connects described order receiver module, is used for sending the read/write command to EEPROM;
Data reception module connects described data transmission blocks, is used for receiving the data that described EEPROM returns;
Agreement stipulations memory module is used for the storage protocol stipulations;
Data resolution module connects described data reception module and described agreement stipulations memory module, is used for resolving the data that described EEPROM returns according to the agreement stipulations.
Wherein, described data terminal also comprises: data memory module, connect described data reception module, and be used for the data that storage EEPROM returns.
Wherein, described data terminal also comprises: the data application module connects described data resolution module, for demonstration, the inquiry carried out the EEPROM return data.
Wherein, described data terminal also comprises: the communication test module, connect described order receiver module, and be used for sending the communication detection order to detect the connection status of described EEPROM read-write equipment and described EEPROM to described order receiver module.
Wherein, described data terminal also comprises: system arranges module, connects described data read-write module and communication test module, is used for arranging communications parameter.
Wherein, described data terminal comprises: mobile phone or computing machine.
(3) beneficial effect
The present invention is connected to the EEPROM storage chip by the equipment that is integrated with EEPROM read-write capability module.By terminals such as mobile phones eeprom chip is read and write, realized on-the-spot read-write to EEPROM.
Description of drawings
Fig. 1 is a kind of EEPROM data general-purpose read-write system structural drawing of the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for explanation the present invention, but are not used for limiting the scope of the invention.
As shown in Figure 1, a kind of EEPROM data general-purpose read-write system, comprise: data terminal and the EEPROM read-write equipment that is connected with data terminal, this EEPROM read-write equipment are by Embedded mode general EEPROM read-write program to be cured to equipment in the chip.Data terminal can be equipment such as mobile phone, computing machine.Data terminal sends read/write command to the EEPROM read-write equipment and simultaneously the data that EEPROM returns is resolved demonstration according to the agreement stipulations for operation EEPROM read-write equipment provides the interface to support.
Wherein, data terminal is used for sending the read/write command to EEPROM.The EEPROM read-write equipment connects data terminal, is used for carrying out read/write operation according to read/write command control EEPROM, and returns the data that EEPROM returns and give data terminal.Wherein read/write command comprises: EEPROM address of devices, read-write type, address data memory, data length etc.
Wherein, the EEPROM read-write equipment comprises: order receiver module, command analysis module, read-write control module, EEPROM receiver module, data transmission blocks.
The order receiver module connects data terminal, is used for receiving the read/write command that data terminal sends; Command analysis module bind command receiver module is used for the read/write command that the resolution data terminal sends; Read-write control module bind command parsing module is used for carrying out read/write operation according to the read/write command control EEPROM after resolving; The EEPROM receiver module connects EEPROM, is used for receiving the data that EEPROM returns; Data transmission blocks connects the EEPROM receiver module, is used for returning the data that EEPROM returns and gives data terminal.The EEPROM read-write equipment is generally the hardware device of single-chip microprocessor MCU control in the present embodiment.
Data terminal comprises: data read-write module, data reception module, data resolution module, agreement stipulations memory module and data application module.Data resolution module connects data reception module, agreement stipulations memory module and data application module respectively.
Data read-write module connects the order receiver module of EEPROM read-write equipment, is used for sending the read/write command to EEPROM.
Data reception module connects the data transmission blocks of EEPROM read-write equipment, is used for receiving the data that EEPROM returns.
Agreement stipulations memory module is used for the storage protocol stipulations.Some rule definitions that agreement stipulations index is deferred to during according to the parsing module resolution data are generally stored with text or database table.The information that rule definition comprises is generally device address (pointer is to the device address of EEPROM on the specific product), whole page or leaf byte number (every page of max cap. of EEPROM), data item title (display application module data presented item title), data type (is stored in the type of data among the EEPROM, comprise bit, unsigned char, char, int, float, string, time etc.), data length (being stored in byte number shared among the EEPROM), format information is (as the position of radix point, time format, binary-coded decimal etc.), storage reference position (referring to the particular location of this data item in EEPROM among the EEPROM), data number (is numbered as index by data number and agreement stipulations storehouse, can in agreement stipulations storehouse, search the information relevant with reading data, be convenient to organize down the message of hair, also be convenient to resolve the data of returning).
The data application module connects data resolution module, obtains data to be used for carrying out operations such as demonstration, inquiry to the EEPROM return data after the parsing.
Agreement stipulations memory module is primarily aimed at the corresponding different storage information of different products with the data application module and carries out different processing and develop, and different products stores corresponding agreement stipulations storehouse in agreement stipulations memory module.This module is generally only open at specific people such as research staff.Data terminal is chosen the stipulations protocol type of product correspondence by data read-write module, data resolution module calls required agreement stipulations memory module according to the stipulations protocol type of choosing, data resolution module will be resolved the data of storing among the EEPROM that obtains according to the agreement stipulations of calling in, then by the data application module just can be fully aware of the implication of understanding storage data, thereby some data messages that obtain of express-analysis.
Data resolution module connects data reception module and agreement stipulations memory module, is used for resolving the data that EEPROM returns according to the agreement stipulations, and the data of resolving are sent to the data application module.Cite a plain example below and describe concrete data analytic method:
Need to store following data among the EEPROM of certain household appliances: 1, design temperature, 2, reservation hour, 3, on-off state, 4, volume type etc., wherein design temperature, reservation hour are unsigned char type, and on-off state, volume type are the bit type; The position that design temperature, reservation hour are stored in EEPROM respectively is the position of 0,1 byte, and on-off state is at the 0th of 2 bytes, and volume type is at the 1st of the 2nd byte, and other positions of the 2nd byte are ignored herein.Data terminal will read top four information and show now, at this time can call in the agreement stipulations library file of this kind of product earlier or directly read relevant information from database in agreement stipulations memory module.At this time on the data read-write module of data terminal is selected four, at this moment, data read-write module can be formed the message format that meets certain rule automatically.As: the EEPROM device address+every page maximum storage data number+data item number+data 1 start address+data 1 length+data 2 start addresses+data 2 length+(on-off state is identical owing to start address with volume type for merging back data 3 start addresses, position of living in is different, so data read-write module can be merged into data 3 automatically with this type)+data 3 length after merging.Data read-write module sends to this message the order receiver module of EEPROM read-write equipment then, send to the command analysis module afterwards, after the parsing again the embedded software by the read-write control module data of 3 addresses are read the length of the length that reads for issuing just now.Then the data that the read order of data item when issuing is packaged, add heading simultaneously, and then send to the data reception module of data terminal.As send form be the check of heading+data 1+ data 2+ pooled data 3+ and.After data resolution module monitors and receives, just can resolve return data according to the relevant information in agreement stipulations storehouse, and store by data memory module, by the data application module can be fully aware of the implication of understanding storage data, thereby some data messages that obtain of express-analysis.
Preferably, data terminal also comprises: data memory module, connect data reception module, and be used for the data that storage EEPROM returns.
Connect eeprom chip in order to detect the EEPROM read-write equipment, preferably, data terminal also comprises: the communication test module, the bind command receiver module is used for sending the communication detection order to detect the connection status of EEPROM read-write equipment and EEPROM to the order receiver module.Particularly, before reading and writing data, data terminal sends test command to the EEPROM read-write equipment, after the EEPROM read-write equipment receives and parses test command, send the test reading order to EEPROM immediately, if the EEPROM read-write equipment can normally receive the data that EEPROM returns, the EEPROM read-write equipment is again to data terminal Returning communication normal command, and expression data terminal and EEPROM can normal communications.If prompting " read-write equipment connects unusual ", expression data terminal and read-write equipment fail to obtain normal communication; If prompting " EEPROM connects unusual ", expression read-write equipment and EEPROM fail to obtain normal communication, and data terminal is connected normally with read-write equipment.
Preferably, data terminal also comprises: system arranges module, connects data read-write module and communication test module, is used for some communications parameters that the system that arranges uses etc.
Preferably, data terminal also comprises: authority management module, authority management module are that the operating personnel to login system set certain authority, make it only can operate the functional module of permission.Because application software can be read and write EEPROM, for between safe period, some product only can provide limited function at the specific people, so can make the people that authority is only arranged by authority setting, could operate corresponding functional module, thereby avoid the personnel of lack of competence that EEPROM is carried out illegal operation and illegal operation application software, obtain the outer information of authority.
Preferably, data terminal also comprises: user management module, user management module provide newly-increased, revise, delete the user related information of login system, comprise user name, password, operating right etc.
Above-mentioned EEPROM read-write system needs the EEPROM read-write equipment is connected with EEPROM storage chip and data terminal (as mobile phone etc.) respectively in use.The EEPROM read-write equipment has the band groove fastener head identical with EEPROM pin number, and fastener head is aimed at EEPROM on the PCB, when the plane in the middle of the fastener head is adjacent to EEPROM surperficial, with the chucking of the gripping mechanism on read-write equipment EEPROM.In needs, the on-site technical support personnel cross the usb data line with mobile phone or computer expert and are connected with the EEPROM read-write equipment, connecting the back powers on for the EEPROM read-write equipment, read-write equipment provides power supply to EEPROM, automatically detection is connected situation with the communication of EEPROM simultaneously, if the communication pilot lamp becomes green, the expression read-write equipment is connected normally with the communication of storage chip EEPROM, if for red light then to represent that communication connects unusual, need reinstall read-write equipment.Data terminal can be connected by modes such as bluetooth, wireless wifi, 485, RS232 with the EEPROM read-write equipment, also data terminal and EEPROM read-write equipment can be integrated.
Above embodiment only is used for explanation the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; under the situation that does not break away from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
Claims (8)
1. an EEPROM data general-purpose read-write system is characterized in that, comprising:
Data terminal, the read/write command that is used for sending EEPROM also receives and handles the data that EEPROM returns;
The EEPROM read-write equipment connects described data terminal, is used for carrying out read/write operation according to described read/write command control EEPROM, and returns the data that EEPROM returns and give described data terminal.
2. EEPROM data general-purpose read-write system as claimed in claim 1 is characterized in that, described EEPROM read-write equipment comprises:
The order receiver module connects described data terminal, is used for receiving the read/write command that described data terminal sends;
The command analysis module connects described order receiver module, is used for resolving the read/write command that described data terminal sends;
The read-write control module connects described command analysis module, is used for carrying out read/write operation according to the read/write command control EEPROM after resolving;
The EEPROM receiver module connects EEPROM, is used for receiving the data that EEPROM returns;
Data transmission blocks connects described EEPROM receiver module, is used for returning the data that described EEPROM returns and gives described data terminal.
3. EEPROM data general-purpose read-write system as claimed in claim 2 is characterized in that described data terminal comprises:
Data read-write module connects described order receiver module, is used for sending the read/write command to EEPROM;
Data reception module connects described data transmission blocks, is used for receiving the data that described EEPROM returns;
Agreement stipulations memory module is used for the storage protocol stipulations;
Data resolution module connects described data reception module and described agreement stipulations memory module, is used for resolving the data that described EEPROM returns according to the agreement stipulations.
4. EEPROM data general-purpose read-write system as claimed in claim 3 is characterized in that described data terminal also comprises: data memory module, connect described data reception module, and be used for the data that storage EEPROM returns.
5. EEPROM data general-purpose read-write system as claimed in claim 3 is characterized in that described data terminal also comprises: the data application module, connect described data resolution module, and be used for carrying out demonstration, inquiry to the EEPROM return data.
6. EEPROM data general-purpose read-write system as claimed in claim 3, it is characterized in that, described data terminal also comprises: the communication test module, connect described order receiver module, be used for sending the communication detection order to detect the connection status of described EEPROM read-write equipment and described EEPROM to described order receiver module.
7. EEPROM data general-purpose read-write system as claimed in claim 6 is characterized in that described data terminal also comprises: system arranges module, connects described data read-write module and communication test module, is used for arranging communications parameter.
8. as the described EEPROM data general-purpose of claim 1~7 read-write system, it is characterized in that described data terminal comprises: mobile phone or computing machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100635994A CN103309824A (en) | 2012-03-12 | 2012-03-12 | EEPROM (electrically erasable programmable read-only memory) data universal reading and writing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100635994A CN103309824A (en) | 2012-03-12 | 2012-03-12 | EEPROM (electrically erasable programmable read-only memory) data universal reading and writing system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103309824A true CN103309824A (en) | 2013-09-18 |
Family
ID=49135068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100635994A Pending CN103309824A (en) | 2012-03-12 | 2012-03-12 | EEPROM (electrically erasable programmable read-only memory) data universal reading and writing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103309824A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239418A (en) * | 2017-06-02 | 2017-10-10 | 中国航发南方工业有限公司 | Data memory module read-write equipment and I2The C means of communication |
CN108153637A (en) * | 2016-12-05 | 2018-06-12 | 武汉比亚迪汽车有限公司 | Detect the method and device of EEPROM read-write capabilities |
CN113571106A (en) * | 2021-07-21 | 2021-10-29 | 四川虹美智能科技有限公司 | Data reading method and device for electrified erasable programmable read-only memory |
CN113836059A (en) * | 2021-11-26 | 2021-12-24 | 广州智慧城市发展研究院 | Control system applied to EEPROM (electrically erasable programmable read-Only memory) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0932627A (en) * | 1995-07-19 | 1997-02-04 | Kokusan Denki Co Ltd | Control data rewriting method and device for control device of internal combustion engine |
US6282624B1 (en) * | 1997-11-13 | 2001-08-28 | Seiko Epson Corporation | Non-volatile memory apparatus including first and second address conversion tables stored in volatile and nonvolatile memories for improved access at power up |
CN1395397A (en) * | 2002-07-16 | 2003-02-05 | 威盛电子股份有限公司 | Ethernet interchange controller with consol command logic unit |
CN101051434A (en) * | 2006-04-05 | 2007-10-10 | 深圳Tcl新技术有限公司 | Copying and detecting method for flat panel display product EDID |
CN201097171Y (en) * | 2007-11-06 | 2008-08-06 | 海信(山东)空调有限公司 | Reading and writing device for air conditioner out-chip memory |
CN201754469U (en) * | 2009-11-03 | 2011-03-02 | 大连东方电器制造有限公司 | Recording and analyzing device for operation and failure of switch cabinet |
-
2012
- 2012-03-12 CN CN2012100635994A patent/CN103309824A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0932627A (en) * | 1995-07-19 | 1997-02-04 | Kokusan Denki Co Ltd | Control data rewriting method and device for control device of internal combustion engine |
US6282624B1 (en) * | 1997-11-13 | 2001-08-28 | Seiko Epson Corporation | Non-volatile memory apparatus including first and second address conversion tables stored in volatile and nonvolatile memories for improved access at power up |
CN1395397A (en) * | 2002-07-16 | 2003-02-05 | 威盛电子股份有限公司 | Ethernet interchange controller with consol command logic unit |
CN101051434A (en) * | 2006-04-05 | 2007-10-10 | 深圳Tcl新技术有限公司 | Copying and detecting method for flat panel display product EDID |
CN201097171Y (en) * | 2007-11-06 | 2008-08-06 | 海信(山东)空调有限公司 | Reading and writing device for air conditioner out-chip memory |
CN201754469U (en) * | 2009-11-03 | 2011-03-02 | 大连东方电器制造有限公司 | Recording and analyzing device for operation and failure of switch cabinet |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153637A (en) * | 2016-12-05 | 2018-06-12 | 武汉比亚迪汽车有限公司 | Detect the method and device of EEPROM read-write capabilities |
CN108153637B (en) * | 2016-12-05 | 2021-07-09 | 武汉比亚迪汽车有限公司 | Method and device for detecting read-write function of EEPROM |
CN107239418A (en) * | 2017-06-02 | 2017-10-10 | 中国航发南方工业有限公司 | Data memory module read-write equipment and I2The C means of communication |
CN113571106A (en) * | 2021-07-21 | 2021-10-29 | 四川虹美智能科技有限公司 | Data reading method and device for electrified erasable programmable read-only memory |
CN113571106B (en) * | 2021-07-21 | 2023-04-25 | 四川虹美智能科技有限公司 | Data reading method and device for charged erasable programmable read-only memory |
CN113836059A (en) * | 2021-11-26 | 2021-12-24 | 广州智慧城市发展研究院 | Control system applied to EEPROM (electrically erasable programmable read-Only memory) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201993675U (en) | Accessory used for portable calculation equipment | |
CN101226651B (en) | Mobile terminal with check on work attendance function, check on work attendance system as well as method thereof | |
CN202167034U (en) | Peripheral application device and mobile terminal system | |
CN102638397A (en) | USB (universal serial bus) device communication transmission method, device and system | |
CN103902056B (en) | Dummy keyboard input method, equipment and system | |
CN202694367U (en) | Mobile barcode reader | |
CN103309824A (en) | EEPROM (electrically erasable programmable read-only memory) data universal reading and writing system | |
CN207995406U (en) | A kind of system that parameter configuration is carried out based on NFC communication module | |
CN103092648B (en) | A kind of image upgrade method, system and subscriber equipment and personal computer | |
CN110515662B (en) | Remote control method, system, equipment and readable storage medium for dual-system equipment | |
CN103457624A (en) | External electronic device and method for wirelessly accessing storage device | |
CN203324896U (en) | Cloud terminal computer with RFID | |
CN202353639U (en) | Distributed-key-based smart home system and external safety equipment thereof | |
CN203206256U (en) | A mobile storage device | |
CN202736082U (en) | Apparatus and system for realizing reading and writing of SIM card | |
CN204595798U (en) | A kind of NFC intelligent mouse pad | |
CN204374692U (en) | A kind of cloud for journey access file stores integrative machine | |
CN203025694U (en) | Expander for intelligent terminal | |
US20150186688A1 (en) | Reader and information processing system using the same | |
CN102055498A (en) | Remote control method of mobile communication device | |
CN201497996U (en) | Portable stock exchanging machine based on wireless network | |
CN102026402A (en) | Method for realizing access of computer device to wireless network | |
CN204925753U (en) | Instrument monitored control system | |
CN219418117U (en) | Micro-control keyboard and mouse | |
CN204347877U (en) | Based on the LED swing stick device of NFC technique |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130918 |