CN112486506A - NAND Flash burning method and device - Google Patents

NAND Flash burning method and device Download PDF

Info

Publication number
CN112486506A
CN112486506A CN201910863924.7A CN201910863924A CN112486506A CN 112486506 A CN112486506 A CN 112486506A CN 201910863924 A CN201910863924 A CN 201910863924A CN 112486506 A CN112486506 A CN 112486506A
Authority
CN
China
Prior art keywords
burning
partition
nand flash
reserved
data
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
CN201910863924.7A
Other languages
Chinese (zh)
Other versions
CN112486506B (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.)
Embedway Technologies Shanghai Corp
Original Assignee
Embedway Technologies Shanghai Corp
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 Embedway Technologies Shanghai Corp filed Critical Embedway Technologies Shanghai Corp
Priority to CN201910863924.7A priority Critical patent/CN112486506B/en
Publication of CN112486506A publication Critical patent/CN112486506A/en
Application granted granted Critical
Publication of CN112486506B publication Critical patent/CN112486506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a burning method of NAND Flash, which comprises the following steps: acquiring file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area; burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burnt; counting a second number of bad data blocks in the target partition in the burning process; when the second quantity is not greater than the first quantity, the target partition is burned successfully; and when the burning of each partition in the NAND Flash to be burned is successful, finishing the burning of the NAND Flash to be burned. According to the method, the reserved area is reserved in the master slice, when the first number is larger than or equal to the second number, the target partition burning is judged to be completed, and the problem that the burning fails due to the fact that file data read by the master slice is close to the capacity of the NAND Flash to be burned, and a large number of bad data blocks occur in the NAND Flash to be burned during burning is solved.

Description

