CN109388583A - A kind of method and relevant device of parameter detecting - Google Patents

A kind of method and relevant device of parameter detecting Download PDF

Info

Publication number
CN109388583A
CN109388583A CN201811179842.2A CN201811179842A CN109388583A CN 109388583 A CN109388583 A CN 109388583A CN 201811179842 A CN201811179842 A CN 201811179842A CN 109388583 A CN109388583 A CN 109388583A
Authority
CN
China
Prior art keywords
page
block
byte
nandflash
data collection
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.)
Granted
Application number
CN201811179842.2A
Other languages
Chinese (zh)
Other versions
CN109388583B (en
Inventor
何宁波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd filed Critical SHENZHEN CHIPSBANK TECHNOLOGY Co Ltd
Priority to CN201811179842.2A priority Critical patent/CN109388583B/en
Publication of CN109388583A publication Critical patent/CN109388583A/en
Application granted granted Critical
Publication of CN109388583B publication Critical patent/CN109388583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the present application discloses the method and relevant device of a kind of parameter detecting, for keeping up with the renewal speed of NandFlash in real time, guarantees the efficiency of practical volume production process.The embodiment of the present application method includes: to detect the id information of NandFlash;Judge whether the id information has been stored in volume production software;If it is not, then detecting the number of pages of the block of the NandFlash, block number, the sector number of page and redundancy word joint number;Described piece of number of pages, the block number, the sector number of the page and the redundancy word joint number are added to the volume production software.Wherein, it can be when the id information of current NandFlash be not present in volume production software, the id information and parameter of NandFlash described in real-time detection, so as to keep up with the renewal speed of NandFlash in real time, guarantees the efficiency of practical volume production process to be produced.

Description

A kind of method and relevant device of parameter detecting
Technical field
This application involves parameter detecting field more particularly to the methods and relevant device of a kind of parameter detecting.
Background technique
With the continuous expansion and the progress of manufacturing process of Nand Flash demand, the Nand of more and more different characteristics Flash is produced, and the movable storage device based on Nand Flash is during manufacturing volume production firstly the need of Nand Then the parameter of Flash executes corresponding volume production process according to parameter characteristic and obtains finished product.
In the prior art, when there is a kind of new Nand Flash, it is new that there is no this in the software due to executing volume production The relevant parameter of Nand Flash out, the software at this moment executing volume production need practitioner to be provided according to the open of NandFlash Material increases into parameter newly manually to be used as volume production parameter.
However, the process added manually is cumbersome and easy error, while NandFlash can not be kept up with well more New speed causes to perplex to practical volume production process.
Summary of the invention
The embodiment of the present application provides a kind of method of parameter detecting, and the ginseng of Nand Flash is detected for dynamic Number, and parameter is directly used in volume production.
The embodiment of the present application first aspect provides a kind of method of parameter detecting, comprising:
Detect the id information of NandFlash;
Judge whether the id information has been stored in volume production software;
If it is not, then detecting the number of pages of the block of the NandFlash, block number, the sector number of page and redundancy word joint number;
Described piece of number of pages, the block number, the sector number of the page and the redundancy word joint number are added to the volume production Software.
Optionally, with reference to the above first aspect, in the first possible implementation, detect the NandFlash's The number of pages of block includes:
In the write-in special data collection of page 0;
The page for numbering the index power for being 2 is successively wiped;
After page object is wiped free of, judge that the special data collection whether there is;
If it exists, then judge that the page object is wiped free of the preceding special data collection with the presence or absence of the spy after erasing page The case where different data set still has;
If being judged as YES, it is determined that the page object and it is described page 0 between number of pages difference be described piece of number of pages.
Optionally, with reference to the above first aspect, in the second possible implementation, detect the NandFlash's Block number includes:
In the write-in special data collection of page 0;
The block for numbering the index power for being 2 is successively wiped;
After object block is wiped free of, judge that the special data collection whether there is;
If it does not exist, then judge that the page object is wiped free of whether the preceding special data collection was deleted;
If not being deleted, it is determined that the block number difference between the object block and the block at the place of page 0 is described Block number.
Optionally, with reference to the above first aspect, in the third possible implementation, detect the NandFlash's Page sector number and redundancy word joint number include:
The special data collection of 2 index power byte is sequentially written in page 0;
The data of page 0 are read by the length of described 2 index power byte;
Since the 1st byte, successively judge whether described 2 index power byte and the data of page 0 are consistent;
If inconsistent, the number of the byte read is the byte number of page;
It enables the byte number of the page be denoted as M, remembers M/512=X, Y is enabled to be taken as the maximum 2 index power integer less than X, Then the Y is sector number, and M-512*Y is redundancy word joint number.
The embodiment of the present application second aspect provides a kind of device of parameter detecting, and the device of the parameter detecting, which has, to be realized The function of the method for any one possible implementation of above-mentioned first aspect or first aspect.The function can pass through hardware reality It is existing, corresponding software realization can also be executed by hardware.The hardware or software include one or more opposite with above-mentioned function The module answered.
The embodiment of the present application third aspect provides a kind of computer installation, comprising:
Processor, memory, input-output equipment and bus;
The processor, memory, input-output equipment are connected with the bus respectively;
The processor is for executing such as the described in any item methods of previous embodiment.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence, it is characterised in that: the step of computer program realizes method as in the foregoing embodiment when being executed by processor.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that the first ID of detection NandFlash Information;Judge whether first id information is contained in the second id information for being stored in volume production software;If it is not, then described in detection The parameter of NandFlash;The parameter is added to the volume production software.Due to when the NandFlash's for judging to receive Id information is not present in volume production software, then directly detects the parameter of Nand Flash, and parameter is added directly to volume production For software for volume production, this process ensure that the accuracy that parameter is added to volume production software, and can in real time with Upper NandFlash renewal speed ensure that the efficiency of practical volume production process.
Detailed description of the invention
Fig. 1 is an a kind of schematic diagram of the embodiment of the method for parameter detecting in the embodiment of the present application.
Fig. 2 is a kind of another schematic diagram of the embodiment of the method for parameter detecting in the embodiment of the present application;
Fig. 3 is an a kind of schematic diagram of the embodiment of the method for parameter detecting in the embodiment of the present application;
Fig. 4 is a kind of another schematic diagram of the embodiment of the method for parameter detecting in the embodiment of the present application;
Fig. 5 is a kind of embodiment schematic diagram of the device of parameter detecting provided by the embodiments of the present application;
Fig. 6 is a kind of embodiment schematic diagram of computer installation in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides the method and relevant device of a kind of parameter detecting, for keeping up in real time NandFlash renewal speed guarantees the efficiency of practical volume production process.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing Four " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein or describing Sequence other than appearance is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering is non-exclusive Include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly arrange Those of out step or unit, but may include be not clearly listed or it is solid for these process, methods, product or equipment The other step or units having.
In actual NandFlash production process, volume production software can detect the ID of the NandFlash produced Information, each NandFlash can have a unique id information when manufacturing factory by initial manufacturer, if it is detected that Id information it is identical be stored in volume production software some id information when, then volume production software can call directly the id information institute it is right The relevant parameter answered is produced;If it is detected that id information when being different from the id information for being stored in volume production software, Need it is artificial go to confirm id information and parameter, such as confirmed by the manufacturer of the NandFlash, and by ID Information and parameter are stored to volume production software, and such workflow can reduce production efficiency, and in the mistake added manually Cheng Zhong can bring unnecessary loss if generating fault leads to parameter error, to solve this problem, present applicant proposes A kind of method and relevant device of parameter detecting, it is therefore an objective to ensure that the accuracy that parameter is added to volume production software, and can To keep up with NandFlash renewal speed in real time, the efficiency of practical volume production process ensure that.
In order to make it easy to understand, the detailed process in the embodiment of the present application is described below, referring to Fig. 1, the application A kind of embodiment of the method for parameter detecting includes: in embodiment
101, the id information of NandFlash is detected;
In the present embodiment, the id information of NandFlash is detected, has unique ID after each NandFlash factory Information.
Specifically, the id information of volume production software detection NandFlash, the id information are used for and the stored ID of software inhouse Information is compared.
102, judge whether the id information has been stored in volume production software, if so, 105 are thened follow the steps, if it is not, then executing Step 103;
In the present embodiment, volume production software is by the id information that step 101 detection obtains and has been stored in volume production software Id information is compared one by one, if the ID that the id information that step 101 detection obtains has been stored in volume production software with some believes Manner of breathing is same, then is judged as YES;If the obtained id information of step 101 detection and the id information being stored in volume production software are not It is identical, then it is judged as NO.
Specifically, when the judgment is yes, then volume production software can call parameter information corresponding with the id information to For producing, if NO when, then detect number of pages, block number, the sector number of page and the redundancy word joint number of the block of the NandFlash.
103, number of pages, block number, the sector number of page and the redundancy word joint number of the block of the NandFlash are detected;
In the present embodiment, when step 102 is judged as NO, then the number of pages of the block of the NandFlash, block number, page are detected Sector number and redundancy word joint number.
Specifically, number of pages, block number, the sector number of page and the redundancy word of the block of NandFlash are calculated by preset algorithm Joint number.
104, the number of pages of the block, the block number, the sector number of this page and the redundancy word joint number are added to the volume production software;
In the present embodiment, the number of pages for the block that step 103 detects, block number, the sector number of page and redundancy word joint number can be added Volume production software is added to, for production.
105, other operations are executed;
Specifically, when 102 steps are judged as YES, then parameter information corresponding with the id information can be called to be directly used in Production.
In the present embodiment, the number of pages of the block of NandFlash, block number, the sector number of page and redundancy word joint number are added after detection The time that parameter is obtained from other channels such as manufacturer can be saved by adding to volume production software, be improved work efficiency, and lead to It crosses detection directly to be added automatically by software later, also avoids manual operation it is possible that the case where making mistakes, ensure that production When parameter accuracy.
Number of pages, block number, the sector number of page and the redundancy word joint number of the block of detection NandFlash are retouched in detail below It states:
One, the number of pages of the block of NandFlash is detected:
Referring specifically to Fig. 2, the number of pages that the block of NandFlash is detected in the present embodiment is specifically included:
201, it enables and counts N=1;
202, write-in special data collection is to page 0;
Specifically, in the special number of one special data collection of the write-in of page 0, such as 512 bytes constructed with 0x550xAA According to collection.
203, the N pages is wiped, the data of page 0 are read;
Specifically, since the index power that the number of pages of block attribute itself may only be 2 can be led when wiping page Block number evidence where causing this page is wiped free of, that is to say, that when wiping the number of pages that number of pages is included greater than one piece, can wipe this Block where page rather than be written with the block where page 0 of special data collection.
204, judge to read result and whether the special data collection of write-in is consistent;
Specifically, at the end of erasing move, judge page 0 data and write-in special data collection it is whether identical, if It is that then to represent secondary erasing move erasing is another piece of data, that is, the number of pages of block where having exceeded page 0, so N is For block number, if it is not, then represent the secondary erasing move erasing is the block where page 0, erasing number of pages is still less than the institute of page 0 In the number of pages of block, then N=N × 2 are enabled, continues step 202.
Step expression, the special data of page 0 after occurring the page erasing for the index power that some number is 2 for the first time When collection the case where still having, then the page for the index power that some number is 2 and the gap of page 0 are the number of pages of block.
205, the number of pages of block is N.
Specifically, resulting result N is the number of pages of the block of NandFlash.
Two, the block number of NandFlash is detected:
Referring specifically to Fig. 3, the block number that NandFlash is detected in the present embodiment is specifically included:
301, it enables and counts N=1;
302, write-in special data collection is to page 0;
Specifically, in the special number of one special data collection of the write-in of page 0, such as 512 bytes constructed with 0x550xAA According to collection.
303, nth block is wiped, the data of page 0 are read;
Specifically, attribute of block itself may only be 2 index power, and when wiping block, if erasing Block number have exceeded total block data, first piece can be wiped, for example, the NandFlash for being 1024 to a block number executes erasing the When 2048 pieces of operation, first piece in the NandFlash of data can be wiped.
304, judge to read result and whether the special data collection of write-in is consistent;
Specifically, if being judged as YES, the block number for representing erasing is less than the total block data of NandFlash, then enables N=N × 2, Step 303 is carried out again, if being judged as NO, be may determine that according to attribute of block itself and is had exceeded total block data for the block number of erasing, The as block number of NandFlash.
Step expression, the special data of page 0 after occurring the block erasing for the index power that some number is 2 for the first time When the case where collection is not present, then the block for the index power that some number is 2 and the 0th piece of gap are block number.
305, block number N;
Specifically, resulting result N is the block number of NandFlash.
Three, the sector number and redundancy word joint number of page are detected:
Referring specifically to Fig. 4, the sector number of page is detected in the present embodiment and redundancy word joint number specifically includes:
401, it enables and counts N=1;
402, write-in is the data set of length to page 0 using N;
Specifically, in one data set of the write-in of page 0, the length of the data set needs identical as N.
403, the data of each byte in page 0 are read in order;
Specifically, data are read as unit of byte since first character section in page 0.
404, judge to read result and whether the data set of write-in is consistent;
If consistent, then it represents that the byte number of write-in does not fill up current page, cannot detect the byte number of complete page, If inconsistent, then it represents that the byte number of write-in has been more than the byte number of current page, as when the byte length according to write-in is by page Interior byte is compared one by one with input byte, and the different byte number of first character section internal data is the byte number of page
405, the byte number for occurring difference for the first time is byte number, is denoted as M;
Illustratively, when containing 1536 bytes by page 0, if 1024 bytes of input, when carrying out byte comparison, Byte is identical in the byte and page of input, if having input 2048 bytes, because of the 1537th byte, there is no defeated Enter into page, so will appear difference for the first time, i.e., the page contains 1536 bytes.
406, remember M/512=X, Y is enabled to be taken as the maximum 2 index power integer less than X;
Specifically, if the byte number of obtained page is denoted as M, due to including 512 bytes, and sector in each sector Number can only be 2 index times, and the calculating process of the sector number of page is then M/512, as a result be taken as maximum 2 less than calculated result Index times integer, redundancy word joint number is that the byte number of page subtracts corresponding byte number in sector
407, Y is sector number, and M-512*Y is redundancy word joint number.
Illustratively, when containing 1536 characters by page 0,1536/512=3, the sector number of page at this moment is 2, and 1536-2 × 512=512 is redundancy word joint number.
Fig. 5 is a kind of embodiment schematic diagram of the device of parameter detecting provided by the embodiments of the present application.
First detection unit 501, the id information for detecting NandFlash;
Judging unit 502, for judging whether the id information has been saved;
Second detection unit 503, for detecting the block of the NandFlash when the judging unit is judged as NO Number of pages, block number, the sector number of page and redundancy word joint number;
Adding unit 504, for by described piece of number of pages, the block number, the page sector number and the redundancy bytes Number is added to the volume production software.
Optionally, the number of pages of the block of the NandFlash is detected, the second detection unit 503 is specifically used for:
In the write-in special data collection of page 0;
The page for numbering the index power for being 2 is successively wiped;
After page object is wiped free of, judge that the special data collection whether there is;
If it exists, then judge that the page object is wiped free of the preceding special data collection with the presence or absence of the spy after erasing page The case where different data set still has;
If being judged as YES, it is determined that the page object and it is described page 0 between number of pages difference be described piece of number of pages.
Optionally, the block number of the NandFlash is detected, the second detection unit 503 is specifically used for:
In the write-in special data collection of page 0;
The block for numbering the index power for being 2 is successively wiped;
After object block is wiped free of, judge that the special data collection whether there is;
If it does not exist, then judge that the page object is wiped free of whether the preceding special data collection was deleted;
If not being deleted, it is determined that the block number difference between the object block and the block at the place of page 0 is described Block number.
Optionally, the sector number and redundancy word joint number of the page of the NandFlash, the second detection unit 503 are detected It is specifically used for:
The special data collection of 2 index power byte is sequentially written in page 0;
The data of page 0 are read by the length of described 2 index power byte;
Since the 1st byte, successively judge whether described 2 index power byte and the data of page 0 are consistent;
If inconsistent, the number of the byte read is the byte number of page;
It enables the byte number of the page be denoted as M, remembers M/512=X;
Y is enabled to be taken as the maximum 2 index power integer less than X, then the Y is sector number, and M-512*Y is redundancy bytes Number.
Fig. 6 is a kind of embodiment schematic diagram of computer installation in the embodiment of the present application.
It is described from hardware configuration, the device of the parameter detecting in Fig. 5 can be realized by an entity device, can also be with It is realized jointly by multiple entity devices, can also be a logic functional block in an entity device, the embodiment of the present application This is not especially limited.
For example, the device of the parameter detecting in Fig. 6 can be realized by the computer installation in Fig. 6.Fig. 6 show this Apply for the hardware structural diagram for the computer installation that embodiment provides.The computer installation 60 includes processor 601, memory 602, communication line 603 and input-output apparatus 604.
Processor 601 can be a general central processor, microprocessor, application-specific integrated circuit or one or more A integrated circuit executed for controlling application scheme program.
Memory 602 can be read-only memory (ROM, read-only memory) or can store static information and instruction Other kinds of static storage device, random access memory (RAM, randomaccess memory) or letter can be stored Breath and instruction other kinds of dynamic memory, be also possible to Electrically Erasable Programmable Read-Only Memory, CD-ROM or its His optical disc storage, optical disc storage (including compression optical disc, laser disc, optical disc, Digital Versatile Disc, Blu-ray Disc etc.), disk are deposited Storage media or other magnetic storage apparatus or can be used in carry or store have instruction or data structure form it is desired Program code and can by any other medium of computer access, but not limited to this.Memory 602, which can be, to be individually present, It is connected by communication line 603 with processor 601.Memory 602 can also be integrated with processor 601.
Communication line 603 may include an access, and information is transmitted between said modules.
In the concrete realization, as one embodiment, computer installation 60 can also include input-output apparatus 604, defeated Enter/output equipment 604 and processor 601 communicate, it can show information in many ways.For example, input-output apparatus 604 It can be liquid crystal display (LCD, liquid crystal display), Light-Emitting Diode (LED, light emitting Diode) show equipment, cathode-ray tube (CRT, cathoderaytube) show equipment, mouse, keyboard, touch panel device or Sensing equipment etc..
It is understood that the size of the serial number of above steps is not meant in the various embodiments of the application Execution sequence it is successive, the execution of each step sequence should be determined by its function and internal logic, without coping with the embodiment of the present application Implementation process constitute any restriction.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read- OnlyMemory), random access memory (RAM, RandomAccess Memory), magnetic or disk etc. are various to deposit Store up the medium of program code.

Claims (10)

1. a kind of method of parameter detecting characterized by comprising
Detect the id information of NandFlash;
Judge whether the id information has been stored in volume production software;
If it is not, then detecting the number of pages of the block of the NandFlash, block number, the sector number of page and redundancy word joint number;
Described piece of number of pages, the block number, the sector number of the page and the redundancy word joint number are added to the volume production software.
2. the method according to claim 1, wherein the number of pages for detecting the block of the NandFlash includes:
In the write-in special data collection of page 0;
The page for numbering the index power for being 2 is successively wiped;
After page object is wiped free of, judge that the special data collection whether there is;
If it exists, then judge that the page object is wiped free of the preceding special data collection with the presence or absence of the special number after erasing page The case where being still had according to collection;
If being judged as YES, it is determined that the page object and it is described page 0 between number of pages difference be described piece of number of pages.
3. the method according to claim 1, wherein the block number for detecting the NandFlash includes:
In the write-in special data collection of page 0;
The block for numbering the index power for being 2 is successively wiped;
After object block is wiped free of, judge that the special data collection whether there is;
If it does not exist, then judge that the page object is wiped free of whether the preceding special data collection was deleted;
If not being deleted, it is determined that the block number difference between the object block and the block at the place of page 0 is the block number.
4. the method according to claim 1, wherein detecting the sector number and redundancy of the page of the NandFlash Byte number includes:
The special data collection of 2 index power byte is sequentially written in page 0;
The data of page 0 are read by the length of described 2 index power byte;
Since the 1st byte, successively judge whether described 2 index power byte and the data of page 0 are consistent;
If inconsistent, the number of the byte read is the byte number of page;
It enables the byte number of the page be denoted as M, remembers M/512=X;
Y is enabled to be taken as the maximum 2 index power integer less than X, then the Y is sector number, and M-512*Y is redundancy word joint number.
5. a kind of device of parameter detecting characterized by comprising
First detection unit, for detecting the id information of NandFlash;
Judging unit, for judging whether the id information has been saved;
Second detection unit, for detecting number of pages, the block of the block of the NandFlash when the judging unit is judged as NO Number, the sector number of page and redundancy word joint number;
Adding unit, for sector number and the redundancy word joint number of described piece of number of pages, the block number, the page to be added to The volume production software.
6. device according to claim 5, which is characterized in that detect the number of pages of the block of the NandFlash, described second Detection unit is specifically used for:
In the write-in special data collection of page 0;
The page for numbering the index power for being 2 is successively wiped;
After page object is wiped free of, judge that the special data collection whether there is;
If it exists, then judge that the page object is wiped free of the preceding special data collection with the presence or absence of the special number after erasing page The case where being still had according to collection;
If being judged as YES, it is determined that the page object and it is described page 0 between number of pages difference be described piece of number of pages.
7. device according to claim 5, which is characterized in that detect the block number of the NandFlash, second detection Unit is specifically used for:
In the write-in special data collection of page 0;
The block for numbering the index power for being 2 is successively wiped;
After object block is wiped free of, judge that the special data collection whether there is;
If it does not exist, then judge that the page object is wiped free of whether the preceding special data collection was deleted;
If not being deleted, it is determined that the block number difference between the object block and the block at the place of page 0 is the block number.
8. device according to claim 5, which is characterized in that detect the sector number and redundancy of the page of the NandFlash Byte number, the second detection unit are specifically used for:
The special data collection of 2 index power byte is sequentially written in page 0;
The data of page 0 are read by the length of described 2 index power byte;
Since the 1st byte, successively judge whether described 2 index power byte and the data of page 0 are consistent;
If inconsistent, the number of the byte read is the byte number of page;
It enables the byte number of the page be denoted as M, the corresponding byte number in 512 sectors is enabled to be denoted as K, then the M and K is subjected to position With calculating;
If institute's rheme and the result of calculating are equal to 0, the K=K/2 and M is enabled to carry out institute's rheme and calculate;
If institute's rheme and the result of calculating are not equal to 0, judge institute's rheme and whether there is the feelings that result is not equal to 0 before calculating Condition;
If it does not exist, then K/512 at this time is the sector number of the page, and M-K is the redundancy word joint number.
9. a kind of computer installation characterized by comprising
Processor, memory, input-output equipment and bus;
The processor, memory, input-output equipment are connected with the bus respectively;
The processor is for executing such as the described in any item methods of Claims 1-4.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program It is realized when being executed by processor such as the step of any one of Claims 1-4 the method.
CN201811179842.2A 2018-10-10 2018-10-10 Parameter detection method and related equipment Active CN109388583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811179842.2A CN109388583B (en) 2018-10-10 2018-10-10 Parameter detection method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811179842.2A CN109388583B (en) 2018-10-10 2018-10-10 Parameter detection method and related equipment

