Method and device for improving Flash mass production efficiency, equipment and storage medium
By serializing and storing the mass production information table generated by low-lattice scans in Flash mass production, the problem of low-lattice scan data is solved, and fast verification and efficient mass production are achieved.
Patent Information
- Application Number
- CN202411706792.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-11-26
AI Technical Summary
During the mass production process of Flash, the data generated by the low-lattice scanning is not stored externally, resulting in mass production testers need to re-run low-lattice scanning to verify debugging results, which seriously affects the mass production efficiency of Flash.
By performing low-lattice scanning of Flash to generate attribute feature information and management tables, serialization operations are performed to generate mass production information tables, and store them in a folder with a preset path, and use power-on location information to generate a location serial number as the folder name.
By serializing mass production information and storing it in external folders, the need for re-running and low-lattice scanning is reduced, and the mass production efficiency of Flash is significantly improved, and the heavy production of Flash can be completed within 1 to 2 minutes.
Smart Images

Figure CN119806898A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of flash memory technology, and in particular to a method, device, equipment and storage medium for improving Flash mass production efficiency. Background Art
[0002] NAND Flash (Flash for short, the same below) is a mainstream storage medium and is widely used in various types of storage products, such as USB flash drives, SD cards, and solid-state drives. Storage products include storage control chips, Flash, and PCBs. The storage control chip is used to control Flash to read and write data, and is one of the key components of storage products.
[0003] If Flash is to read and write data, the storage control chip needs to be equipped with Flash and mass-produced using mass-production tools. In actual mass production, Flash may fail to be mass-produced or may not meet the customer's mass-production requirements. Since the data generated during the low-level scan of Flash is not stored externally, after debugging Flash, the mass-production tester needs to re-run the low-level scan to verify the debugging results, which will seriously affect the mass-production efficiency of Flash. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a method, device, equipment and storage medium for improving the mass production efficiency of Flash, which can improve the mass production efficiency of Flash.
[0005] A first aspect of the present application provides a method for improving Flash mass production efficiency, comprising:
[0006] Perform low-level scanning of Flash to generate Flash attribute feature information and management table;
[0007] Performing serialization operation on the attribute characteristic information and the management table to generate a mass production information table;
[0008] Create a folder according to the preset storage path, and store the mass production information file in the corresponding folder;
[0009] The power-on position information of the Flash is read, a position serial number is generated according to the power-on position information, and the position serial number is used as the folder name of the folder.
[0010] Furthermore, in one of the preferred embodiments, the performing of low-level scanning of Flash to generate attribute characteristic information and a management table of Flash includes:
[0011] Read the low-format scanning parameters of the mass production tool, wherein the low-format scanning parameters include: scanning level, ECC level, optimization mode, and product settings;
[0012] Perform a write operation on the Flash according to the low-format scanning parameters;
[0013] Obtain the data written to the Flash, compare and verify it with the original written information, and parse the attribute feature information of the Flash based on the verification result;
[0014] Establishing a management table according to the attribute characteristic information, and writing into the management table;
[0015] Re-power on the Flash and format the Flash.
[0016] Furthermore, in one preferred embodiment, the serializing operation on the mass production information to generate the mass production information table includes:
[0017] Define the structure;
[0018] Reading the attribute feature information and the link order of the management table;
[0019] The serialization function is used to fill the structure according to the link sequence to create a mass production information file.
[0020] Further, in one of the preferred embodiments, after reading the power-on position information of the Flash, generating a position serial number according to the power-on position information, and using the position serial number as the file name of the folder, the method further includes:
[0021] Find the mass production information file according to the preset storage path;
[0022] Read the ID code information of the Flash in the current power-on position, and determine whether the ID code information of the Flash in the current power-on position matches the mass production information file. If so, obtain the high-level parameters of the mass production tool, and use the mass production information table to perform a high-level scan on the Flash; if not, generate and output the corresponding error code information.
[0023] A second aspect of the present application provides a device for improving Flash mass production efficiency, including:
[0024] The low-level format module is used to perform low-level format scanning on the Flash and generate the attribute feature information and management table of the Flash;
[0025] A serialization module, used to perform serialization operations on the attribute characteristics and management tables to generate a mass production information file;
[0026] A storage module, used to create a folder according to a preset storage path, and store the mass production information file in the corresponding folder;
[0027] A creation module is used to read the power-on position information of the Flash, generate a position serial number according to the power-on position information, and use the position serial number as the folder name of the folder.
[0028] Furthermore, in one of the preferred embodiments, the low-grid module comprises:
[0029] An acquisition unit, used for acquiring low-format scanning parameters of a mass production tool, wherein the low-format scanning parameters include: scanning level, ECC level, optimization mode, and product settings;
[0030] A writing unit, used for performing a writing operation on the Flash according to the low-format scanning parameters;
[0031] The parsing unit is used to read the data written by the Flash, compare and verify it with the original written information, and parse the attribute characteristic information of the Flash according to the verification result;
[0032] A table unit, used to establish a management table according to the attribute characteristic information and write into the management table;
[0033] The format unit is used to re-power on the Flash and format the Flash.
[0034] Furthermore, in one preferred embodiment, the serialization module comprises:
[0035] Structure unit, used to define the structure;
[0036] A linked list reading unit, used for reading the attribute characteristic information and the link sequence of the management table;
[0037] The generation unit is used to fill the structure according to the link sequence using a serialization function to create a mass production information file.
[0038] Furthermore, in one of the preferred embodiments, it also includes:
[0039] A search module, used to search for the mass production information file according to the preset storage path;
[0040] The high-grid module is used to read the ID code information of the Flash in the current power-on position, and determine whether the ID code information of the Flash in the current power-on position matches the mass production information file. If so, obtain the high-grid parameters of the mass production tool and use the mass production information file to perform a high-grid scan on the Flash; if not, generate and output the corresponding error code information.
[0041] A third aspect of the present application provides an electronic device, including:
[0042] Processor; and
[0043] A memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method for improving the Flash mass production efficiency as described above.
[0044] A fourth aspect of the present application provides a computer-readable medium storing an executable code. When the executable code is executed by a processor, the processor executes the method for improving Flash mass production efficiency as described above.
[0045] The technical solution of the present application includes: performing a low-format scan on Flash to generate Flash's attribute feature information and management table; performing serialization operations on the attribute feature information and management table to generate a mass production information file; creating a folder according to a preset storage path, and storing the mass production information file in the corresponding folder; reading the power-on position information of Flash, generating a position number according to the power-on position information, and using the position number as the file name of the folder. Since the mass production information generated by the low-format scan is stored in a folder of an external PC terminal after serialization, after the mass production tester debugs the Flash (i.e., changes the mass production information file), he can return to the original storage path to find the mass production information file and perform a high-format scan on the Flash, thereby accelerating the verification and mass production of the Flash. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0047] Figure 1 It is a flow chart of a method for improving Flash mass production efficiency according to an embodiment of the present application;
[0048] Figure 2 is a flow chart of a method for improving Flash mass production efficiency according to another embodiment of the present application;
[0049] Figure 3 FIG. 1 is a schematic diagram of the structure of a device for improving Flash mass production efficiency in an embodiment of the present application;
[0050] Figure 4FIG. 1 is a schematic diagram of the structure of a device for improving Flash mass production efficiency in another embodiment of the present application;
[0051] Figure 5 Shown is a schematic structural diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to facilitate the understanding of the present invention, the present invention will be described more comprehensively with reference to the accompanying drawings. The preferred embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thoroughly understood.
[0053] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only and do not represent the only implementation method.
[0054] In the related art, Flash may fail or fail to meet customer requirements during actual mass production. Since the data generated during the low-level scan of Flash is not stored externally, after debugging the Flash, the mass production tester needs to re-run the low-level scan to verify the debugging results, which will seriously affect the mass production efficiency of Flash.
[0055] Therefore, in order to solve the above technical problems, the present application provides a method for improving the mass production efficiency of Flash, which can improve the mass production efficiency of Flash.
[0056] The technical solution of the present application is described in detail below with reference to the accompanying drawings.
[0057] Figure 1 FIG. 1 is a flow chart of a method for improving Flash mass production efficiency in one embodiment of the present application.
[0058] See also Figure 1 , a method for improving Flash mass production efficiency, comprising the following steps:
[0059] Step S110: perform a low-level scan of the Flash to generate attribute feature information and a management table of the Flash.
[0060] It should be noted that Flash is used as a storage medium. Flash is divided into LUN (Die), Plane, Block and Page according to the hierarchical architecture. Block is the smallest erase unit of Flash, and Page is the smallest write unit of Flash. Based on the above physical structure characteristics, if the storage control chip is to be able to read and write Flash, the storage control chip needs to "understand" the physical structure characteristics of Flash, that is, the attribute characteristics of Flash. Because the storage control chip is not like other high-performance and high-computing chips, the performance of the storage control chip is not enough to support a full disk scan of Flash. Therefore, the storage control chip needs to rely on the computing power of the external host side (ie, PC side) to realize the low-format scan of Flash. The low-format scan is completed by running the mass production tool on the PC side.
[0061] There are many processes involved in low-format scanning, and each process item takes time. Low-format scanning aims to identify the status of Flash blocks and pages, that is, which blocks and pages are good and which blocks and pages are bad (equivalent to the attribute characteristic information of Flash). Of course, the goal of low-format scanning is not only to identify bad blocks and pages, but also to establish partitions, capacity, block templates, page templates, etc. around Flash. The establishment of these parameters is basically generated around the status of blocks and pages. The second goal is to establish a corresponding management table based on the attribute characteristic information of Flash and the operating standards disclosed in the Flash data manual. The management table records the management data of Flash. When the storage product is powered on, the storage control chip will read and load these management tables in advance to achieve the management of Flash.
[0062] Step S120: Serialize the attribute feature information and the management table to generate a mass production information file.
[0063] Serialization is the process of converting an object's state information into a form that can be stored or transmitted, allowing the object to be reconstructed (deserialized) in a different environment.
[0064] In this embodiment, the mass production information can be serialized as follows: 1) define a structure; 2) read attribute characteristics and manage the link order of the table; 3) use a serialization function to fill the structure in the link order to create a mass production information table.
[0065] First, define a structure, which is a data structure used to load Flash attribute feature information and management tables. In this embodiment, the structure includes: BlockInfo (block information), Prescan (pre-analysis information), TableData (table information), etc., where BlockInfo is used to record Block status, such as which Blocks are good and which Blocks are bad; Prescan is used to record Flash's BadColumn (bad column), ECC (error correction bit number), PageMask (page template) and other information; TableData is used to record Flash management table information, such as Partition (partition information), BootIndex (read-only table), Retry (reread table), etc.
[0066] Because in the memory, the attribute feature information and management table generated by the Flash in the mass production stage are distributed in random position intervals of the memory. Simply put, the memory is a space including several addresses, each space address corresponds to a piece of data information, and the capacity of each space address is limited, which may not be able to fully accommodate its corresponding data capacity. For the overflow data, another space address can only be allocated for storage, and the allocated space address is random, not the next space address of the current space address, but in order to ensure the integrity and continuity of the data information, a corresponding space address information link relationship will be established. For example, data A is allocated 3 space addresses in the memory, namely the 2nd space address, the 10th space address and the 55th space address. These 3 space addresses will have this link relationship: the 2nd space address - the 10th space address - the 55th space address. Therefore, during the serialization operation, the attribute feature information and the link order of the management table's spatial address in the memory are read, and the serialization function (such as nlohmann / json function, Pickle function, Java.io.Serializable function, System.Runtime.Serialization.Formatters.Binary function, etc., can all achieve serialization. You can choose the appropriate serialization function to perform the serialization operation according to actual needs) is used to fill the structure according to the link order, and then finally create a mass production information file, which is equivalent to summarizing the scattered Flash attribute feature information and management tables distributed in the memory into an orderly and complete information table.
[0067] Step S130: Create a folder according to the preset storage path, and store the mass production information file in the corresponding folder.
[0068] It should be noted that after the mass production information file is successfully serialized, the mass production information table can be stored. In this embodiment, a folder is created according to a preset storage path, and the preset storage path can be configured by a mass production tool. The mass production tester can select a suitable storage path to create a folder according to the actual situation, and store the mass production information file in the folder.
[0069] Step S140: read the power-on position information of the Flash, generate a position serial number according to the power-on position information, and use the position serial number as the folder name of the folder.
[0070] It should be noted that in actual mass production, in order to maximize the mass production efficiency of Flash, mass production tools will be configured with multiple channel options. "Number of channels" is equivalent to multiple power-on interfaces, and each channel can be connected to one piece of Flash, that is, in a mass production process, multiple pieces of Flash can be mass-produced at the same time. As for Flash, even for the same model of Flash, the corresponding physical structure characteristics are different. Therefore, each piece of Flash in mass production should correspond to its own mass production information file. In this embodiment, in order to distinguish different Flashes, the power-on position information of the Flash will be read, and a position number will be generated according to the power-on position information, and the position number will be used as the file name of the folder.
[0071] If the test board is connected to three Flashes at the same time, and three folders have been successfully created according to the preset storage path, each folder stores mass production information files. At this time, read the power-on position information of the Flash, and generate position numbers according to the power-on position information, such as "01", "02" and "03". "01", "02" and "03" are the folder names corresponding to the three folders.
[0072] In this embodiment, since the mass production information generated by the low-format scan is saved in a folder of the external PC terminal after serialization, after the mass production tester debugs the Flash (for example, the mass production tester changes the page template PageMask of the mass production information file according to customer requirements to achieve the Flash capacity required by the customer), it is possible to return to the original storage path to find the mass production information file and perform a high-format scan on the Flash. There is no need to re-run a low-format scan on the Flash, which can speed up the verification of the Flash and the efficiency of mass production.
[0073] It should be noted that due to the particularity of the storage industry, storage product manufacturers need to combine their own product requirements and the current mass production environment when mass-producing Flash, and will put forward different mass production requirements for Flash. Flash is the most core and critical medium that affects the capacity, read and write speed, and over-contrast yield of storage products. If Flash fails to meet the capacity, read and write speed or over-contrast yield required by the storage product manufacturer after mass production, the storage control chip designer will be required to debug and verify the mass production plan in a timely manner. Therefore, the mass production information table generated by the low-format scan is the core file that mass production testers can use to quickly debug Flash. The mass production information file records the Flash attribute feature information and management table. It is a data table that visualizes the physical structure characteristics of Flash. Mass production testers can understand the internal structure of Flash through the parameter data in the mass production information file, and complete the debugging of Flash according to the mass production requirements of the storage product manufacturer and their own years of Flash debugging experience.
[0074] For example, after the Flash is mass-produced successfully, it is found that the Flash capacity may not reach the 60G required by the customer, but only 32G (the reason for this phenomenon is that when mass-producing Flash, the mass-production plan for Flash is to maximize the read and write speed of Flash, and give up some capacity. This is the strategic direction of the mass-production plan itself. It is not that the mass-production plan is bad, but that the characteristics of the mass-production plan cannot meet the mass-production requirements, so adaptive modifications are required). At this time, the mass-production tester can find the mass-production information file in the folder with the corresponding serial number according to the preset storage path and the power-on position of the Flash. Since the capacity of the Flash is related to the page template PageMask, the mass-production tester can modify the page template PageMask while ensuring that the Flash can pass the comparison verification. For example:
[0075] Original page template PageMask: 0111 1101;
[0076] The changed page template PageMask: 1111 1101.
[0077] "0" represents a bad Page, and "1" represents a good Page. This is equivalent to adding one more Page to each Block for the current Flash, so as to increase the capacity of the Flash. Even if the original bad Page is configured as a good Page, it will cause corresponding data errors, but it can be corrected by the ECC error correction code of the Flash, and then the mass production information file is saved. Import the debugged mass production information file according to the original storage path, and then the Flash can be mass-produced according to the updated mass production information file. Since the physical address assigned to the mass production information file inside the Flash does not change, when the Flash is powered on again for mass production, the storage control chip can still read and load it through the physical address assigned during the first mass production. In this way, there is no need to re-run all the process items of Flash like a low-format scan to achieve mass production, which greatly speeds up the verification and mass production efficiency of the Flash. Generally speaking, the time consumed by the low-format scan is 2 hours, but according to the technical solution of the present application, it only takes 1 to 2 minutes to achieve the mass production of Flash, which is of great help in terms of mass production efficiency.
[0078] In addition, the technical solution of the present application is not only helpful to storage product manufacturers, but also very helpful to storage product designers, mainly in terms of iterative mass production tool versions. As a software tool for mass production of Flash (containing software and firmware codes for mass production), the mass production tool also needs to be updated and changed in combination with market changes. This requires that the mass production tools designed by various storage control chip designers can be compatible with more new models of Flash, operating systems and meet the mass production requirements of storage product manufacturers as much as possible. Therefore, before the new version of the mass production tool is officially released, a large number of batch verifications are required. The technical solution of the present application can well promote this process. The mass production tester can feedback to the developer based on the various parameter information of the mass production information file, that is, the mass production tester can make changes in advance based on his many years of debugging experience of Flash, and then scan the Flash in high format to see how the mass production results of Flash change. If the change works, it can be fed back to the developer, and the developer can be optimized and adjusted in cooperation with the developer, which can accelerate the launch time of the new version of the mass production tool.
[0079] Figure 2 FIG. 1 is a flow chart of a method for improving Flash mass production efficiency in another embodiment of the present application.
[0080] See also Figure 2 , a method for improving Flash mass production efficiency, comprising the following steps:
[0081] Step S210: perform low-level scanning of the Flash to generate attribute feature information and a management table of the Flash.
[0082] In this embodiment, when performing a low-format scan on Flash, it can be performed as follows: read the low-format scan parameters of the mass production tool, where the low-format scan parameters include: scan level, ECC level, optimization mode, product settings; perform a write operation on the Flash according to the low-format scan parameters; obtain the data written to the Flash, and compare and verify it with the original write information, and parse the attribute characteristics of the Flash according to the verification result; establish a management table according to the attribute characteristics, and write to the management table; restart the Flash and format the Flash.
[0083] It should be noted that the corresponding low-format scanning parameters can be configured in the mass production interface, among which the most important ones are the scanning level, ECC level, and optimization mode. The scanning level represents the type of scanning of the Flash, including factory scanning, low-format scanning, high-format scanning, clearing + factory scanning, etc. Different types of scanning will execute different operation processes for the Flash, and the time consumed is also different. The ECC level is a parameter item representing how many bit errors are allowed to occur per 1 kilobyte. For example, when ECC is configured to "30", it means that the current Page has less than or equal to 30 bit errors per 1 kilobyte, and the ECC error correction code can correct them. Then the current Page is identified as a good Page; otherwise, it is a bad Page. The optimization mode represents the overall strategic direction of the Flash scan, including capacity priority, stability priority, speed priority, etc. For example, when configured to capacity priority, the capacity of the Flash mass production will be relatively large, but the speed and stability will be weak; for example, when configured to speed priority, the read and write speed of the Flash mass production will be relatively fast, but the capacity will be small. The configuration of the optimization mode is selected based on the mass production requirements of the storage product manufacturer.
[0084] When the configuration of the parameters required for low-level scanning is completed, the low-level scanning of Flash can be started. The low-level scanning will first write data to Flash, then read the written data, verify and compare the two, and parse the distribution of good blocks, bad blocks, good pages and bad pages of Flash according to the comparison results, completing the "construction" of basic Flash attribute feature information. Subsequently, a management table is established based on the attribute feature information, and the management table is written. Finally, the Flash is powered on again, and the Flash is formatted. The "operating system" that manages the Flash is burned into the Flash so that the storage control chip can read and load it later. This completes the low-level scanning of Flash.
[0085] It should be noted that Flash is used as a storage medium. Flash is divided into LUN (Die), Plane, Block and Page according to the hierarchical architecture. Block is the smallest erase unit of Flash, and Page is the smallest write unit of Flash. Based on the above physical structure characteristics, if the storage control chip is to be able to read and write Flash, the storage control chip needs to "understand" the physical structure characteristics of Flash, that is, the attribute characteristics of Flash. Because the storage control chip is not like other high-performance and high-computing chips, the performance of the storage control chip is not enough to support a full disk scan of Flash. Therefore, the storage control chip needs to rely on the computing power of the external host side (ie, PC side) to realize the low-format scan of Flash. The low-format scan is completed by running the mass production tool on the PC side.
[0086] There are many processes involved in low-format scanning, and each process item takes time. Low-format scanning aims to identify the status of Flash blocks and pages, that is, which blocks and pages are good and which blocks and pages are bad (equivalent to the attribute characteristic information of Flash). Of course, the goal of low-format scanning is not only to identify bad blocks and pages, but also to establish partitions, capacity, block templates, page templates, etc. around Flash. The establishment of these parameters is basically generated around the status of blocks and pages. The second goal is to establish a corresponding management table based on the attribute characteristic information of Flash and the operating standards disclosed in the Flash data manual. The management table records the management data of Flash. When the storage product is powered on, the storage control chip will read and load these management tables in advance to achieve the management of Flash.
[0087] Step S220: Serialize the attribute feature information and the management table to generate a mass production information file.
[0088] Please refer to step S120 for the principle of “serialization”, which will not be repeated here.
[0089] Step S230: Create a folder according to the preset storage path, and store the mass production information file in the corresponding folder.
[0090] It should be noted that after the mass production information file is successfully serialized, the mass production information table can be stored. In this embodiment, a folder is created according to a preset storage path, and the preset storage path can be configured by a mass production tool. The mass production tester can select a suitable storage path to create a folder according to the actual situation, and store the mass production information file in the folder.
[0091] Step S240: read the power-on position information of the Flash, generate a position serial number according to the power-on position information, and use the position serial number as the folder name of the folder.
[0092] It should be noted that in actual mass production, in order to maximize the mass production efficiency of Flash, mass production tools will be configured with multiple channel options. "Number of channels" is equivalent to multiple power-on interfaces, and each channel can be connected to one piece of Flash, that is, in a mass production process, multiple pieces of Flash can be mass-produced at the same time. As for Flash, even for the same model of Flash, the corresponding physical structure characteristics are different. Therefore, each piece of Flash in mass production should correspond to its own mass production information file. In this embodiment, in order to distinguish different Flashes, the power-on position information of the Flash will be read, and a position number will be generated according to the power-on position information, and the position number will be used as the file name of the folder.
[0093] If the test board is connected to three Flashes at the same time, and three folders have been successfully created according to the preset storage path, each folder stores mass production information files. At this time, read the power-on position information of the Flash, and generate position numbers according to the power-on position information, such as "01", "02" and "03". "01", "02" and "03" are the folder names corresponding to the three folders.
[0094] Step S250: searching for the mass production information file according to the preset storage path.
[0095] Due to the particularity of the storage industry, storage product manufacturers need to combine their own product requirements and the current mass production environment when mass-producing Flash, and will put forward different mass production requirements for Flash. Flash is the most core and critical medium that affects the capacity, read and write speed, and over-contrast yield of storage products. If Flash fails to meet the capacity, read and write speed or over-contrast yield required by the storage product manufacturer after mass production, the storage control chip designer will be required to debug and verify the mass production plan in a timely manner. Therefore, the mass production information table generated by the low-format scan is the core file that mass production testers can use to quickly debug Flash. The mass production information file records the Flash attribute feature information and management table. It is a data table that visualizes the physical structure characteristics of Flash. Mass production testers can complete the debugging of Flash through the parameter data in the mass production information file.
[0096] If after the Flash is successfully mass-produced, it is found that the Flash capacity may not reach the 60G required by the customer, but only 32G. At this time, the mass production tester can find the mass production information file in the folder with the corresponding serial number according to the preset storage path and the power-on position of the Flash. Since the Flash capacity is related to the page template PageMask, the mass production tester can modify the page template PageMask while ensuring that the Flash can pass the comparison verification. For example:
[0097] Original page template PageMask: 0111 1101;
[0098] The changed page template PageMask: 1111 1101.
[0099] "0" represents a bad Page, and "1" represents a good Page. This is equivalent to adding one more Page to each Block for the current Flash, so as to increase the capacity of the Flash. Even if the original bad Page is configured as a good Page, it will cause corresponding data errors, but it can be corrected by the ECC error correction code of the Flash, and then the mass production information file can be saved. Import the debugged mass production information file according to the original storage path, and then the Flash can be mass-produced according to the updated mass production information file. Since the physical address assigned to the mass production information file in the Flash does not change, when the Flash is powered on again for mass production, the storage control chip can still read and load it through the physical address assigned during the first mass production, but the page template PageMask read and loaded is different. In this way, there is no need to re-run all the process items of the Flash like a low-level scan to achieve mass production, which greatly speeds up the verification and mass production efficiency of the Flash. Generally speaking, low-format scanning takes 2 hours, but according to the technical solution of the present application, it only takes 1 to 2 minutes to achieve mass production of Flash, which is of great help in mass production efficiency.
[0100] Step S260, read the ID code information of the Flash in the current power-on position, and determine whether the ID code information of the Flash in the current power-on position matches that of the mass production information table. If so, obtain the high-level parameters of the mass production tool, and use the mass production information table to perform a high-level scan on the Flash; if not, generate and output the corresponding error code information.
[0101] It should be noted that, since each piece of Flash has its own exclusive mass production information file, when scanning at a high level, it is necessary to use its exclusive mass production information file for mass production, otherwise the attribute characteristics of the Flash cannot match the mass production information file, resulting in the failure of Flash mass production. In order to prevent this situation as much as possible, when the mass production tester performs a high-level format on the Flash, the ID code information of the Flash at the power-on position of the current Flash will be read to determine whether the read Flash ID code information matches the Flash ID code information recorded in the mass production information table. If so, the high-level parameters of the mass production tool are obtained, and the mass production information table is used to perform a high-level scan on the Flash; if not, the corresponding error code information is generated and output. Since each piece of Flash has a special identity ID code information, and it will be recorded in the mass production information file, this method can be used to achieve mutual matching between the Flash and the mass production information file, and prevent the phenomenon of mass production failure.
[0102] Corresponding to the aforementioned method embodiments, the present application also provides a device for improving Flash mass production efficiency and corresponding embodiments.
[0103] Figure 3 A schematic diagram of the structure of a device for improving Flash mass production efficiency in an embodiment of the present application is shown.
[0104] See also Figure 3 , a device 300 for improving Flash mass production efficiency, comprising: a low-level format module 310, a serialization module 320, a storage module 330, and a creation module 340. Among them:
[0105] The low-level format module 310 is used to perform a low-level format scan on the Flash and generate attribute feature information and a management table of the Flash.
[0106] The serialization module 320 is used to perform serialization operations on the attribute feature information and the management table to generate a mass production information file.
[0107] The storage module 330 is used to create a folder according to a preset storage path and store the mass production information table in the corresponding folder.
[0108] The creation module 340 is used to read the power-on position information of the Flash, generate a position serial number according to the power-on position information, and use the position serial number as the file name of the folder.
[0109] It should be noted that the method for improving Flash mass production efficiency implemented by the device for improving Flash mass production efficiency disclosed in this embodiment is the same as the above embodiment, so it will not be described in detail here. Optionally, each module in this embodiment and the above other operations or functions are respectively for implementing the methods in the above embodiments.
[0110] Figure 4 A schematic diagram of the structure of a device for improving Flash mass production efficiency in an embodiment of the present application is shown.
[0111] See also Figure 4 A device 300 for improving Flash mass production efficiency includes: a low-level format module 310, a serialization module 320, a storage module 330, a creation module 340, a search module 350, and a high-level format module 360.
[0112] The search module 350 is used to search for the mass production information table according to the preset storage path;
[0113] The high-grid module 360 is used to read the ID code information of the Flash in the current power-on position, and determine whether the ID code information of the Flash in the current power-on position matches that of the mass production information table. If so, obtain the high-grid parameters of the mass production tool and use the mass production information file to perform a high-grid scan on the Flash; if not, generate and output the corresponding error code information.
[0114] For a description of the functions of the low-level format module 310, the serialization module 320, the storage module 330, and the creation module 340, please refer to Figure 3 , I will not go into details here.
[0115] Furthermore, in this embodiment, the low-level format module 310 includes: an acquisition unit 311 , a writing unit 312 , a parsing unit 313 , a table unit 314 and a formatting unit 315 .
[0116] The acquisition unit 311 is used to acquire the low-format scanning parameters of the mass production tool, wherein the low-format scanning parameters include: scanning level, ECC level, optimization mode, and product settings.
[0117] The writing unit 312 is used to perform a writing operation on the Flash according to the low-format scanning parameters.
[0118] The parsing unit 313 is used to read the data written by the Flash, compare and verify it with the original written information, and parse out the attribute feature information of the Flash according to the verification result.
[0119] The table unit 314 is used to establish a management table according to the attribute feature information and write into the management table.
[0120] The formatting unit 315 is used to re-power on the Flash and format the Flash.
[0121] Furthermore, in this embodiment, the serialization module 320 includes: a structure unit 321 , a linked list reading unit 322 , and a generation unit 323 .
[0122] The structure unit 321 is used to define a structure.
[0123] The linked list reading unit 322 is used to read the attribute feature information and manage the linked order of the table.
[0124] The generation unit 323 is used to fill the structure according to the link order using the serialization function to create a mass production information file.
[0125] It should be noted that the method for improving Flash mass production efficiency implemented by the device for improving Flash mass production efficiency disclosed in this embodiment is the same as the above embodiment, so it will not be described in detail here. Optionally, each module in this embodiment and the above other operations or functions are respectively for implementing the methods in the above embodiments.
[0126] See also Figure 5 Another embodiment of the present application shows a computing electronic device 500 including: a processor 510 and a memory 520.
[0127] The processor 510 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0128] A general purpose processor may be a microprocessor or the processor may be any conventional processor. The memory 510 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage.
[0129] Among them, ROM can store static data or instructions required by processor 520 or other modules of the computer. The permanent storage device can be a readable and writable storage device. The permanent storage device can be a non-volatile storage device that does not lose the stored instructions and data even if the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device.
[0130] In some other embodiments, the permanent storage device may be a removable storage device (e.g., a floppy disk, an optical drive). The system memory may be a read-write storage device or a volatile read-write storage device, such as a dynamic random access memory. The system memory may store some or all of the instructions and data required by the processor at run time.
[0131] In addition, the memory 520 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (eg, DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic disks and / or optical disks.
[0132] In some embodiments, the memory 520 may include a removable storage device that can be read and / or written, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, and a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not contain a carrier wave and an instantaneous electronic signal transmitted wirelessly or by wire. The memory 520 stores executable code, and when the executable code is processed by the processor 510, the processor 510 can execute part or all of the methods described above.
[0133] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.
[0134] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.
[0135] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
Claims
1. A method for improving Flash mass production efficiency, characterized in that: include: Perform low-level scanning of Flash to generate Flash attribute feature information and management table; Performing serialization operation on the attribute characteristic information and the management table to generate a mass production information file; Create a folder according to the preset storage path, and store the mass production information file in the corresponding folder; The power-on position information of the Flash is read, a position serial number is generated according to the power-on position information, and the position serial number is used as the folder name of the folder.
2. The method for improving Flash mass production efficiency according to claim 1, characterized in that: The execution of low-level scanning of Flash to generate attribute feature information and a management table of Flash includes: Read the low-format scanning parameters of the mass production tool, wherein the low-format scanning parameters include: scanning level, ECC level, optimization mode, and product settings; Perform a write operation on the Flash according to the low-format scanning parameters; Obtain the data written to the Flash, compare and verify it with the original written information, and parse the attribute feature information of the Flash based on the verification result; Establishing a management table according to the attribute characteristic information, and writing into the management table; Re-power on the Flash and format the Flash.
3. The method for improving Flash mass production efficiency according to claim 1, characterized in that: The serializing operation of the mass production information to generate a mass production information table includes: Define the structure; Reading the attribute feature information and the link order of the management table; The serialization function is used to fill the structure according to the link sequence to create a mass production information file.
4. The method for improving Flash mass production efficiency according to claim 1, characterized in that: After reading the power-on position information of the Flash, generating a position serial number according to the power-on position information, and using the position serial number as the file name of the folder, the method further includes: Find the mass production information file according to the preset storage path; Read the ID code information of the Flash in the current power-on position, and determine whether the ID code information of the Flash in the current power-on position matches the mass production information file. If so, obtain the high-level parameters of the mass production tool, and use the mass production information file to perform a high-level scan on the Flash; if not, generate and output the corresponding error code information.
5. A device for improving Flash mass production efficiency, characterized in that: include: The low-level format module is used to perform low-level format scanning on the Flash and generate the attribute feature information and management table of the Flash; A serialization module, used to perform a serialization operation on the attribute characteristic information and the management table to generate a mass production information file; A storage module, used to create a folder according to a preset storage path, and store the mass production information file in the corresponding folder; A creation module is used to read the power-on position information of the Flash, generate a position serial number according to the power-on position information, and use the position serial number as the folder name of the folder.
6. The device for improving Flash mass production efficiency according to claim 5, characterized in that: The low-level module comprises: An acquisition unit, used for acquiring low-format scanning parameters of a mass production tool, wherein the low-format scanning parameters include: scanning level, ECC level, optimization mode, and product settings; A writing unit, used for performing a writing operation on the Flash according to the low-format scanning parameters; The parsing unit is used to read the data written by the Flash, compare and verify it with the original written information, and parse the attribute characteristic information of the Flash according to the verification result; A table unit, used to establish a management table according to the attribute characteristic information and write into the management table; The format unit is used to re-power on the Flash and format the Flash.
7. The device for improving Flash mass production efficiency according to claim 5, characterized in that: The serialization module comprises: Structure unit, used to define the structure; A linked list reading unit, used for reading the attribute characteristic information and the link sequence of the management table; The generation unit is used to fill the structure according to the link sequence using a serialization function to create a mass production information file.
8. The device for improving Flash mass production efficiency according to claim 5, characterized in that: Also includes: A search module, used to search for the mass production information file according to the preset storage path; The high-grid module is used to read the ID code information of the Flash in the current power-on position, and determine whether the ID code information of the Flash in the current power-on position matches that of the mass production information table. If so, obtain the high-grid parameters of the mass production tool and use the mass production information table to perform a high-grid scan on the Flash; if not, generate and output the corresponding error code information.
9. An electronic device, comprising: processor; as well as A memory having executable code stored thereon, characterized in that when the executable code is executed by the processor, the processor is caused to execute the method for improving Flash mass production efficiency as described in any one of claims 1 to 4.
10. A computer-readable medium storing executable code, characterized in that: When the executable code is executed by a processor, the processor is caused to execute the method for improving Flash mass production efficiency as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Apparatus, system, and method for accessing persistent files in non-execute-in-place flash memory
CN101208755A
Improved performance of low-level formatting for flash memory
TW200601342A
Mass production testing of USB flash cards with various flash memory cells
US20080177922A1
Cited By
Method and device for improving sufficient capacity rate, equipment and storage medium
CN120371211A
Enumeration mass production method and device, storage control chip and medium
CN122064614A