NAND Flash burning method and device
Technical Field
The invention relates to the technical field of electronics, in particular to a method and a device for burning NAND Flash.
Background
The NAND Flash is always in a bad block when leaving a factory, a file in a master slice is burned into the NAND Flash to be burned in the burning process, and if the NAND Flash to be burned has the bad block, skipping is selected.
If the size of the file data read from the master is far smaller than the capacity of the NAND Flash to be burned, burning can be successful even if a bad block is encountered during burning, and if the file data read from the master is close to the capacity of the NAND Flash to be burned, burning failure can be caused if a large number of bad blocks occur in the NAND Flash to be burned during burning.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for burning NAND Flash, which are used to solve the problem that in the existing NAND Flash burning process, if the file data read from the master chip is close to the capacity of the NAND Flash to be burned, and a large number of bad blocks occur in the NAND Flash to be burned during burning, the burning may fail, and the specific scheme is as follows:
a burning method of NAND Flash comprises the following steps:
acquiring file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area;
burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burnt;
counting a second number of bad data blocks in the target partition in the burning process;
when the second quantity is not larger than the first quantity, the target partition is burned successfully;
and when the burning of each partition in the NAND Flash to be burned is successful, finishing the burning of the NAND Flash to be burned.
Optionally, the method for obtaining file data of a data area in a current partition in a master slice includes:
obtaining a reserved block in a reserved area in the current partition;
judging whether the reserved block is preset content or not;
if so, acquiring each data block contained in the data area of the current partition in the master slice, acquiring the file data segment contained in each data block, and integrating each file data segment to obtain file data.
The above method, optionally, further includes:
and if not, updating the first quantity of the reserved blocks in the reserved area in the master slice.
Optionally, the burning of the file data into the target partition corresponding to the current partition in the NAND Flash to be burned includes:
acquiring the identifier of the current partition;
searching a target partition which is the same as the identifier in each partition contained in the NAND Flash to be burned according to the identifier;
and burning the file data into the corresponding data block in the target partition.
Optionally, the method for counting the second number of bad data blocks in the target partition in the burning process includes:
detecting whether a preset area stores bad data block information or not in the burning process aiming at each data block in the target partition;
and if so, adding one to the number of the bad data blocks in the target partition, and obtaining a second number when the burning is finished.
A burning device of NAND Flash comprises:
the acquisition module is used for acquiring file data of a data area in a current partition in the master slice and a first number of reserved blocks in a reserved area;
the burning module is used for burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burned;
the counting module is used for counting the second number of the bad data blocks in the target partition in the burning process;
a first completing module, configured to, when the second number is not greater than the first number, succeed in burning the target partition;
and the second completion module is used for completing the burning of the NAND Flash to be burned when the burning of each partition in the NAND Flash to be burned is successful.
The above apparatus, optionally, the obtaining module includes:
a reserved block acquiring unit, configured to acquire a reserved block in a reserved area in the current partition;
the judging unit is used for judging whether the reserved block is preset content or not;
and the acquisition and integration unit is used for acquiring each data block contained in the data area of the current partition in the master slice, acquiring the file data segment contained in each data block, and integrating each file data segment to obtain file data.
The above apparatus, optionally, further comprises:
and the updating unit is used for updating the first quantity of the reserved blocks in the reserved area in the master slice if the first quantity of the reserved blocks in the reserved area in the master slice is not the same as the first quantity of the reserved blocks in the reserved area in the master slice.
Optionally, the apparatus described above, wherein the burning module includes:
an identifier obtaining unit, configured to obtain an identifier of the current partition;
the searching unit is used for searching a target partition which is the same as the identifier in each partition contained in the NAND Flash to be burned according to the identifier;
and the burning unit is used for burning the file data into the corresponding data block in the target partition.
The above apparatus, optionally, the statistical module includes:
the detection unit is used for detecting whether a preset area stores bad data block information or not in the burning process aiming at each data block in the target partition;
and the counting unit is used for adding one to the number of the bad data blocks in the target partition if the number of the bad data blocks in the target partition is positive, and obtaining a second number when the burning is finished.
Compared with the prior art, the invention has the following advantages:
the invention discloses a burning method of NAND Flash, which comprises the following steps: acquiring file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area; burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burnt; counting a second number of bad data blocks in the target partition in the burning process; when the second quantity is not greater than the first quantity, the target partition is burned successfully; and when the burning of each partition in the NAND Flash to be burned is successful, finishing the burning of the NAND Flash to be burned. According to the method, the reserved area is reserved in the master slice, when the first number is larger than or equal to the second number, the target partition burning is judged to be completed, and the problem that the burning fails due to the fact that file data read by the master slice is close to the capacity of the NAND Flash to be burned, and a large number of bad data blocks occur in the NAND Flash to be burned during burning is solved.
Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for burning a NAND flash according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a mapping relationship of a burning method disclosed in an embodiment of the present application;
FIG. 3 is another flowchart of a method for burning a NAND flash according to an embodiment of the present disclosure;
FIG. 4 is another flowchart of a method for burning a NAND flash according to an embodiment of the present disclosure;
FIG. 5 is a block diagram of a NAND flash burning device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a burning method of an NAND Flash, which is applied to the burning process of the NAND Flash and generally has two ways of burning the NAND Flash. One is to assemble the burned NAND flash on the circuit board when assembling the device, the other is to weld the NAND flash on the circuit board first and then burn the NAND on line, in the embodiment of the invention, a first pre-burning mode is adopted, the execution flow of the burning method is shown as figure 1, and the method comprises the following steps:
s101, acquiring file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area;
in the embodiment of the present invention, a master is partitioned in advance, each partition includes a reserved area and a data area, the reserved area includes a plurality of reserved blocks, and each reserved block stores preset content. And acquiring the data file of the data area in the current partition of the master slice and the first number of the reserved blocks in the reserved area.
S102, burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burnt;
in the embodiment of the present invention, the master chip and the NAND Flash to be burned have the same type and partition, and have a corresponding relationship, as shown in fig. 2, for example: and when a bad data block is encountered, skipping directly and storing the corresponding data to the next data block. Partition 2 is handled in the same manner as partition 1.
S103, counting a second number of bad data blocks in the target partition in the burning process;
in the embodiment of the invention, as the bad data blocks exist in the NAND Flash to be burned due to a manufacturing process or other influence factors, the number of the bad data blocks in the NAND Flash to be burned is counted in the burning process, wherein the detection method of the bad data blocks comprises the following steps: detecting whether bad data information is stored in OOB (redundant area) in a first page of each data block in the target partition, if yes, judging that the current data block is a bad data block, adding one to the number of the bad data blocks, and obtaining a second number when burning is finished; otherwise, if the file data does not exist, burning the corresponding file data into the current data block.
S104, when the second quantity is not larger than the first quantity, the target partition is burned successfully;
in this embodiment of the present invention, when the second number is not greater than the first number, it indicates that the number of bad data blocks is less than the number of reserved blocks in the reserved area, and it indicates that the file data is completely burned into the target partition. The target partition is burned successfully; otherwise, when the second number is larger than the first number, it indicates that the number of bad data blocks is larger than the number of reserved blocks in the reserved area, and it indicates that the file data is not completely burned into the target partition.
And S105, when the burning of each partition in the NAND Flash to be burned is successful, finishing the burning of the NAND Flash to be burned.
In the embodiment of the invention, each partition in the NAND Flash to be burned is burned by adopting the method of S101-S104, when the burning of each partition is successful, the burning of the NAND Flash to be burned is completed, otherwise, when at least one partition in each partition is not successfully burned, the burning of the NAND Flash to be burned is failed.
Furthermore, the purpose of partitioning the NAND Flash to be burned is that when the NAND Flash to be burned needs to update a version, all the files do not need to be updated, and only the file data in the corresponding partition needs to be updated, so that management is facilitated.
The invention discloses a burning method of NAND Flash, which comprises the following steps: acquiring file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area; burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burnt; counting a second number of bad data blocks in the target partition in the burning process; when the second quantity is not greater than the first quantity, the target partition is burned successfully; and when the burning of each partition in the NAND Flash to be burned is successful, finishing the burning of the NAND Flash to be burned. According to the method, the reserved area is reserved in the master slice, when the first number is larger than or equal to the second number, the target partition burning is judged to be completed, and the problem that the burning fails due to the fact that file data read by the master slice is close to the capacity of the NAND Flash to be burned, and a large number of bad data blocks occur in the NAND Flash to be burned during burning is solved.
In the embodiment of the present invention, a flow of a method for obtaining file data of a data area in a current partition in a master is shown in fig. 3, and the method includes the steps of:
s201, obtaining a reserved block in a reserved area in the current partition;
in the embodiment of the present invention, the position of the reserved block in the current partition is known, and the reserved block in the reserved area in the current partition is determined according to the position.
S202, judging whether the reserved block is preset content or not;
in the embodiment of the present invention, the content in the reserved block is obtained, and whether the content is the same as a preset content is determined, where in the embodiment of the present invention, the preset content is "FF".
S203, obtaining each data block contained in the data area of the current partition in the master slice, obtaining the file data segment contained in each data block, and integrating each file data segment to obtain file data.
In the embodiment of the present invention, when the content is the same as the preset content, it indicates that the reserved area is not used, each data block included in the data area of the current partition in the master is acquired, a file data segment included in each data block is acquired, and each file data segment is integrated by using a splicing hit, for example, cat 1.bin 2.bin >3.bin, to obtain file data.
S204, updating the first number of the reserved blocks in the reserved area in the master slice.
In this embodiment of the present invention, when the content is different from the preset content, it is indicated that the reserved blocks in the reserved area are partially or completely occupied, and the first number of reserved blocks in the content and the preset content is counted again.
In the embodiment of the present invention, a flowchart of a method for burning the file data into the target partition corresponding to the current partition in the NAND Flash to be burned is shown in fig. 4, and includes the steps of:
s301, acquiring the identifier of the current partition;
in the embodiment of the invention, the master chip and the corresponding partition in the NAND Flash to be burned establish an incidence relation through the identifier, and the identifiers of the corresponding partitions with the incidence relation are the same, wherein the identifier can be formed by numbers, letters or a combination of the numbers and the letters, and the identifier in the current partition is obtained.
S302, searching a target partition which is the same as the identifier in each partition contained in the NAND Flash to be burned according to the identifier;
in the embodiment of the invention, each partition in the NAND Flash to be burned is traversed, the partition same with the identifier is searched, and the partition same with the identifier is taken as the target partition.
And S303, burning the file data into the corresponding data block in the target partition.
In the embodiment of the invention, in the burning process, whether the current data block in the target partition is a bad data block is identified, if not, the corresponding file data is burnt into the current data block, otherwise, the current data block is skipped over, and the next data block adjacent to the current data block is identified until the file data is completely burnt.
Based on the foregoing burning method for NAND Flash, an embodiment of the present invention further provides a burning device for NAND Flash, where a structural block diagram of the burning device is shown in fig. 5, and the burning device includes:
the device comprises an acquisition module 401, a burning module 402, a counting module 403, a first completing module 404 and a second completing module 405.
Wherein the content of the first and second substances,
the obtaining module 401 is configured to obtain file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area;
the burning module 402 is configured to burn the file data into a target partition corresponding to the current partition in the NAND Flash to be burned;
the counting module 403 is configured to count a second number of bad data blocks in the target partition in the burning process;
the first completing module 404, configured to complete the burning of the target partition when the second number is not greater than the first number;
the second completing module 405 is configured to complete the burning of the to-be-burned NAND Flash when the burning of each partition in the to-be-burned NAND Flash is successful.
The invention discloses a burning method of NAND Flash, which comprises the following steps: acquiring file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area; burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burnt; counting a second number of bad data blocks in the target partition in the burning process; when the second quantity is not greater than the first quantity, the target partition is burned successfully; and when the burning of each partition in the NAND Flash to be burned is successful, finishing the burning of the NAND Flash to be burned. According to the method, the reserved area is reserved in the master slice, when the first number is larger than or equal to the second number, the target partition burning is judged to be completed, and the problem that the burning fails due to the fact that file data read by the master slice is close to the capacity of the NAND Flash to be burned, and a large number of bad data blocks occur in the NAND Flash to be burned during burning is solved.
The invention discloses a NAND Flash burning device, which comprises: acquiring file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area; burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burnt; counting a second number of bad data blocks in the target partition in the burning process; when the second quantity is not greater than the first quantity, the target partition is burned successfully; and when the burning of each partition in the NAND Flash to be burned is successful, finishing the burning of the NAND Flash to be burned. According to the device, the reserved area is reserved in the master slice, when the first number is larger than or equal to the second number, the target partition burning is judged to be completed, and the problem that the burning fails due to the fact that file data read by the master slice is close to the capacity of the NAND Flash to be burned, and a large number of bad data blocks occur in the NAND Flash to be burned during burning is solved.
In this embodiment of the present invention, the obtaining module 401 includes:
a reserved block acquisition unit 406, a judgment unit 407, and an acquisition and integration unit 408.
Wherein the content of the first and second substances,
the reserved block obtaining unit 406 is configured to obtain a reserved block in a reserved area in the current partition;
the judging unit 407 is configured to judge whether the reserved block is a preset content;
the obtaining and integrating unit 408 is configured to, if yes, obtain each data block included in the data area of the current partition in the master slice, obtain a file data segment included in each data block, and integrate each file data segment to obtain file data.
In this embodiment of the present invention, the obtaining module 401 further includes: an update unit 409.
Wherein the content of the first and second substances,
the updating unit 409 is configured to update the first number of reserved blocks in the reserved area in the master slice if the number of reserved blocks in the master slice is not the same as the first number of reserved blocks in the reserved area in the master slice.
In this embodiment of the present invention, the burning module 402 includes:
an identifier obtaining unit 410, a searching unit 411 and a burning unit 412.
Wherein the content of the first and second substances,
the identifier obtaining unit 410 is configured to obtain an identifier of the current partition;
the searching unit 411 is configured to search, according to the identifier, a target partition that is the same as the identifier in each partition included in the NAND Flash to be burned;
the burning unit 412 is configured to burn the file data into the corresponding data block in the target partition.
In this embodiment of the present invention, the statistic module 403 includes:
detection unit 413 and statistics unit 414
Wherein the content of the first and second substances,
the detecting unit 413 is configured to detect, in a burning process, whether a preset area stores bad data block information for each data block in the target partition;
the counting unit 414 is configured to, if yes, add one to the number of bad data blocks in the target partition, and obtain a second number when the burning is completed.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The method and the device for burning the NAND Flash provided by the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A burning method of NAND Flash is characterized by comprising the following steps:
acquiring file data of a data area in a current partition in a master slice and a first number of reserved blocks in a reserved area;
burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burnt;
counting a second number of bad data blocks in the target partition in the burning process;
when the second quantity is not larger than the first quantity, the target partition is burned successfully;
and when the burning of each partition in the NAND Flash to be burned is successful, finishing the burning of the NAND Flash to be burned.
2. The method of claim 1, wherein obtaining file data of a data area in a current partition in a master comprises:
obtaining a reserved block in a reserved area in the current partition;
judging whether the reserved block is preset content or not;
if so, acquiring each data block contained in the data area of the current partition in the master slice, acquiring the file data segment contained in each data block, and integrating each file data segment to obtain file data.
3. The method of claim 2, further comprising:
and if not, updating the first quantity of the reserved blocks in the reserved area in the master slice.
4. The method of claim 1, wherein burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burned comprises:
acquiring the identifier of the current partition;
searching a target partition which is the same as the identifier in each partition contained in the NAND Flash to be burned according to the identifier;
and burning the file data into the corresponding data block in the target partition.
5. The method of claim 1, wherein counting the second number of bad blocks in the target partition during the burning process comprises:
detecting whether a preset area stores bad data block information or not in the burning process aiming at each data block in the target partition;
and if so, adding one to the number of the bad data blocks in the target partition, and obtaining a second number when the burning is finished.
6. A burning device of NAND Flash is characterized by comprising:
the acquisition module is used for acquiring file data of a data area in a current partition in the master slice and a first number of reserved blocks in a reserved area;
the burning module is used for burning the file data into a target partition corresponding to the current partition in the NAND Flash to be burned;
the counting module is used for counting the second number of the bad data blocks in the target partition in the burning process;
a first completing module, configured to, when the second number is not greater than the first number, succeed in burning the target partition;
and the second completion module is used for completing the burning of the NAND Flash to be burned when the burning of each partition in the NAND Flash to be burned is successful.
7. The apparatus of claim 6, wherein the obtaining module comprises:
a reserved block acquiring unit, configured to acquire a reserved block in a reserved area in the current partition;
the judging unit is used for judging whether the reserved block is preset content or not;
and the acquisition and integration unit is used for acquiring each data block contained in the data area of the current partition in the master slice, acquiring the file data segment contained in each data block, and integrating each file data segment to obtain file data.
8. The apparatus of claim 7, further comprising:
and the updating unit is used for updating the first quantity of the reserved blocks in the reserved area in the master slice if the first quantity of the reserved blocks in the reserved area in the master slice is not the same as the first quantity of the reserved blocks in the reserved area in the master slice.
9. The apparatus of claim 6, wherein the burning module comprises:
an identifier obtaining unit, configured to obtain an identifier of the current partition;
the searching unit is used for searching a target partition which is the same as the identifier in each partition contained in the NAND Flash to be burned according to the identifier;
and the burning unit is used for burning the file data into the corresponding data block in the target partition.
10. The apparatus of claim 6, wherein the statistics module comprises:
the detection unit is used for detecting whether a preset area stores bad data block information or not in the burning process aiming at each data block in the target partition;
and the counting unit is used for adding one to the number of the bad data blocks in the target partition if the number of the bad data blocks in the target partition is positive, and obtaining a second number when the burning is finished.
CN201910863924.7A 2019-09-12 2019-09-12 NAND Flash burning method and device Active CN112486506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910863924.7A CN112486506B (en) 2019-09-12 2019-09-12 NAND Flash burning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910863924.7A CN112486506B (en) 2019-09-12 2019-09-12 NAND Flash burning method and device

