A method includes, in one non-limiting embodiment, sending a request from a mass memory storage device to a host device, the request being one to allocate memory in the host device; writing data from the mass memory storage device to allocated memory of the host device; and subsequently reading the data from the allocated memory to the mass memory storage device. The memory may be embodied as flash memory, and the data may be related to a file system stored in the flash memory. The method enables the mass memory storage device to extend its internal volatile RAM to include RAM of the host device, enabling the internal RAM to be powered off while preserving data and context stored in the internal RAM.
|
22. A method, comprising:
allocating read/write memory in a host device for use by a memory storage device, the memory storage device comprising non-volatile memory;
receiving from a host device an allocation of read/write memory in the host device for use by the memory storage device;
creating an extended random access memory comprising a random access memory of the memory storage device and the allocated read/write memory of the host device;
writing data to the extended random access memory; and
reading data from the extended random access memory.
1. A method, comprising:
receiving, at a memory storage device, an allocation of read/write memory in the host device for use by the memory storage device;
creating, in response to the allocation of the read/write memory in the host device for use by the memory storage device, an extended random access memory including a random access memory of the memory storage device and the allocated read/write memory of the host device , the memory storage device including non-volatile memory;
writing data to the extended random access memory; and
subsequently reading the data from the extended random access memory.
11. A memory storage device, comprising:
a controller;
a random access memory that is readable and writable by the controller;
a non-volatile memory that is readable and writable by the controller; and
an interface for connecting the memory storage device to a host device;
the controller operable to:
in response to receiving, from the host device, an allocation of read/write memory in the host device for use by the memory storage device, create an extended random access memory including a random access memory of the memory storage device and the allocated read/write memory of the host device;
write data to the extended random access memory; and
subsequently read the data from the extended random access memory.
31. A system comprising:
a host device controller of a host device;
a host memory of the host device that is readable and writable by the host device controller; and
an interface for connecting the host device to a memory storage device that comprises non-volatile memory;
the host device controller operable to allocate at least a portion of the host memory for use by the memory storage device;
a memory controller of the memory storage device, the memory controller operable to:
create an extended random access memory comprising a random access memory of the memory storage device and the allocated portion of the memory of the host memory;
write data to the extended random access memory; and
read data from the extended random access memory.
2. The method of
3. The method of
4. The method of
7. The method of
8. The method of
9. The method of
receiving a command indicating the allocation of the read/write memory.
10. The method of
12. The memory storage device of
13. The memory storage device of
14. The memory storage device of
16. The apparatus of
18. The apparatus of
19. The apparatus of
20. The memory storage device of
receiving a command indicating the allocation of the read/write memory.
21. The memory storage device of
receiving a pointer to the allocated read/write memory.
23. The method of
25. The method of
26. The method of
27. The method of
29. The method of
30. The method of
32. The system of
33. The system of
34. The system of
35. The system as in
37. The system of
39. The system of
|
The exemplary and non-limiting embodiments of this invention relate generally to memory storage systems, methods, devices and computer programs and, more specifically, relate to mass memory devices, such as those containing non-volatile flash memory.
This section is intended to provide a background or context to the invention that is recited in the claims. The description herein may include concepts that could be pursued, but are not necessarily ones that have been previously conceived, implemented or described. Therefore, unless otherwise indicated herein, what is described in this section is not prior art to the description and claims in this application and is not admitted to be prior art by inclusion in this section.
The following abbreviations that may be found in the specification and/or the drawing figures are defined as follows:
CPU central processing unit
eMMC embedded multimedia card
exFAT extended file allocation table
LBA logical block address
MMC multimedia card
RAM random access memory
SCSI small computer system interface
SD secure digital
SW software
UFS universal flash storage
Various types of flash-based mass storage memories currently exist. A basic premise of mass storage memory is to hide the flash technology complexity from the host system. A technology such as eMMC is one example.
One non-limiting example of a flash memory controller construction is described in “A NAND Flash Memory Controller for SD/MMC Flash Memory Card”, Chuan-Sheng Lin and Lan-Rong Dung, IEEE Transactions of Magnetics, Vol. 43, No. 2, February 2007, pp. 933-935 (hereafter referred to as Lin et al.)
Reference may also be made to US Patent Application Publication 2008/0228984, Sep. 18, 2008, “Single-Chip Multi-Media Card/Secure Digital (MCC/SD) Controller Reading Power-On Boot Code from Integrated Flash Memory for User Storage”, I-Kang Yu et al. This publication describes another example of a flash controller where a Multi-Media Card/Secure Digital (MMC/SD) single-chip flash device contains a MMC/SD flash microcontroller and flash mass storage blocks containing flash memory arrays that are block-addressable rather than randomly-addressable. MMC/SD transactions from a host MMC/SD bus are read by a bus transceiver on the MMC/SD flash microcontroller. Various routines that execute on a CPU in the MMC/SD flash microcontroller are activated in response to commands in the MMC/SD transactions. A flash-memory controller in the MMC/SD flash microcontroller transfers data from the bus transceiver to the flash mass storage blocks for storage. Rather than booting from an internal ROM coupled to the CPU, a boot loader is transferred by direct memory access (DMA) from the first page of the flash mass storage block to an internal RAM. The flash memory is automatically read from the first page at power-on. The CPU then executes the boot loader from the internal RAM to load the control program. This approach is said to enable the microcontroller ROM to be eliminated or minimized.
Also of potential interest is an application note AN2539 “How to boot an embedded system from an eMMC™ equipped with a Microsoft FAT file system”, Numonyx B. V., November 2008. This application note in Appendix A provides an overview of eMMC, and in Appendix B provides an overview of FAT.
In a first aspect thereof the exemplary embodiments of this invention provide a method that comprises, in response to an allocation of read/write memory in a host device for use by a mass memory storage device, writing data from the mass memory storage device to the allocated read/write memory of the host device; and subsequently reading the data from the allocated memory to the mass memory storage device.
In another aspect thereof the exemplary embodiments of this invention provide an apparatus that comprises a controller; a volatile memory that is readable and writable by the controller; a non-volatile memory that is readable and writable by the controller; and an interface for connecting the apparatus to a host device. The controller is configurable to respond to an allocation of read/write memory in the host device to write data to the allocated memory of the host device, and to subsequently read the data from the allocated memory.
In another aspect thereof the exemplary embodiments of this invention provide a method that comprises allocating read/write memory in a host device for use by a mass memory storage device; receiving data from the mass memory storage device and writing the received data into the allocated read/write memory of the host device; and subsequently sending the data from the allocated memory to the mass memory storage device.
In a still further aspect thereof the exemplary embodiments of this invention provide an apparatus that comprises a controller; a memory that is readable and writable by the controller; and an interface for connecting the apparatus to a mass storage memory device. The controller is configurable to allocate a portion of the memory for use by the mass storage memory device. The controller is further configurable to receive data from the mass storage memory device and to store the received data in the allocated portion of the memory, and to subsequently send the data from the allocated portion of the memory to the mass storage memory device.
In the attached Drawing Figures:
At present, most mass storage memories provide LBA-based access, e.g., eMMC and different types of external memory cards such as SD. However, it may also be the case that the entire file system (FS) SW is embedded in the mass storage memory device.
When a mass storage memory is used in a high volume consumer device, such as a mobile wireless communication device, one important consideration is cost, and one factor affecting the cost is the amount of RAM in the mass storage memory device itself.
Another important consideration is performance. The overall performance depends on many factors. For example, for lengthy (time consuming) operations (in particular if the mass storage memory device contains an entire file system SW) there would be an advantage to include a substantial amount of RAM in the mass storage memory device. However, this can have a negative impact on the cost.
It may be the case that system context (metadata) would be stored in the flash memory of the mass storage memory device. However, this approach has several associated disadvantages. For example, repeatedly writing the system context (metadata) to the mass storage memory device raises wearing issues that can impact the usable life of the mass storage memory device. Also, writing data to the flash memory can be a relatively slow process.
Another important consideration is the power efficiency. To provide good power efficiency the mass storage memories are preferably shutdown (powered-off) when not needed (meaning also that the internal RAM of the device is preferably shutdown as well). However, and assuming that the RAM is volatile in nature, then whatever data is stored in the RAM is lost when the power is removed from the RAM. To then perform re-initialization after power-up all needed information (e.g., logical-to-physical mapping information and/or file system structures) need to be restored. A full re-initialization of a LBA mass storage memory may require a substantial (and user-noticeable) amount of time (e.g., up to one second with an SD card), and entire file system initialization (if the file system is resident in the mass storage memory) may take even longer. Therefore, it is desirable to retain internal device context over the power-off/power-on cycle.
Before further describing the exemplary embodiments of this invention, reference is made to
The mass storage memory 20 includes a microcontroller or, more simply, a controller 22 that is connected via at least one internal bus 27 with a volatile RAM 24, a non-volatile mass memory 26 (e.g., a multi-gigabyte flash memory mass storage) and a MSMB interface (I/F) 28. The controller 22 operates in accordance with stored program instructions. The program instructions may be stored in the RAM 24 or in a ROM or in the mass memory 26. The mass storage memory 20 may be embodied as an MMC, eMMC or a SD device, as non-limiting examples, and may be external to (plugged into) the host device 10 or installed within the host device 10. Note that the mass memory 26 may, in some embodiments, store a file system (FS) 26A. In this case then the RAM 24 may store FS-related metadata 24A, such as one or more data structures comprised of bit maps, file allocation table data and/or other FS-associated information.
The exemplary embodiments of this invention provide a technique to share the RAM 14 of the host device 10 with the mass storage memory device 20. It may be assumed that the host device 10 (e.g., a mobile computer, a cellular phone, a digital camera, a gaming device, a PDA, etc.) has the capability to allocate and de-allocate the RAM 14. As will be discussed in further detail below, the allocation of the RAM 14 may be performed dynamically or it may be performed statically. The allocation of a portion of the RAM may be performed in response to a request received at the host device 10, or at the initiative of the host device 10.
In the exemplary embodiments of this invention the RAM 14 allocation is provided for the mass storage memory 20 (connected via the MSMB 18 to the host CPU 12), if the mass storage memory 20 has a need to extend its own RAM 24 space and/or if the mass storage memory 20 has a need for non-volatile RAM (the contents of which are not lost when the mass storage memory 20 is powered-off). It is also within the scope of the exemplary embodiments of this invention for the mass storage memory 20 to read and/or write (R/W) allocated RAM 14 in the host device 10. The allocation/de-allocation and R/W access methods may be implemented by extensions to a command set used to communicate with the mass storage memory 20 via an applicable mass storage memory protocol.
In accordance with certain exemplary embodiments of this invention the mass storage memory device 20 is provided with a mechanism to interrupt/send a message to host device 10 to initiate an allocation of space in the RAM 14. The interrupt/message is sent over the MSMB 18, and may be considered as an extension to current command sets. Referring to
It should be noted that in other exemplary embodiments of this invention the allocation of host RAM 14 may occur differently. For example, the host device 10 may allocate RAM 14 dynamically and pass a ‘pointer’ to the allocated RAM to the mass storage memory device 20. It is then up to the controller 22 of the mass storage memory device 20 how to utilize the allocated host RAM 14. Note that in this embodiment an explicit allocation request from the mass storage memory device 20 may not be sent to the host device 10. Instead, the host device 10 may on its own initiative allocate a portion of the RAM 14, such as when it first detects the presence of the mass memory storage device 20. Of course, subsequent signaling between the mass storage memory device 20 and the host device 10 may be used to change the size of the allocated RAM 14 if the initial allocation is not sufficient for the needs of the controller 22. As another example of RAM 14 allocation, a portion of the RAM 14 may be allocated by the host 10 in a static manner, and the mass storage memory device 20 then simply uses the same portion of the RAM 14 each time it needs to extend the RAM 24. In this case the mass storage memory device 20 may already have knowledge of the location/size of the allocated RAM 14, and a pointer is not needed to be sent from the host device 10.
Note that while it may typically be the case that the mass storage memory device 20 will receive an allocation of host memory to store contents of the volatile RAM 24, in general the allocation may be for storing data for any read/write memory contained within the mass storage memory device 20.
Within the sectional view of
Signals going to and from the camera 128 may pass through an image/video processor 44 that encodes and decodes the various image frames. A separate audio processor 46 may also be present controlling signals to and from the speakers 34 and the microphone 124. The graphical display interface 120 is refreshed from a frame memory 48 as controlled by a user interface chip 50 which may process signals to and from the display interface 20 and/or additionally process user inputs from the keypad 22 and elsewhere.
Certain embodiments of the UE 10 may also include one or more secondary radios such as a wireless local area network radio WLAN 37 and a Bluetooth® radio 39, which may incorporate an antenna on the chip or be coupled to an antenna off the chip. Throughout the apparatus are various memories such as random access memory RAM 43, read only memory ROM 45, and in some embodiments removable memory such as the illustrated memory card 20 on which various programs 10C maybe stored. All of these components within the UE 10 are normally powered by a portable power supply such as a battery 49.
The processors 38, 40, 42, 44, 46, 50, if embodied as separate entities in a UE 10, may operate in a slave relationship to the main processor (CPU) 12, which may then be in a master relationship to them. Certain embodiments may be disposed across various chips and memories as shown, or disposed within another processor that combines some of the functions described above for
In this exemplary embodiment the CPU 12 of the UE 10 (the host device) operates with the memory card 20 (the mass storage memory device) as described above with respect to
There are a number of technical effects that may be realized by the use of the exemplary embodiments of the invention. For example, there is provided a cost efficient way to extend RAM in the mass storage memory device 20. Further by example, the mass storage memory device 20 may be powered off, while retaining mass storage memory device information on the RAM 14 of the host system.
Based on the foregoing it should be apparent that the exemplary embodiments of this invention provide a method, apparatus and computer program(s) to extend the RAM of a mass storage memory device to include the RAM of an attached host device.
The various blocks shown in
In general, the various exemplary embodiments may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto. While various aspects of the exemplary embodiments of this invention may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.
It should thus be appreciated that at least some aspects of the exemplary embodiments of the inventions may be practiced in various components such as integrated circuit chips and modules, and that the exemplary embodiments of this invention maybe realized in an apparatus that is embodied as an integrated circuit. The integrated circuit, or circuits, may comprise circuitry (as well as possibly firmware) for embodying at least one or more of a data processor or data processors, a digital signal processor or processors, baseband circuitry and radio frequency circuitry that are configurable so as to operate in accordance with the exemplary embodiments of this invention.
Various modifications and adaptations to the foregoing exemplary embodiments of this invention may become apparent to those skilled in the relevant arts in view of the foregoing description, when read in conjunction with the accompanying drawings. However, any and all modifications will still fall within the scope of the non-limiting and exemplary embodiments of this invention.
It should be noted that the terms “connected,” “coupled,” or any variant thereof, mean any connection or coupling, either direct or indirect, between two or more elements, and may encompass the presence of one or more intermediate elements between two elements that are “connected” or “coupled” together. The coupling or connection between the elements can be physical, logical, or a combination thereof. As employed herein two elements may be considered to be “connected” or “coupled” together by the use of one or more wires, cables and/or printed electrical connections, as well as by the use of electromagnetic energy, such as electromagnetic energy having wavelengths in the radio frequency region, the microwave region and the optical (both visible and invisible) region, as several non-limiting and non-exhaustive examples.
Furthermore, some of the features of the various non-limiting and exemplary embodiments of this invention may be used to advantage without the corresponding use of other features. As such, the foregoing description should be considered as merely illustrative of the principles, teachings and exemplary embodiments of this invention, and not in limitation thereof.
Hyvonen, Jani, Mylly, Kimmo, Luukkainen, Olli
Patent | Priority | Assignee | Title |
10061521, | Nov 09 2015 | Samsung Electronics Co., Ltd. | Storage device and method of operating the same |
10540275, | Dec 22 2014 | Sony Corporation | Memory controller, information processing system, and memory extension area management method |
9817749, | Dec 04 2013 | SanDisk Technologies LLC | Apparatus and method of offloading processing from a data storage device to a host device |
Patent | Priority | Assignee | Title |
5809340, | Apr 30 1993 | NEC Corporation | Adaptively generating timing signals for access to various memory devices based on stored profiles |
6373768, | Jul 16 1998 | Rambus Inc | Apparatus and method for thermal regulation in memory subsystems |
6480936, | Jun 15 1998 | Fujitsu Limited | Storing apparatus having a dynamic buffer for random or sequential access |
6522586, | Apr 25 2000 | SAMSUNG ELECTRONICS CO , LTD | Dynamic refresh that changes the physical storage locations of data in flash memory |
6785764, | May 11 2000 | Round Rock Research, LLC | Synchronous flash memory with non-volatile mode register |
7233538, | Aug 02 2004 | Oracle America, Inc | Variable memory refresh rate for DRAM |
7395176, | Jul 12 2003 | Samsung Electronics Co., Ltd. | Memory controller for controlling a refresh cycle of a memory and a method thereof |
7450456, | Mar 30 2005 | TAHOE RESEARCH, LTD | Temperature determination and communication for multiple devices of a memory module |
7571295, | Aug 04 2005 | Intel Corporation | Memory manager for heterogeneous memory control |
7697311, | Oct 10 2006 | Hitachi, Ltd. | Storage apparatus, controller and control method |
7760569, | Apr 05 2007 | Polaris Innovations Limited | Semiconductor memory device with temperature control |
7809962, | Oct 28 2002 | SanDisk Technologies LLC | Power management block for use in a non-volatile memory system |
8218137, | Apr 30 2007 | Samsung Electronics Co., Ltd. | Methods of operating DRAM devices having adjustable internal refresh cycles that vary in response to on-chip temperature changes |
8321713, | Jul 03 2003 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Fast data access mode in a memory device |
20020087817, | |||
20020108014, | |||
20030137860, | |||
20040010671, | |||
20040221124, | |||
20050204113, | |||
20060075395, | |||
20060174056, | |||
20060179212, | |||
20060184758, | |||
20060280077, | |||
20070088867, | |||
20070283078, | |||
20080080688, | |||
20080162792, | |||
20080183954, | |||
20080228984, | |||
20080244173, | |||
20080282030, | |||
20090182962, | |||
20090198871, | |||
20090216937, | |||
20090313420, | |||
20090327584, | |||
20100106886, | |||
20100106901, | |||
20100169558, | |||
20100169604, | |||
20100250836, | |||
20100293420, | |||
20100312947, | |||
20110296088, | |||
20120079171, | |||
20130007348, | |||
20130332691, | |||
AU2005200855, | |||
JP10228413, | |||
JP11143643, | |||
JP2000003309, | |||
JP2003015949, | |||
JP2006195569, | |||
JP2006221627, | |||
JP2007518166, | |||
KR20060082040, | |||
WO2004084231, | |||
WO2005066773, | |||
WO2005088468, | |||
WO2012021380, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jun 04 2009 | Memory Technologies, LLC | (assignment on the face of the patent) | / | |||
Jul 02 2009 | LUUKKAINEN, OLLI | Nokia Corporation | CORRECTIVE ASSIGNMENT TO CORRECT THE LAST NAME OF THE THIRD ASSIGNOR S NAME PREVIOUSLY RECORDED ON REEL 023081, FRAME 0115 | 023149 | /0168 | |
Jul 06 2009 | MYLLY, KIMMO | Nokia Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 023081 | /0115 | |
Jul 08 2009 | LUUKKAINEN, OLLI | Nokia Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 023081 | /0115 | |
Jul 08 2009 | MYLLY, KIMMO | Nokia Corporation | CORRECTIVE ASSIGNMENT TO CORRECT THE LAST NAME OF THE THIRD ASSIGNOR S NAME PREVIOUSLY RECORDED ON REEL 023081, FRAME 0115 | 023149 | /0168 | |
Aug 06 2009 | HYYONEN, JANI | Nokia Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 023081 | /0115 | |
Aug 06 2009 | HYVONEN, JANI | Nokia Corporation | CORRECTIVE ASSIGNMENT TO CORRECT THE LAST NAME OF THE THIRD ASSIGNOR S NAME PREVIOUSLY RECORDED ON REEL 023081, FRAME 0115 | 023149 | /0168 | |
Mar 24 2013 | Nokia Corporation | NOKIA INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 030708 | /0859 | |
Mar 25 2013 | NOKIA INC | Memory Technologies LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 030708 | /0957 |
Date | Maintenance Fee Events |
Dec 18 2014 | ASPN: Payor Number Assigned. |
Apr 20 2018 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Apr 20 2022 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Oct 28 2017 | 4 years fee payment window open |
Apr 28 2018 | 6 months grace period start (w surcharge) |
Oct 28 2018 | patent expiry (for year 4) |
Oct 28 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Oct 28 2021 | 8 years fee payment window open |
Apr 28 2022 | 6 months grace period start (w surcharge) |
Oct 28 2022 | patent expiry (for year 8) |
Oct 28 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Oct 28 2025 | 12 years fee payment window open |
Apr 28 2026 | 6 months grace period start (w surcharge) |
Oct 28 2026 | patent expiry (for year 12) |
Oct 28 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |