CN105185415A - Method and device for testing EEPROM of I2C - Google Patents
Method and device for testing EEPROM of I2C Download PDFInfo
- Publication number
- CN105185415A CN105185415A CN201510713901.XA CN201510713901A CN105185415A CN 105185415 A CN105185415 A CN 105185415A CN 201510713901 A CN201510713901 A CN 201510713901A CN 105185415 A CN105185415 A CN 105185415A
- Authority
- CN
- China
- Prior art keywords
- eeprom
- test
- data
- module
- write
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 309
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000008676 import Effects 0.000 claims description 46
- 238000009434 installation Methods 0.000 claims description 8
- 230000008901 benefit Effects 0.000 abstract description 4
- 238000012423 maintenance Methods 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000010998 test method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Landscapes
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Read Only Memory (AREA)
Abstract
The invention discloses a method for testing EEPROM of I2C. The method includes the steps that S2, test data are loaded; S3, the test data are written into EEPROM; S4, data of EEPROM are read; S5, whether the test data and the read data are the same or not is found through comparison; S6, when the comparison result shows that the test data and the read data are the same, the test result shows pass; S7, when the comparison result shows that the test data and the read data are different, the test result shows fail. By means of the method and a device for testing I2C EEPROM, one or more I2C EEPROM rapid tests are achieved, test and maintenance personnel can conveniently and rapidly test EEPROM applied to related electronic devices, and the method and the device have the advantages that time is saved, efficiency is improved, and accuracy and convenience are achieved.
Description
Technical field
The present invention relates to the method for testing of EEPROM field tests, particularly I2CEEPROM.
Background technology
To be PHILIPS company be I2C bus effectively realizes the simple two-way two-wire bus of one that the control between electron device develops, it be a kind of twin wire at a high speed, full duplex, synchronous communication universal serial bus, for connecting microcontroller and peripherals thereof.In the I2C bus protocol of standard, its physical link is a serial data line (SDA) and a serial time clock line (SCL) respectively.Due to advantages such as it are simple, flexible, hardware pins resource is few, have a wide range of applications in the communication between device and device.Now, I2C bus has become an international standard, and the IC integrated circuit different more than 100 kinds realizes, and application relates to the various fields such as household electrical appliances, communication, control, is particularly used widely in ARM embedded system development.
EEPROM full name is Electrically Erasable Read Only Memory, belongs to a kind of general designation of storer, and the feature of this storer stores data can directly wipe with electric signal, and also a capable telecommunications number write stores data.Because the reliability of EEPROM is high, Structure and energy is complicated, and cost is high, and the capacity of conventional EEPROM is usually less.
In the electronic equipment that Ethernet switch etc. is commonly used, need to use EEPROM, conventional EEPROM adopts I2C Data Transport Protocol, and capacity is generally 1kbit, 2kbit, 4kbit, 8kbit or 16kbit, and the data message that EEPROM stores is embedded system master data information.
At present, lack the method for testing fast and effectively for conventional I2CEEPROM, once certain EEPROM in whole equipment or system damages, then system may job insecurity or cannot normally work, and plant maintenance personnel need cost plenty of time investigation equipment failure reason.
Summary of the invention
For the problems referred to above, technical scheme provided by the invention is as follows:
A method of the EEPROM of test I 2C, comprising: step S2 loads test data; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through.
The present invention also provides the method for the EEPROM of another kind of test I 2C, comprising: step S2 loads test data; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through; Whether S8 tests by the gross according to completing, and returns step S3.
The present invention also provides the method for the EEPROM of another kind of test I 2C, comprising: step S2 loads test data; S25 selects the address of an EEPROM to be measured in EEPROM multiple to be measured by the gross; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through; Whether S8 tests by the gross according to completing, and returns step S3.
The present invention also provides the method for the EEPROM of another kind of test I 2C, comprising: step S1, according to the encapsulated type of EEPROM, connects EEPROM to be tested; Described EEPROM encapsulated type is MSOP-8, PDIP-8, SOIC-8 or TSSOP-8; Step S2 loads test data; S25 selects the address of an EEPROM to be measured in EEPROM multiple to be measured by the gross; Test data is write EEPROM by S3; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through; Whether S8 tests by the gross according to completing, and returns step S3.
The present invention also provides the method for the EEPROM of another kind of test I 2C, comprising: step S1, according to the encapsulated type of EEPROM, connects EEPROM to be tested; Described EEPROM encapsulated type is MSOP-8, PDIP-8, SOIC-8 or TSSOP-8; S2 loads test data; S25 selects the address of an EEPROM to be measured in EEPROM multiple to be measured by the gross; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through; S75 when described test result be by time, light LED alarm lamp; When described test result is obstructed out-of-date, maintain LED alarm lamp and extinguish; Whether S8 tests by the gross according to completing, and returns step S3.
The present invention also provides the test controller of the EEPROM of a kind of I2C, and described test controller comprises: Data import module, is loaded into test controller by test data; Data read-write module, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through.
The present invention also provides the test controller of the EEPROM of a kind of I2C, and described test controller comprises: Data import module, is loaded into test controller by test data; Data read-write module, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through; Batch control module, is electrically connected with described data read-write module, described Data Comparison module, has judged whether to test by the gross.
The present invention also provides the test controller of the EEPROM of a kind of I2C, and described test controller comprises: Data import module, is loaded into test controller by test data; Data read-write module, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through; Batch control module, is electrically connected with described data read-write module, described Data Comparison module, has judged whether to test by the gross; Addressed module, is electrically connected with described data read-write module, a batch control module, according to the address of EEPROM to be measured, determines an EEPROM to be tested in multiple EEPROM by the gross.
The present invention also provides the proving installation of the EEPROM of a kind of I2C, and comprise test controller, at least one test bench, I2C bus, described test controller comprises: Data import module, is loaded into test controller by test data; Data read-write module, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through; Batch control module, is electrically connected with described data read-write module, described Data Comparison module, has judged whether to test by the gross; Addressed module, is electrically connected with described data read-write module, a batch control module, according to the address of EEPROM to be measured, determines an EEPROM to be tested in multiple EEPROM by the gross; At least one test bench described, is electrically connected respectively with EEPROM by the gross to be tested, and the socket form of described test bench adapts to MSOP-8, PDIP-8, SOIC-8 or TSSOP-8 encapsulated type; Described I2C bus, is electrically connected with at least one test bench described, described test controller.
The present invention also provides the proving installation of the EEPROM of a kind of I2C, and comprise test controller, at least one test bench, I2C bus, at least one LED, described test controller comprises: Data import module, is loaded into test controller by test data; Data read-write module, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through; Batch control module, is electrically connected with described data read-write module, described Data Comparison module, has judged whether to test by the gross; Addressed module, is electrically connected with described data read-write module, a batch control module, according to the address of EEPROM to be measured, determines an EEPROM to be tested in multiple EEPROM by the gross; At least one test bench described, is electrically connected respectively with EEPROM by the gross to be tested, and the socket form of described test bench adapts to MSOP-8, PDIP-8, SOIC-8 or TSSOP-8 encapsulated type; Described I2C bus, is electrically connected with at least one test bench described, described test controller; At least one LED, is electrically connected with the Data Comparison module of described test controller; Whether the Data Comparison module of described test controller is passed through according to test result, light/or extinguish the LED corresponding with current EEPROM to be tested.
The invention provides method of testing and the device of a kind of I2CEEPROM, achieve the quick test of one or more I2CEEPROM, facilitate tester and maintainer tests the EEPROM be applied on associated electronic device fast, possess save time, raise the efficiency, the accurate advantage such as convenient.
Accompanying drawing explanation
Below by clearly understandable mode, accompanying drawings preferred implementation, is further described the above-mentioned characteristic of the method for the EEPROM of a kind of test I 2C and device, technical characteristic, advantage and implementation thereof.
Fig. 1 is the key step schematic diagram of the method for the EEPROM of a kind of test I 2C of the present invention;
Fig. 2 is the main composition structural representation of the test controller of the EEPROM of a kind of I2C of the present invention;
Fig. 3 be the proving installation of the EEPROM of a kind of I2C of the present invention be fully composed structural representation;
Fig. 4 is the entire protocol schematic diagram of the method for the EEPROM of a kind of test I 2C of the present invention;
Device label declaration:
100 test controllers, 110 Data import modules, 120 data read-write module, 130 Data Comparison modules, 140 batches of control modules, 150 addressed module, 200I2C bus, 300 test benches, 400LED lamp.
Embodiment
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, contrast accompanying drawing is illustrated the specific embodiment of the present invention below.Apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings, and obtain other embodiment.
For making simplified form, only schematically show part related to the present invention in each figure, they do not represent its practical structures as product.In addition, be convenient to make simplified form understand, there are the parts of identical structure or function in some figure, only schematically depict one of them, or only marked one of them.In this article, " one " not only represents " only this ", also can represent the situation of " more than one ".
Fig. 1 is the key step schematic diagram of the method for the EEPROM of a kind of test I 2C of the present invention.As shown in Figure 1, the method for the EEPROM of a kind of test I 2C, comprising: step S2 loads test data; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through.
Concrete, I2CEEPROM to be tested in the present embodiment belongs to a series of, its capacity is defined as 1kbit, 2kibt, 4kibt, 8kibit or 16kibt, I2CEEPROM to be tested may be previously used or not be previously used, the storing data information that this means tape test EEPROM is not what determine, the object of test determines that any one byte of EEPROM to be tested all can be written into, and the test data having write the data of the EEPROM of rear reading and write is completely the same.
Improve above-described embodiment, an alternative embodiment of the invention comprises: step S2 loads test data; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through; Whether S8 tests by the gross according to completing, and returns step S3.
In the present embodiment, suppose that multiple I2CEEPROM to be tested have identical capacity, then the EEPROM of same batch of test can be one or more, a concrete batch of testable EEPROM number is relevant with I2C bus to its capacity: if EEPROM capacity is 1kbit or 2kbit, can test at most 8 I2CEEPROM for same batch; If EEPROM capacity is 4kibt, 4 I2CEEPROM can be tested at most for same batch; If EEPROM capacity is 8kbit, 2 I2CEEPROM can be tested at most for same batch; If EEPROM capacity is 16kbit, 1 I2CEEPROM can be tested at most for same batch, in test process, when an EEPROM is tested complete, after obtaining a test result, judge whether having completed same batch of test job, if do not complete, then test the next one of same batch, if complete, finish test procedure.
Improve above-described embodiment, an alternative embodiment of the invention comprises: step S2 loads test data; S25 selects the address of an EEPROM to be measured in EEPROM multiple to be measured by the gross; Test data is write EEPROM by S3; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through; Whether S8 tests by the gross according to completing, and returns step S3.
In the present embodiment, when same batch of EEPROM to be tested is more than one, multiple EEPROM to be tested are connected simultaneously, now for multiple EEPROM distributes different addresses for identifying, the one or more binary digit in address represents, concrete: when EEPROM capacity is 1kbit or 2kibt, now tests 8 at most, address triad is 000,001,010,011,100,101,110,111; When EEPROM capacity is 4kbit, test 4 at most, two scale-of-two in address are 00,01,10,11; When EEPROM capacity is 8kbit, test 2 at most, the scale-of-two in address is 0,1; In a certain test duration section, reading or the write of data are only relevant to the EEPROM of assigned address, and employing binary digit is the first character joint in order to address being placed on test data, identifies the EEPROM specified before being convenient to write data.
Improve above-described embodiment, an alternative embodiment of the invention comprises: step S1, according to the encapsulated type of EEPROM, connects EEPROM to be tested; Described EEPROM encapsulated type is MSOP-8, PDIP-8, SOIC-8 or TSSOP-8; S2 loads test data; S25 selects the address of an EEPROM to be measured in EEPROM multiple to be measured by the gross; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through.Whether S8 tests by the gross according to completing, and returns step S3.
In the present embodiment, I2CEEPROM to be tested has different encapsulating structure, include but not limited to MSOP-8, PDIP-8, SOIC-8, TSSOP-8, this several encapsulating structure is each four pin configuration in both sides and the definition of the function of the pin of different encapsulating structure meets I2C agreement, difference is that the I2CEEPROM of different encapsulating structure has different volumes and pin shapes, this is to adapt to different applied environments, in order to test the I2CEEPROM of different encapsulating structure, need the physical arrangement matched with these encapsulated types, for EEPROM provides reliable physical carrier and electrical connection function.
Improve above-described embodiment, an alternative embodiment of the invention comprises: step S1, according to the encapsulated type of EEPROM, connects EEPROM to be tested; Described EEPROM encapsulated type is MSOP-8, PDIP-8, SOIC-8 or TSSOP-8; S2 loads test data; S25 selects the address of an EEPROM to be measured in EEPROM multiple to be measured by the gross; Test data is write EEPROM by S3; S4 reads the data of EEPROM; Whether S5 contrast test data are identical with the data of reading; S6 is when the coming to the same thing of comparison, and test result is for passing through; S7 is when the result of comparison is different, and test result is not passed through; S75 when described test result be by time, light LED alarm lamp; When described test result is obstructed out-of-date, maintain LED alarm lamp and extinguish; Whether S8 tests by the gross according to completing, and returns step S3.
In the present embodiment, LED acquiescence is in OFF state, if the test result of an EEPROM is not passed through, maintains the OFF state of LED; If test result is for passing through, light the LED corresponding with tested EEPROM, like this, after the test of batch completes, test result notifies the external world in the mode of LED different operating state.
Fig. 2 is the main composition structural representation of the test controller of the EEPROM of a kind of I2C.An alternative embodiment of the invention, test controller, comprising: Data import module 110, is loaded into test controller by test data; Data read-write module 120, is electrically connected with described Data import module 110, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module 130, be electrically connected with described Data import module 110, data read-write module 120, data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through.
In the present embodiment, test controller is micro-control unit (MicrocontrollerUnit) normally, also can be SOC (system on a chip) (systemonchip), its inner integrated morphology mainly comprises processor (CPU), storer (ROM, RAM), counter, I/O port etc., the inner each module of described test controller might not be the actual physical arrangement that has or unit, but with functional realiey model split, described Data import module 110, that CPU reads the data of ROM and write RAM, described data read-write module 120, the data of CPU reading and writing internal storer, also can be that internal storage carries out read-write operation by I/O interface and external memory storage, described comparing module 130, for the master data processing power that CPU possesses.
Fig. 3 be the proving installation of the EEPROM of a kind of I2C be fully composed structural representation.Above-described embodiment is improved, as shown in Figure 3, an alternative embodiment of the invention, test controller, comprising: Data import module 110, is loaded into test controller by test data; Data read-write module 120, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module 130, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through; Batch control module 140, is electrically connected with described data read-write module, described Data Comparison module, has judged whether to test by the gross.
In the present embodiment, test controller one batch testable EEPROM number can be more than one, concrete number can be 8,4,2,1 according to the capacity of EEPROM, thus the same batch of EEPROM number be connected with test controller is indefinite, when the test job of each batch starts, batch control module 140 detects the number of the EEPROM be electrically connected with described test controller, when having tested number and being identical with the EEPROM number detected, a batch control module notice test controller has quit work.
Above-described embodiment is improved, as shown in Figure 3, an alternative embodiment of the invention, test controller, comprising: Data import module 110, is loaded into test controller by test data; Data read-write module 120, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module 130, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through; Batch control module 140, is electrically connected with described data read-write module, described Data Comparison module, has judged whether to test by the gross; Addressed module 150, is electrically connected with described data read-write module, a batch control module, according to the address of EEPROM to be measured, determines an EEPROM to be tested in multiple EEPROM by the gross.
In the present embodiment, when the EEPROM being simultaneously connected to batch of test controller is multiple, multiple EEPROM can be distinguished to make test controller, be convenient to test result corresponding with current tested EEPROM, for multiple EEPROM of to be tested batch specify different address, specific address is depending on the capacity of EEPROM to be tested, assuming that its capacity is known (capacity can be learnt from the naming rule of EEPROM), distribute one one, two, or triad address, address writes on the beginning of test data, test controller utilizes addressed module 150 to find the EEPROM specified, namely reading and writing data only can occur between test controller and the EEPROM possessing assigned address, achieve the differentiation of multiple EEPROM.
Above-described embodiment is improved, as shown in Figure 3, an alternative embodiment of the invention, the proving installation of the EEPROM of a kind of I2C, comprise test controller 100, at least one test bench 200, I2C bus 300, described test controller 100 comprises: Data import module, is loaded into test controller by test data; Data read-write module, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through; Batch control module, is electrically connected with described data read-write module, described Data Comparison module, has judged whether to test by the gross; Addressed module, is electrically connected with described data read-write module, a batch control module, according to the address of EEPROM to be measured, determines an EEPROM to be tested in multiple EEPROM by the gross; At least one test bench 200 described, is electrically connected respectively with EEPROM by the gross to be tested, and the socket form of described test bench adapts to MSOP-8, PDIP-8, SOIC-8 or TSSOP-8 encapsulated type; Described I2C bus 300, is electrically connected with at least one test bench described, described test controller.
In the present embodiment, test bench 200 provides reliable physical carrier and electrical connection for EEPROM to be tested, the encapsulated type that EEPROM to be tested may adopt comprises MSOP-8, PDIP-8, SOIC-8, or TSSOP-8, size and the stitch of the EEPROM of different encapsulated type have certain difference, thus the socket form of test bench 200 should adapt to from different encapsulated types, concrete, it can be the stitch of the compatible multiple encapsulated type of a kind of socket form on a test bench, also can be a test bench has multiple different socket form selective, also can be a test bench only has a kind of socket and only for a kind of EEPROM of encapsulated type, in a word, object is the measurement utilizing test bench to realize the I2CEEPROM of different encapsulated type.
In the present embodiment, the address of multiple EEPROM arranges and is completed by test bench 200, socket corresponding with the address pins of EEPROM on test bench can be set to high level or ground connection, such as, EEPROM capacity to be tested is 2kbit, EEPROM default allocation address 000 then on first test bench, socket corresponding with three address pin on test bench is all set to ground connection, the eeprom address being then positioned at this test bench is 000, and test controller uses address 000 to carry out data communication with the EEPROM on this test bench.
Improve above-described embodiment, as shown in Figure 3, an alternative embodiment of the invention, comprises test controller 100, at least one test bench 200, I2C bus 300, at least one LED 400.Described test controller 100 comprises: Data import module, is loaded into test controller by test data; Data read-write module, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM; Data Comparison module, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through; Batch control module, is electrically connected with described data read-write module, described Data Comparison module, has judged whether to test by the gross; Addressed module, is electrically connected with described data read-write module, a batch control module, according to the address of EEPROM to be measured, determines an EEPROM to be tested in multiple EEPROM by the gross; At least one test bench 200 described, is electrically connected respectively with EEPROM by the gross to be tested, and the socket form of described test bench adapts to MSOP-8, PDIP-8, SOIC-8 or TSSOP-8 encapsulated type; Described I2C bus 300, is electrically connected with at least one test bench described, described test controller; At least one LED 400 described, is electrically connected with the Data Comparison module of described test controller; Whether the Data Comparison module of described test controller is passed through according to test result, light/or extinguish the LED corresponding with current EEPROM to be tested.
In the present embodiment, test controller is in parallel with multiple LED, the operating voltage that can control each LED makes it be in different duties, LED acquiescence is in the duty of extinguishing, when test controller produces a test result, if test result is not for pass through, then do not change the duty of corresponding LED, if test result is for passing through, the duty that the operating voltage changing corresponding LED makes it be in light, tester learns the test result of the EEPROM on corresponding test bench by the duty of observing LED.
Fig. 4 is the entire flow figure of the method for the EEPROM of a kind of test I 2C.Detailed step of the present invention is introduced in conjunction with process flow diagram.
S1 selects test bench.S2 loads test data.S25 selects EEPROM.Test data is write EEPROM to be tested by S3 test controller.S4 reads the data of write EEPROM.S5, by the data of reading and test data comparison, judges whether identical; If so, perform step S75 and light corresponding LED, and perform next step S8; Otherwise, perform next step S8.S8 has judged whether a batch test; If so, test is stopped; Otherwise, return step S3.
It should be noted that above-described embodiment all can independent assortment as required.The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (10)
1. a method of the EEPROM of test I 2C, is characterized in that, comprises step:
S2: load test data;
S3: test data is write EEPROM;
S4: the data reading EEPROM;
S5: whether contrast test data are identical with the data of reading;
S6: when the coming to the same thing of comparison, test result is for passing through;
S7: when the result of comparison is different, test result is not passed through.
2. whether the method for the EEPROM of test I 2C as claimed in claim 1, is characterized in that, also comprise step: S8: testing by the gross according to completing, returning step S3.
3. the method for the EEPROM of test I 2C as claimed in claim 2, is characterized in that, before step S3, also comprise step: S25: the address selecting an EEPROM to be measured in EEPROM multiple to be measured by the gross.
4. the method for the EEPROM of test I 2C as described in claim 1-3 any one claim, is characterized in that, also comprise step: S1: according to the encapsulated type of EEPROM, connect EEPROM to be tested; Described EEPROM encapsulated type is MSOP-8, PDIP-8, SOIC-8 or TSSOP-8.
5. the method for the EEPROM of test I 2C as claimed in claim 4, is characterized in that, after step s 7, also comprise step: S75 when described test result for by time, light LED alarm lamp; When described test result is obstructed out-of-date, maintain LED alarm lamp and extinguish.
6. a test controller of the EEPROM of I2C, is characterized in that, comprising:
Data import module, is loaded into test controller by test data;
Data read-write module, is electrically connected with described Data import module, the test data being loaded into test controller is write EEPROM to be measured, and reads the data of write EEPROM;
Data Comparison module, is electrically connected with described Data import module, data read-write module, and data Data import module loading being entered the write EEPROM that the test data of test controller and data read-write module read contrast, and judge whether test is passed through.
7. a test controller of the EEPROM of I2C as claimed in claim 6, is characterized in that, also comprise: batch control module, be electrically connected, judged whether to test by the gross with described data read-write module, described Data Comparison module.
8. the test controller of the EEPROM of I2C as claimed in claim 7, it is characterized in that, also comprise: addressed module, be electrically connected with described data read-write module, a batch control module, according to the address of EEPROM to be measured, in multiple EEPROM by the gross, determine an EEPROM to be tested.
9. a proving installation of the EEPROM of I2C, is characterized in that, comprising: the test controller of the EEPROM of the I2C as described in as arbitrary in claim 6-8; At least one test bench, is electrically connected respectively with EEPROM by the gross to be tested; I2C bus, is electrically connected with at least one test bench described, described test controller; Wherein, the socket form of described test bench adapts to MSOP-8, PDIP-8, SOIC-8 or TSSOP-8 encapsulated type.
10. a proving installation of the EEPROM of I2C as claimed in claim 9, is characterized in that, the proving installation of the EEPROM of described I2C also comprises: at least one LED, is electrically connected with the Data Comparison module of the test controller of the EEPROM of described I2C; Whether described contrast module is passed through according to test result, light/or extinguish the LED corresponding with current EEPROM to be tested.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510713901.XA CN105185415A (en) | 2015-10-28 | 2015-10-28 | Method and device for testing EEPROM of I2C |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510713901.XA CN105185415A (en) | 2015-10-28 | 2015-10-28 | Method and device for testing EEPROM of I2C |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105185415A true CN105185415A (en) | 2015-12-23 |
Family
ID=54907437
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510713901.XA Pending CN105185415A (en) | 2015-10-28 | 2015-10-28 | Method and device for testing EEPROM of I2C |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105185415A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106205726A (en) * | 2016-06-30 | 2016-12-07 | 深圳市航顺芯片技术研发有限公司 | The rapid testing technology of eeprom memory |
| CN106571167A (en) * | 2016-11-09 | 2017-04-19 | 上海华虹集成电路有限责任公司 | Method for building ''read'' testing benchmark of embedded EEPROM |
| WO2019056935A1 (en) * | 2017-09-20 | 2019-03-28 | 南京扬贺扬微电子科技有限公司 | Ft4222-based testing system and method for spi flash |
| CN110456185A (en) * | 2019-07-19 | 2019-11-15 | 成都承芯科技有限公司 | Electron key test macro and test method |
| CN111984478A (en) * | 2020-07-21 | 2020-11-24 | 江苏艾科半导体有限公司 | A kind of EEPROM chip transfer test method and system |
| CN112309481A (en) * | 2019-08-02 | 2021-02-02 | 神讯电脑(昆山)有限公司 | EEPROM read-write detection system and method thereof |
| CN112614535A (en) * | 2020-12-09 | 2021-04-06 | 北京时代民芯科技有限公司 | Automatic testing device for embedded EEPROM (electrically erasable programmable read-Only memory) of phased array radar drive control circuit |
| CN116312720A (en) * | 2023-04-11 | 2023-06-23 | 西安航空学院 | Design-for-test method, system and terminal of an embedded EEPROM |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020178412A1 (en) * | 1998-07-01 | 2002-11-28 | Noriyuki Matsui | Memory testing method and apparatus, and computer-readable recording medium |
| US20030221145A1 (en) * | 2002-05-24 | 2003-11-27 | Stong Gayvin E. | System and method for testing memory arrays |
| CN101763902A (en) * | 2008-12-23 | 2010-06-30 | 慧帝科技(深圳)有限公司 | Method and device thereof for measuring storage device |
| CN102842342A (en) * | 2011-06-20 | 2012-12-26 | 鸿富锦精密工业(深圳)有限公司 | Test system and method for data storage |
| CN103208314A (en) * | 2013-03-04 | 2013-07-17 | 深圳市硅格半导体有限公司 | Internal memory test method of embedded system and embedded system |
-
2015
- 2015-10-28 CN CN201510713901.XA patent/CN105185415A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020178412A1 (en) * | 1998-07-01 | 2002-11-28 | Noriyuki Matsui | Memory testing method and apparatus, and computer-readable recording medium |
| US20030221145A1 (en) * | 2002-05-24 | 2003-11-27 | Stong Gayvin E. | System and method for testing memory arrays |
| CN101763902A (en) * | 2008-12-23 | 2010-06-30 | 慧帝科技(深圳)有限公司 | Method and device thereof for measuring storage device |
| CN102842342A (en) * | 2011-06-20 | 2012-12-26 | 鸿富锦精密工业(深圳)有限公司 | Test system and method for data storage |
| CN103208314A (en) * | 2013-03-04 | 2013-07-17 | 深圳市硅格半导体有限公司 | Internal memory test method of embedded system and embedded system |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106205726A (en) * | 2016-06-30 | 2016-12-07 | 深圳市航顺芯片技术研发有限公司 | The rapid testing technology of eeprom memory |
| CN106205726B (en) * | 2016-06-30 | 2020-02-04 | 深圳市航顺芯片技术研发有限公司 | Quick test technology for EEPROM memory |
| CN106571167A (en) * | 2016-11-09 | 2017-04-19 | 上海华虹集成电路有限责任公司 | Method for building ''read'' testing benchmark of embedded EEPROM |
| WO2019056935A1 (en) * | 2017-09-20 | 2019-03-28 | 南京扬贺扬微电子科技有限公司 | Ft4222-based testing system and method for spi flash |
| CN110456185A (en) * | 2019-07-19 | 2019-11-15 | 成都承芯科技有限公司 | Electron key test macro and test method |
| CN112309481A (en) * | 2019-08-02 | 2021-02-02 | 神讯电脑(昆山)有限公司 | EEPROM read-write detection system and method thereof |
| CN112309481B (en) * | 2019-08-02 | 2024-07-16 | 神讯电脑(昆山)有限公司 | EEPROM read-write detection system and method thereof |
| CN111984478A (en) * | 2020-07-21 | 2020-11-24 | 江苏艾科半导体有限公司 | A kind of EEPROM chip transfer test method and system |
| CN112614535A (en) * | 2020-12-09 | 2021-04-06 | 北京时代民芯科技有限公司 | Automatic testing device for embedded EEPROM (electrically erasable programmable read-Only memory) of phased array radar drive control circuit |
| CN112614535B (en) * | 2020-12-09 | 2024-05-07 | 北京时代民芯科技有限公司 | Automatic testing device for EEPROM memory embedded in phased array radar drive control circuit |
| CN116312720A (en) * | 2023-04-11 | 2023-06-23 | 西安航空学院 | Design-for-test method, system and terminal of an embedded EEPROM |
| CN116312720B (en) * | 2023-04-11 | 2024-04-19 | 西安航空学院 | A testability design method, system and terminal for embedded EEPROM |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105185415A (en) | Method and device for testing EEPROM of I2C | |
| CN105302755A (en) | A PCIE board with monitoring function and monitoring method thereof | |
| CN203673003U (en) | Multi-core cable automatic tester | |
| CN107688521A (en) | A kind of server power supply detects circuit and detection method in place | |
| CN106936496B (en) | Hot plug device for multiple IIC communication devices | |
| CN204649876U (en) | Modularization global function automatic checkout system | |
| CN113985321B (en) | Cable connection performance testing device and method with intelligent self-learning capability | |
| CN109994148A (en) | Nand flash memory test fixture | |
| CN211787061U (en) | USB interface function detection equipment | |
| CN216901630U (en) | Interface conversion circuit and chip burning device | |
| CN105445604B (en) | A kind of USB3.1 TYPE c-types cable automatic test approach | |
| CN207764782U (en) | The detecting system of peripheral component interconnection express standard slots | |
| CN114428208A (en) | A hardware automatic measurement tool | |
| CN212694001U (en) | Open circuit detection circuit and open circuit detection device | |
| CN220525951U (en) | Optical chip wire bonding on-off intelligent detection device | |
| CN214540463U (en) | Relay board for switching and detecting multiple paths of signals | |
| TWI668566B (en) | Memory inspecting system, memory inspecting method, and error mapping table building method for memory inspecting | |
| CN213458022U (en) | Power panel and chip burning device | |
| CN205539306U (en) | Adapter error protection misloading is put | |
| CN116973727A (en) | Signal testing device of server board card | |
| CN107870834B (en) | Testing jig for hard disk backboard | |
| CN116994633A (en) | Easy-maintenance and regeneration design system, method and equipment for memory bank | |
| CN212229622U (en) | Navigation module testing device and system | |
| CN111443307B (en) | Detection method and detection system of signal processing unit | |
| CN106771823A (en) | Camera module open-short circuit device, system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151223 |
|
| RJ01 | Rejection of invention patent application after publication |