Publications (2)

Publication Number Publication Date
CN112486506A true CN112486506A (en) 2021-03-12
CN112486506B CN112486506B (en) 2024-02-02

Family

ID=74919905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910863924.7A Active CN112486506B (en) 2019-09-12 2019-09-12 NAND Flash burning method and device

Country Status (1)

Country Link
CN (1) CN112486506B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312001A (en) * 2021-06-06 2021-08-27 深圳市昂科技术有限公司 Chip data copying device and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075284A1 (en) * 2004-09-30 2006-04-06 Skan Peter L Method for over-the-air firmware update of NAND flash memory based mobile devices
US20070208888A1 (en) * 2006-02-17 2007-09-06 Epo Science & Technology Inc. Method for allowing burners to burn partly different contents while copying source disc
US20120096321A1 (en) * 2010-10-13 2012-04-19 Phison Electronics Corp. Block management method, memory controller, and memory storage apparatus
CN102543193A (en) * 2011-12-31 2012-07-04 深圳创维数字技术股份有限公司 Flash memory recording method as well as recording equipment and system
CN102609282A (en) * 2012-01-19 2012-07-25 苏州希图视鼎微电子有限公司 Execution method for NAND flash curing codes
US20120331280A1 (en) * 2011-06-24 2012-12-27 Hon Hai Precision Industry Co., Ltd. Electronic device and method for burning firmware to embedded device
CN103049298A (en) * 2013-01-17 2013-04-17 四川省安全科学技术研究院 Nandflash burning writing method
CN103324503A (en) * 2013-05-29 2013-09-25 京东方科技集团股份有限公司 Data programming system and method
CN104572492A (en) * 2015-01-22 2015-04-29 福州瑞芯微电子有限公司 Method and apparatus of burning data to FAT (File Allocation Table)32 partition
CN106445737A (en) * 2016-09-12 2017-02-22 恒为科技(上海)股份有限公司 Multi-backup starting method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075284A1 (en) * 2004-09-30 2006-04-06 Skan Peter L Method for over-the-air firmware update of NAND flash memory based mobile devices
US20070208888A1 (en) * 2006-02-17 2007-09-06 Epo Science & Technology Inc. Method for allowing burners to burn partly different contents while copying source disc
US20120096321A1 (en) * 2010-10-13 2012-04-19 Phison Electronics Corp. Block management method, memory controller, and memory storage apparatus
US20120331280A1 (en) * 2011-06-24 2012-12-27 Hon Hai Precision Industry Co., Ltd. Electronic device and method for burning firmware to embedded device
CN102543193A (en) * 2011-12-31 2012-07-04 深圳创维数字技术股份有限公司 Flash memory recording method as well as recording equipment and system
CN102609282A (en) * 2012-01-19 2012-07-25 苏州希图视鼎微电子有限公司 Execution method for NAND flash curing codes
CN103049298A (en) * 2013-01-17 2013-04-17 四川省安全科学技术研究院 Nandflash burning writing method
CN103324503A (en) * 2013-05-29 2013-09-25 京东方科技集团股份有限公司 Data programming system and method
CN104572492A (en) * 2015-01-22 2015-04-29 福州瑞芯微电子有限公司 Method and apparatus of burning data to FAT (File Allocation Table)32 partition
CN106445737A (en) * 2016-09-12 2017-02-22 恒为科技(上海)股份有限公司 Multi-backup starting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312001A (en) * 2021-06-06 2021-08-27 深圳市昂科技术有限公司 Chip data copying device and method
CN113312001B (en) * 2021-06-06 2024-02-06 深圳市昂科技术有限公司 Chip data copying device and method

