Supercharge Your Innovation With Domain-Expert AI Agents!

EEPROM data writing method

A data writing and data technology, applied in the direction of electrical digital data processing, input/output to record carrier, instrument, etc., can solve the problems of increasing I2C occupancy rate and time, reducing execution efficiency, unable to write page by page, etc., to achieve Improve efficiency and avoid the effect of automatic page turning

Active Publication Date: 2015-02-25
湖州帷幄知识产权运营有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Based on the page write flip phenomenon of EEPROM, if data is transferred to EEPROM in batches through I2C, it will not be able to write page by page
In addition, after the EEPROM receives the data transmitted by I2C, the hardware needs a certain amount of time to write
Therefore, if only one byte is transferred each time I2C is called, on the one hand, repeated calls will increase the I2C occupancy rate and time;

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • EEPROM data writing method
  • EEPROM data writing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments It is only a part of the embodiments of the present invention, but not all of them.

[0018] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0019] refer to figure 1 , the method for the writing of EEPROM data of a kind of embodiment provided by the present invention, this method comprises:

[0020] Step S100, when the start address to be written is the effective address of the EEPROM, and the total length of the data to be written does not exceed the effective length from the start address to the highest address of the EEPROM, execute step S20...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an EEPROM data writing method. The EEPROM data writing method includes the steps that firstly, a written initial address is an effective address of an EEPROM, and when the total length of data to be written is not larger than the effective length from the initial address to the highest address of the EEPROM, the second step is executed, or else the method is stopped; secondly, the data to be written are preprocessed and transmitted to the EEPROM in batches; thirdly, the EEPROM writes the received data to be written into the EEPROM. By the adoption of the method, the data to be written are preprocessed and transmitted to the EEPROM in batches, the EEPROM sequentially writes the received data to be written in the EEPROM, and the automatic page turning phenomenon in the data writing process of the EEPROM is avoided; due to the fact that the data to be written are transmitted in batches, the EEPROM writes the data in one batch when the data are transmitted every batch, efficiency is improved, and the problem that the EEPROM writing hardware efficiency is low due to the fact that certain time is delayed after one byte is transmitted every time is solved.

Description

technical field [0001] The invention relates to the technical field of flood attacks, in particular to a method for writing EEPROM data. Background technique [0002] EEPROM (Electrically Erasable Programmable Read-Only Memory) is a user-changeable read-only memory, which can be erased and reprogrammed by a higher than normal voltage, so EEPROM is widely used. [0003] EEPROM has a feature that page flipping occurs when writing data. For example, the storage space of an AT24C02BN EEPROM chip is 2kbit, which is 256byte. AT24 is divided into 32 pages, and the length of each page is 8byte. If data[8]={0,1,2,3,4, 5, 6, 7}, after completion, the content of the first page is: 0x0~0x7: 3, 4, 5, 6, 7, 0, 1, 2. After the EEPROM calls the I2C write interface, the address of the current page will be incremented by 1 every time a byte is transmitted, and the address will return to the top of the current page after the last byte of the current page is transmitted. No matter how many b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/06
CPCG06F12/0246
Inventor 陆丹宏
Owner 湖州帷幄知识产权运营有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More