Method for automatically obtaining EEPROM (Electrically Erasable Programmable Read-Only Memory) storage capacity

A storage capacity and automatic acquisition technology, applied in the direction of input/output to record carrier, etc., can solve the problems of automatic acquisition of EEPROM storage capacity, complex hardware circuit design, waste of main controller hardware resources, etc., to achieve enhanced versatility and Reliability, saving hardware resources and costs, and ease of use

Inactive Publication Date: 2014-05-07
四川长虹空调有限公司
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the EEPROM memories of different types and capacities are distinguished through hardware circuits, it will inevitably cause a certain waste of hardware resources of the main controller.
At the same time, different types of EEPROM memories are distinguished. The hardware circuit design is complex, and it is still unavoidable to artificially select the hardware circuit to inform the main controller, and the function of automatically obtaining the storage capacity of the EEPROM cannot be realized.

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
  • Method for automatically obtaining EEPROM (Electrically Erasable Programmable Read-Only Memory) storage capacity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0023] In order to illustrate the present invention more clearly in this embodiment, the following describes the embodiment in the form of a flow chart. The flow chart is as follows figure 1 shown.

[0024] First of all, the system needs to detect whether there is an EEPROM memory connected to the outside every time the system is powered on. If yes, the size of the memory storage space needs to be obtained automatically.

[0025] Secondly, according to the different ranges of different types of EEPROM storage space, select one or more addresses that can represent the difference, back up the data in the address area and write a certain data A as a reference. Specifically according to the size of the EEPROM storage space (1k, 2k, 4k, 8k, 16k, 32k, 64k, 128k, 256k, 512k, 1024k), you only need to write up to 10 addresses that can distinguish the difference to distinguish the entire series of space sizes EEPROM memory.

[0026] Then, rewrite the written first byte address data i...

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 relates to an EEPROM, aims at solving the problem that the function of automatically obtaining the EEPROM storage capacity cannot be obtained in the prior art and provides a method for automatically obtaining the EEPROM storage capacity. The method for automatically obtaining the EEPROM storage capacity comprises detecting whether the EEPROM is connected through a system, if so, entering the next step, and if not, finishing the operation; secondly, determining an address which can represent differences and writing the address in data through the system according to different ranges of the size of the EEPROM storage space; thirdly, rewriting data of the first byte address written in the data to another certain data through the system and marking the data as B; finally, judging read-write error and data coverage of difference addresses of the EEPROM through the system, calculating the actual size of the EEPROM storage space after the judgment is finished, and finishing the operation. According to the method for automatically obtaining the EEPROM storage capacity, by means of the directional testing of any effective address in difference storage space of EEPROMs of different types, the sizes of the storage space of different EEPROMs can be automatically judged and obtained.

Description

technical field [0001] The invention relates to EEPROM, in particular to a method for automatically obtaining the storage capacity of the EEPROM. Background technique [0002] EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory) is a user-changeable read-only memory (ROM), which can be erased and reprogrammed by a voltage higher than that of ordinary EEPROM. Write. Unlike EPROM chips, EEPROMs can never be modified without being removed from the computer. In an EEPROM, it can be reprogrammed frequently while the computer is in use. [0003] At present, the single-chip microcomputer operates the read / write of the EEPROM, especially when the entire chip memory is read / written and the whole piece of data is verified, it is necessary to know its capacity in advance, and the storage capacity of the EEPROM memory operated by the single chip microcomputer is artificially set during programming to prevent operation Addre...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
Inventor 谢鹏
Owner 四川长虹空调有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products