CN102708030A - Method and device for detecting internal memory - Google Patents
Method and device for detecting internal memory Download PDFInfo
- Publication number
- CN102708030A CN102708030A CN201210128411XA CN201210128411A CN102708030A CN 102708030 A CN102708030 A CN 102708030A CN 201210128411X A CN201210128411X A CN 201210128411XA CN 201210128411 A CN201210128411 A CN 201210128411A CN 102708030 A CN102708030 A CN 102708030A
- Authority
- CN
- China
- Prior art keywords
- address space
- memory
- storage unit
- content
- internal
- 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 a method and a device for detecting an internal memory. By the aid of the method and the device in the technical scheme, a function of detecting related and associated errors in pressure test for the memory is realized by means of circularly traversing simple steps such as content modification and backtracking reading verification when the internal memory is detected. Accordingly, the stability and related performances of the memory are guaranteed.
Description
Technical field
The present invention relates to the detection technique of computer system, be specifically related to a kind of internal-memory detection method and device.
Background technology
Along with the fast development of current mobile storage technology and the high speed in mobile storage market enlarge, the consumption of various storeies increases rapidly, and the demand in market has expedited the emergence of research and development, production, the application enterprise of large quantities of various storeies.Be to guarantee chip work reliably and with long-term, these enterprises need carry out high speed and test carefully storer before product export, therefore, and the ten minutes necessity that just seems of the research of Test Algorithms for Memory efficiently.
No matter the test of which kind of type memory; It not a foolproof problem; Can not only each storage unit of memory inside be tested one time successively and just draw conclusion; This is because the change of each storage unit all might influence the variation of other unit of memory inside, particularly can cause the variation of adjacent cells, and this situation usually takes place again.
Common memory pressure method of testing can travel through memory headroom at present, but means of testing is single, can not detect this associated tape error of internal memory, and promptly a location contents changes the variation that whether can cause adjacent cells.Present situation in cut-throat competition is descending us not merely will be concerned about the function of storer, and we are the stabilities that under identical functions, compare with product in the time of more.Concerning storer, detect its stability like this and just shown its importance through pressure test.
Summary of the invention
The technical matters that the present invention mainly solves is, a kind of internal-memory detection method and device are provided, and solved when internally depositing into the row test, can't detect the problem of associated tape error in the internal memory simultaneously, guarantees the performance of storer.
The present invention provides a kind of internal-memory detection method, specifically may further comprise the steps:
In memory headroom, choose a storage unit as first address space;
Revise the memory contents of first address space;
Choose with the first address space adjacent memory unit as second address space;
Whether the content that detects second address space is former memory contents;
If, choose storage unit again as first address space according to preset rules, all be selected as first address space until all storage unit.
Further, revise before the memory contents of first address space, also comprise: whether the content that detects first address space is former memory contents, if then continue execution in step.
Further, before whether the content that detects first address space is former memory contents, also comprise: in first address space, preset first test data.
Further, revise the memory contents of first address space, be specially: the memory contents of first address space is revised as the pairing radio-minus-one complement form of said memory contents.
Further, in memory headroom, choose a storage unit as first address space, be specially: the storage unit of choosing the lowest order address is as first address space.
Further, choose storage unit again as first address space according to preset rules, be specially: pairing storage unit is as first address space after being chosen at the address value that increases storage unit.
The present invention also provides a kind of internal memory pick-up unit, has specifically comprised:
Address space is chosen module; Be used for choosing a storage unit as first address space at memory headroom; From memory headroom, choose the first address space adjacent memory unit as second address space according to preset rules afterwards, and will choose the result and send information to the content read module;
The content detection module, whether the content that is used to detect said second address space is former memory contents, if then send information to address space and choose module;
The content modification module is used to revise the memory contents of said first address space, and sends information to address space and choose module.
Further, the content detection module also is used for: whether the content that detects first address space is former memory contents, if then send information to the content modification module.
Further, the internal memory pick-up unit also comprises: the content preset module is used for presetting first test data at first address space.
Further, revise the memory contents of first address space, be specially: the memory contents of first address space is revised as the pairing radio-minus-one complement form of said memory contents.
Further, the described storage unit of in memory headroom, choosing is specially as first address space: the storage unit of choosing the lowest order address is as first address space.
Further, choose storage unit again as first address space according to preset rules, be specially: pairing storage unit is as first address space after being chosen at the address value that increases storage unit.
Through technical scheme of the present invention; When carrying out the internal memory detection; Read this several steps searching loop such as checking through simple content modification, rollback and realized in the memory pressure test, detecting the function of associated tape error, thereby guaranteed the performance of storer.
Description of drawings
Fig. 1 is the process flow diagram of a kind of embodiment of internal-memory detection method among the present invention;
Fig. 2 is the process flow diagram of the another kind of embodiment of internal-memory detection method among the present invention;
Fig. 3 is the structural representation of a kind of embodiment of internal memory pick-up unit among the present invention.
Embodiment
Combine accompanying drawing that the present invention is done further explain through embodiment below.
Please refer to Fig. 1, be the process flow diagram of a kind of embodiment of internal-memory detection method among the present invention, this method has specifically comprised: choose any storage unit in the memory headroom as first address space, revise the memory contents of the first address space corresponding stored unit; Choose with the first address space adjacent memory unit be second address space; Whether the memory contents that detects second address space is former memory contents; If not former memory contents; Then the change of the first address space content can cause the related mistake of peripheral storage unit; If be former memory contents still, then choose storage unit again as first address space according to preset rules, all be selected as first address space until all storage unit.
In a kind of embodiment of internal-memory detection method of the present invention; For the storage unit that guarantees to be chosen for first address space qualified; Before revising the memory contents of first address space, can be earlier the memory contents of first address space be detected, judge whether to be former memory contents.If not, then this storage unit has problems, if then continue execution in step.
In a kind of embodiment of internal-memory detection method of the present invention, to the detection of the first address space storage unit, can first address space be preset first test data for ease.Particularly, can be one group is 0 sequence entirely.
In a kind of embodiment of internal-memory detection method of the present invention,, can be specifically the memory contents of first address space be revised as the radio-minus-one complement form of this content to correspondence to the modification of the first address space memory contents.
In a kind of embodiment of internal-memory detection method of the present invention, to the detection of all storage unit, when choosing storage unit as first address space for the first time, the storage unit of choosing the lowest order address is as first address space for ease.
Further; In a kind of embodiment of internal-memory detection method of the present invention; In order can all storage unit in the memory headroom to be traveled through; Again choose storage unit as first address space according to preset rules, can specifically be chosen at the address value that increases storage unit after pairing storage unit as first address space.Particularly, the address value that increases storage unit can be specially address value and add 1.
Below comprehensive above-mentioned numerous embodiments, and combine Fig. 2, the internal-memory detection method among the present invention is at length explained.In this embodiment, the storage unit of at first choosing the lowest order address is as first address space, and in this storage unit, presetting one group is 0 sequence entirely, reads the memory contents of first address space, and whether the memory contents of detection of stored unit is 0 entirely; If not 0 have problem,, 0 content with this storage unit deposits in the storage unit if changing radio-minus-one complement form 1 into; Then, choose with first address institute corresponding stored unit adjacent memory unit as second address space; Read the memory contents of second address space, whether the storage unit that detects second address space is former memory contents, if not and memory contents; Existing problems then, if former memory contents, then the address value of the storage unit of former first address space is added 1 after; Choose pairing storage unit as first address space; In this way, change the content of each storage unit respectively, verify whether its adjacent memory unit variation has taken place.
As shown in Figure 3, be the structural representation of a kind of embodiment of internal memory pick-up unit of the present invention, this device has comprised at least: address space is chosen module, content detection module, content modification module.Concrete, at first choose module and choose a storage unit, and will choose the result and send information to the content modification module as first address space through address space; After the content modification module reception information,, and send information to address space and choose module according to the memory contents of the information correction that receives first address space; Then, address space choose module select with the first address space adjacent memory unit as second address space, and the result that will choose sends information to the content detection module; The content detection module is according to received information; Whether the memory contents that detects second address space is former memory contents; If not; Then internal memory has problems, if then address space is chosen module and from memory headroom, chosen a storage unit again as first address space according to preset rules.
In a kind of embodiment of internal memory pick-up unit of the present invention, for the storage unit that guarantees to be chosen for first address space is qualified, the content detection module also is used for: whether the content that detects first address space is former memory contents.After address space is chosen module and is chosen first address space; Send information to the content detection module; The content detection module receives whether the content that detects first address space after the information is former memory contents, if not, these storage unit existing problems then; If then send information to the content modification module.
Further, in a kind of embodiment of internal memory pick-up unit of the present invention, to the detection of the first address space storage unit, the internal memory pick-up unit has also comprised the content preset module for ease, can in first address space, preset first test data.Particularly, can be one group is 0 sequence entirely.
In a kind of embodiment of internal memory pick-up unit of the present invention, the content modification module is to the modification of the first address space memory contents, can be specifically the memory contents of first address space be revised as the radio-minus-one complement form of this content to correspondence.
In a kind of embodiment of internal memory pick-up unit of the present invention; For ease to the detection of all storage unit; Address space is chosen module when choosing storage unit as first address space for the first time, and the storage unit of choosing the lowest order address is as first address space.
Further; In a kind of embodiment of internal memory pick-up unit of the present invention; In order can all storage unit in the memory headroom to be traveled through; Again choose storage unit as first address space according to preset rules, in force, pairing storage unit is as first address space after can letting address space choose module to be chosen at the address value that increases storage unit.Particularly, the address value that increases storage unit can be specially address value and add 1.
Above content is to combine concrete embodiment to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations; Therefore,, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention for the those of ordinary skill of technical field under the present invention.
Claims (12)
1. an internal-memory detection method is characterized in that, said detection method comprises:
In memory headroom, choose a storage unit as first address space;
Revise the memory contents of first address space;
Choose with the first address space adjacent memory unit as second address space;
Whether the content that detects second address space is former memory contents;
If, choose storage unit again as first address space according to preset rules, all be selected as first address space until all storage unit.
2. internal-memory detection method as claimed in claim 1 is characterized in that, before the memory contents of described modification first address space, also comprises: whether the content that detects first address space is former memory contents, if then continue execution in step.
3. internal-memory detection method as claimed in claim 2 is characterized in that, whether the content of described detection first address space is before the former memory contents, also comprises: in first address space, preset first test data.
4. internal-memory detection method as claimed in claim 1 is characterized in that, the memory contents of described modification first address space is specially: the memory contents of first address space is revised as the pairing radio-minus-one complement form of said memory contents.
5. internal-memory detection method as claimed in claim 1 is characterized in that, the described storage unit of in memory headroom, choosing is specially as first address space: the storage unit of choosing the lowest order address is as first address space.
6. internal-memory detection method as claimed in claim 5; It is characterized in that; Describedly choose storage unit again as first address space according to preset rules, be specially: pairing storage unit is as first address space after being chosen at the address value that increases storage unit.
7. an internal memory pick-up unit is characterized in that, said pick-up unit comprises:
Address space is chosen module; Be used for choosing a storage unit as first address space at memory headroom; From memory headroom, choose the first address space adjacent memory unit as second address space according to preset rules afterwards, and will choose the result and send information to the content read module;
The content detection module, whether the content that is used to detect said second address space is former memory contents, if then send information to address space and choose module;
The content modification module is used to revise the memory contents of said first address space, and sends information to address space and choose module.
8. internal memory pick-up unit as claimed in claim 7 is characterized in that, said content detection module also is used for: whether the content that detects first address space is former memory contents, if then send information to the content modification module.
9. internal memory pick-up unit as claimed in claim 8 is characterized in that, said internal memory pick-up unit also comprises: the content preset module, be used for presetting first test data at first address space, and concurrent carry information is given the content detection module.
10. internal memory pick-up unit as claimed in claim 7; It is characterized in that; Described content modification module is used to revise the memory contents of first address space, is specially: the memory contents of first address space is revised as the pairing radio-minus-one complement form of said memory contents.
11. internal memory pick-up unit as claimed in claim 7; It is characterized in that; Described address space is chosen module and is used for choosing a storage unit as first address space at memory headroom, and be specially: the storage unit of choosing the lowest order address is as first address space.
12. internal memory pick-up unit as claimed in claim 11; It is characterized in that; Described address space is chosen module and is used for choosing storage unit again as first address space according to preset rules, is specially: pairing storage unit is as first address space after being chosen at the address value that increases storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210128411XA CN102708030A (en) | 2012-04-27 | 2012-04-27 | Method and device for detecting internal memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210128411XA CN102708030A (en) | 2012-04-27 | 2012-04-27 | Method and device for detecting internal memory |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102708030A true CN102708030A (en) | 2012-10-03 |
Family
ID=46900838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210128411XA Pending CN102708030A (en) | 2012-04-27 | 2012-04-27 | Method and device for detecting internal memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102708030A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526912A (en) * | 2008-03-04 | 2009-09-09 | 英业达股份有限公司 | System and method for testing memory interference |
US20100211835A1 (en) * | 2009-02-19 | 2010-08-19 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Method for testing a memory device |
CN102135925A (en) * | 2010-12-27 | 2011-07-27 | 西安锐信科技有限公司 | Method and device for detecting error check and correcting memory |
CN102214129A (en) * | 2010-04-06 | 2011-10-12 | 鸿富锦精密工业(深圳)有限公司 | System and method for managing internal storage capacity limit test report |
-
2012
- 2012-04-27 CN CN201210128411XA patent/CN102708030A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101526912A (en) * | 2008-03-04 | 2009-09-09 | 英业达股份有限公司 | System and method for testing memory interference |
US20100211835A1 (en) * | 2009-02-19 | 2010-08-19 | Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. | Method for testing a memory device |
CN102214129A (en) * | 2010-04-06 | 2011-10-12 | 鸿富锦精密工业(深圳)有限公司 | System and method for managing internal storage capacity limit test report |
CN102135925A (en) * | 2010-12-27 | 2011-07-27 | 西安锐信科技有限公司 | Method and device for detecting error check and correcting memory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102662833B (en) | Method for managing test cases | |
CN102279776B (en) | Error checking and correcting ability testing method and device | |
CN103473098A (en) | Starting method of boot program and relevant device | |
CN103811072B (en) | The read method of a kind of high reliability NAND Flash and system thereof | |
CN102135927A (en) | Method and device for system booting based on NAND FLASH | |
CN102650984A (en) | Test report generation system and method | |
CN108846749A (en) | A kind of sliced transaction execution system and method based on block chain technology | |
CN102486938B (en) | Method for rapid detection of memory and device | |
CN104361909A (en) | On-chip RAM built-in self-testing method and circuit | |
CN106910528A (en) | A kind of optimization method and device of solid state hard disc data routing inspection | |
US9552287B2 (en) | Data management method, memory controller and embedded memory storage apparatus using the same | |
CN103247345A (en) | Quick-flash memory and detection method for failure memory cell of quick-flash memory | |
CN102339647A (en) | Detection method and apparatus for error checking and correcting (ECC) check module | |
CN103514958A (en) | Method for detecting service life of EMMC (embedded multi-media card) chip | |
CN103366831A (en) | Detection method for memory | |
CN102184117A (en) | Method and device for starting system on different Nandflash | |
CN104461526B (en) | A kind of control visiting method and device of end application | |
CN101303897A (en) | Memory structure, repair system and method for testing the same | |
CN103208314A (en) | Internal memory test method of embedded system and embedded system | |
CN101593147A (en) | Abnormal information dump method based on symbol file | |
CN105302679B (en) | A kind of detection method and system of intelligent terminal storage stability | |
CN107134295A (en) | Memory diagnostic system | |
CN102893263B (en) | Internal-memory detection method and internal memory detection device | |
CN102237139A (en) | Method for computing offset voltage and adjusting threshold voltage and memory device and controller | |
CN103811070B (en) | The read method of a kind of high reliability NAND Flash and system thereof |
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: 20121003 |