Also Published As

Publication number Publication date
CN112486506B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN113111129B (en) Data synchronization method, device, equipment and storage medium
CN103744745B (en) A kind of detection method, equipment and the distributed memory system of data storage
CN105550229A (en) Method and device for repairing data of distributed storage system
CN109669622B (en) File management method, file management device, electronic equipment and storage medium
CN103473098A (en) Starting method of boot program and relevant device
CN113625945A (en) Distributed storage slow disk processing method, system, terminal and storage medium
CN106372160A (en) Distributive database and management method
CN112486506A (en) NAND Flash burning method and device
CN111125240B (en) Distributed transaction realization method and device, electronic equipment and storage medium
CN102902770A (en) Method and system for assembling mirror image files
CN114091025A (en) Security detection method and device based on cloud native platform and mirror image construction method
CN113468080A (en) Caching method, system and related device for full flash metadata
CN111552438A (en) Object writing method, device, server and storage medium
CN106445737A (en) Multi-backup starting method
CN103473157B (en) Hard disc failure processing method and treating apparatus
CN115662487A (en) Slow disk detection method and device, storage device and readable storage medium
CN113052532B (en) Bill of materials detection method, apparatus, device and medium
CN114625697A (en) File system recovery method and device, electronic equipment and storage medium
CN113760754A (en) Method, system and storage medium for generating test case based on graph search
CN110750411B (en) Method and device for monitoring, early warning and repairing file index node
CN110807148B (en) Equipment identifier filtering method and device, electronic equipment and storage medium
CN113885789A (en) Method, system, device and medium for verifying data consistency after metadata repair
CN106528246A (en) Method and device for freezing applications
CN109446022B (en) Method and device for detecting abnormal overflow page of database and storage medium
CN106959888B (en) Task processing method and device in cloud storage system

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