Method for managing flash memories having mixed memory types
First Claim
1. A method for managing a flash memory, which comprises the steps of:
- providing a plurality of flash chips forming the flash memory and organized in a plurality of physical blocks that can be deleted separately, the physical blocks having a limited maximum deletion frequency, the physical blocks being addressed by way of logic block addresses are converted into physical block addresses by way of an address table, wherein in each physical block a deletion counter is run in which a number of deletions of the physical block is counted, the flash memory having two regions with different types of the flash chips including a first region containing single-level flash chips having a large maximum deletion frequency, and a second region having multi-level flash chips having a lower maximum deletion frequency than said first region;
when writing to the flash memory, initially carrying out an address conversion of logic addresses into physical addresses such that all the physical blocks of the first region are written;
when all the physical blocks of the first region have been written and a further write process is to be carried out, copying the physical block in the first region having a lowest deletion counter into a blank physical block in the second region;
in the address table, switching the physical block addresses assigned to the logic block addresses of these physical blocks; and
deleting the physical block in the first region and the physical block is written with new data.
1 Assignment
0 Petitions
Accused Products
Abstract
A method manages a flash memory having a plurality of physical blocks. The blocks of the memory are addressed by logic block addresses which are converted into physical block addresses. In each block a deletion counter is run in which the number of deletions of the block is counted, and two regions having different types of flash chips are present. A first region contains single-level flash chips with a large maximum deletion frequency, and a second region contains multi-level flash chips with a lower maximum deletion frequency. When writing to the memory the address conversion of the logic addresses into physical addresses is carried out such that all blocks of the first region are written, when all blocks of the first region have been written and a further writing process is initiated, the block in the first region having the lowest deletion counter is copied into a blank block in the second region.
-
Citations
13 Claims
-
1. A method for managing a flash memory, which comprises the steps of:
-
providing a plurality of flash chips forming the flash memory and organized in a plurality of physical blocks that can be deleted separately, the physical blocks having a limited maximum deletion frequency, the physical blocks being addressed by way of logic block addresses are converted into physical block addresses by way of an address table, wherein in each physical block a deletion counter is run in which a number of deletions of the physical block is counted, the flash memory having two regions with different types of the flash chips including a first region containing single-level flash chips having a large maximum deletion frequency, and a second region having multi-level flash chips having a lower maximum deletion frequency than said first region; when writing to the flash memory, initially carrying out an address conversion of logic addresses into physical addresses such that all the physical blocks of the first region are written; when all the physical blocks of the first region have been written and a further write process is to be carried out, copying the physical block in the first region having a lowest deletion counter into a blank physical block in the second region; in the address table, switching the physical block addresses assigned to the logic block addresses of these physical blocks; and deleting the physical block in the first region and the physical block is written with new data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
Specification