Publications (2)

Publication Number Publication Date
CN109388583A true CN109388583A (en) 2019-02-26
CN109388583B CN109388583B (en) 2024-01-12

Family

ID=65426758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811179842.2A Active CN109388583B (en) 2018-10-10 2018-10-10 Parameter detection method and related equipment

Country Status (1)

Country Link
CN (1) CN109388583B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7636814B1 (en) * 2005-04-28 2009-12-22 Symantec Operating Corporation System and method for asynchronous reads of old data blocks updated through a write-back cache
CN101710302A (en) * 2009-01-09 2010-05-19 深圳市江波龙电子有限公司 Firmware program detecting method based on NandFlash storage medium
CN102543215A (en) * 2010-12-20 2012-07-04 西安奇维测控科技有限公司 Nand FLASH intelligent detection method based on ARM controller
CN103902461A (en) * 2012-12-27 2014-07-02 中兴通讯股份有限公司 Method and device for compatibility of different Nand flash memories
KR20170082787A (en) * 2016-01-07 2017-07-17 주식회사 만도 Method of automatic memory partitioning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7636814B1 (en) * 2005-04-28 2009-12-22 Symantec Operating Corporation System and method for asynchronous reads of old data blocks updated through a write-back cache
CN101710302A (en) * 2009-01-09 2010-05-19 深圳市江波龙电子有限公司 Firmware program detecting method based on NandFlash storage medium
CN102543215A (en) * 2010-12-20 2012-07-04 西安奇维测控科技有限公司 Nand FLASH intelligent detection method based on ARM controller
CN103902461A (en) * 2012-12-27 2014-07-02 中兴通讯股份有限公司 Method and device for compatibility of different Nand flash memories
KR20170082787A (en) * 2016-01-07 2017-07-17 주식회사 만도 Method of automatic memory partitioning

