Supercharge Your Innovation With Domain-Expert AI Agents!

Bad block management method and system

A management method and technology of a management system, applied in the field of bad block management method and system, can solve problems such as not being suitable for circular storage, complex implementation, etc., and achieve the effect of avoiding loss of bad block information and simple logic

Active Publication Date: 2018-10-16
SHANGHAI SATELLITE ENG INST
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this patent document solves the wear and tear of ordinary blocks, and the implementation is complicated, requiring maintenance of a bad block table, which is not suitable for the application of circular storage

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bad block management method and system
  • Bad block management method and system
  • Bad block management method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0040] For products that are not guaranteed to leave the factory without bad blocks, the manufacturer will write a value other than 0xFF in the first byte of the first page of the bad block or the first byte of the redundant area of ​​the second page before leaving the factory. The bad block management system provided by the present invention Contains a bad block marking module, the bad block marking module checks the first byte of the redundant area of ​​the first page or the second page of each b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a bad block management method, comprising a storage step and a programming step. The storage step comprises the following steps: a first bad block judging step of reading the fourth byte of the redundant area on the last page of a No. n block; if 0xFF is read, judging that the No. n block is a bad block; and if 0xFF is not read, erasing the No. n block and executing the programming step, wherein the No. n block refers to the nth block in a flash memory. The programming step comprises: programming the No. n block; and a second bad block judging step of judging whether thepage of the No. n block is the last page if programming on one page of the No. n block fails; if yes, erasing the No. n block, retreating a RAM read pointer to the position where the No. n block starts, and ending programming of the No. n block; and if not, retreating the RAM read pointer to the position where the No. n block starts, and judging that the No. n block is a bad block. Accordingly, the invention also provides a bad block management system. The invention does not need to maintain a bad block table in the memory, and writes the FPGA before shutdown, thus avoiding the situation thatthe bad block information is lost due to accidental power-off.

Description

technical field [0001] The invention relates to bad block management of flash memory, in particular to a bad block management method and system. Background technique [0002] Patent document CN102789423B discloses a four-pool flash memory wear leveling method, which adopts a multi-pool storage management structure and introduces the concept of wear rate, which is used to identify the degree to which a certain block tends to be bad, and can more objectively reflect the block wear. Combined with the erasable times, it can more effectively reflect the wear status of the block, so the wear leveling method determined based on this can more accurately achieve wear leveling with non-flash memory. However, this patent document solves the wear and tear of ordinary blocks, and the implementation is complicated, requiring maintenance of a bad block table, which is not suitable for the application of circular storage. Contents of the invention [0003] Aiming at the defects in the pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F12/02G06F11/10
CPCG06F11/1004G06F12/0246G06F2212/7211
Inventor 莫凡洪平徐天水杨珺陆一波张威章英杰
Owner SHANGHAI SATELLITE ENG INST
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More