# Patent

## Title
Power up initialization for memory

## Abstract

A memory device is described that enhances initialization of the memory device. In the prior art, initialization of synchronous Flash memory requires the release of hardware signal line, RP#, or an initialization command, LCR, and a following initialization time wait period of 50 μS to 100 μS. The improved memory device of the detailed invention begins initialization of internal values upon acquiring stable power. The initialization cycle of the detailed memory loops and continues until a command is received from the host controller and is immediately available for access. This allows the utilization of the detailed memory in systems wherein the host controller cannot supply an initializing signal (RP# or LCR). The detailed memory also allows for immediate availability of the memory upon issuance of the command allowing for a fast first access.

## Background
RELATED APPLICATION
This Application is a Continuation of U.S. application Ser. No. 09/915,134, titled “POWER UP INITIALIZATION FOR MEMORY,” filed Jul. 25, 2001, now U.S. Pat. No. 7,036,004, which is commonly assigned and incorporated herein by reference.


TECHNICAL FIELD OF THE INVENTION
The present invention relates generally to integrated circuits and in particular the present invention relates to power up initialization of memory devices.
BACKGROUND OF THE INVENTION
Memory devices are typically provided as internal storage areas in the computer. The term memory identifies data storage that comes in the form of integrated circuit chips. There are several different types of memory used in modern electronics, one common type is RAM (random-access memory). RAM is characteristically found in use as main memory in a computer environment. RAM refers to read and write memory; that is, you can both write data into RAM and read data from RAM. This is in contrast to ROM, which permits you only to read data. Most RAM is volatile, which means that it requires a steady flow of electricity to maintain its contents. As soon as the power is turned off, whatever data was in RAM is lost.
Computers almost always contain a small amount of read-only memory (ROM) that holds instructions for starting up the computer. Unlike RAM, ROM cannot be written to. An EEPROM (electrically erasable programmable read-only memory) is a special type non-volatile ROM that can be erased by exposing it to an electrical charge. Like other types of ROM, EEPROM is traditionally not as fast as RAM. EEPROM comprise a large number of memory cells having electrically isolated gates (floating gates). Data is stored in the memory cells in the form of charge on the floating gates. Charge is transported to or removed from the floating gates by programming and erase operations, respectively.
Yet another type of non-volatile memory is a Flash memory. A Flash memory is a type of EEPROM that can be erased and reprogrammed in blocks instead of one byte at a time. Many modern PCs have their BIOS stored on a Flash memory chip so that it can easily be updated if necessary. Such a BIOS is sometimes called a Flash BIOS.
A typical Flash memory comprises a memory array, which includes a large number of memory cells. Each of the memory cells includes a floating gate field-effect transistor capable of holding a charge. The cells are usually grouped into blocks. Each of the cells within a block can be electrically programmed in a random basis by charging the floating gate. The charge can be removed from the floating gate by a block erase operation. The data in a cell is determined by the presence or absence of the charge in the floating gate.
Both RAM and ROM random access memory devices have memory cells that are typically arranged in an array of rows and columns. During operation, a row (page) is accessed and then memory cells can be randomly accessed on the page by providing column addresses. This access mode is referred to as page mode access. To read or write to multiple column locations on a page requires the external application of multiple column addresses. To speed access time, a burst mode access has been implemented. The burst mode uses an internal column address counter circuit to generate additional column addresses. The address counter begins at an externally provided address and advances in response to an external clock signal or a column address strobe signal.
A synchronous DRAM (SDRAM) is a type of DRAM that can run at much higher clock speeds than conventional DRAM memory. SDRAM synchronizes itself with a CPU's bus and is capable of running at 100 MHZ or 133 MHZ, about three times faster than conventional FPM (Fast Page Mode) RAM, and about twice as fast EDO (Extended Data Output) DRAM and BEDO (Burst Extended Data Output) DRAM. An extended form of SDRAM that can transfer a data value on the rising and falling edge of the clock signal is called double data rate SDRAM (DDR SDRAM, or simply, DDR). SDRAM's can be accessed quickly, but are volatile. Many computer systems are designed to operate using SDRAM, but would benefit from non-volatile memory. A synchronous Flash memory has been designed that allows for a non-volatile memory device with an SDRAM interface. Although knowledge of the function and internal structure of a synchronous Flash memory is not essential to understanding the present invention, a detailed discussion is included in U.S. patent application Ser. No. 09/627,682 filed Jul. 28, 2000 and titled, “Synchronous Flash Memory,” which is commonly assigned and incorporated by reference.
In general, the goal of synchronous Flash is to mimic the architecture of SDRAM. It has an SDRAM interface which is compatible to SDRAM for read operation to the synchronous Flash memory. Programming, erasing, block protection and other Flash specific function differ from SDRAM and are performed with a three cycle SDRAM command sequence.
Synchronous Flash memory devices, and Flash memories in general, attempt to speed up operation by copying key internal data and lookup tables into small internal RAM structures for internal state machines and the Flash memory itself to operate against. Therefore after power up, Flash memories must load these tables and generally initialize themselves before they are available for external access. This initialization preferably occurs after power has reached operating levels and is stable, otherwise corruption of the internal data registers and state machines is possible. Because of this the synchronous Flash memory initialization cycle is typically triggered by an external system signal. The external system must then wait a predefined time period for the initialization cycle to complete before accessing the synchronous Flash memory device.
FIG. 1 shows a synchronous memory system of the prior art, including a processor 100 (also known as a host controller), a memory bus 102, a synchronous RAM memory (SDRAM or DDR-SDRAM) 104, and a synchronous Flash memory device 106 of the prior art. Initialization is triggered in synchronous Flash memories, such as shown in FIG. 1, by the release of the active low reset/power up signal (RP#) (not shown) or by use of a load command register (LCR) initialization command to the Flash memory device. The initialization cycle completes 50 μS to 100 μS after being triggered. The signal RP# in the synchronous memory system of FIG. 1 is generally controlled by the host controller. Unfortunately, many current host controllers do not support the use of the RP# signal or LCR command and therefore cannot easily utilize the synchronous Flash memory 106 of FIG. 1.
For the reasons stated above, and for other reasons stated below which will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for a memory device that can initialize without use of the RP# signal or the LCR command and provide a fast time to first access.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 details a prior art memory system with synchronous Flash memory.
FIG. 2 illustrates a prior art signal waveform of reset/power up (RP#) during initialization of a synchronous Flash memory device.
FIG. 3 illustrates a signal waveform of Vcc showing power up and initialization of a Flash memory of the present invention.
FIG. 4 details a synchronous memory system containing a Flash memory of the present invention, and a host controller.
FIG. 5 details a synchronous memory system containing a BIOS memory device, a synchronous Flash memory of the present invention, and a synchronous RAM.



DETAILED DESCRIPTION OF THE INVENTION
In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration specific preferred embodiments in which the inventions may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical and electrical changes may be made without departing from the spirit and scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the claims.
Shown in FIG. 2 is an illustration of a waveform of the prior art showing the active low signal, reset/power down (RP#) 200, being released 202 by a compatible synchronous host controller (not shown) after power up. Release of RP# 202 is used as a signal to start initialization of a synchronous Flash memory device of the prior art. After release of RP# 202 (RP# going high) at time to, the synchronous Flash memory device begins its internal initialization cycle and 50 μS to 100 μS later at time t1 204 the synchronous Flash memory is available and ready for access by the host controller.
This synchronous Flash memory device initialization cycle, as stated above, can also be triggered by the issuance of a load command register (LCR) command on the synchronous interface by a compatible host controller.
To overcome this reliance on RP#, or an LCR command, a Flash memory of the present invention starts initialization as soon as power, in the form of a valid Vcc level, is applied. The internal Flash initialization cycle then loops and continues initializing until a “STOP” command is issued by the host controller to the Flash memory.
Shown in FIG. 3 is an illustration of a waveform showing Vcc 300 in relation to an initialization response to Vcc upon power up of a Flash memory device of the present invention. In FIG. 3, upon Vcc reaching a specified “trip” point 302, the Flash memory of an embodiment of the present invention starts its internal initialization cycle. The initialization cycle of the Flash memory continuously loops until a “STOP” command 304 is received from the host controller. For illustrative purposes a signal representing the “STOP” command 306 is shown in FIG. 3, although it is noted that this command can take many forms. Examples of this command include, but are not limited to, a hardware signal, multiple hardware signals, a specific sequence of hardware signals, a software command or sequence of software commands, or some combination thereof. The signal representing the “STOP” command 306 transitions from low to high when the “STOP” command 308, 304 is sent to the Flash memory of an embodiment of the present invention.
Shown in FIG. 4 is a diagram of a system that includes a host 402 coupled to a simplified diagram of a Flash memory embodiment of the present invention 400. The Flash memory 400 of FIG. 4 internally includes a non-volatile memory array 404, a control circuit 406 that includes an initialization loop control circuit 408, non-volatile registers 410, volatile registers 412, and an initialization trip point detection circuit 414. The Flash memory 400 is coupled to the host 402 with an address interface 416, a control interface 418, a data interface 422, and, for illustrative purposes, a signal line representing the “STOP” command 420, although as noted above this command can take many forms. In FIG. 4, the host 402 is defined to include, but is not limited to, an integrated chipset, or a processor, or other system capable of interfacing with embodiments of the present invention.
In the system of FIG. 4, upon Vcc reaching a specified “trip” point, the initialization trip point detection circuit 414 triggers the Flash memory 400 to start its internal initialization cycle under control of the control circuit's 406 loop control circuit 408. The initialization cycle of the Flash memory 400 continuously loops, loading values from the non-volatile registers 410 to the volatile registers 412 for operation, and performing other initialization tasks, until a “STOP” command is received from the host controller. The signal line representing the “STOP” command 420 is shown in FIG. 4 internally coupled to the control circuit 406, where it halts the initialization cycle.
It is noted that with the relative instability of Vcc upon power up, and even at the trip point 302 of FIG. 3, that the first few initialization cycles may not be entirely successful. Corrupt initialization values may be loaded by the Flash memory of the present invention if the initialization cycle happens when power is not stable. However, it is only the final iterations of the initialization cycle that need to load successfully for the Flash memory to have a valid initialization. It is also noted that the initialization procedure of a Flash memory of the present invention can be stopped at any point in the initialization process. Because of the looping continuous initialization cycle, the Flash memory of the present invention will still have a valid initialization data load of internal Flash variables forward of the stopping point of the initialization cycle so long as the previous initialization iteration loop completed successfully.
In addition, with a continuous looping initialization cycle that begins at the first availability of a valid Vcc, also allows a Flash memory of the present invention to be available for access by a host controller sooner. A Flash memory of the prior art has the initialization cycle wait period after the corresponding initialization signal (RP# or LCR).
With initialization starting with the availability of Vcc, a Flash memory device of the present invention does not require the hardware signal RP# for operation and to begin initialization. Therefore, a Flash memory device of the present invention can operate with host controllers that do not have a way for providing a hardware initialization signal to the Flash memory, such as RP#.
However, a Flash memory device of the present invention does require a software “STOP” signal to stop the initialization cycle. The software signal must be issued to a Flash memory of the present invention by the host controller device. This requires in some cases the appropriate software routines to be loaded into the system and/or host controller. Loading these software routines can be problematic if there is no other source of storage for the routines than the Flash memory of the present invention. For example, if the Flash memory of the present invention contains the BIOS code of the system it is currently installed in. Therefore a secondary source of non-volatile storage that does not require such initialization must exist in systems where in the host controller requires loading of software routines to issue the “STOP” command and allow access of the Flash memory of the present invention.
One such a system is shown in FIG. 5, wherein a processor/host controller 502 is coupled to an SDRAM memory device 504 and a synchronous Flash memory device 506. A non-volatile memory device 508 containing BIOS code is also coupled to the processor/host controller 502. In the system of FIG. 5, the non-volatile memory device 508 containing the BIOS code of the system 500, also contains the software routines necessary for the system to access the synchronous Flash memory device 506 and issue the “STOP” command to end its looping initialization cycle. In FIG. 5, as above, the processor/host controller 502 is defined to include, but is not limited to, an integrated chipset, or a processor, or other system capable of interfacing with embodiments of the present invention.
The system of FIG. 5 is more commonly found in computer systems of older age with a separate slower bus for the BIOS memory. As host controllers that require loading of software routines to issue the “STOP” command also tend to be in older systems, the older systems such as the system 500 of FIG. 5 could be easily modified to accommodate the synchronous Flash memory devices of the present invention by simply modifying the BIOS code. Such ability allows for easy retrofit of existing systems to include synchronous Flash memory of the present invention.
CONCLUSION
An improved memory device has been detailed that enhances initialization of the memory device. In the prior art, initialization of synchronous Flash memory requires the release of hardware signal line, RP#, or an initialization command, LCR, and a following initialization time wait period of 50 μS to 100 μS. The improved memory device of the detailed invention begins initialization of internal values upon acquiring stable power. The initialization cycle of the detailed memory loops and continues until a “STOP” command is received from the host controller and is immediately available for access. This allows the utilization of the detailed memory in systems wherein the host controller cannot supply an initializing signal (RP# or LCR). The detailed memory also allows for immediate availability of the memory upon issuance of a command allowing for a fast first access.
Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement, which is calculated to achieve the same purpose, may be substituted for the specific embodiment shown. This application is intended to cover any adaptations or variations of the present invention. Therefore, it is manifestly intended that this invention be limited only by the claims and the equivalents thereof.

## Claims

1. A memory device, comprising:
a memory array; and
a control circuit;
wherein the control circuit is adapted to begin an initialization cycle upon detecting a predetermined power level applied to the memory device; and
wherein the control circuit is adapted to repeat the initialization cycle until stopped in response to an external signal.

2. The memory device of claim 1, further comprising a synchronous memory interface.

3. The memory device of claim 1, wherein the initialization cycle comprises copying key internal data and lookup tables into internal RAM structures, and loading internal variables for internal state machines and control circuits.

4. The memory device of claim 1, wherein the repeating initialization cycle is stopped at a random point before completion of the initialization cycle when the external signal is received.

5. The memory device of claim 1, wherein the control circuit is adapted to begin an initialization cycle upon detecting a predetermined power level applied to the memory device a predefined time period after detecting the power level.

6. The memory device of claim 1, wherein the external signal is one of a hardware signal, multiple hardware signals, a specific sequence of hardware signals, a software command, and a sequence of software commands.

7. A memory device, comprising:
a memory array;
a control circuit;
non-volatile registers; and
volatile registers;
wherein the control circuit is adapted to load data from the non-volatile registers into the volatile registers upon detecting an external power signal applied to the memory device and having a predetermined power level;
wherein the control circuit is adapted to then re-load the data from the non-volatile registers into the volatile registers in a repeating fashion; and
wherein the control circuit is adapted to repeat the re-loading of the data into the volatile registers until receipt of another external signal indicative of a desire to stop.

8. The memory device of claim 7, wherein the another external signal is one of a software command, a sequence of software commands, a selected set of one or more active external signals, and a selected sequence of one or more external signals.

9. The memory device of claim 7, wherein the control circuit is further adapted to load internal variables from the non-volatile registers into volatile registers for internal state machines and control circuits.

10. The memory device of claim 7, wherein the control circuit is adapted to halt a current repetition of the re-loading of the data from the non-volatile registers into the volatile registers when the another external signal is received before a final volatile register of the volatile registers is loaded with data.

11. A system, comprising:
a host coupled to one or more memory devices, wherein at least one memory device of the one or more memory devices is adapted to begin an iterating initialization cycle upon receiving a power signal on a power bus, and where the at least one memory device stops the iterating initialization cycle upon receiving an active signal from the host.

12. The system of claim 11, wherein the initialization cycle comprises one of copying key internal data and lookup tables into internal RAM structures and loading internal variables for internal state machines and control circuits.

13. The system of claim 11, wherein the iterating initialization cycle is halted before completion of the initialization cycle when the active signal is received.

14. The system of claim 11, further comprising a synchronous bus coupled to the host and the at least one memory device of the one or more memory devices.

15. The system of claim 11, wherein the active signal is one of a hardware signal, multiple hardware signals, a specific sequence of hardware signals, a software command, and a sequence of software commands.

16. The system of claim 11, wherein the host is one of a processor, a host controller, and an integrated chipset.

17. A method of operating a memory device, comprising:
starting an initialization cycle in response to detecting a predetermined power level applied to the memory device; and
repeating the initialization cycle until stopped by an external signal.

18. The method of claim 17, wherein starting an initialization cycle in response to detecting a predetermined power level applied to the memory device further comprises starting an initialization cycle that comprises one of copying key internal data and lookup tables into internal RAM structures and loading internal variables for internal state machines and control circuits in response to detecting a predetermined power level applied to the memory device.

19. The method of claim 17, wherein repeating the initialization cycle until stopped by an external signal further comprises repeating the initialization cycle and stopping the initialization cycle before completion when stopped by an external signal.

20. The method of claim 17, wherein the external signal is one of a software command, a sequence of software commands, and one or more external active signals received by the memory device.

21. A method of operating a memory device, comprising:
loading data from non-volatile registers of the memory device into volatile registers of the memory device upon detecting an external power signal applied to the memory device and having a predetermined power level;
re-loading the data from the non-volatile registers into the volatile registers in a repeating fashion until stopped in response to another external signal.

22. The method of claim 21, wherein re-loading the data from the non-volatile registers into the volatile registers in a repeating fashion until stopped in response to another external signal further comprises loading internal variables into volatile registers for internal state machines and control circuits.

23. The method of claim 21, wherein re-loading the data from the non-volatile registers into the volatile registers in a repeating fashion until stopped in response to another external signal further comprises halting a current repetition of the re-loading of the data from the non-volatile registers into the volatile registers when the another external signal is received before a final volatile register of the volatile registers is loaded with data.

24. The method of claim 21, wherein the another external signal is one of a hardware signal, multiple hardware signals, a specific sequence of hardware signals, a software command, and a sequence of software commands.

25. A method of operating a system, comprising:
starting a looping initialization cycle in at least one memory device coupled to a host upon detecting a predetermined power level applied to the memory devices; and
stopping the looping initialization cycle in the at least one memory device in response to a signal from the host.

26. The method of claim 25, wherein the host is one of a host controller, a processor, an integrated chipset, and a system.

27. The method of claim 25, wherein the signal is one of a hardware signal, multiple hardware signals, a specific sequence of hardware signals, a software command, and a sequence of software commands.