摘要 |
PROBLEM TO BE SOLVED: To provide a method for forming a flexible correspondence to logical blocks and physical blocks. SOLUTION: After the total number of effective physical blocks and defective physical blocks in a flash memory is calculated, area division of the flash memory is carried out. A fixed number of blocks are arranged uniformly as cache blocks in the respective areas, and the total number of the logical blocks and the cache blocks in each area is equalized to that of the physical blocks in the corresponding area, while information after division is stored in one effective physical block. In initialization of the flash memory, a control chip checks the number of areas in the flash memory, the number of the effective physical blocks in each area, and a block of boundary information. Information recorded by the block is stored in an SRAM inside the control chip. According to the boundary and area information inside the SRAM, the control chip constructs a correspondence table of the blocks inside the area, and associates it with the logical blocks and the physical blocks in each area by a non-fixed ratio method. Consequently, the flash memory can be managed effectively. COPYRIGHT: (C)2007,JPO&INPIT
|