Semiconductor memory device, a sector-address conversion circuit, an address-conversion method, and operation method of the semiconductor memory device
The present invention aims at providing a semiconductor memory device that can be operational in a desired boot block mode, regardless of the original boot block type of the device, by facilitating rewriting of the memory device. A sector address from an outside source is inputted into a sector-address conversion circuit, which converts the sector address into an internal address, and a memory cell array is accessed through an address decoder circuit. Suppose that each of banks of the memory device is configured as a bottom boot type. By converting the sector address by the sector-address conversion circuit such that the sector-address now appears to the outside in the reverse order, each of the banks now functions as a top boot type.
Latest Patents:
This is a Continuation Application, which claims the benefit of pending U.S. patent application Ser. No. 10/046,755 filed, Jan. 17, 2002. The disclosure of the prior application is hereby incorporated herein in its entirety by reference.
BACKGROUND OF THE INVENTION1. Field of the Invention
This invention relates to a semiconductor memory device, a sector-address conversion circuit, an address-conversion method, and an operation method of the semiconductor memory device.
2. Description of the Related Art
Various kinds of memory devices including a flash memory are known. Generally, the first operation at starting of a system, reset operation and the like is performed by reading a read-only boot program and the like from a memory device.
Conventionally, a boot block used as an object for starting of a system occupies a small sector in a memory device, and is located in the high end or the low end of sector addresses (physical addresses) of the memory device (a bottom boot type or a top boot type, respectively, and called a boot block type) according to a requirement specification of the system. The two types are marketed as distinctly individual products.
For an STB (set top box), there is a need to write new data while keeping data in a memory currently used in the system. That is, when there is an option service newly added and the like, it is necessary to write data or a program transmitted from a circuit to the memory device, while watching television through a television circuit.
The STB has two memory devices 20 and 25 as shown in
Moreover, as shown in
In addition, the boot program is stored in the lowest physical addresses of a memory device when the small sector is located in the lowest addresses of the memory device. Moreover, the boot program is stored in the highest physical addresses of a memory device when the small sector is located in the highest addresses of the memory device.
However, rewriting of the data within the same system and the like always requires to use the same boot block type from design restrictions, and rewriting between memory devices with different boot block types has a problem that it cannot be easily performed.
Moreover, a type of a memory device that has two or more banks, each having a small sector that can be used as a boot block, and rewriting each other is also marketed.
However, a problem with this type is that address areas of the boot block differ (e.g. a bank or some banks are the top boot block type and the other banks are the bottom boot block type), causing difficulties in rewriting the memory device.
SUMMARY OF THE INVENTIONIt is a general object of the present invention to provide a device, a circuit, a method, and an operation method that substantially obviates one or more of the problems caused by the limitations and disadvantages of the related art.
Features and advantages of the present invention will be set forth in the description which follows, and in part will become apparent from the description and the accompanying drawings, or may be learned by practice of the invention according to the teachings provided in the description. Objects as well as other features and advantages of the present invention will be realized and attained by the device, the circuit, the method, and the operation method particularly pointed out in the specification in such full, clear, concise, and exact terms as to enable a person having ordinary skill in the art to practice the invention.
To achieve these and other advantages and in accordance with the purpose of the invention, as embodied and broadly described herein, the invention provides a semiconductor memory device that can be operated as a desired boot block type irrespective of the original boot block type of the memory device, and a circuit, a method and an operation method therefor.
In order to provide the above-mentioned subject, the present invention adopts means as described hereunder.
The present invention enables easy rewriting of a memory while maintaining contents of another memory by splitting a semiconductor memory device (for example, a flash memory) into a plurality of areas (for example, banks) wherein the plurality of the areas accommodate a plurality of small sectors in the highest or the lowest physical address in each area or in a series of a plurality of the physical addresses containing the highest or the lowest physical address in the area, respectively.
The present invention further enables conversion of a boot block type of a semiconductor memory device that has a plurality of areas wherein a plurality of the small sectors are provided in addition to a plurality of sectors larger than the small sectors. A desired block type can be assigned to each of the areas, regardless of the original boot block type of the memory device. In order to provide the conversion, the present invention provides an address-conversion circuit that converts a sector address inputted from the outside to an internal address so that all the plurality of the areas have the same boot block type.
The conversion circuit is structured such that a bottom signal or a top signal is supplied to control the boot block type.
The conversion circuit can also be structured such that a boot block type specifying command is given to a control circuit.
In these manners, a sector address can be converted for a desired boot block type easily.
The present invention provides a semiconductor memory device that can be used at the time of starting a system (at a power up, a rebooting, a resetting and the like) and rewriting by storing a rewriting program or a boot program in the small sector in the semiconductor memory device at any time.
The address conversion circuit is applicable to a semiconductor memory device having a plurality of sectors, each of which further has a plurality of sectors. Thereby, the sector address inputted from the outside is converted by the address conversion circuit such that the plurality of the areas operate as the same boot block type.
The present invention also provides a sector-address conversion circuit that includes sector-address input terminals, sector-address output terminals, boot block type specifying terminals to specify the boot block type of a memory device and sector-address conversion circuits with a signal conversion circuit. The above-mentioned signal conversion circuit converts a sector address impressed to the sector-address input terminals, based on the most significant bit (for example, A19) and a signal impressed to the above-mentioned boot block type specifying terminals. The above-mentioned sector-address conversion circuit makes the memory device including the above-mentioned sectors to operate as a desired boot block type by outputting the sector-address converted by the above-mentioned signal conversion circuit from the sector-address output terminals.
The above-mentioned sector-address conversion circuit can be a control circuit of the semiconductor memory device, which may be structured such that a boot block type specifying command can be inputted.
The present invention provides a method to use the semiconductor memory device having two areas. That is, a rewriting program is loaded to a small sector of one of the two areas, called the first area that rewrites a uniform sector of the other area, called the second area, then the rewriting program is loaded to the small sector of the second area to rewrite the uniform sector of the first area.
BRIEF DESCRIPTION OF THE DRAWINGS
In the following, an embodiment of the present invention will be described with reference to the accompanying drawings.
First, the principle of the sector address conversion of the memory device of this invention will be described with reference to
As shown in
The memory device can be accessed from the outside as a top boot type or a bottom boot type memory device as required by the sector-address conversion circuit 40, regardless of whether the memory device is (originally) a top boot type or a bottom boot type.
The memory device shown in
Then, if the sector of the memory device is accessed in the order of physical addresses as shown by arrows 44 and 45, without using an address decoder circuit 41 (or without changing the address if the address decoder circuit 41 is used), the two banks 48 and 49 function as bottom boot type banks.
However, if the sector-address conversion circuit 40 changes the sector address such that it appears to the outside that the address is set up in the order as shown by arrows 46 and 47, the two banks 48 and 49 function as top boot type banks.
Thus, the present invention enables a memory device with a plurality of small sectors to function as a plurality of devices with a top boot type or bottom boot type by preparing the address-conversion circuit that defines a boot block area in one of the upper or the lower areas of the sector address of the memory device.
Conversion of the sector address in the case of
The memory device shown in
Therefore, the memory device in the drawing has a total of 16 sectors, each having a 64 Kb capacity. Here, the address given in
The present embodiment expresses a sector address by 4 bits of 16th through 19th th bits of the address (here, referred to as A16 through A19 for convenience). Moreover, as to the external address, an E is prefixed to be referred to as EA16 through EA19, and an I is prefixed instead to the internal address to be referred to as IA16 through IA19.
According to this notation, the sector-address conversion circuit 40 is a circuit that converts the external addresses EA16 through EA19 into the internal addresses IA16 through IA19, as shown in
If a sector address is set up like 55 and 56 in
In addition, in the present embodiment, the external sector address bits EA16, EA17, EA18, and EA19 express 16 addresses from 0000 (reference number 66) to 1111 (reference number 67). All addresses 61 belong to the bank 53, and their EA19 that is the most significant bit of the address are “0”. All addresses 62 belong to the bank 54, and their EA19 are “1”. Therefore, the address bit EA19 identifies a corresponding bank.
That is, when the EA19 is “0”, an address belongs to the bank 53, and when the EA19 is “1”, the address belongs to the bank 54.
As mentioned above, the bank 53 is of the bottom boot type. If the bottom boot type is desired, the internal address shall be the same as the external address. However, if the top boot type is desired for operation of the bank 53, the sector address is set up like 56 in
Similarly, since the bank 54 is the top boot type, the same setup as the external address shall be applied if the top boot type is desired. However, in order to operate the bank 54 as the bottom boot type, the sector address is set up like 57 in
The above describes how the tables of
The conversion circuit includes a sector-address input terminal, a sector-address output terminal, a boot block type specifying terminal that specifies the boot block type of the memory device, and a signal conversion circuit. The conversion circuit converts a sector address impressed to the sector-address input terminal, based on the most significant bit of the sector address and a signal impressed to the boot block type specifying terminal such that the memory device that contains the sector operates as a desired boot block type.
The circuit of
This circuit converts the external address bits EA16, EA17, EA18, and EA19 to the internal address bits IA16, IA17, IA18, and IA19, respectively, as described above in reference with the tables in
As shown in
In the above, operation of the sector-address conversion circuit in
The conversion circuit described in
The command decoder 86 outputs a sector-address conversion signal, based on the address signal, CE (Chip Enable), OE (Output Enable), WE (Write Enable), and data (DQ).
In this configuration, the sector addresses are switched for a top boot type or a bottom boot type operation, by inputting data “AAH” to an address “AAAH” in the first bus cycle, inputting data “55H” to an address “555H” in the second bus cycle, and inputting data “2FH” to the address “AAAH” in the 3rd bus cycle in the case of a byte mode, as shown in a command list of
Next, a description will follow concerning a usage of the semiconductor memory device (also applicable to a semiconductor memory device functioning as two banks of the same boot block type using an address-conversion circuit) which has two banks (bank A and bank B) with the same boot block type, having a small sector at the most significant or the least significant physical address of each bank in reference with
First, a rewriting program is loaded to the small sector of the bank A (S11), then, the uniform sector of the bank B is rewritten using this program (S12).
Subsequently, the process jumps to the bank B (S13) to load the rewiring program to the small sector of the bank B (S15), and the uniform sector of the bank A is rewritten using this program (S16).
In this manner, new data can be rewritten easily while data is maintained in the memory currently used within a system.
According to the present invention, rewriting of a memory device is facilitated, and a memory device that operates as a desired boot block type irrespective of the original boot block type of the device becomes available.
Further, when a plurality of small sectors are present in a memory device, a plurality of memory units with the top boot block or the bottom boot block become available, by providing an address-conversion circuit that defines an area of the boot block in the highest or in the lowest area of the sector address of the memory device. A system that conventionally had to use two or more memory devices can now be built by one memory device.
Further, a system such as an STB and the like has conventionally been installed with two or more memory devices so that new data can be written to a memory, while maintaining data to a memory currently used, by storing the rewriting program in each boot block to rewrite data of the other memory alternately. Now, one memory device can provide the equivalent memory configuration.
Further, the present invention is not limited to these embodiments, but various variations and modifications may be made without departing from the scope of the present invention.
The present application is based on Japanese priority application No. 2001-016302 filed on Jan. 24, 2001, with the Japanese Patent Office, the entire contents of which are hereby incorporated by reference.
Claims
1. A Method of reading a program from a memory area having one or more small sectors, comprising:
- inputting a first sector address corresponding to a first type;
- converting the first sector address into a second sector address corresponding to a second type which is different from the first type; and
- accessing the memory area with the second sector address.
2. The method of claim 1, wherein the initialization program is a boot program.
3. The method of claim 1, wherein the first type is a top boot type and the second type is a bottom boot type.
4. The method of claim 1, wherein the first type is a bottom boot type and the second type is a top boot type.
5. The method of claim 1, wherein the reading the program is performed when starting or resetting a system.
6. The method of claim 1, wherein the sector address is supplied from external of the memory area.
7. A method of reading a program from a memory area having one or more small sectors, comprising:
- inputting a sector address;
- converting the sector address based on a signal or a command specifying a boot block type; and
- accessing the memory area with the converted sector address.
8. The method of claim 7, wherein the boot block type is a top boot type or a second boot type.
9. The method of claim 7, wherein the signal and the command are supplied from external of the memory area.
10. A method of rewriting data in a memory area being split into a first area and a second area, each area having one or more small sector and one or more uniform sectors which are larger than the small sectors, comprising:
- loading a rewriting program to the small sector of the first area;
- rewriting the uniform sector of a second area using said rewriting program stored in the first area;
- loading a rewriting program to the small sector of the second area; and
- rewriting the uniform sector of the first area using said rewriting program stored the second area.
11. The method of claim 10, wherein the memory area is single memory device.
12. The method of claim 10, wherein the rewriting program is a boot program.
13. A system comprising:
- a memory area having one or more small sectors and one or more uniform sectors which are larger than the small sectors;
- an address conversion section converting a sector address based on a signal or a command specifying a boot block type; and
- a memory control area accessing the memory area with the converted sector address.
14. The system of claim 13, comprising:
- a source supplying a sector address to the address conversion section.
15. The system of claim 13, comprising:
- a source supplying the signal or the command specifying the boot block type to the address conversion section.
16. The system of claim 13, comprising:
- a boot block type specifying terminal source supplying the signal or the command specifying the boot block type.
17. The system of claim 13, wherein the boot block type is a top boot type or a second boot type.
Type: Application
Filed: Jul 17, 2006
Publication Date: Nov 16, 2006
Applicant:
Inventor: Haruo Shoji (Kawasaki)
Application Number: 11/487,338
International Classification: G06F 12/00 (20060101); G06F 9/00 (20060101);