I. Field of the Invention
The present invention relates generally to memory devices and particularly to flash memory devices.
II. Description of the Related Art
Flash memory devices have developed into a popular source of non-volatile memory for a wide range of electronic applications. Flash memory devices typically use a one-transistor memory cell that allows for high memory densities, high reliability, and low power consumption. Common uses for flash memory include portable computers, personal digital assistants PDAs), digital cameras, and cellular telephones. Program code, system data such as a basic input/output system BIOS), and other firmware can typically be stored in flash memory devices. Most electronic devices are designed with a single flash memory device.
Flash memory devices are manufactured in various memory densities. For example, flash memory may be manufactured in 16 megabyte MB), 32 MB, and 64 MB as well as other densities. The availability of each type of flash memory density, however, may vary depending on market conditions. One type of memory may be easy to obtain while another may be in demand and difficult to buy.
A problem exists when an electronic device is designed to accept a flash memory device, having a particular memory density, that subsequently becomes difficult to obtain or even unavailable. The operating system of the device has been designed to access only a single range of addresses in order to access that particular flash memory device. There is a resulting need in the art for a way to replace a single flash memory device with multiple memory devices while enabling the operating system or other programs to access the new devices in a seamless fashion.
The embodiments of the present invention enable a single flash memory device to be replaced with multiple flash memory devices without changing the system's memory map. The embodiments of the present invention may be implemented in a system that is initially designed with a single flash memory that is replaced due to unavailability of the memory or for cost reasons. The single flash memory can be replaced by two or more smaller memories that can be addressed by the operating system or applications in a seamless fashion over non-contiguous physical address space.
While the subsequent discussion of the embodiments of the present invention refers to flash memory, any type of memory device that has similar characteristics may be used. For example non-volatile RAM NOVRAM or electrically erasable programmable read only memory EEPROM may be used.
The memory device includes an array of memory cells 130. The memory cells are non-volatile floating-gate memory cells and the memory array 130 is arranged in banks of rows and columns.
An address buffer circuit 140 is provided to latch address signals provided on address input connections A0-Ax 142. Address signals are received and decoded by a row decoder 144 and a column decoder 146 to access the memory array 130. It will be appreciated by those skilled in the art, with the benefit of the present description, that the number of address input connections depends on the density and architecture of the memory array 130. That is, the number of addresses increases with both increased memory cell counts and increased bank and block counts.
The memory device 100 reads data in the memory array 130 by sensing voltage or current changes in the memory array columns using sense/latch circuitry 150. The sense/latch circuitry, in one embodiment, is coupled to read and latch a row of data from the memory array 130. Data input and output buffer circuitry 160 is included for bi-directional data communication over a plurality of data connections 162 with the controller 110. Write circuitry 155 is provided to write data to the memory array.
Command control circuit 170 decodes signals provided on control connections 172 from the processor 110. These signals are used to control the operations on the memory array 130), including data read, data write, and erase operations.
Chip select generation circuitry 125 generates the chip select signals for the memory device 100. This circuitry 125 uses the address connections 142 from the controller 110 to generate the appropriate chip select signal depending on the address present on the address connections 142.
The flash memory device illustrated in
An electronic system, such as the embodiment of
The logical address range 210 of
If the electronic system has a single 128 MB flash RAM device, only a single chip select is required to access the device. In this case, any program or operating system that generates an address in the range of 00000H to 1FFFFH would generate a chip select for the 128 MB flash RAM.
However, if the electronic system has two 64 MB flash RAM devices, its physical address range 220 might be different than the logical address range 210. The electronic system might split up the single flash memory address range 200 into two logical address sub-ranges 201 and 203 for the two flash RAMs. Each logical address sub-range 201 and 203 could then be mapped to different physical address ranges 205 and 207 respectively.
In such an embodiment, the system would have to generate two separate chip selects, one for each physical address range 205 and 207. In the embodiment of
The embodiments of the present invention are not limited to two separate physical address ranges to replace the single logical address range. An alternate embodiment may use four 32 MB memory devices in place of the 128 MB device. This would require four physical address ranges. Still other alternate embodiments may be designed with a flash memory other than 128 MB. For example, the electronic system may have a logical address range of 64 MB.
For example, if the operating system receives a request to write data to logical memory address 10002H, it checks the table to determine that logical memory address maps to physical memory address 30002H. The controller circuit then outputs that physical address on the address lines in order to generate the appropriate chip select for the appropriate memory device.
A memory map look-up table is only one embodiment for generating a corresponding physical address for a logical address. In an alternate embodiment, the controller circuit or a management device generates the physical address by adding a predetermined address offset to the logical address.
The controller can then output the physical address 405 to the chip select generation circuitry over the address lines. The chip select generation circuitry uses the addresses from the controller in order to generate 407 the various chip select signals. For example, if the address that is output is in the first 64 MB physical address range of
The above-described embodiment describes a controller and chip select circuitry to generate the addresses and chip select signals. An alternate embodiment of this system is illustrated in
In one embodiment, the device manager is a software module that is stored in memory, such as one of the multiple flash memory devices 503 and 505. In another embodiment, the device manager is a hardware device such as an application specific integrated circuit ASIC or a field programmable gate array FPGA.
The device manager 500 receives the logical addresses from the processor 510 that is executing an operating system or other software application. The device manager 500 then accesses a look-up table, stored in the device manager 500 or some memory device, in order to generate the appropriate physical address and chip select signals for the multiple flash memories 503 and 505.
In summary, the embodiments of the present invention enable multiple memory devices at non-contiguous physical addresses to be addressed as if they were a single device. With the embodiments of the present invention, multiple smaller memory devices that are more readily available or less expensive can be substituted for one larger memory device. This is accomplished without changing the logical memory map of the electronic system.
Numerous modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.
This application is a continuation of U.S. patent application Ser. No. 10/624,421 (pending), filed Jul. 22, 2003 and titled “MULTIPLE FLASH MEMORY DEVICE MANAGEMENT,” which is commonly assigned and incorporated by reference in its entirety herein.
Number | Date | Country | |
---|---|---|---|
Parent | 10624421 | Jul 2003 | US |
Child | 11436803 | May 2006 | US |