Also Published As

Publication number Publication date
CN109388583B (en) 2024-01-12

Similar Documents

Publication Publication Date Title
CN106557606A (en) For the method and system for positioning virtual objects in virtual simulation environment
CN104881415B (en) The method and apparatus of tree graph generation
KR102356044B1 (en) Method of extracting and converting BIM data for Web Browser and VR/AR Application
CN108604256B (en) Component information search device, component information search method, and program
CN104133682A (en) Information processing method and device
CN115857905A (en) Code conversion method and device for graphical programming, electronic equipment and storage medium
CN111080781A (en) Three-dimensional map display method and mobile terminal
US11080939B1 (en) Generating test cases for augmented reality (AR) application testing
CN114398071A (en) Control logic configuration implementation method and system of control system
CN109388583A (en) A kind of method and relevant device of parameter detecting
CN112365944A (en) Tree-shaped data node processing system, method, electronic equipment and storage medium
CN104506636A (en) Method and device for synchronizing data
CN106934854A (en) Based on creator model optimization method and devices
CN109816192B (en) GIL pipe gallery engineering simulation control system
CN111160862A (en) Thinking-guidance-diagram-based process flow display method, electronic equipment and storage medium
CN104765616B (en) A kind of method and system for automatically generating I/O model
CN108460836A (en) A kind of method and system of three-dimensional model simplifying
CN107105328A (en) A kind of control method of set top box, device and system
CN110162880B (en) Optical cable laying method, device, equipment and medium
CN103606175B (en) The display packing of a kind of map hotspot icon and controller
CN106570620A (en) Production guiding method and system
CN113127408A (en) Data conversion method and device
CN111369665A (en) Production state monitoring system and monitoring method based on three-dimensional modeling technology
CN104007896A (en) Information processing method and electronic equipment
CN111611684B (en) Method, system, device and storage medium for generating interference zone logic block

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant